Home
last modified time | relevance | path

Searched refs:PanelType (Results 1 – 25 of 61) sorted by relevance

123

/ohos5.0/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 …el.type_ = ConvertStrToEnum(val.c_str(), typeTable, ArraySize(typeTable), PanelType::FOLDABLE_BAR); in SetSpecializedAttr()
H A Ddom_panel.h51 PanelType type_ = PanelType::FOLDABLE_BAR;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-panel.md41 type(value: PanelType)
53 | value | [PanelType](#paneltype枚举说明) | 是 | 设置可滑动面板的类型。<br/>默认值:PanelType.Foldable |
91 指定PanelType.CUSTOM状态下的高度。
101 …d#dimension10)&nbsp;\|&nbsp;[PanelHeight](#panelheight10枚举说明) | 是 | 指定PanelType.CUSTOM状态下的高度。<br…
107 指定PanelType.Full状态下的高度。
199 ## PanelType枚举说明
298 .type(PanelType.Foldable)
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/
H A Dsliding_panel_pattern.cpp63 if (layoutProperty->GetPanelType() == PanelType::CUSTOM) { in OnModifyDone()
193 if (type_ == PanelType::CUSTOM) { in Update()
201 if (type_ == PanelType::CUSTOM) { in Update()
205 if (mode == PanelMode::HALF && type_ == PanelType::MINI_BAR) { in Update()
208 if (mode == PanelMode::MINI && type_ == PanelType::TEMP_DISPLAY) { in Update()
447 if (type == PanelType::CUSTOM) { in IsNeedResetPanEvent()
503 case PanelType::MINI_BAR: { // FULL & MINI in HandleDragEnd()
507 case PanelType::FOLDABLE_BAR: { // FULL & HALF & MINI in HandleDragEnd()
511 case PanelType::TEMP_DISPLAY: { // FULL & HALF in HandleDragEnd()
760 PanelType SlidingPanelPattern::GetPanelType() const in GetPanelType()
[all …]
H A Dsliding_panel_model_ng.cpp67 ACE_UPDATE_LAYOUT_PROPERTY(SlidingPanelLayoutProperty, PanelType, in Create()
68 layoutProperty->GetPanelTypeValue(PanelType::FOLDABLE_BAR)); // default value in Create()
123 void SlidingPanelModelNG::SetPanelType(PanelType type) in SetPanelType()
125 ACE_UPDATE_LAYOUT_PROPERTY(SlidingPanelLayoutProperty, PanelType, type); in SetPanelType()
259 void SlidingPanelModelNG::SetPanelType(FrameNode* frameNode, PanelType type) in SetPanelType()
261 ACE_UPDATE_NODE_LAYOUT_PROPERTY(SlidingPanelLayoutProperty, PanelType, type, frameNode); in SetPanelType()
H A Dsliding_panel_pattern.h126 PanelType GetPanelType() const;
146 PanelType type_ = PanelType::FOLDABLE_BAR;
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);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ime-kit/
H A Djs-apis-inputmethod-panel.md12 import { PanelInfo, PanelType, PanelFlag } from '@kit.IMEKit';
23 | type | [PanelType](#paneltype) | 是 | 输入法面板类型。 |
26 ## PanelType section
/ohos5.0/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 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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_panel_ffi.cpp32 const std::vector<PanelType> PANEL_TYPES = { PanelType::MINI_BAR, PanelType::FOLDABLE_BAR, PanelTyp…
/ohos5.0/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;
1532 panelPattern->type_ = PanelType::MINI_BAR;
1535 panelPattern->type_ = PanelType::TEMP_DISPLAY;
1879 slidingPanelPattern->type_ = PanelType::MINI_BAR;
2287 layoutProperty->UpdatePanelType(PanelType::CUSTOM);
2294 layoutProperty->UpdatePanelType(PanelType::CUSTOM);
2336 layoutProperty->UpdatePanelType(PanelType::CUSTOM);
[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…
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/
H A Dpanel_info.h21 enum PanelType { enum
33 PanelType panelType = SOFT_KEYBOARD;
H A Dinput_method_panel.h87 PanelType GetPanelType();
146 PanelType panelType_ = PanelType::SOFT_KEYBOARD;
/ohos5.0/docs/en/application-dev/reference/apis-ime-kit/
H A Djs-apis-inputmethod-panel.md12 import { PanelInfo, PanelType, PanelFlag } from '@kit.IMEKit';
23 | type | [PanelType](#paneltype) | Yes| Type of the input method panel.|
26 ## PanelType section
/ohos5.0/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, PanelTyp…
60 PanelType::CUSTOM };
67 const static PanelType DEFAULT_PANELTYPE = PanelType::FOLDABLE_BAR;
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodpanel/
H A Djs_input_method_panel.cpp37 …::Object::WriteProperty(env, obj, "SOFT_KEYBOARD", static_cast<int32_t>(PanelType::SOFT_KEYBOARD)); in GetJsPanelTypeProperty()
38 …JsUtil::Object::WriteProperty(env, obj, "STATUS_BAR", static_cast<int32_t>(PanelType::STATUS_BAR)); in GetJsPanelTypeProperty()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-panel.md41 type(value: PanelType)
53 | value | [PanelType](#paneltype)| Yes | Type of the panel.<br>Default value: **PanelType.Foldab…
91 Sets the height of the panel in the **PanelType.CUSTOM** type.
101 … \| [PanelHeight](#panelheight10) | Yes | Height of the panel in the **PanelType.CUSTOM** type.<b…
107 Sets the height of the panel in the **PanelType.Full** type.
199 ## PanelType section
298 .type(PanelType.Foldable)
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkPanel.ts25 type(value: PanelType): this {
105 class PanelTypeModifier extends ModifierWithKey<PanelType> {
106 constructor(value: PanelType) {
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_ability.cpp377 …panels_.ForEach([windowId](const PanelType &panelType, const std::shared_ptr<InputMethodPanel> &pa… in SetCallingWindow()
584 …panels_.ForEach([&textConfig](const PanelType &panelType, const std::shared_ptr<InputMethodPanel> … in InvokeStartInputCallback()
911 … const PanelType &panelType, std::shared_ptr<InputMethodPanel> &panel) { in CreatePanel()
939 PanelType panelType = inputMethodPanel->GetPanelType(); in DestroyPanel()
961 if (isImeTerminating_.load() && inputMethodPanel->GetPanelType() == PanelType::SOFT_KEYBOARD) { in HidePanel()
1174 …if (panel->GetPanelType() == PanelType::SOFT_KEYBOARD && panel->GetPanelFlag() != panelInfo.panelF… in IsPanelShown()
1200 …panels_.ForEach([this, &channelProxy](const PanelType &panelType, const std::shared_ptr<InputMetho… in OnClientInactive()
1201 … if (panelType != PanelType::SOFT_KEYBOARD || panel->GetPanelFlag() != PanelFlag::FLG_FIXED) { in OnClientInactive()
1210 if (panel->GetPanelType() == PanelType::SOFT_KEYBOARD) { in OnClientInactive()

123