Home
last modified time | relevance | path

Searched refs:jsFunc (Results 1 - 25 of 61) sorted by relevance

123

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_video.cpp180 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnStart() local
182 auto onStart = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in JsOnStart()
198 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnPause() local
200 auto onPause = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in JsOnPause()
216 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnFinish() local
218 auto onFinish = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in JsOnFinish()
234 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnStop() local
236 auto onStop = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in JsOnStop()
252 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnFullscreenChange() local
254 auto OnFullScreenChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), nod in JsOnFullscreenChange()
270 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); JsOnPrepared() local
288 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); JsOnSeeking() local
306 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); JsOnSeeked() local
324 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); JsOnUpdate() local
342 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); JsOnError() local
361 RefPtr<JsFunction> jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); GetEventMarker() local
[all...]
H A Djs_richtext.cpp82 RefPtr<JsFunction> jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnStart() local
84 auto onStartEvent = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in OnStart()
98 RefPtr<JsFunction> jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnComplete() local
100 auto onCompleteEvent = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in OnComplete()
H A Djs_form.cpp176 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnAcquired() local
177 auto onAcquired = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc)](const std::string& param) { in JsOnAcquired()
190 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnError() local
191 auto onError = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc)](const std::string& param) { in JsOnError()
204 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnUninstall() local
205 auto onUninstall = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc)](const std::string& param) { in JsOnUninstall()
218 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnRouter() local
219 auto onRouter = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc)](const std::string& param) { in JsOnRouter()
232 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnLoad() local
233 auto onLoad = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc)](cons in JsOnLoad()
[all...]
H A Djs_ability_component.cpp101 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnConnect() local
102 auto onConnect = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc)]() { in JsOnConnect()
116 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnDisconnect() local
117 auto onDisConnect = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc)]() { in JsOnDisconnect()
H A Djs_marquee.cpp218 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnStart() local
220 auto onChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]() { in OnStart()
235 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnBounce() local
237 auto onChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]() { in OnBounce()
252 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnFinish() local
254 auto onChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]() { in OnFinish()
H A Djs_datepicker.cpp499 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<DatePickerChangeEvent, 1>>( in OnChange() local
502 auto onChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in OnChange()
518 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<DatePickerChangeEvent, 1>>( in OnDateChange() local
521 auto onDateChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in OnDateChange()
538 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<DatePickerChangeEvent, 1>>( in OnChange() local
541 auto onChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in OnChange()
628 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(changeEventVal)); in ParseSelectedDateTimeObject() local
630 auto changeEvent = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), in ParseSelectedDateTimeObject()
765 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onDidAppear)); in DatePickerDialogAppearEvent() local
766 didAppearEvent = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), nod in DatePickerDialogAppearEvent()
775 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onWillAppear)); DatePickerDialogAppearEvent() local
798 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onDidDisappear)); DatePickerDialogDisappearEvent() local
808 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onWillDisappear)); DatePickerDialogDisappearEvent() local
826 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onDateChange)); GetDateChangeEvent() local
849 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onDateAccept)); GetDateAcceptEvent() local
911 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onChange)); GetChangeEvent() local
931 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onAccept)); GetAcceptEvent() local
950 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onCancel)); GetCancelEvent() local
1612 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onDidAppear)); TimePickerDialogAppearEvent() local
1622 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onWillAppear)); TimePickerDialogAppearEvent() local
1645 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onDidDisappear)); TimePickerDialogDisappearEvent() local
1655 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onWillDisappear)); TimePickerDialogDisappearEvent() local
1681 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onChange)); Show() local
1694 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onAccept)); Show() local
1706 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onCancel)); Show() local
[all...]
H A Djs_ui_extension.cpp239 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[1])); in On() local
241 auto onOnFunc = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), instanceId, node = frameNode] in On()
441 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnRemoteReady() local
443 auto onRemoteReady = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), instanceId, node = frameNode] in OnRemoteReady()
467 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnReceive() local
469 auto onReceive = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), instanceId, node = frameNode] in OnReceive()
495 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnRelease() local
497 auto onRelease = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), instanceId, node = frameNode] in OnRelease()
517 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnResult() local
519 auto onResult = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), instanceI in OnResult()
548 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); OnError() local
574 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); OnTerminated() local
[all...]
H A Djs_xcomponent.cpp74 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(object), JSRef<JSFunc>::Cast(jsCreatedFunc)); in SetControllerCallback() local
75 auto onSurfaceCreated = [execCtx, func = std::move(jsFunc), node = targetNode](const std::string& surfaceId) { in SetControllerCallback()
86 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(object), JSRef<JSFunc>::Cast(jsChangedFunc)); in SetControllerCallback() local
87 auto onSurfaceChanged = [execCtx, func = std::move(jsFunc), node = targetNode]( in SetControllerCallback()
105 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(object), JSRef<JSFunc>::Cast(jsDestroyedFunc)); in SetControllerCallback() local
106 auto onSurfaceDestroyed = [execCtx, func = std::move(jsFunc), node = targetNode](const std::string& surfaceId) { in SetControllerCallback()
290 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(args[0])); in JsOnLoad() local
292 auto onLoad = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in JsOnLoad()
312 auto jsFunc = panda::Global<panda::FunctionRef>(execCtx.vm_, Local<panda::FunctionRef>(func)); in RegisterOnCreate() local
313 auto onLoad = [execCtx, funcRef = std::move(jsFunc), nod in RegisterOnCreate()
337 auto jsFunc = panda::Global<panda::FunctionRef>(execCtx.vm_, Local<panda::FunctionRef>(func)); RegisterOnDestroy() local
352 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(args[0])); JsOnDestroy() local
[all...]
H A Djs_web.cpp2542 auto jsFunc = in OnCommonDialog() local
2544 auto jsCallback = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), node = frameNode]( in OnCommonDialog()
2570 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<LoadWebConsoleLogEvent, 1>>( in OnConsoleLog() local
2574 auto jsCallback = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), node = frameNode]( in OnConsoleLog()
2601 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<LoadWebPageStartEvent, 1>>( in OnPageStart() local
2605 auto jsCallback = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), node = frameNode]( in OnPageStart()
2626 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<LoadWebPageFinishEvent, 1>>( in OnPageFinish() local
2630 auto jsCallback = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), node = frameNode]( in OnPageFinish()
2651 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<LoadWebProgressChangeEvent, 1>>( in OnProgressChange() local
2655 auto jsCallback = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), nod in OnProgressChange()
2677 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<LoadWebTitleReceiveEvent, 1>>( OnTitleReceive() local
2701 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<FullScreenExitEvent, 1>>( OnFullScreenExit() local
2725 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<FullScreenEnterEvent, 1>>( OnFullScreenEnter() local
2751 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<LoadWebGeolocationHideEvent, 1>>( OnGeolocationHide() local
2775 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<LoadWebGeolocationShowEvent, 1>>( OnGeolocationShow() local
2799 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<LoadWebRequestFocusEvent, 1>>( OnRequestFocus() local
2823 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<DownloadStartEvent, 1>>( OnDownloadStart() local
2847 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<WebHttpAuthEvent, 1>>( OnHttpAuthRequest() local
2880 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<WebSslErrorEvent, 1>>( OnSslErrorRequest() local
2905 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<WebAllSslErrorEvent, 1>>( OnAllSslErrorRequest() local
2930 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<WebSslSelectCertEvent, 1>>( OnSslSelectCertRequest() local
3022 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<ReceivedErrorEvent, 1>>( OnErrorReceive() local
3046 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<ReceivedHttpErrorEvent, 1>>( OnHttpErrorReceive() local
3080 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<OnInterceptRequestEvent, 1>>( OnInterceptRequest() local
3112 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<UrlLoadInterceptEvent, 1>>( OnUrlLoadIntercept() local
3139 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<LoadInterceptEvent, 1>>( OnLoadIntercept() local
3187 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<FileSelectorEvent, 1>>( OnFileSelectorShow() local
3232 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<ContextMenuEvent, 1>>( OnContextMenuShow() local
3372 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<ContextMenuHideEvent, 1>>( OnContextMenuHide() local
3532 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<RenderExitedEvent, 1>>( OnRenderExited() local
3556 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<RefreshAccessedHistoryEvent, 1>>( OnRefreshAccessedHistory() local
3675 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<ResourceLoadEvent, 1>>( OnResourceLoad() local
3707 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<ScaleChangeEvent, 1>>( OnScaleChange() local
3740 auto jsFunc = OnScroll() local
3774 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<WebPermissionRequestEvent, 1>>( OnPermissionRequest() local
3808 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<WebScreenCaptureRequestEvent, 1>>( OnScreenCaptureRequest() local
3859 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<SearchResultReceiveEvent, 1>>( OnSearchResultReceive() local
4079 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<WebWindowNewEvent, 1>>( OnWindowNew() local
4112 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<WebWindowExitEvent, 1>>( OnWindowExit() local
4223 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<PageVisibleEvent, 1>>( OnPageVisible() local
4295 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<DataResubmittedEvent, 1>>( OnDataResubmitted() local
4403 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<FaviconReceivedEvent, 1>>( OnFaviconReceived() local
4440 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<TouchIconUrlEvent, 1>>( OnTouchIconUrlReceived() local
4512 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<AudioStateChangedEvent, 1>>( OnAudioStateChanged() local
4564 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<FirstContentfulPaintEvent, 1>>( OnFirstContentfulPaint() local
4601 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<FirstMeaningfulPaintEvent, 1>>( OnFirstMeaningfulPaint() local
4641 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<LargestContentfulPaintEvent, 1>>( OnLargestContentfulPaint() local
4676 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<SafeBrowsingCheckResultEvent, 1>>( OnSafeBrowsingCheckResult() local
4716 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<NavigationEntryCommittedEvent, 1>>( OnNavigationEntryCommitted() local
4754 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<IntelligentTrackingPreventionResultEvent, 1>>( OnIntelligentTrackingPreventionResult() local
4783 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSFunc>::Cast(args[0])); OnControllerAttached() local
4850 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<NativeEmbedDataInfo, 1>>( OnNativeEmbedLifecycleChange() local
4873 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<NativeEmbedVisibilityInfo, 1>>( OnNativeEmbedVisibilityChange() local
4964 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<NativeEmbeadTouchInfo, 1>>( OnNativeEmbedGestureEvent() local
4994 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<WebOnOverScrollEvent, 1>>( OnOverScroll() local
5148 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<LoadOverrideEvent, 1>>( OnOverrideUrlLoading() local
5242 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<RenderProcessNotRespondingEvent, 1>>( OnRenderProcessNotResponding() local
5272 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<RenderProcessRespondingEvent, 1>>( OnRenderProcessResponding() local
5321 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSFunc>::Cast(jsAction)); SelectionMenuOptions() local
5355 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<ViewportFitChangedEvent, 1>>( OnViewportFitChanged() local
5453 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<InterceptKeyboardEvent, 1>>( OnInterceptKeyboardAttach() local
5484 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<AdsBlockedEvent, 1>>( OnAdsBlocked() local
[all...]
H A Djs_refresh.cpp67 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(changeEventVal)); in ParseRefreshingObject() local
69 auto changeEvent = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in ParseRefreshingObject()
247 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(args[0])); in OnStateChange() local
249 auto onStateChange = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in OnStateChange()
268 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(args[0])); in OnRefreshing() local
270 auto onRefreshing = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]() { in OnRefreshing()
286 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(args[0])); in OnOffsetChange() local
288 auto offsetChange = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in OnOffsetChange()
H A Djs_plugin.cpp131 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnComplete() local
132 auto OnComplete = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = frameNode]( in JsOnComplete()
149 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in JsOnError() local
150 auto onError = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = frameNode]( in JsOnError()
H A Djs_folder_stack.cpp146 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<NG::FolderEventInfo, 1>>( in JSOnFolderStateChange() local
148 auto onFolderStateChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc)]( in JSOnFolderStateChange()
161 auto jsFunc = AceType::MakeRefPtr<JsEventFunction<NG::FolderEventInfo, 1>>( in JSOnHoverStatusChange() local
163 auto onHoverStatusChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc)]( in JSOnHoverStatusChange()
H A Djs_embedded_component.cpp90 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnTerminated() local
92 auto onTerminated = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), instanceId, node = frameNode]( in OnTerminated()
124 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnError() local
126 auto onError = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), instanceId, node = frameNode]( in OnError()
H A Djs_calendar_picker.cpp298 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in SetOnChange() local
300 auto onChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in SetOnChange()
416 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(changeEventVal)); in ParseSelectedDateObject() local
418 auto changeEvent = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in ParseSelectedDateObject()
559 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onChange)); in ChangeDialogEvent() local
561 auto changeId = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in ChangeDialogEvent()
573 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onAccept)); in ChangeDialogEvent() local
575 auto acceptId = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in ChangeDialogEvent()
597 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onCancel)); in DialogCancelEvent() local
599 auto cancelId = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), nod in DialogCancelEvent()
620 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onDidAppear)); AppearDialogEvent() local
631 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onWillAppear)); AppearDialogEvent() local
652 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onDidDisappear)); DisappearDialogEvent() local
663 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onWillDisappear)); DisappearDialogEvent() local
[all...]
H A Djs_textpicker.cpp280 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(changeEventVal)); in ParseTextPickerValueObject() local
282 auto onValueChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in ParseTextPickerValueObject()
307 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(changeEventVal)); in ParseTextPickerSelectedObject() local
309 auto onSelectedChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in ParseTextPickerSelectedObject()
1238 auto jsFunc = JSRef<JSFunc>::Cast(info[0]); in OnChange() local
1239 auto onChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc)]( in OnChange()
1286 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onDidAppear)); in TextPickerDialogAppearEvent() local
1287 didAppearEvent = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]() { in TextPickerDialogAppearEvent()
1296 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onWillAppear)); in TextPickerDialogAppearEvent() local
1297 willAppearEvent = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), nod in TextPickerDialogAppearEvent()
1319 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onDidDisappear)); TextPickerDialogDisappearEvent() local
1329 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onWillDisappear)); TextPickerDialogDisappearEvent() local
1356 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onCancel)); Show() local
1366 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onAccept)); Show() local
1378 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onChange)); Show() local
1706 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onAccept)); DialogEvent() local
1719 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onChange)); DialogEvent() local
1743 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onCancel)); DialogCancelEvent() local
1765 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onAccept)); AddEvent() local
1778 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onCancel)); AddEvent() local
1790 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(onChange)); AddEvent() local
[all...]
H A Djs_security_ui_extension.cpp248 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[1])); in On() local
250 auto onOnFunc = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), in On()
442 auto jsFunc = AceType::MakeRefPtr<JsFunction>( in OnRemoteReady() local
446 func = std::move(jsFunc), instanceId, node = frameNode] in OnRemoteReady()
472 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnReceive() local
475 func = std::move(jsFunc), instanceId, node = frameNode] in OnReceive()
503 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnError() local
505 auto onError = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), in OnError()
531 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnTerminated() local
533 auto onTerminated = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), in OnTerminated()
[all...]
H A Djs_rating.cpp60 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(changeEventVal)); in ParseRatingObject() local
62 auto onChangeEvent = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in ParseRatingObject()
183 auto jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in SetOnChange() local
185 auto onChange = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in SetOnChange()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/package/
H A Dpackage.cpp130 napi_value jsFunc = nullptr; in ParseCheckPackageHasInstalledOptions() local
132 napi_get_named_property(env, param, SUCCESS, &jsFunc); in ParseCheckPackageHasInstalledOptions()
133 napi_typeof(env, jsFunc, &valueType); in ParseCheckPackageHasInstalledOptions()
135 napi_create_reference(env, jsFunc, NAPI_RETURN_ONE, &jsFuncRef); in ParseCheckPackageHasInstalledOptions()
139 napi_get_named_property(env, param, FAIL, &jsFunc); in ParseCheckPackageHasInstalledOptions()
140 napi_typeof(env, jsFunc, &valueType); in ParseCheckPackageHasInstalledOptions()
142 napi_create_reference(env, jsFunc, NAPI_RETURN_ONE, &jsFuncRef); in ParseCheckPackageHasInstalledOptions()
146 napi_get_named_property(env, param, COMPLETE, &jsFunc); in ParseCheckPackageHasInstalledOptions()
147 napi_typeof(env, jsFunc, &valueType); in ParseCheckPackageHasInstalledOptions()
149 napi_create_reference(env, jsFunc, NAPI_RETURN_ON in ParseCheckPackageHasInstalledOptions()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_animator_bridge.cpp129 shared_ptr<JsValue> jsFunc = animationObject->GetProperty(runtime, "onstart"); in CallAnimationStartJs() local
130 if (!jsFunc || !jsFunc->IsFunction(runtime)) { in CallAnimationStartJs()
133 jsFunc->Call(runtime, runtime->GetGlobal(), {}, 0); in CallAnimationStartJs()
154 shared_ptr<JsValue> jsFunc = animationObject->GetProperty(runtime, "onfinish"); in CallAnimationFinishJs() local
155 if (!jsFunc || !jsFunc->IsFunction(runtime)) { in CallAnimationFinishJs()
158 jsFunc->Call(runtime, runtime->GetGlobal(), {}, 0); in CallAnimationFinishJs()
179 shared_ptr<JsValue> jsFunc = animationObject->GetProperty(runtime, "oncancel"); in CallAnimationCancelJs() local
180 if (!jsFunc || !jsFun in CallAnimationCancelJs()
204 shared_ptr<JsValue> jsFunc = animationObject->GetProperty(runtime, "onrepeat"); CallAnimationRepeatJs() local
229 shared_ptr<JsValue> jsFunc = animationObject->GetProperty(runtime, "onframe"); CallAnimationFrameJs() local
[all...]
H A Djsi_group_js_bridge.cpp442 shared_ptr<JsValue> jsFunc = json->GetProperty(runtime, "stringify"); in SerializationObjectToString() local
443 if (!jsFunc->IsFunction(runtime)) { in SerializationObjectToString()
447 shared_ptr<JsValue> strValue = jsFunc->Call(runtime, runtime->NewUndefined(), { val }, 1); in SerializationObjectToString()
532 shared_ptr<JsValue> jsFunc = in CallModuleJsCallback() local
534 if (jsFunc->IsNull(runtime_) || !jsFunc->IsFunction(runtime_)) { in CallModuleJsCallback()
541 jsFunc->Call(runtime_, global, argv, 1); in CallModuleJsCallback()
559 shared_ptr<JsValue> jsFunc = itFunc->second.rejectCallback; in TriggerModulePluginGetErrorCallback() local
560 if (jsFunc->IsNull(runtime_) || !jsFunc in TriggerModulePluginGetErrorCallback()
606 shared_ptr<JsValue> jsFunc = itFunc->second; CallEventJsCallback() local
[all...]
H A Djsi_animation_bridge.cpp143 shared_ptr<JsValue> jsFunc = animationObject->GetProperty(runtime, "onfinish"); in CallAnimationFinishJs() local
144 if (!jsFunc || !jsFunc->IsFunction(runtime)) { in CallAnimationFinishJs()
147 jsFunc->Call(runtime, runtime->GetGlobal(), {}, 0); in CallAnimationFinishJs()
169 shared_ptr<JsValue> jsFunc = animationObject->GetProperty(runtime, "oncancel"); in CallAnimationCancelJs() local
170 if (!jsFunc || !jsFunc->IsFunction(runtime)) { in CallAnimationCancelJs()
174 jsFunc->Call(runtime, runtime->GetGlobal(), {}, 0); in CallAnimationCancelJs()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_declarative_group_js_bridge.cpp314 shared_ptr<JsValue> jsFunc = json->GetProperty(runtime, "stringify"); in SerializationObjectToString() local
315 if (!jsFunc->IsFunction(runtime)) { in SerializationObjectToString()
318 shared_ptr<JsValue> strValue = jsFunc->Call(runtime, runtime->NewUndefined(), { val }, 1); in SerializationObjectToString()
402 shared_ptr<JsValue> jsFunc = in CallModuleJsCallback() local
404 if (jsFunc->IsNull(runtime_) || !jsFunc->IsFunction(runtime_)) { in CallModuleJsCallback()
410 jsFunc->Call(runtime_, global, argv, 1); in CallModuleJsCallback()
426 shared_ptr<JsValue> jsFunc = itFunc->second.rejectCallback; in TriggerModulePluginGetErrorCallback() local
427 if (jsFunc->IsNull(runtime_) || !jsFunc in TriggerModulePluginGetErrorCallback()
463 shared_ptr<JsValue> jsFunc = itFunc->second; CallEventJsCallback() local
[all...]
H A Djsi_view_register_impl_ng.cpp219 auto callback = [obj = object, jsFunc = jsSetAppTitleFunc, id, vm](const std::string& title) { in AddCustomTitleBarComponent()
223 jsFunc->Call(obj, 1, &param); in AddCustomTitleBarComponent()
231 auto callback = [obj = object, jsFunc = jsSetAppIconFunc, id](const RefPtr<PixelMap>& icon) { in AddCustomTitleBarComponent()
234 jsFunc->Call(obj, 1, &param); in AddCustomTitleBarComponent()
242 auto callback = [obj = object, jsFunc = jsOnWindowFocusedFunc, id]() { in AddCustomTitleBarComponent()
244 jsFunc->Call(obj); in AddCustomTitleBarComponent()
252 auto callback = [obj = object, jsFunc = jsOnWindowUnfocusedFunc, id]() { in AddCustomTitleBarComponent()
254 jsFunc->Call(obj); in AddCustomTitleBarComponent()
382 const std::function<void(void)> callback = [jsFunc = globalFunc, globalObject = globalObject]() { in JsUINodeRegisterCleanUp()
383 jsFunc in JsUINodeRegisterCleanUp()
[all...]
H A Djsi_view_register_impl.cpp248 auto callback = [obj = object, jsFunc = jsSetAppTitleFunc, id, vm](const std::string& title) { in AddCustomTitleBarComponent()
252 jsFunc->Call(obj, 1, &param); in AddCustomTitleBarComponent()
260 auto callback = [obj = object, jsFunc = jsSetAppIconFunc, id](const RefPtr<PixelMap>& icon) { in AddCustomTitleBarComponent()
263 jsFunc->Call(obj, 1, &param); in AddCustomTitleBarComponent()
271 auto callback = [obj = object, jsFunc = jsOnWindowFocusedFunc, id]() { in AddCustomTitleBarComponent()
273 jsFunc->Call(obj); in AddCustomTitleBarComponent()
281 auto callback = [obj = object, jsFunc = jsOnWindowUnfocusedFunc, id]() { in AddCustomTitleBarComponent()
283 jsFunc->Call(obj); in AddCustomTitleBarComponent()
1014 const std::function<void(void)> callback = [jsFunc = globalFunc, globalObject = globalObject]() { in JsUINodeRegisterCleanUp()
1015 jsFunc in JsUINodeRegisterCleanUp()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_canvas.cpp105 RefPtr<JsFunction> jsFunc = AceType::MakeRefPtr<JsFunction>(JSRef<JSObject>(), JSRef<JSFunc>::Cast(info[0])); in OnReady() local
108 auto readyEvent = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]() { in OnReady()
117 auto readyEvent = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in OnReady()

Completed in 30 milliseconds

123