/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_panel.cpp | 43 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 D | dom_panel.h | 51 PanelType type_ = PanelType::FOLDABLE_BAR;
|
/foundation/arkui/ace_engine/frameworks/core/components/panel/ |
H A D | sliding_panel_component.h | 97 PanelType GetType() const in GetType() 102 void SetType(PanelType type) in SetType() 153 PanelType type_ = PanelType::FOLDABLE_BAR;
|
H A D | panel_component.h | 107 PanelType GetPanelType() const in GetPanelType() 112 void SetPanelType(PanelType type) in SetPanelType() 208 PanelType type_ = PanelType::FOLDABLE_BAR;
|
H A D | render_sliding_panel.h | 65 PanelType GetPanelType() const in GetPanelType() 124 PanelType type_ = PanelType::FOLDABLE_BAR;
|
H A D | sliding_panel_component_v2.cpp | 32 if (type_ == PanelType::TEMP_DISPLAY && mode_ == PanelMode::MINI) { in OnChildAdded() 34 } else if (type_ == PanelType::MINI_BAR && mode_ == PanelMode::HALF) { in OnChildAdded()
|
H A D | sliding_panel_component.cpp | 59 if (component->GetPanelType() == PanelType::TEMP_DISPLAY) { in Create() 66 if (component->GetPanelType() == PanelType::TEMP_DISPLAY) { in Create()
|
H A D | panel_element.cpp | 62 stackElement->PushPanel(slidingPanel, panel_->GetPanelType() == PanelType::TEMP_DISPLAY); in ShowPanel()
|
H A D | render_sliding_panel.cpp | 228 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 D | sliding_panel_pattern.cpp | 44 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 D | sliding_panel_pattern.h | 126 PanelType GetPanelType() const; 146 PanelType type_ = PanelType::FOLDABLE_BAR;
|
H A D | sliding_panel_model_ng.cpp | 55 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 D | sliding_panel_layout_property.h | 71 ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(PanelType, PanelType, PROPERTY_UPDATE_MEASURE);
|
H A D | sliding_panel_model_ng.h | 26 void SetPanelType(PanelType type) override; 53 static void SetPanelType(FrameNode* frameNode, PanelType type);
|
H A D | sliding_panel_model.h | 37 virtual void SetPanelType(PanelType type) = 0;
|
H A D | sliding_panel_layout_algorithm.cpp | 61 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 D | cj_panel_ffi.cpp | 27 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 D | js_sliding_panel.cpp | 59 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 D | panel_test_ng.cpp | 95 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 D | panel_property_test_ng.cpp | 33 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 D | panel_composed_element.cpp | 72 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 D | sliding_panel_model_impl.h | 26 void SetPanelType(PanelType type) override;
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | panel_modifier.cpp | 100 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 D | on_text_changed_listener_impl.cpp | 310 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 D | jsEnumStyle.js | 440 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...] |