Home
last modified time | relevance | path

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

12

/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_panel.cpp43 if (type_ == PanelType::TEMP_DISPLAY && mode_ == PanelMode::MINI) { in PrepareSpecializedComponent()
45 } else if (type_ == PanelType::MINI_BAR && mode_ == PanelMode::HALF) { in PrepareSpecializedComponent()
100 const LinearMapNode<PanelType> typeTable[] = { in SetSpecializedAttr()
101 { "foldable", PanelType::FOLDABLE_BAR }, in SetSpecializedAttr()
102 { "minibar", PanelType::MINI_BAR }, in SetSpecializedAttr()
103 { "temporary", PanelType::TEMP_DISPLAY }, in SetSpecializedAttr()
105 panel.type_ = ConvertStrToEnum(val.c_str(), typeTable, ArraySize(typeTable), PanelType::FOLDABLE_BAR); in SetSpecializedAttr()
H A Ddom_panel.h51 PanelType type_ = PanelType::FOLDABLE_BAR;
/foundation/arkui/ace_engine/frameworks/core/components/panel/
H A Dsliding_panel_component.h97 PanelType GetType() const in GetType()
102 void SetType(PanelType type) in SetType()
153 PanelType type_ = PanelType::FOLDABLE_BAR;
H A Dpanel_component.h107 PanelType GetPanelType() const in GetPanelType()
112 void SetPanelType(PanelType type) in SetPanelType()
208 PanelType type_ = PanelType::FOLDABLE_BAR;
H A Drender_sliding_panel.h65 PanelType GetPanelType() const in GetPanelType()
124 PanelType type_ = PanelType::FOLDABLE_BAR;
H A Dsliding_panel_component_v2.cpp32 if (type_ == PanelType::TEMP_DISPLAY && mode_ == PanelMode::MINI) { in OnChildAdded()
34 } else if (type_ == PanelType::MINI_BAR && mode_ == PanelMode::HALF) { in OnChildAdded()
H A Dsliding_panel_component.cpp59 if (component->GetPanelType() == PanelType::TEMP_DISPLAY) { in Create()
66 if (component->GetPanelType() == PanelType::TEMP_DISPLAY) { in Create()
H A Dpanel_element.cpp62 stackElement->PushPanel(slidingPanel, panel_->GetPanelType() == PanelType::TEMP_DISPLAY); in ShowPanel()
H A Drender_sliding_panel.cpp228 panel->mode_ = panel->type_ == PanelType::MINI_BAR ? PanelMode::FULL : PanelMode::HALF; in SetDragBarCallBack()
230 panel->mode_ = panel->type_ == PanelType::MINI_BAR ? PanelMode::MINI : PanelMode::HALF; in SetDragBarCallBack()
422 case PanelType::MINI_BAR: { // FULL & MINI in HandleDragEnd()
426 case PanelType::FOLDABLE_BAR: { // FULL & HALF & MINI in HandleDragEnd()
430 case PanelType::TEMP_DISPLAY: { // FULL & HALF in HandleDragEnd()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/
H A Dsliding_panel_pattern.cpp44 if (layoutProperty->GetPanelType() == PanelType::CUSTOM) { in OnModifyDone()
169 type_ = layoutProperty->GetPanelType().value_or(PanelType::FOLDABLE_BAR); in Update()
174 if (type_ == PanelType::CUSTOM) { in Update()
182 if (type_ == PanelType::CUSTOM) { in Update()
186 if (mode == PanelMode::HALF && type_ == PanelType::MINI_BAR) { in Update()
189 if (mode == PanelMode::MINI && type_ == PanelType::TEMP_DISPLAY) { in Update()
373 // This parameter does not take effect when PanelMode is set to Half and PanelType is set to minibar in CheckPanelModeAndType()
374 if (mode_.value_or(PanelMode::HALF) == PanelMode::HALF && type_ == PanelType::MINI_BAR) { in CheckPanelModeAndType()
378 // This parameter does not take effect when PanelMode is set to Mini and PanelType is set to temporary in CheckPanelModeAndType()
379 if (mode_.value_or(PanelMode::HALF) == PanelMode::MINI && type_ == PanelType in CheckPanelModeAndType()
[all...]
H A Dsliding_panel_pattern.h126 PanelType GetPanelType() const;
146 PanelType type_ = PanelType::FOLDABLE_BAR;
H A Dsliding_panel_model_ng.cpp55 ACE_UPDATE_LAYOUT_PROPERTY(SlidingPanelLayoutProperty, PanelType, in Create()
56 layoutProperty->GetPanelTypeValue(PanelType::FOLDABLE_BAR)); // default value in Create()
111 void SlidingPanelModelNG::SetPanelType(PanelType type) in SetPanelType()
113 ACE_UPDATE_LAYOUT_PROPERTY(SlidingPanelLayoutProperty, PanelType, type); in SetPanelType()
247 void SlidingPanelModelNG::SetPanelType(FrameNode* frameNode, PanelType type) in SetPanelType()
249 ACE_UPDATE_NODE_LAYOUT_PROPERTY(SlidingPanelLayoutProperty, PanelType, type, frameNode); in SetPanelType()
H A Dsliding_panel_layout_property.h71 ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(PanelType, PanelType, PROPERTY_UPDATE_MEASURE);
H A Dsliding_panel_model_ng.h26 void SetPanelType(PanelType type) override;
53 static void SetPanelType(FrameNode* frameNode, PanelType type);
H A Dsliding_panel_model.h37 virtual void SetPanelType(PanelType type) = 0;
H A Dsliding_panel_layout_algorithm.cpp61 if (type != PanelType::CUSTOM) { in Measure()
67 if (type == PanelType::CUSTOM) { in Measure()
114 if (type == PanelType::CUSTOM) { in Layout()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_panel_ffi.cpp27 const std::vector<PanelType> PANEL_TYPES = { PanelType::MINI_BAR, PanelType::FOLDABLE_BAR, PanelType::TEMP_DISPLAY };
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_sliding_panel.cpp59 const std::vector<PanelType> PANEL_TYPES = { PanelType::MINI_BAR, PanelType::FOLDABLE_BAR, PanelType::TEMP_DISPLAY,
60 PanelType::CUSTOM };
67 const static PanelType DEFAULT_PANELTYPE = PanelType::FOLDABLE_BAR;
/foundation/arkui/ace_engine/test/unittest/core/pattern/panel/
H A Dpanel_test_ng.cpp95 constexpr PanelType PANEL_TYPE_VALUE = PanelType::MINI_BAR;
98 const std::vector<PanelType> PANEL_PANEL_TYPE = { PanelType::MINI_BAR, PanelType::FOLDABLE_BAR,
99 PanelType::TEMP_DISPLAY };
103 std::optional<PanelType> panelType = std::nullopt;
449 panelPattern->type_ = panelLayoutProperty->GetPanelType().value_or(PanelType::FOLDABLE_BAR); in HWTEST_F()
514 slidingPanelPattern->type_ = panelLayoutProperty->GetPanelType().value_or(PanelType::FOLDABLE_BAR); in HWTEST_F()
559 slidingPanelPattern->type_ = panelLayoutProperty->GetPanelType().value_or(PanelType in HWTEST_F()
[all...]
H A Dpanel_property_test_ng.cpp33 constexpr PanelType PANEL_TYPE_VALUE = PanelType::MINI_BAR;
91 EXPECT_EQ(slidingPanelLayoutProperty->GetPanelType().value_or(PanelType::FOLDABLE_BAR), PANEL_TYPE_VALUE); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dpanel_composed_element.cpp72 return "PanelType.Foldable"; in GetPanelType()
76 if (renderPanel->GetPanelType() == PanelType::MINI_BAR) { in GetPanelType()
77 return "PanelType.Minibar"; in GetPanelType()
78 } else if (renderPanel->GetPanelType() == PanelType::FOLDABLE_BAR) { in GetPanelType()
79 return "PanelType.Foldable"; in GetPanelType()
81 return "PanelType.Temporary"; in GetPanelType()
84 return "PanelType.Foldable"; in GetPanelType()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dsliding_panel_model_impl.h26 void SetPanelType(PanelType type) override;
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dpanel_modifier.cpp100 auto type = static_cast<PanelType>(value); in SetPanelType()
108 auto type = static_cast<PanelType>(DEFAULT_PANEL_TYPE); in ResetPanelType()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Don_text_changed_listener_impl.cpp310 MiscServices::PanelType panelType = info.panelInfo.panelType; in NotifyPanelStatusInfo()
313 if (!isHardKeyboardConnected && panelType == MiscServices::PanelType::SOFT_KEYBOARD && !panelVisible) { in NotifyPanelStatusInfo()
328 if (info.panelInfo.panelType == MiscServices::PanelType::SOFT_KEYBOARD) { in NotifyPanelStatusInfo()
330 } else if (info.panelInfo.panelType == MiscServices::PanelType::STATUS_BAR) { in NotifyPanelStatusInfo()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js440 var PanelType; variable
441 (function (PanelType) {
442 PanelType[PanelType["Minibar"] = 0] = "Minibar";
443 PanelType[PanelType["Foldable"] = 1] = "Foldable";
444 PanelType[PanelType["Temporary"] = 2] = "Temporary";
445 PanelType[PanelType["CUSTO
[all...]

Completed in 15 milliseconds

12