Home
last modified time | relevance | path

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

12

/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_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/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/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()
/third_party/glfw/deps/
H A Dnuklear.h5423 struct nk_popup_state popup; member
5913 /* popup */
15105 /* free unused popup windows */ in nk_clear()
15106 if (iter->popup.win && iter->popup.win->seq != ctx->seq) { in nk_clear()
15107 nk_free_window(ctx, iter->popup.win); in nk_clear()
15108 iter->popup.win = 0; in nk_clear()
15158 /* save buffer fill state for popup */ in nk_start_popup()
15159 buf = &win->popup.buf; in nk_start_popup()
15174 buf = &win->popup in nk_finish_popup()
16805 struct nk_window *popup; nk_popup_begin() local
16902 struct nk_window *popup; nk_nonblock_begin() local
16983 struct nk_window *popup; nk_popup_close() local
16996 struct nk_window *popup; nk_popup_end() local
17027 struct nk_window *popup; nk_popup_get_scroll() local
17044 struct nk_window *popup; nk_popup_set_scroll() local
17070 struct nk_window *popup; nk_contextual_begin() local
17243 struct nk_window *popup; nk_contextual_end() local
17362 struct nk_window *popup; nk_menu_begin() local
24556 struct nk_window *popup; nk_combo_begin() local
[all...]
/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...]
/third_party/python/Lib/tkinter/
H A Dtix.py754 def popup(self): member in DirSelectDialog
755 self.tk.call(self._w, 'popup')
776 def popup(self): member in ExFileSelectDialog
777 self.tk.call(self._w, 'popup')
825 def popup(self): member in FileSelectDialog
826 self.tk.call(self._w, 'popup')
1382 """Toplevel window, with popup popdown and center methods.
1400 def popup(self): member in DialogShell
1401 self.tk.call(self._w, 'popup')
/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()
/third_party/mesa3d/src/imgui/
H A Dimgui.cpp511 - 2015/05/11 (1.40) - changed BeginPopup() API, takes a string identifier instead of a bool. ImGui needs to manage the open/closed state of popups. Call OpenPopup() to actually set the "open" state of a popup. BeginPopup() returns true if the popup is opened.
557 - When 'io.WantTextInput' is set to may want to notify your OS to popup an on-screen keyboard, if available (e.g. on a mobile phone, or console OS).
1089 PopupRounding = 0.0f; // Radius of popup window corners rounding. Set to 0.0f to have rectangular child windows in ImGuiStyle()
1090 PopupBorderSize = 1.0f; // Thickness of border around popup or tooltip windows. Generally set to 0.0f or 1.0f. Other values not well tested. in ImGuiStyle()
2724 // An active popup disable hovering on other windows (apart from its own children) in IsWindowContentHoverable()
2731 // For the purpose of those flags we differentiate "standard popup" from "modal popup" in IsWindowContentHoverable()
2846 // Test if interactions on this window are blocked by an active popup or modal in IsItemHovered()
3151 // Unless we just made a window/popup appea in UpdateMouseMovingWindowEndFrame()
6825 ImGuiPopupRef& popup = g.OpenPopupStack[popup_count_to_keep]; ClosePopupsOverWindow() local
[all...]
/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp438 - 2020/09/21 (1.79) - removed return value from OpenPopupOnItemClick() - returned true on mouse release on an item - because it is inconsistent with other popup APIs and makes others misleading. It's also and unnecessary: you can use IsWindowAppearing() after BeginPopup() for a similar result.
638 - 2015/05/11 (1.40) - changed BeginPopup() API, takes a string identifier instead of a bool. ImGui needs to manage the open/closed state of popups. Call OpenPopup() to actually set the "open" state of a popup. BeginPopup() returns true if the popup is opened.
1007 PopupRounding = 0.0f; // Radius of popup window corners rounding. Set to 0.0f to have rectangular child windows in ImGuiStyle()
1008 PopupBorderSize = 1.0f; // Thickness of border around popup or tooltip windows. Generally set to 0.0f or 1.0f. Other values not well tested. in ImGuiStyle()
3163 // An active popup disable hovering on other windows (apart from its own children) in IsWindowContentHoverable()
3170 // For the purpose of those flags we differentiate "standard popup" from "modal popup" in IsWindowContentHoverable()
3214 // Test if interactions on this window are blocked by an active popup or modal. in IsItemHovered()
3622 // Unless we just made a window/popup appea in UpdateMouseMovingWindowEndFrame()
8382 ImGuiPopupData& popup = g.OpenPopupStack[popup_count_to_keep]; ClosePopupsOverWindow() local
[all...]
/third_party/node/test/fixtures/wpt/resources/
H A Dtestharness.js2766 * const popup = window.open("resources/coop-coep.py?coop=same-origin&coep=&navigate=about:blank");
2767 * t.add_cleanup(() => popup.close());
2768 * assert_equals(window, popup.opener);
2770 * popup.onload = t.step_func(() => {
2771 * assert_true(popup.location.href.endsWith("&navigate=about:blank"));
2773 * t.step_wait_func_done(() => popup.location.href === "about:blank");
2775 * }, "Navigating a popup to about:blank");

Completed in 96 milliseconds

12