/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid_row/ |
H A D | grid_row_layout_pattern.cpp | 26 if (pipeline && !callbackId_.has_value()) { in OnAttachToFrameNode() 27 callbackId_ = pipeline->RegisterSurfaceChangedCallback( in OnAttachToFrameNode() 42 if (callbackId_.has_value()) { in OnDetachFromFrameNode() 43 pipeline->UnregisterSurfaceChangedCallback(callbackId_.value_or(-1)); in OnDetachFromFrameNode()
|
H A D | grid_row_layout_pattern.h | 58 std::optional<int32_t> callbackId_; member in OHOS::Ace::NG::GridRowLayoutPattern
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/ |
H A D | cj_ability_connect_callback_object.cpp | 45 g_cjAbilityConnectCallbackFuncs->release(callbackId_); in ~CJAbilityConnectCallback() 64 g_cjAbilityConnectCallbackFuncs->onConnect(callbackId_, elementNameHandle, cjRemoteObj->GetID(), resultCode); in OnAbilityConnectDone() 76 g_cjAbilityConnectCallbackFuncs->onDisconnect(callbackId_, elementNameHandle, resultCode); in OnAbilityDisconnectDone()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/ability_component/ |
H A D | render_ability_component.cpp | 29 if (!context || callbackId_ <= 0) { in ~RenderAbilityComponent() 32 context->UnregisterSurfacePositionChangedCallback(callbackId_); in ~RenderAbilityComponent() 44 if (context && callbackId_ <= 0) { in Update() 45 callbackId_ = in Update()
|
H A D | render_ability_component.h | 82 int32_t callbackId_ = 0; member in OHOS::Ace::V2::RenderAbilityComponent
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ability_runtime/ |
H A D | cj_ability_connect_callback_object.h | 40 explicit CJAbilityConnectCallback(int64_t id) : callbackId_(id) {}; in CJAbilityConnectCallback() 48 int64_t callbackId_ = 0; member in OHOS::AbilityRuntime::CJAbilityConnectCallback
|
/foundation/ability/ability_runtime/interfaces/inner_api/auto_fill_manager/src/ |
H A D | auto_fill_extension_callback.cpp | 48 callbackId_ = GenerateCallbackId(); in AutoFillExtensionCallback() 54 AutoFillManager::GetInstance().RemoveEvent(callbackId_); in OnResult() 75 AutoFillManager::GetInstance().RemoveEvent(callbackId_); in OnRelease() 89 AutoFillManager::GetInstance().RemoveEvent(callbackId_); in OnError() 132 AutoFillManager::GetInstance().SetTimeOutEvent(callbackId_); in ReloadInModal() 149 AutoFillManager::GetInstance().RemoveEvent(callbackId_); in ReloadInModal() 168 AutoFillManager::GetInstance().RemoveEvent(callbackId_); in OnReceive() 305 return callbackId_; in GetCallbackId() 350 AutoFillManager::GetInstance().RemoveAutoFillExtensionCallback(callbackId_); in SendAutoFillSuccess() 368 AutoFillManager::GetInstance().RemoveAutoFillExtensionCallback(callbackId_); in SendAutoFillFailed() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/page/ |
H A D | page_element.h | 69 hiddenCallbackMap_.emplace(callbackId_, std::move(callback)); in RegisterHiddenCallback() 71 return callbackId_++; in RegisterHiddenCallback() 99 int32_t callbackId_ = 0; member in OHOS::Ace::PageElement
|
/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | text_field_element.cpp | 29 context->UnregisterSurfaceChangedCallback(callbackId_); in ~TextFieldElement() 70 if (context && callbackId_ <= 0) { in Update() 71 callbackId_ = context->RegisterSurfaceChangedCallback( in Update()
|
H A D | text_field_element.h | 53 int32_t callbackId_ = 0; member in OHOS::Ace::TextFieldElement
|
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | pipeline_context.h | 537 surfaceChangedCallbackMap_.emplace(++callbackId_, std::move(callback)); in RegisterSurfaceChangedCallback() 538 return callbackId_; in RegisterSurfaceChangedCallback() 551 foldStatusChangedCallbackMap_.emplace(callbackId_, std::move(callback)); in RegisterFoldStatusChangedCallback() 552 return callbackId_; in RegisterFoldStatusChangedCallback() 565 halfFoldHoverChangedCallbackMap_.emplace(++callbackId_, std::move(callback)); in RegisterHalfFoldHoverChangedCallback() 566 return callbackId_; in RegisterHalfFoldHoverChangedCallback() 588 foldDisplayModeChangedCallbackMap_.emplace(++callbackId_, std::move(callback)); in RegisterFoldDisplayModeChangedCallback() 589 return callbackId_; in RegisterFoldDisplayModeChangedCallback() 602 surfacePositionChangedCallbackMap_.emplace(++callbackId_, std::move(callback)); in RegisterSurfacePositionChangedCallback() 603 return callbackId_; in RegisterSurfacePositionChangedCallback() 1152 int32_t callbackId_ = 0; global() member in OHOS::Ace::NG::PipelineContext [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/image/ |
H A D | image_animator_element.cpp | 23 if (pageElement && callbackId_ >= 0) { in ~ImageAnimatorElement() 24 pageElement->CancelHiddenCallback(callbackId_); in ~ImageAnimatorElement() 66 callbackId_ = pageElement->RegisterHiddenCallback([weak = AceType::WeakClaim(this)](bool hidden) { in Update()
|
H A D | image_animator_element.h | 107 int32_t callbackId_ = -1; member in OHOS::Ace::ImageAnimatorElement
|
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | message_queue.h | 53 uint32_t callbackId_ = 0; member
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | pipeline_context.h | 640 surfaceChangedCallbackMap_.emplace(++callbackId_, std::move(callback)); in RegisterSurfaceChangedCallback() 641 return callbackId_; in RegisterSurfaceChangedCallback() 654 surfacePositionChangedCallbackMap_.emplace(++callbackId_, std::move(callback)); in RegisterSurfacePositionChangedCallback() 655 return callbackId_; in RegisterSurfacePositionChangedCallback() 992 int32_t callbackId_ = 0; member in OHOS::OHOS::Ace::PipelineContext
|
/foundation/ability/ability_runtime/interfaces/inner_api/auto_fill_manager/include/ |
H A D | auto_fill_extension_callback.h | 81 uint32_t callbackId_ = 0; member in OHOS::AbilityRuntime::AutoFillExtensionCallback
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
H A D | security_ui_extension_pattern.h | 128 int32_t callbackId_ = 0; member in OHOS::Ace::NG::SecurityUIExtensionPattern
|
H A D | security_ui_extension_pattern.cpp | 358 callbackId_ = pipeline->RegisterSurfacePositionChangedCallback( in OnAttachToFrameNode() 375 pipeline->UnregisterSurfacePositionChangedCallback(callbackId_); in OnDetachFromFrameNode()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_test_ng.cpp | 1175 pipeline->callbackId_ = 0; in HWTEST_F() 1180 auto callbackmapnumber = pipeline->callbackId_; in HWTEST_F() 1191 pipeline->callbackId_ = 0; in HWTEST_F() 1196 auto callbackmapnumber2 = pipeline->callbackId_; in HWTEST_F() 1209 pipeline->callbackId_ = 0; in HWTEST_F() 1214 auto callbackmapnumber3 = pipeline->callbackId_; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/swiper/ |
H A D | render_swiper.h | 628 int32_t callbackId_ = 0; member in OHOS::Ace::RenderSwiper
|
H A D | render_swiper.cpp | 123 if (!context || callbackId_ <= 0) { in ~RenderSwiper() 126 context->UnregisterSurfaceChangedCallback(callbackId_); in ~RenderSwiper() 139 if (context && callbackId_ <= 0) { in Update() 140 callbackId_ = context->RegisterSurfaceChangedCallback( in Update()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/subwindow/ |
H A D | subwindow_ohos.h | 222 int32_t callbackId_ = 0; member in OHOS::OHOS::Ace::SubwindowOhos
|
H A D | subwindow_ohos.cpp | 1937 freeMultiWindowSwitchCallbackMap_.emplace(++callbackId_, std::move(callback)); in RegisterFreeMultiWindowSwitchCallback() 1938 return callbackId_; in RegisterFreeMultiWindowSwitchCallback()
|
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_delegate.cpp | 6279 if (callbackId_ <= 0) { in RegisterSurfacePositionChangedCallback() 6280 callbackId_ = pipelineContext->RegisterSurfacePositionChangedCallback( in RegisterSurfacePositionChangedCallback() 6296 if (callbackId_ <= 0) { in RegisterSurfacePositionChangedCallback() 6297 callbackId_ = pipelineContext->RegisterSurfacePositionChangedCallback( in RegisterSurfacePositionChangedCallback() 6312 if (callbackId_ <= 0) { in RegisterSurfacePositionChangedCallback() 6313 callbackId_ = pipelineContext->RegisterSurfacePositionChangedCallback( in RegisterSurfacePositionChangedCallback() 6329 if (callbackId_ <= 0) { in UnregisterSurfacePositionChangedCallback() 6335 pipelineContext->UnregisterSurfacePositionChangedCallback(callbackId_); in UnregisterSurfacePositionChangedCallback() 6336 callbackId_ = 0; in UnregisterSurfacePositionChangedCallback() 6342 pipelineContext->UnregisterSurfacePositionChangedCallback(callbackId_); in UnregisterSurfacePositionChangedCallback() [all...] |
H A D | web_delegate.h | 1191 int32_t callbackId_ = 0; member in OHOS::Ace::WebDelegate::JavaScriptObjIdErrorCode
|