/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/ |
H A D | js_span_string.cpp | 160 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 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() 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 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_tabs_feature.cpp | 225 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 D | js_view.cpp | 279 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 D | js_content_slot.cpp | 69 auto* nodeContent = JSRef<JSObject>::Cast(info[0])->Unwrap<NG::NodeContent>(); in GetNativeContent()
|
H A D | js_row_split.cpp | 42 JSShapeAbstract* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JsClip()
|
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_scrollable.cpp | 100 JSShapeAbstract* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JsClip()
|
H A D | js_column_split.cpp | 58 JSShapeAbstract* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JsClip()
|
H A D | js_scrollable_base.cpp | 120 auto* clipShape = JSRef<JSObject>::Cast(info[0])->Unwrap<JSShapeAbstract>(); in JSClipContent()
|
H A D | js_animator.cpp | 319 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 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()
|
/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()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_scrollable_bridge.cpp | 30 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 D | js_canvas_pattern.cpp | 51 auto* matrix = JSRef<JSObject>::Cast(info[0])->Unwrap<JSMatrix2d>(); in JSSetTransform()
|
H A D | js_canvas.cpp | 54 JSRenderingContextBase* jsContext = JSRef<JSObject>::Cast(info[0])->Unwrap<JSRenderingContextBase>(); in Create()
|
/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 in OHOS::Ace::Framework::JsiRef 145 return value_.template Unwrap<U>(); in Unwrap()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | js_ref_ptr.h | 55 return object_.template Unwrap<T>(); in operator ->()
|
/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);
|
/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::Constructor(env)); in SetRootNode()
|
H A D | js_single_kv_store.cpp | 135 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 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::Constructor(env)); in SetRootNode()
|