Home
last modified time | relevance | path

Searched refs:layoutMode (Results 1 – 25 of 35) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_content_node.cpp170 …outMode", ConvertLayoutModeToString(tabContentPattern->GetBottomTabBarStyle().layoutMode).c_str()); in ToJsonValue()
202 std::string TabContentNode::ConvertLayoutModeToString(LayoutMode layoutMode) const in ConvertLayoutModeToString()
204 if (layoutMode == LayoutMode::VERTICAL) { in ConvertLayoutModeToString()
206 } else if (layoutMode == LayoutMode::HORIZONTAL) { in ConvertLayoutModeToString()
H A Dtab_content_pattern.h274 void SetLayoutMode(LayoutMode layoutMode) in SetLayoutMode() argument
276 bottomTabBarStyle_.layoutMode = layoutMode; in SetLayoutMode()
H A Dtab_content_model.h46 LayoutMode layoutMode = LayoutMode::VERTICAL; member
140 virtual void SetLayoutMode(LayoutMode layoutMode) = 0;
H A Dtab_content_node.h64 std::string ConvertLayoutModeToString(LayoutMode layoutMode) const;
H A Dtab_content_model_ng.h49 void SetLayoutMode(LayoutMode layoutMode) override;
H A Dtab_content_model_ng.cpp195 if (bottomTabBarStyle.layoutMode == LayoutMode::HORIZONTAL) { in AddTabBarItem()
380 …if (tabBarStyle == TabBarStyle::BOTTOMTABBATSTYLE && bottomTabBarStyle.layoutMode == LayoutMode::H… in AddTabBarItem()
556 void TabContentModelNG::SetLayoutMode(LayoutMode layoutMode) in SetLayoutMode() argument
560 frameNodePattern->SetLayoutMode(layoutMode); in SetLayoutMode()
/ohos5.0/docs/zh-cn/application-dev/web/
H A Dweb-fit-content.md3 使用Web组件大小自适应页面内容布局模式`layoutMode(WebLayoutMode.FIT_CONTENT)`时,能使Web组件的大小根据页面内容自适应变化。
41 .layoutMode(WebLayoutMode.FIT_CONTENT) // 设置为Web组件大小自适应页面内容
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-tabcontent.md448 ### layoutMode<sup>10+</sup>
450 layoutMode(value: LayoutMode): BottomTabBarStyle
1318 本示例通过padding、verticalAlign、layoutMode、symmetricExtensible实现了底部页签基本属性的展示。
1329 @State layoutMode: LayoutMode = LayoutMode.VERTICAL;
1384 Button("layoutMode垂直 ")
1389 this.layoutMode = LayoutMode.VERTICAL;
1392 Button("layoutMode水平 ")
1397 this.layoutMode = LayoutMode.HORIZONTAL;
1446 .layoutMode(this.layoutMode)
H A Dts-container-waterflow.md45 | layoutMode<sup>12+</sup> |[WaterFlowLayoutMode](#waterflowlayoutmode12枚举说明) | 否 | 设置WaterFlow的布局模…
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtabs_sub_tab_bar_style_test_ng.cpp1585 LayoutMode layoutMode = LayoutMode::AUTO; variable
1588 tabContentModel.SetLayoutMode(layoutMode);
1599 EXPECT_EQ(tabContentPattern->GetBottomTabBarStyle().layoutMode, layoutMode);
1620 LayoutMode layoutMode = LayoutMode::AUTO; variable
1623 tabContentModel.SetLayoutMode(layoutMode);
1633 EXPECT_EQ(tabContentPattern->GetBottomTabBarStyle().layoutMode, layoutMode);
H A Dtabs_attr_test_ng.cpp939 LayoutMode layoutMode = LayoutMode::AUTO; variable
942 tabContentModel.SetLayoutMode(layoutMode);
952 EXPECT_EQ(tabContentPattern->GetBottomTabBarStyle().layoutMode, layoutMode);
H A Dtab_bar_layout_test_ng.cpp414 bottomTabBarStyle.layoutMode = LayoutMode::VERTICAL;
418 bottomTabBarStyle.layoutMode = LayoutMode::AUTO;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_water_flow_bridge.cpp624 uint32_t layoutMode = layoutModeArgs->Uint32Value(vm); in SetWaterFlowInitialize() local
625 if (layoutMode < static_cast<uint32_t>(NG::WaterFlowLayoutMode::TOP_DOWN) || in SetWaterFlowInitialize()
626 layoutMode > static_cast<uint32_t>(NG::WaterFlowLayoutMode::SLIDING_WINDOW)) { in SetWaterFlowInitialize()
627 layoutMode = static_cast<uint32_t>(NG::WaterFlowLayoutMode::TOP_DOWN); in SetWaterFlowInitialize()
629 … GetArkUINodeModifiers()->getWaterFlowModifier()->setWaterFlowLayoutMode(nativeNode, layoutMode); in SetWaterFlowInitialize()
630 if (layoutMode != static_cast<uint32_t>(NG::WaterFlowLayoutMode::SLIDING_WINDOW)) { in SetWaterFlowInitialize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtab_content_model_impl.h40 void SetLayoutMode(LayoutMode layoutMode) override {} in SetLayoutMode() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkWaterFlow.ts286 this.value?.scroller, this.value?.sections, this.value?.layoutMode);
294 layoutMode?: WaterFlowLayoutMode;
H A DArkWeb.ts295 layoutMode(mode: WebLayoutMode): this {
/ohos5.0/docs/en/application-dev/web/
H A Dweb-fit-content.md3 When **layoutMode(WebLayoutMode.FIT_CONTENT)** is used, the size of the **Web** component can autom…
41 … .layoutMode (WebLayoutMode.FIT_CONTENT) // Set the Web component size to fit in the page content.
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dwater_flow_modifier.cpp614 void SetWaterFlowLayoutMode(ArkUINodeHandle node, ArkUI_Uint32 layoutMode) in SetWaterFlowLayoutMode() argument
619 if (layoutMode >= static_cast<uint32_t>(WaterFlowLayoutMode::TOP_DOWN) && in SetWaterFlowLayoutMode()
620 layoutMode <= static_cast<uint32_t>(WaterFlowLayoutMode::SLIDING_WINDOW)) { in SetWaterFlowLayoutMode()
621 mode = static_cast<WaterFlowLayoutMode>(layoutMode); in SetWaterFlowLayoutMode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_tab_content.cpp587 int32_t layoutMode; in SetLayoutMode() local
588 if (!ConvertFromJSValue(info, layoutMode)) { in SetLayoutMode()
591 TabContentModel::GetInstance()->SetLayoutMode(static_cast<LayoutMode>(layoutMode)); in SetLayoutMode()
H A Djs_web.h140 static void SetLayoutMode(int32_t layoutMode);
/ohos5.0/foundation/window/window_manager/utils/include/
H A Dwindow_helper.h535 … static bool IsInvalidWindowInTileLayoutMode(uint32_t supportModeInfo, WindowLayoutMode layoutMode) in IsInvalidWindowInTileLayoutMode() argument
538 (layoutMode == WindowLayoutMode::TILE)) { in IsInvalidWindowInTileLayoutMode()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-tabcontent.md274 | layoutMode<sup>10+</sup> | [LayoutMode](#layoutmode10) | Yes| Layout of the images and text on t…
1019 @State layoutMode: LayoutMode = LayoutMode.VERTICAL;
1079 this.layoutMode = LayoutMode.VERTICAL;
1087 this.layoutMode = LayoutMode.HORIZONTAL;
1136 .layoutMode(this.layoutMode)
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkweb/
H A Dts-basic-components-web.md1944 ### layoutMode<sup>11+</sup>
1946 layoutMode(mode: WebLayoutMode)
1956 > - Web组件创建后不支持动态切换layoutMode模式
1973 …1、指明layoutMode为WebLayoutMode.FIT_CONTENT模式,为避免默认渲染模式下(RenderMode.ASYNC_RENDER)视口高度超过7680px导致页面渲染出错…
1987 .layoutMode(this.mode)
1993 …2、指明layoutMode为WebLayoutMode.FIT_CONTENT模式,为避免嵌套滚动场景下,Web滚动到边缘时会优先触发过滚动的过界回弹效果影响用户体验,建议指定overScrol…
2002 layoutMode: WebLayoutMode = WebLayoutMode.FIT_CONTENT;
2008 .layoutMode(this.layoutMode)
2158 全量展开模式下不支持滚动条常驻,即layoutMode为WebLayoutMode.FIT_CONTENT模式时,参数enabled为false。
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/atomicserviceweb/interfaces/
H A Datomicserviceweb.js278 Web.layoutMode(WebLayoutMode.NONE);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js1831 layoutMode(arg) { method in BottomTabBarStyle
1832 this.layoutMode = arg;

12