Home
last modified time | relevance | path

Searched refs:Unwrap (Results 1 - 25 of 95) sorted by relevance

1234

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/
H A Djs_span_string.cpp160 auto* base = JSRef<JSObject>::Cast(args[0])->Unwrap<AceType>(); in Constructor()
220 auto jsSpanString = JSRef<JSObject>::Cast(info[0])->Unwrap<JSSpanString>(); in IsEqualToSpanString()
247 auto jsSpanString = Referenced::Claim(obj->Unwrap<JSSpanString>()); in GetSubSpanString()
315 auto paragraphSpan = Referenced::Claim(obj->Unwrap<JSParagraphStyleSpan>()); in CreateJsParagraphStyleSpan()
325 auto urlSpan = Referenced::Claim(obj->Unwrap<JSUrlSpan>()); in CreateJsUrlSpan()
335 auto fontSpan = Referenced::Claim(obj->Unwrap<JSFontSpan>()); in CreateJsFontSpan()
345 auto decorationSpan = Referenced::Claim(obj->Unwrap<JSDecorationSpan>()); in CreateJsDecorationSpan()
355 auto baselineOffsetSpan = Referenced::Claim(obj->Unwrap<JSBaselineOffsetSpan>()); in CreateJsBaselineOffsetSpan()
365 auto letterSpacingSpan = Referenced::Claim(obj->Unwrap<JSLetterSpacingSpan>()); in CreateJsLetterSpacingSpan()
375 auto gestureSpan = Referenced::Claim(obj->Unwrap<JSGestureSpa in CreateJsGestureSpan()
[all...]
/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()
103 MEDIA_ERR_LOG("%{public}s: Unwrap Napi Object Failed", __FUNCTION__); in IsTryAEDone()
118 TryAEInfoNapi* obj = Unwrap<TryAEInfoNapi>(env, thisVar); in IsTryAEHintNeeded()
120 MEDIA_ERR_LOG("%{public}s: Unwrap Napi Object Failed", __FUNCTION__); in IsTryAEHintNeeded()
135 TryAEInfoNapi* obj = Unwrap<TryAEInfoNapi>(env, thisVar); in GetPreviewType()
137 MEDIA_ERR_LOG("%{public}s: Unwrap Napi Object Failed", __FUNCTION__); in GetPreviewType()
152 TryAEInfoNapi* obj = Unwrap<TryAEInfoNapi>(env, thisVar); in GetCaptureInterval()
154 MEDIA_ERR_LOG("%{public}s: Unwrap Napi Object Failed", __FUNCTION__); in GetCaptureInterval()
327 TimeLapsePhotoSessionNapi* obj = Unwrap<TimeLapsePhotoSessionNap in IsTryAENeeded()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
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_tabs_feature.cpp225 auto* jsTabsController = jsTabsControllerVal->Unwrap<JSTabsController>(); in HandleBindTabsToScrollable()
230 auto* jsScroller = jsScrollerVal->Unwrap<JSScroller>(); in HandleBindTabsToScrollable()
246 auto* parentJsScroller = parentJsScrollerVal.value()->Unwrap<JSScroller>(); in HandleBindTabsToScrollable()
258 auto* jsTabsController = jsTabsControllerVal->Unwrap<JSTabsController>(); in HandleUnbindTabsFromScrollable()
263 auto* jsScroller = jsScrollerVal->Unwrap<JSScroller>(); in HandleUnbindTabsFromScrollable()
282 auto* parentJsScroller = parentJsScrollerVal.value()->Unwrap<JSScroller>(); in HandleUnbindTabsFromScrollable()
H A Djs_view.cpp279 auto* view = object->Unwrap<JSViewFullUpdate>(); in Create()
330 auto view = targetView->Unwrap<JSViewFullUpdate>(); in FindChildByIdForPreview()
340 auto* view = childView->Unwrap<JSViewFullUpdate>(); in GetChildByViewId()
373 auto* parentView = parentObj->Unwrap<JSViewFullUpdate>(); in ConstructorCallback()
395 auto* view = child.second->Unwrap<JSView>(); in DestroyChild()
403 auto* view = lazyChild.second->Unwrap<JSView>(); in DestroyChild()
421 auto* view = startIter->second->Unwrap<JSView>(); in CleanUpAbandonedChild()
459 jsView = result.first->second->Unwrap<JSView>(); in AddChildById()
467 jsView = result.first->second->Unwrap<JSView>(); in AddChildById()
492 auto* view = removeView->second->Unwrap<JSVie in RemoveChildGroupById()
[all...]
H A Djs_content_slot.cpp69 auto* nodeContent = JSRef<JSObject>::Cast(info[0])->Unwrap<NG::NodeContent>(); in GetNativeContent()
H A Djs_row_split.cpp42 JSShapeAbstract* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JsClip()
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_scrollable.cpp100 JSShapeAbstract* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JsClip()
H A Djs_column_split.cpp58 JSShapeAbstract* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JsClip()
H A Djs_scrollable_base.cpp120 auto* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JSClipContent()
H A Djs_animator.cpp319 JSMotion* rawMotion = JSRef<JSObject>::Cast(info[0])->Unwrap<JSMotion>(); in SetMotion()
448 JSSpringProp* prop = JSRef<JSObject>::Cast(info[3])->Unwrap<JSSpringProp>(); in HandleSpringMotion()
467 JSSpringProp* prop = JSRef<JSObject>::Cast(info[4])->Unwrap<JSSpringProp>(); in HandleScrollMotion()
/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()
/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()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_scrollable_bridge.cpp30 auto* clipShape = Framework::JSRef<Framework::JSObject>::Cast(info[1])->Unwrap<Framework::JSShapeAbstract>(); in SetContentClip()
/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()
H A Djs_canvas.cpp54 JSRenderingContextBase* jsContext = JSRef<JSObject>::Cast(info[0])->Unwrap<JSRenderingContextBase>(); in Create()
/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 in OHOS::Ace::Framework::JsiRef
145 return value_.template Unwrap<U>(); in Unwrap()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A Djs_ref_ptr.h55 return object_.template Unwrap<T>(); in operator ->()
/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);
/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::Constructor(env)); in SetRootNode()
H A Djs_single_kv_store.cpp135 status = JSUtil::Unwrap(env, argv[0], reinterpret_cast<void**>(&va.query), JsQuery::Constructor(env)); 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::Constructor(env)); in GetResultSize()
/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::Constructor(env)); in SetRootNode()

Completed in 16 milliseconds

1234