Home
last modified time | relevance | path

Searched refs:Unwrap (Results 1 – 25 of 96) sorted by relevance

1234

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/
H A Djs_span_string.cpp464 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 Dtime_lapse_photo_session_napi.cpp23 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 Djs_tabs_feature.cpp226 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 Djs_lazy_foreach_actuator.h93 auto* unwrapObj = listenerObj->Unwrap<JSDataChangeListener>(); in RegisterListener()
125 AceType* aceType = parentViewObj->Unwrap<AceType>(); in SetParentViewObj()
129 parentView_ = parentViewObj->Unwrap<JSView>(); in SetParentViewObj()
H A Djs_view.cpp282 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 Djs_navdestination_scrollable_processor.cpp86 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 Djs_web_controller.cpp430 … 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 Djs_row_split.cpp42 JSShapeAbstract* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JsClip()
H A Djs_web.cpp2040 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 Djs_content_slot.cpp69 auto* nodeContent = JSRef<JSObject>::Cast(info[0])->Unwrap<NG::NodeContent>(); in GetNativeContent()
H A Djs_animator.cpp319 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 Djs_column_split.cpp58 JSShapeAbstract* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JsClip()
H A Djs_scrollable.cpp100 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 Djs_should_built_in_recognizer_parallel_with_function.cpp43 … 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 Djs_should_built_in_recognizer_parallel_with_function.h226 … 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 Djs_tabs_function.cpp101 auto jsProxy = Referenced::Claim(proxyObj->Unwrap<JsTabContentTransitionProxy>()); in Execute()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/scroll_bar/
H A Djs_scroll_bar.cpp81 … 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 Djsi_ref.h143 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 Djs_canvas_pattern.cpp51 auto* matrix = JSRef<JSObject>::Cast(info[0])->Unwrap<JSMatrix2d>(); in JSSetTransform()
/ohos5.0/foundation/distributeddatamgr/udmf/interfaces/jskits/data/
H A Dunified_data_napi.h48 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 Djs_ref_ptr.h55 return object_.template Unwrap<T>();
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_schema.cpp85 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 Djs_device_kv_store.cpp158 …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 Djs_single_kv_store.cpp135 …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 Djs_schema.cpp87 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()

1234