Home
last modified time | relevance | path

Searched refs:overlayId (Results 1 - 11 of 11) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/manager/
H A Dselect_overlay_proxy_test_ng.cpp81 auto overlayId = selectOverlayProxy->GetSelectOverlayId(); in HWTEST_F() local
82 EXPECT_EQ(overlayId, NODE_ID); in HWTEST_F()
121 auto overlayId = selectOverlayProxy->GetSelectOverlayId(); in HWTEST_F() local
122 EXPECT_EQ(overlayId, NODE_ID); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_overlay/
H A Dselect_overlay_manager.h54 void DestroySelectOverlay(int32_t overlayId, bool animation = false);
59 bool HasSelectOverlay(int32_t overlayId);
63 RefPtr<SelectOverlayNode> GetSelectOverlayNode(int32_t overlayId);
116 void CloseSelectContentOverlay(int32_t overlayId, CloseReason reason, bool animation);
H A Dselect_overlay_manager.cpp135 void SelectOverlayManager::DestroySelectOverlay(int32_t overlayId, bool animation) in DestroySelectOverlay() argument
138 if (current && (current->GetId() == overlayId)) { in DestroySelectOverlay()
210 bool SelectOverlayManager::HasSelectOverlay(int32_t overlayId) in HasSelectOverlay() argument
214 return current->GetId() == overlayId; in HasSelectOverlay()
244 RefPtr<SelectOverlayNode> SelectOverlayManager::GetSelectOverlayNode(int32_t overlayId) in GetSelectOverlayNode() argument
247 if (current && (current->GetId() == overlayId)) { in GetSelectOverlayNode()
432 void SelectOverlayManager::CloseSelectContentOverlay(int32_t overlayId, CloseReason reason, bool animation) in CloseSelectContentOverlay() argument
435 selectContentManager_->CloseWithOverlayId(overlayId, reason, animation); in CloseSelectContentOverlay()
H A Dselect_overlay_client.cpp193 auto overlayId = selectOverlayProxy_->GetSelectOverlayId(); in SelectOverlayIsOn() local
194 return pipeline->GetSelectOverlayManager()->HasSelectOverlay(overlayId); in SelectOverlayIsOn()
/foundation/window/window_manager/wmserver/src/
H A Davoid_area_controller.cpp81 uint32_t overlayId = overlayNode->GetWindowId(); in AddOrRemoveOverlayWindowIfNeed() local
82 bool isRecorded = (overlayWindowMap_.find(overlayId) != overlayWindowMap_.end()); in AddOrRemoveOverlayWindowIfNeed()
84 WLOGE("error occured in overlay. overlayId %{public}u isAdding %{public}d record flag %{public}d", in AddOrRemoveOverlayWindowIfNeed()
85 overlayId, isAdding, isRecorded); in AddOrRemoveOverlayWindowIfNeed()
89 overlayWindowMap_.insert(std::make_pair(overlayId, overlayNode)); in AddOrRemoveOverlayWindowIfNeed()
91 overlayWindowMap_.erase(overlayId); in AddOrRemoveOverlayWindowIfNeed()
/foundation/arkui/ace_engine/test/mock/base/
H A Dmock_subwindow_manager.cpp45 void SubwindowManager::SetHotAreas(const std::vector<Rect>& rects, int32_t overlayId, int32_t instanceId) {} in SetHotAreas() argument
H A Dmock_subwindow.h64 MOCK_METHOD2(SetHotAreas, void(const std::vector<Rect>& rects, int32_t overlayId));
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dselect_overlay_node.cpp142 const std::function<void()>& callback, int32_t overlayId, float& buttonWidth, bool isSelectAll = false) in BuildPasteButton()
200 const std::shared_ptr<SelectOverlayInfo>& info, int32_t overlayId, const MenuOptionsParam& item, float& buttonWidth) in CreatePasteButtonForCreateMenu()
221 auto button = BuildPasteButton(onPaste, overlayId, buttonWidth); in CreatePasteButtonForCreateMenu()
226 RefPtr<FrameNode> BuildButton(const std::string& data, const std::function<void()>& callback, int32_t overlayId, in BuildButton() argument
275 [callback, overlayId, isSelectAll](GestureEvent& /*info*/) { in BuildButton()
280 auto selectOverlay = overlayManager->GetSelectOverlayNode(overlayId); in BuildButton()
300 void BindButtonClickEvent(const RefPtr<FrameNode>& button, const MenuOptionsParam& menuOption, int32_t overlayId) in BindButtonClickEvent() argument
303 button->GetOrCreateGestureEventHub()->SetUserOnClick([callback, overlayId](GestureEvent& /*info*/) { in BindButtonClickEvent()
309 auto selectOverlay = overlayManager->GetSelectOverlayNode(overlayId); in BindButtonClickEvent()
319 RefPtr<FrameNode> BuildButton(const MenuOptionsParam& menuOption, int32_t overlayId, floa argument
141 BuildPasteButton( const std::function<void()>& callback, int32_t overlayId, float& buttonWidth, bool isSelectAll = false) BuildPasteButton() argument
199 CreatePasteButtonForCreateMenu( const std::shared_ptr<SelectOverlayInfo>& info, int32_t overlayId, const MenuOptionsParam& item, float& buttonWidth) CreatePasteButtonForCreateMenu() argument
368 BindCreateMenuItemClickEvent(const RefPtr<FrameNode>& button, const MenuOptionsParam& menuOptionsParam, int32_t overlayId, const std::function<void()>& systemCallback, const OnMenuItemCallback& onCreateCallback) BindCreateMenuItemClickEvent() argument
410 BuildCreateMenuItemButton(const MenuOptionsParam& menuOptionsParam, const std::function<void()>& systemCallback, const OnMenuItemCallback& menuItemCallback, int32_t overlayId, float& remainderWidth) BuildCreateMenuItemButton() argument
467 BuildMoreOrBackButton(int32_t overlayId, bool isMoreButton) BuildMoreOrBackButton() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_content_overlay/
H A Dselect_content_overlay_manager.h49 void CloseWithOverlayId(int32_t overlayId, CloseReason reason, bool animation);
H A Dselect_content_overlay_manager.cpp725 void SelectContentOverlayManager::CloseWithOverlayId(int32_t overlayId, CloseReason reason, bool animation) in CloseWithOverlayId() argument
729 auto hasOverlayId = (selectOverlayNode_.Upgrade() && overlayId == selectOverlayNode_.Upgrade()->GetId()); in CloseWithOverlayId()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.cpp3766 auto overlayId = selectOverlayProxy_->GetSelectOverlayId(); in OnParentScrollStartOrEndCallback() local
3767 if (!manager->HasSelectOverlay(overlayId)) { in OnParentScrollStartOrEndCallback()

Completed in 18 milliseconds