/foundation/ability/ability_runtime/test/unittest/auto_fill_manager_util_test/ |
H A D | auto_fill_manager_util_test.cpp | 82 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 D | menu_element.cpp | 30 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 D | select_composed_element.cpp | 77 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 D | select_model_impl.cpp | 62 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 D | web_model_impl.h | 32 int32_t parentWebId, bool popup, RenderMode renderMode = RenderMode::ASYNC_RENDER,
|
H A D | web_model_impl.cpp | 35 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 D | popup_element.cpp | 16 #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 D | render_select_popup.cpp | 42 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 D | dom_popup.cpp | 19 #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 D | render_option.cpp | 94 // 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 D | layout_wrapper_test_ng.cpp | 1489 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 D | web_component.h | 93 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 D | web_pattern.h | 153 void SetPopup(bool popup) in SetPopup() argument 155 isPopup_ = popup; in SetPopup()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | overlay_manager.cpp | 1622 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 D | web_model.h | 36 std::function<void(const std::string&)>&& setHapPathCallback, int32_t parentWebId, bool popup,
|
H A D | web_model_ng.h | 39 std::function<void(const std::string&)>&& setHapPathCallback, int32_t parentWebId, bool popup,
|
H A D | web_pattern.h | 229 void SetPopup(bool popup) in SetPopup() argument 231 isPopup_ = popup; in SetPopup()
|
H A D | web_model_ng.cpp | 63 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 D | subwindow_ohos.cpp | 51 #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 D | web_delegate.h | 989 void SetPopup(bool popup) in SetPopup() argument 991 isPopup_ = popup; in SetPopup()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 4140 bindPopup(show, popup) { 10366 bindPopup(show, popup) { 26007 bindPopup(show, popup) {
|