Home
last modified time | relevance | path

Searched refs:popup (Results 1 - 21 of 21) sorted by relevance

/foundation/ability/ability_runtime/test/unittest/auto_fill_manager_util_test/
H A Dauto_fill_manager_util_test.cpp82 auto popup = std::make_shared<AbilityRuntime::AutoFillManagerUtil>(); in HWTEST_F() local
101 popup->ConvertToPopupUIExtensionConfig(config, popupConfig); in HWTEST_F()
125 auto popup = std::make_shared<AbilityRuntime::AutoFillManagerUtil>(); in HWTEST_F() local
127 EXPECT_EQ(static_cast<int32_t>(popup->ConvertPopupUnit(PopupDimensionUnit::PX)), in HWTEST_F()
130 EXPECT_EQ(static_cast<int32_t>(popup->ConvertPopupUnit(PopupDimensionUnit::VP)), in HWTEST_F()
133 EXPECT_EQ(static_cast<int32_t>(popup->ConvertPopupUnit(PopupDimensionUnit::FP)), in HWTEST_F()
136 EXPECT_EQ(static_cast<int32_t>(popup->ConvertPopupUnit(PopupDimensionUnit::PERCENT)), in HWTEST_F()
139 EXPECT_EQ(static_cast<int32_t>(popup->ConvertPopupUnit(PopupDimensionUnit::LPX)), in HWTEST_F()
142 EXPECT_EQ(static_cast<int32_t>(popup->ConvertPopupUnit(PopupDimensionUnit::AUTO)), in HWTEST_F()
145 EXPECT_EQ(static_cast<int32_t>(popup in HWTEST_F()
156 auto popup = std::make_shared<AbilityRuntime::AutoFillManagerUtil>(); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/menu/
H A Dmenu_element.cpp30 auto popup = data_->GetPopup(); in PerformBuild() local
31 if (!popup) { in PerformBuild()
32 LOGE("popup of menu is null."); in PerformBuild()
36 popup->SetOptionClickedCallback([weak = WeakClaim(this)](std::size_t index) { in PerformBuild()
43 popup->SetPopupCanceledCallback([weak = WeakClaim(this)]() { in PerformBuild()
87 LOGE("can not get popup component."); in OnTargetCallback()
91 auto popup = data_->GetPopup(); in OnTargetCallback() local
93 popup->ShowDialog(stack, point, point, true); in OnTargetCallback()
94 context->SetContextMenu(popup); in OnTargetCallback()
110 popup in OnTargetCallback()
127 auto popup = data_->GetPopup(); OnTargetContextCallback() local
160 auto popup = data_->GetPopup(); OnOptionCallback() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dselect_composed_element.cpp77 auto popup = selectComponent->GetSelectPopupComponent(); in GetOptions() local
78 if (popup) { in GetOptions()
79 auto vectorValue = popup->GetSelectOptions(); in GetOptions()
138 auto popup = render->GetSelectComponent()->GetPopup(); in GetSelectBgColor() local
139 if (!popup) { in GetSelectBgColor()
140 LOGE("popup is null"); in GetSelectBgColor()
143 auto option = popup->GetSelectOptions(); in GetSelectBgColor()
157 auto popup = render->GetSelectComponent()->GetPopup(); in GetSelectFont() local
158 if (!popup) { in GetSelectFont()
159 LOGE("popup i in GetSelectFont()
176 auto popup = render->GetSelectComponent()->GetPopup(); GetSelectFontColor() local
195 auto popup = render->GetSelectComponent()->GetPopup(); GetOptionBgColor() local
214 auto popup = render->GetSelectComponent()->GetPopup(); GetOptionFont() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dselect_model_impl.cpp62 auto popup = selectComponent->GetPopup(); in SetSelected() local
63 CHECK_NULL_VOID(popup); in SetSelected()
64 auto option = popup->GetSelectOptions(); in SetSelected()
154 auto popup = selectComponent->GetPopup(); in SetSelectedOptionBgColor() local
155 CHECK_NULL_VOID(popup); in SetSelectedOptionBgColor()
156 auto option = popup->GetSelectOptions(); in SetSelectedOptionBgColor()
169 auto popup = selectComponent->GetPopup(); in SetSelectedOptionFontSize() local
170 CHECK_NULL_VOID(popup); in SetSelectedOptionFontSize()
171 auto option = popup->GetSelectOptions(); in SetSelectedOptionFontSize()
184 auto popup in SetSelectedOptionFontWeight() local
199 auto popup = selectComponent->GetPopup(); SetSelectedOptionFontFamily() local
214 auto popup = selectComponent->GetPopup(); SetSelectedOptionItalicFontStyle() local
229 auto popup = selectComponent->GetPopup(); SetSelectedOptionFontColor() local
246 auto popup = selectComponent->GetPopup(); SetOptionBgColor() local
261 auto popup = selectComponent->GetPopup(); SetOptionFontSize() local
276 auto popup = selectComponent->GetPopup(); SetOptionFontWeight() local
291 auto popup = selectComponent->GetPopup(); SetOptionFontFamily() local
306 auto popup = selectComponent->GetPopup(); SetOptionItalicFontStyle() local
321 auto popup = selectComponent->GetPopup(); SetOptionFontColor() local
[all...]
H A Dweb_model_impl.h32 int32_t parentWebId, bool popup, RenderMode renderMode = RenderMode::ASYNC_RENDER,
H A Dweb_model_impl.cpp35 std::function<void(const std::string&)>&& setHapPathCallback, int32_t parentWebId, bool popup, in Create()
43 webComponent->SetPopup(popup); in Create()
34 Create(const std::string& src, std::function<void(int32_t)>&& setWebIdCallback, std::function<void(const std::string&)>&& setHapPathCallback, int32_t parentWebId, bool popup, RenderMode , bool incognitoMode, const std::string& sharedRenderProcessToken) Create() argument
/foundation/arkui/ace_engine/frameworks/core/components/popup/
H A Dpopup_element.cpp16 #include "core/components/popup/popup_element.h"
21 #include "core/components/popup/popup_theme.h"
84 auto popup = weak.Upgrade(); in ShowPopupInSubWindow()
85 if (popup) { in ShowPopupInSubWindow()
86 popup->OnStateChange(isVisible); in ShowPopupInSubWindow()
136 auto popup = weak.Upgrade(); in ShowPopup()
137 if (popup) { in ShowPopup()
138 popup->OnStateChange(isVisible); in ShowPopup()
/foundation/arkui/ace_engine/frameworks/core/components/select_popup/
H A Drender_select_popup.cpp42 LOGE("can not get accessibility node of select popup or pipeline is null or positional is null."); in OnPaintFinish()
79 auto popup = AceType::DynamicCast<SelectPopupComponent>(component); in Update() local
80 if (!popup || !popup->GetTheme()) { in Update()
85 theme_ = popup->GetTheme(); in Update()
87 selectPopup_ = popup; in Update()
88 popup->GetPopupLayout(selectLeftTop_, selectRightBottom_); in Update()
89 optionSize_ = popup->GetOptionSize(); in Update()
90 rrectSize_ = popup->GetPopupRRectSize(); in Update()
92 minWidth_ = popup in Update()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_popup.cpp19 #include "core/components/popup/popup_theme.h"
119 // popup don't support position in SetSpecializedStyle()
151 auto popup = AceType::DynamicCast<PopupComponent>(popupChild_); in CallSpecializedMethod() local
152 if (!popup) { in CallSpecializedMethod()
155 auto controller = popup->GetPopupController(); in CallSpecializedMethod()
/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Drender_option.cpp94 // is not auto focus on popup dialog in OnFocus()
102 // auto focus on popup dialog in OnFocus()
476 auto popup = AceType::DynamicCast<RenderSelectPopup>(render); in AdjustScrollPosition() local
486 popup->MarkNeedRender(); in AdjustScrollPosition()
499 popup->MarkNeedRender(); in AdjustScrollPosition()
504 popup->MarkNeedRender(); in AdjustScrollPosition()
508 popup->MarkNeedRender(); in AdjustScrollPosition()
/foundation/arkui/ace_engine/test/unittest/core/layout/
H A Dlayout_wrapper_test_ng.cpp1489 auto [popupHost, popup] = CreateNodeAndWrapper(V2::MENU_WRAPPER_ETS_TAG, 2); in HWTEST_F()
1497 popup->ApplyConstraint(constraint); in HWTEST_F()
1500 // popup is restricted by safeArea in HWTEST_F()
1501 EXPECT_EQ(popup->geometryNode_->parentLayoutConstraint_, constraint); in HWTEST_F()
1502 EXPECT_TRUE(popup->layoutProperty_->layoutConstraint_); in HWTEST_F()
1503 EXPECT_NE(popup->layoutProperty_->layoutConstraint_, constraint); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/web/
H A Dweb_component.h93 void SetPopup(bool popup) in SetPopup() argument
95 isPopup_ = popup; in SetPopup()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/
H A Dweb_pattern.h153 void SetPopup(bool popup) in SetPopup() argument
155 isPopup_ = popup; in SetPopup()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Doverlay_manager.cpp1622 TAG_LOGE(AceLogTag::ACE_OVERLAY, "failed to update popup map, tag:%{public}s", in ShowPopup()
1742 TAG_LOGD(AceLogTag::ACE_OVERLAY, "hide popup enter"); in HidePopup()
1832 TAG_LOGD(AceLogTag::ACE_OVERLAY, "hide popup without animation enter"); in HidePopupWithoutAnimation()
1864 TAG_LOGD(AceLogTag::ACE_OVERLAY, "show indexer popup enter"); in ShowIndexerPopup()
1878 TAG_LOGD(AceLogTag::ACE_OVERLAY, "remove indexer popup by id enter"); in RemoveIndexerPopupById()
1894 TAG_LOGD(AceLogTag::ACE_OVERLAY, "remove indexer popup enter"); in RemoveIndexerPopup()
1900 for (const auto& popup : customPopupMap_) { in RemoveIndexerPopup()
1901 auto popupNode = popup.second; in RemoveIndexerPopup()
1910 TAG_LOGD(AceLogTag::ACE_OVERLAY, "hide custom popup enter"); in HideCustomPopups()
1914 for (const auto& popup in HideCustomPopups()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_model.h36 std::function<void(const std::string&)>&& setHapPathCallback, int32_t parentWebId, bool popup,
H A Dweb_model_ng.h39 std::function<void(const std::string&)>&& setHapPathCallback, int32_t parentWebId, bool popup,
H A Dweb_pattern.h229 void SetPopup(bool popup) in SetPopup() argument
231 isPopup_ = popup; in SetPopup()
H A Dweb_model_ng.cpp63 std::function<void(const std::string&)>&& setHapPathCallback, int32_t parentWebId, bool popup, in Create()
84 webPattern->SetPopup(popup); in Create()
62 Create(const std::string& src, std::function<void(int32_t)>&& setWebIdCallback, std::function<void(const std::string&)>&& setHapPathCallback, int32_t parentWebId, bool popup, RenderMode renderMode, bool incognitoMode, const std::string& sharedRenderProcessToken) Create() argument
/foundation/arkui/ace_engine/adapter/ohos/entrance/subwindow/
H A Dsubwindow_ohos.cpp51 #include "core/components/popup/popup_component.h"
415 TAG_LOGD(AceLogTag::ACE_SUB_WINDOW, "show popup enter"); in ShowPopup()
420 auto popup = AceType::DynamicCast<TweenComponent>(newComponent); in ShowPopup() local
421 CHECK_NULL_VOID(popup); in ShowPopup()
422 stack->PopPopup(popup->GetId()); in ShowPopup()
424 auto bubble = AceType::DynamicCast<BubbleComponent>(popup->GetChild()); in ShowPopup()
433 TAG_LOGD(AceLogTag::ACE_SUB_WINDOW, "cancel popup enter"); in CancelPopup()
449 TAG_LOGI(AceLogTag::ACE_SUB_WINDOW, "show popup ng enter, subwindowId: %{public}d", window_->GetWindowId()); in ShowPopupNG()
469 "hide popup ng enter, subwindowId: %{public}d, subwindowName: %{public}s", in HidePopupNG()
489 TAG_LOGD(AceLogTag::ACE_SUB_WINDOW, "get popup inf in GetPopupInfoNG()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_delegate.h989 void SetPopup(bool popup) in SetPopup() argument
991 isPopup_ = popup; in SetPopup()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js4140 bindPopup(show, popup) {
10366 bindPopup(show, popup) {
26007 bindPopup(show, popup) {

Completed in 51 milliseconds