/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/ |
H A D | js_span_string.cpp | 464 auto* base = obj->Unwrap<AceType>(); in ParseJsFontSpan() 474 auto* base = obj->Unwrap<AceType>(); in ParseJsParagraphStyleSpan() 485 auto* base = obj->Unwrap<AceType>(); in ParseJsDecorationSpan() 497 auto* base = obj->Unwrap<AceType>(); in ParseJsBaselineOffsetSpan() 508 auto* base = obj->Unwrap<AceType>(); in ParseJsLetterSpacingSpan() 519 auto* base = obj->Unwrap<AceType>(); in ParseJsGestureSpan() 530 auto* base = obj->Unwrap<AceType>(); in ParseJsTextShadowSpan() 541 auto* base = obj->Unwrap<AceType>(); in ParseJSBackgroundColorSpan() 552 auto* base = obj->Unwrap<AceType>(); in ParseJsLineHeightSpan() 563 auto* base = obj->Unwrap<AceType>(); in GetImageAttachment() [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/ |
H A D | time_lapse_photo_session_napi.cpp | 23 T* Unwrap(napi_env env, napi_value jsObject) in Unwrap() function 101 TryAEInfoNapi* obj = Unwrap<TryAEInfoNapi>(env, thisVar); in IsTryAEDone() 118 TryAEInfoNapi* obj = Unwrap<TryAEInfoNapi>(env, thisVar); in IsTryAEHintNeeded() 135 TryAEInfoNapi* obj = Unwrap<TryAEInfoNapi>(env, thisVar); in GetPreviewType() 152 TryAEInfoNapi* obj = Unwrap<TryAEInfoNapi>(env, thisVar); in GetCaptureInterval() 327 TimeLapsePhotoSessionNapi* obj = Unwrap<TimeLapsePhotoSessionNapi>(env, thisVar); in IsTryAENeeded() 351 TimeLapsePhotoSessionNapi* obj = Unwrap<TimeLapsePhotoSessionNapi>(env, thisVar); in StartTryAE() 374 TimeLapsePhotoSessionNapi* obj = Unwrap<TimeLapsePhotoSessionNapi>(env, thisVar); in StopTryAE() 397 TimeLapsePhotoSessionNapi* obj = Unwrap<TimeLapsePhotoSessionNapi>(env, thisVar); in GetSupportedTimeLapseIntervalRange() 427 TimeLapsePhotoSessionNapi* obj = Unwrap<TimeLapsePhotoSessionNapi>(env, thisVar); in GetTimeLapseInterval() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_tabs_feature.cpp | 226 auto* jsTabsController = jsTabsControllerVal->Unwrap<JSTabsController>(); in HandleBindTabsToScrollable() 231 auto* jsScroller = jsScrollerVal->Unwrap<JSScroller>(); in HandleBindTabsToScrollable() 247 auto* parentJsScroller = parentJsScrollerVal.value()->Unwrap<JSScroller>(); in HandleBindTabsToScrollable() 259 auto* jsTabsController = jsTabsControllerVal->Unwrap<JSTabsController>(); in HandleUnbindTabsFromScrollable() 264 auto* jsScroller = jsScrollerVal->Unwrap<JSScroller>(); in HandleUnbindTabsFromScrollable() 283 auto* parentJsScroller = parentJsScrollerVal.value()->Unwrap<JSScroller>(); in HandleUnbindTabsFromScrollable()
|
H A D | js_lazy_foreach_actuator.h | 93 auto* unwrapObj = listenerObj->Unwrap<JSDataChangeListener>(); in RegisterListener() 125 AceType* aceType = parentViewObj->Unwrap<AceType>(); in SetParentViewObj() 129 parentView_ = parentViewObj->Unwrap<JSView>(); in SetParentViewObj()
|
H A D | js_view.cpp | 282 auto* view = object->Unwrap<JSViewFullUpdate>(); in Create() 333 auto view = targetView->Unwrap<JSViewFullUpdate>(); in FindChildByIdForPreview() 343 auto* view = childView->Unwrap<JSViewFullUpdate>(); in GetChildByViewId() 398 auto* view = child.second->Unwrap<JSView>(); in DestroyChild() 406 auto* view = lazyChild.second->Unwrap<JSView>(); in DestroyChild() 424 auto* view = startIter->second->Unwrap<JSView>(); in CleanUpAbandonedChild() 462 jsView = result.first->second->Unwrap<JSView>(); in AddChildById() 470 jsView = result.first->second->Unwrap<JSView>(); in AddChildById() 495 auto* view = removeView->second->Unwrap<JSView>(); in RemoveChildGroupById() 842 auto* view = object->Unwrap<JSView>(); in Create() [all …]
|
H A D | js_navdestination_scrollable_processor.cpp | 86 auto* scroller = JSRef<JSObject>::Cast(item)->Unwrap<JSScroller>(); in ParseScrollerArray() 115 auto* childScroller = JSRef<JSObject>::Cast(jsChildScroller)->Unwrap<JSScroller>(); in ParseNestedScrollerArray() 116 auto* parentScroller = JSRef<JSObject>::Cast(jsParentScroller)->Unwrap<JSScroller>(); in ParseNestedScrollerArray()
|
H A D | js_web_controller.cpp | 430 … RefPtr<JSWebMessagePort> jswebPort = Referenced::Claim(jsObj->Unwrap<JSWebMessagePort>()); in SetPorts() 445 jswebPort = Referenced::Claim(jsObj->Unwrap<JSWebMessagePort>()); in GetPorts() 491 auto jsRes = Referenced::Claim(JSRef<JSObject>::Cast(jsPorts)->Unwrap<JSWebMessageEvent>()); in PostMessage() 574 auto port0 = Referenced::Claim(jsPort0->Unwrap<JSWebMessagePort>()); in CreateWebMessagePorts() 578 auto port1 = Referenced::Claim(jsPort1->Unwrap<JSWebMessagePort>()); in CreateWebMessagePorts() 604 auto jsRes = Referenced::Claim(JSRef<JSObject>::Cast(jsPorts)->Unwrap<JSWebMessageEvent>()); in PostWebMessage() 842 auto result = Referenced::Claim(resultObj->Unwrap<JSHitTestValue>()); in GetHitTestValue() 857 auto jsWebCookieVal = Referenced::Claim(jsWebCookie_->Unwrap<JSWebCookie>()); in GetCookieManager()
|
H A D | js_row_split.cpp | 42 JSShapeAbstract* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JsClip()
|
H A D | js_web.cpp | 2040 auto jsWebConsoleLog = Referenced::Claim(messageObj->Unwrap<JSWebConsoleLog>()); in LoadWebConsoleLogEventToJSValue() 2053 auto jsWebDialog = Referenced::Claim(resultObj->Unwrap<JSWebDialog>()); in WebDialogEventToJSValue() 2133 auto requestEvent = Referenced::Claim(requestObj->Unwrap<JSWebResourceRequest>()); in LoadInterceptEventToJSValue() 2175 auto jsWebHttpAuth = Referenced::Claim(resultObj->Unwrap<JSWebHttpAuth>()); in WebHttpAuthEventToJSValue() 2190 auto jsWebSslError = Referenced::Claim(resultObj->Unwrap<JSWebSslError>()); in WebSslErrorEventToJSValue() 2204 auto jsWebAllSslError = Referenced::Claim(resultObj->Unwrap<JSWebAllSslError>()); in WebAllSslErrorEventToJSValue() 2264 auto requestEvent = Referenced::Claim(requestObj->Unwrap<JSWebResourceRequest>()); in LoadOverrideEventToJSValue() 2464 auto* jsWebController = controller->Unwrap<JSWebController>(); in Create() 2909 auto errorEvent = Referenced::Claim(errorObj->Unwrap<JSWebResourceError>()); in ReceivedErrorEventToJSValue() 3400 auto jsWebController = controller->Unwrap<JSWebController>(); in JavaScriptProxy() [all …]
|
H A D | js_content_slot.cpp | 69 auto* nodeContent = JSRef<JSObject>::Cast(info[0])->Unwrap<NG::NodeContent>(); in GetNativeContent()
|
H A D | js_animator.cpp | 319 JSMotion* rawMotion = JSRef<JSObject>::Cast(info[0])->Unwrap<JSMotion>(); in SetMotion() 433 JSSpringProp* prop = JSRef<JSObject>::Cast(info[3])->Unwrap<JSSpringProp>(); in ConstructorCallback() 449 JSSpringProp* prop = JSRef<JSObject>::Cast(info[4])->Unwrap<JSSpringProp>(); in ConstructorCallback()
|
H A D | js_column_split.cpp | 58 JSShapeAbstract* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JsClip()
|
H A D | js_scrollable.cpp | 100 JSShapeAbstract* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JsClip()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
H A D | js_should_built_in_recognizer_parallel_with_function.cpp | 43 … returnValue = Referenced::Claim(jsObj->Unwrap<JSGestureRecognizer>())->GetRecognizer().Upgrade(); in Execute() 53 auto currentRecognizer = Referenced::Claim(recognizerObj->Unwrap<JSPanRecognizer>()); in CreateRecognizerObject() 60 auto currentRecognizer = Referenced::Claim(recognizerObj->Unwrap<JSGestureRecognizer>()); in CreateRecognizerObject()
|
H A D | js_should_built_in_recognizer_parallel_with_function.h | 226 … auto scrollableTarget = Referenced::Claim(scrollableTargetObj->Unwrap<JSScrollableTargetInfo>()); in GetEventTargetInfo() 233 auto eventTarget = Referenced::Claim(eventTargetObj->Unwrap<JSEventTargetInfo>()); in GetEventTargetInfo() 312 … auto panGestureOption = Referenced::Claim(panGestureOptionObj->Unwrap<JSPanGestureOption>()); in GetPanGestureOptions()
|
H A D | js_tabs_function.cpp | 101 auto jsProxy = Referenced::Claim(proxyObj->Unwrap<JsTabContentTransitionProxy>()); in Execute()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/scroll_bar/ |
H A D | js_scroll_bar.cpp | 81 … if (scrollerValue->IsObject() && JSRef<JSObject>::Cast(scrollerValue)->Unwrap<JSScroller>()) { in Create() 82 auto jsScroller = JSRef<JSObject>::Cast(scrollerValue)->Unwrap<JSScroller>(); in Create()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_ref.h | 143 typename std::enable_if_t<std::is_same_v<T, JsiObject>, U*> Unwrap() const in Unwrap() function 145 return value_.template Unwrap<U>(); in Unwrap()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_canvas_pattern.cpp | 51 auto* matrix = JSRef<JSObject>::Cast(info[0])->Unwrap<JSMatrix2d>(); in JSSetTransform()
|
/ohos5.0/foundation/distributeddatamgr/udmf/interfaces/jskits/data/ |
H A D | unified_data_napi.h | 48 static napi_status Unwrap(napi_env env, napi_value in, void **out, napi_value constructor);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | js_ref_ptr.h | 55 return object_.template Unwrap<T>();
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_schema.cpp | 85 return JSUtil::Unwrap(env, inner, reinterpret_cast<void**>(&out), JsSchema::Constructor(env)); in ToJson() 129 …ctxt->status = JSUtil::Unwrap(env, argv[0], reinterpret_cast<void**>(&node), JsFieldNode::Construc… in SetRootNode()
|
H A D | js_device_kv_store.cpp | 158 …status = JSUtil::Unwrap(env, argv[1], reinterpret_cast<void**>(&va.query), JsQuery::Constructor(en… in GetVariantArgs() 173 …status = JSUtil::Unwrap(env, argv[0], reinterpret_cast<void**>(&va.query), JsQuery::Constructor(en… in GetVariantArgs() 318 ctxt->status = JSUtil::Unwrap(env, argv[0], reinterpret_cast<void**>(&ctxt->resultSet), in CloseResultSet()
|
H A D | js_single_kv_store.cpp | 135 …status = JSUtil::Unwrap(env, argv[0], reinterpret_cast<void**>(&va.query), JsQuery::Constructor(en… in GetVariantArgs() 268 ctxt->status = JSUtil::Unwrap(env, argv[0], reinterpret_cast<void**>(&ctxt->resultSet), in CloseResultSet() 304 …ctxt->status = JSUtil::Unwrap(env, argv[0], reinterpret_cast<void**>(&ctxt->query), JsQuery::Const… in GetResultSize()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
H A D | js_schema.cpp | 87 return JSUtil::Unwrap(env, inner, reinterpret_cast<void**>(&out), JsSchema::Constructor(env)); in ToJson() 131 …ctxt->status = JSUtil::Unwrap(env, argv[0], reinterpret_cast<void**>(&node), JsFieldNode::Construc… in SetRootNode()
|