Home
last modified time | relevance | path

Searched refs:thisObj (Results 1 – 25 of 51) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_module_manager.cpp33 … const shared_ptr<JsRuntime>& runtime, shared_ptr<JsValue>& thisObj, const std::string& moduleName) in InitModule() argument
36 void (*)(const shared_ptr<JsRuntime>& runtime, shared_ptr<JsValue>& thisObj)> in InitModule()
39 … shared_ptr<JsValue>& thisObj) { InitRouterModule(runtime, thisObj); } }, in InitModule()
41 … shared_ptr<JsValue>& thisObj) { InitRouterModule(runtime, thisObj); } }, in InitModule()
43 … shared_ptr<JsValue>& thisObj) { InitAppModule(runtime, thisObj); } }, in InitModule()
45 shared_ptr<JsValue>& thisObj) { InitAppModule(runtime, thisObj); } }, in InitModule()
47 … shared_ptr<JsValue>& thisObj) { InitCurvesModule(runtime, thisObj); } }, in InitModule()
49 … shared_ptr<JsValue>& thisObj) { InitCurvesModule(runtime, thisObj); } }, in InitModule()
51 … shared_ptr<JsValue>& thisObj) { InitMatrix4Module(runtime, thisObj); } }, in InitModule()
53 … shared_ptr<JsValue>& thisObj) { InitMatrix4Module(runtime, thisObj); } }, in InitModule()
[all …]
H A Djsi_curves_module.cpp30 auto jsCurveString = thisObj->GetProperty(runtime, "__curveString"); in CurvesInterpolate()
92 return CurvesInitInternal(runtime, thisObj, argv, argc); in CurvesInit()
98 return CurvesInitInternal(runtime, thisObj, argv, argc); in InitCurve()
327 return ParseCurves(runtime, thisObj, argv, argc, curveString); in CurvesBezier()
334 return ParseCurves(runtime, thisObj, argv, argc, curveString); in BezierCurve()
341 return ParseCurves(runtime, thisObj, argv, argc, curveString); in CurvesSpring()
348 return ParseCurves(runtime, thisObj, argv, argc, curveString); in SpringCurve()
355 return ParseCurves(runtime, thisObj, argv, argc, curveString); in InterpolatingSpringCurve()
362 return ParseCurves(runtime, thisObj, argv, argc, curveString); in CurvesSteps()
369 return ParseCurves(runtime, thisObj, argv, argc, curveString); in StepsCurve()
[all …]
H A Djsi_matrix4_module.cpp92 return thisObj; in Combine()
103 return thisObj; in Invert()
127 return thisObj; in Translate()
144 return thisObj; in Skew()
179 return thisObj; in Scale()
217 return thisObj; in Rotate()
265 return thisObj; in SetPolyToPoly()
273 return thisObj; in SetPolyToPoly()
288 return thisObj; in SetPolyToPoly()
293 return thisObj; in SetPolyToPoly()
[all …]
H A Djsi_timer_module.cpp26 …lue> SetTimeoutOrInterval(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in SetTimeoutOrInterval() argument
61 …id ClearTimeoutOrInterval(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in ClearTimeoutOrInterval() argument
87 …d_ptr<JsValue> SetTimeout(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in SetTimeout() argument
90 return SetTimeoutOrInterval(runtime, thisObj, argv, argc, false); in SetTimeout()
93 …_ptr<JsValue> SetInterval(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in SetInterval() argument
96 return SetTimeoutOrInterval(runtime, thisObj, argv, argc, true); in SetInterval()
99 …ptr<JsValue> ClearTimeout(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in ClearTimeout() argument
102 ClearTimeoutOrInterval(runtime, thisObj, argv, argc); in ClearTimeout()
106 …tr<JsValue> ClearInterval(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in ClearInterval() argument
109 ClearTimeoutOrInterval(runtime, thisObj, argv, argc); in ClearInterval()
H A Djsi_app_module.cpp25 …d_ptr<JsValue> AppGetInfo(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in AppGetInfo() argument
49 …ptr<JsValue> AppTerminate(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in AppTerminate() argument
77 …ue> AppSetImageCacheCount(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in AppSetImageCacheCount() argument
116 const shared_ptr<JsValue>& thisObj, in AppSetImageRawDataCacheSize() argument
153 … AppSetImageFileCacheSize(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in AppSetImageFileCacheSize() argument
167 …lue> AppRequestFullWindow(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in AppRequestFullWindow() argument
173 …Value> AppScreenOnVisible(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in AppScreenOnVisible() argument
H A Djsi_router_module.cpp56 …red_ptr<JsValue> PagePush(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in PagePush() argument
74 …_ptr<JsValue> PageReplace(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in PageReplace() argument
92 …red_ptr<JsValue> PageBack(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in PageBack() argument
114 …ed_ptr<JsValue> PageClear(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in PageClear() argument
126 …tr<JsValue> PageGetLength(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in PageGetLength() argument
138 …ptr<JsValue> PageGetState(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in PageGetState() argument
157 …tr<JsValue> PageGetParams(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in PageGetParams() argument
H A Djsi_module_manager.h36 …bool InitModule(const shared_ptr<JsRuntime>& runtime, shared_ptr<JsValue>& thisObj, const std::str…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_animation_bridge.cpp247 if (!thisObj) { in JsAnimationStartTimeGet()
251 int32_t nodeId = GetCurrentNodeId(runtime, thisObj); in JsAnimationStartTimeGet()
252 int32_t pageId = GetCurrentPageId(runtime, thisObj); in JsAnimationStartTimeGet()
284 if (!thisObj) { in JsAnimationStartTimeSet()
297 int32_t nodeId = GetCurrentNodeId(runtime, thisObj); in JsAnimationStartTimeSet()
298 int32_t pageId = GetCurrentPageId(runtime, thisObj); in JsAnimationStartTimeSet()
313 if (!thisObj) { in JsAnimationPendingGet()
317 int32_t nodeId = GetCurrentNodeId(runtime, thisObj); in JsAnimationPendingGet()
318 int32_t pageId = GetCurrentPageId(runtime, thisObj); in JsAnimationPendingGet()
359 if (!thisObj) { in JsAnimationPlayStateGet()
[all …]
H A Djsi_animation_bridge.h33 …tic shared_ptr<JsValue> JsAnimationPlay(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
35 …c shared_ptr<JsValue> JsAnimationFinish(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
37 …ic shared_ptr<JsValue> JsAnimationPause(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
39 …c shared_ptr<JsValue> JsAnimationCancel(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
41 … shared_ptr<JsValue> JsAnimationReverse(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
43 …ed_ptr<JsValue> JsAnimationPlayStateGet(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
45 …ed_ptr<JsValue> JsAnimationStartTimeGet(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
47 …ared_ptr<JsValue> JsAnimationPendingGet(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
49 …ed_ptr<JsValue> JsAnimationPlayStateSet(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
51 …ed_ptr<JsValue> JsAnimationStartTimeSet(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
[all …]
H A Djsi_base_utils.h43 … const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc);
45 …<JsValue> AppInfoLogPrint(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj,
48 …<JsValue> AppWarnLogPrint(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj,
52 … const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc);
55 …<JsValue> JsDebugLogPrint(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj,
58 …r<JsValue> JsInfoLogPrint(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj,
61 …r<JsValue> JsWarnLogPrint(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj,
64 …<JsValue> JsErrorLogPrint(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj,
68 …ptr<JsValue> JsTraceBegin(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj,
71 …d_ptr<JsValue> JsTraceEnd(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj,
H A Djsi_animator_bridge.h31 …atic shared_ptr<JsValue> JsAnimatorPlay(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
33 …ic shared_ptr<JsValue> JsAnimatorFinish(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
35 …tic shared_ptr<JsValue> JsAnimatorPause(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
37 …ic shared_ptr<JsValue> JsAnimatorCancel(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
39 …c shared_ptr<JsValue> JsAnimatorReverse(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
41 …ic shared_ptr<JsValue> JsAnimatorUpdate(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
43 …tic shared_ptr<JsValue> JsAnimatorReset(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> thisObj,
H A Djsi_animator_bridge.cpp337 int32_t pageId = GetCurrentPageId(runtime, thisObj); in JsAnimatorPlay()
338 int32_t bridgeId = GetCurrentBridgeId(runtime, thisObj); in JsAnimatorPlay()
346 int32_t pageId = GetCurrentPageId(runtime, thisObj); in JsAnimatorFinish()
347 int32_t bridgeId = GetCurrentBridgeId(runtime, thisObj); in JsAnimatorFinish()
355 int32_t pageId = GetCurrentPageId(runtime, thisObj); in JsAnimatorPause()
356 int32_t bridgeId = GetCurrentBridgeId(runtime, thisObj); in JsAnimatorPause()
364 int32_t pageId = GetCurrentPageId(runtime, thisObj); in JsAnimatorCancel()
365 int32_t bridgeId = GetCurrentBridgeId(runtime, thisObj); in JsAnimatorCancel()
373 int32_t pageId = GetCurrentPageId(runtime, thisObj); in JsAnimatorReverse()
405 int32_t pageId = GetCurrentPageId(runtime, thisObj); in JsAnimatorUpdate()
[all …]
H A Djsi_engine.cpp2373 int32_t nodeId = GetNodeId(runtime, thisObj); in JsSetAttribute()
2401 int32_t nodeId = GetNodeId(runtime, thisObj); in JsSetStyle()
2423 int32_t parentNodeId = GetNodeId(runtime, thisObj); in JsAppendChild()
2440 int32_t CreateDomElement(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in CreateDomElement() argument
2462 …ared_ptr<JsValue> JsFocus(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in JsFocus() argument
2476 …ed_ptr<JsValue> JsAnimate(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in JsAnimate() argument
2484 int32_t nodeId = GetNodeId(runtime, thisObj); in JsAnimate()
2497 int32_t nodeId = GetNodeId(runtime, thisObj); in JsGetBoundingClientRect()
2504 int32_t nodeId = GetNodeId(runtime, thisObj); in JsGetInspector()
2511 int32_t newNodeId = CreateDomElement(runtime, thisObj, argv, argc); in JsCreateElement()
[all …]
H A Djsi_base_utils.cpp743 const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in AppDebugLogPrint() argument
750 const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in AppInfoLogPrint() argument
757 const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in AppWarnLogPrint() argument
764 const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in AppErrorLogPrint() argument
825 const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in JsDebugLogPrint() argument
831 const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in JsInfoLogPrint() argument
837 const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in JsWarnLogPrint() argument
843 const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in JsErrorLogPrint() argument
850 …siBaseUtils::JsTraceBegin(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in JsTraceBegin() argument
860 … JsiBaseUtils::JsTraceEnd(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in JsTraceEnd() argument
H A Djsi_group_js_bridge.h122 … const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc);
127 … const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A Djs_types.cpp26 Local<JSValueRef> thisObj = info->GetThisRef(); in JsStopPropagation() local
27 …auto eventInfo = static_cast<BaseEventInfo*>(panda::Local<panda::ObjectRef>(thisObj)->GetNativePoi… in JsStopPropagation()
37 Local<JSValueRef> thisObj = info->GetThisRef(); in JsPreventDefault() local
38 …auto eventInfo = static_cast<BaseEventInfo*>(panda::Local<panda::ObjectRef>(thisObj)->GetNativePoi… in JsPreventDefault()
48 Local<JSValueRef> thisObj = info->GetThisRef(); in JsClickPreventDefault() local
49 …auto eventInfo = static_cast<BaseEventInfo*>(panda::Local<panda::ObjectRef>(thisObj)->GetNativePoi… in JsClickPreventDefault()
65 Local<JSValueRef> thisObj = info->GetThisRef(); in JsTouchPreventDefault() local
66 …auto eventInfo = static_cast<BaseEventInfo*>(panda::Local<panda::ObjectRef>(thisObj)->GetNativePoi… in JsTouchPreventDefault()
82 Local<JSValueRef> thisObj = info->GetThisRef(); in JsGetHistoricalPoints() local
83 …auto eventInfo = static_cast<TouchEventInfo*>(panda::Local<panda::ObjectRef>(thisObj)->GetNativePo… in JsGetHistoricalPoints()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_mock.cpp77 … const shared_ptr<JsRuntime>& runtime, shared_ptr<JsValue>& thisObj, const std::string& moduleName) in InitModule() argument
80 void (*)(const shared_ptr<JsRuntime>& runtime, shared_ptr<JsValue>& thisObj)> in InitModule()
83 … shared_ptr<JsValue>& thisObj) { InitCurvesModule(runtime, thisObj); } }, in InitModule()
87 iter->second(runtime, thisObj); in InitModule()
94 …> MockRequireNativeModule(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in MockRequireNativeModule() argument
H A Djs_view_measure_layout.cpp456 Local<JSValueRef> thisObj = runtimeCallInfo->GetThisRef(); in JSMeasure() local
457 …auto ptr = static_cast<NG::MeasureLayoutChild*>(panda::Local<panda::ObjectRef>(thisObj)->GetNative… in JSMeasure()
539 Local<JSValueRef> thisObj = runtimeCallInfo->GetThisRef(); in JSLayout() local
540 …auto ptr = static_cast<NG::MeasureLayoutChild*>(panda::Local<panda::ObjectRef>(thisObj)->GetNative… in JSLayout()
578 Local<JSValueRef> thisObj = runtimeCallInfo->GetThisRef(); in JSPlaceChildren() local
579 …auto ptr = static_cast<NG::MeasureLayoutChild*>(panda::Local<panda::ObjectRef>(thisObj)->GetNative… in JSPlaceChildren()
614 Local<JSValueRef> thisObj = runtimeCallInfo->GetThisRef(); in JSGetMargin() local
615 …auto ptr = static_cast<NG::MeasureLayoutChild*>(panda::Local<panda::ObjectRef>(thisObj)->GetNative… in JSGetMargin()
630 Local<JSValueRef> thisObj = runtimeCallInfo->GetThisRef(); in JSGetPadding() local
631 …auto ptr = static_cast<NG::MeasureLayoutChild*>(panda::Local<panda::ObjectRef>(thisObj)->GetNative… in JSGetPadding()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
H A Dnapi_rdb_store.cpp929 napi_value thisObj = nullptr; in IsHoldingConnection() local
931 RdbStoreProxy *rdbStoreProxy = GetNativeInstance(env, thisObj); in IsHoldingConnection()
941 napi_value thisObj = nullptr; in IsReadOnly() local
953 napi_value thisObj = nullptr; in IsMemoryRdb() local
965 napi_value thisObj = nullptr; in GetPath() local
977 napi_value thisObj = nullptr; in BeginTransaction() local
990 napi_value thisObj = nullptr; in RollBack() local
1002 napi_value thisObj = nullptr; in Commit() local
1050 napi_value thisObj = nullptr; in IsInTransaction() local
1061 napi_value thisObj = nullptr; in IsOpen() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_bindings.inl391 panda::Local<panda::JSValueRef> thisObj = runtimeCallInfo->GetThisRef(); local
413 panda::Local<panda::JSValueRef> thisObj = runtimeCallInfo->GetThisRef(); local
415 if (thisObj->IsProxy(vm)) {
448 panda::Local<panda::JSValueRef> thisObj = runtimeCallInfo->GetThisRef(); local
505 panda::Local<panda::JSValueRef> thisObj = runtimeCallInfo->GetThisRef(); local
562 panda::Local<panda::JSValueRef> thisObj = runtimeCallInfo->GetThisRef(); local
565 Local<ObjectRef>(thisObj)->SetNativePointerFieldCount(vm, 1);
567 return thisObj;
602 Local<ObjectRef>(thisObj)->SetNativePointerFieldCount(vm, 1);
604 Local<ObjectRef>(thisObj)->SetNativePointerField(
[all …]
H A Djsi_declarative_group_js_bridge.h117 … const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc);
122 … const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc);
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/mock/include/
H A Dnapi_async_proxy.h83 napi_value thisObj = nullptr; variable
86 napi_get_cb_info(asyncContext->env, asyncContext->info, &argc, args, &thisObj, nullptr);
101 parserThis(asyncContext->env, thisObj, asyncContext);
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/dataability/include/
H A Dnapi_async_proxy.h94 napi_value thisObj = nullptr; variable
97 napi_get_cb_info(asyncContext->env, asyncContext->info, &argc, args, &thisObj, nullptr);
112 parserThis(asyncContext->env, thisObj, asyncContext);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/
H A Djs_span_string.cpp154 auto thisObj = args.This(); in Constructor() local
156 thisObj); in Constructor()
645 JsiRef<JsiObject> thisObj) in ParseJsSpanBaseVector() argument
890 auto thisObj = args.This(); in Constructor() local
1081 auto thisObj = info.This(); in ReplaceSpan() local
1132 auto thisObj = info.This(); in AddSpan() local
1204 auto thisObj = info.This(); in ReplaceSpanString() local
1207 thisObj->SetPropertyObject(key.c_str(), info[0]); in ReplaceSpanString()
1234 auto thisObj = info.This(); in InsertSpanString() local
1237 thisObj->SetPropertyObject(key.c_str(), info[0]); in InsertSpanString()
[all …]
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/
H A Djs_screen_listener.cpp44 JsScreenListener* thisObj = reinterpret_cast<JsScreenListener*>(obj); in CleanEnv() local
45 if (!thisObj) { in CleanEnv()
50 thisObj->env_ = nullptr; in CleanEnv()

123