/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/ |
H A D | navigation_pattern_testtwo_ng.cpp | 153 navigation->navBarNode_ = navBarNode; 154 navigation->contentNode_ = contentNode; 155 navigation->dividerNode_ = dividerNode; 190 navigation->navBarNode_ = navBarNode; 191 navigation->contentNode_ = contentNode; 192 navigation->dividerNode_ = dividerNode; 407 navigation->navBarNode_ = navBarNode; 408 navigation->contentNode_ = contentNode; 409 navigation->dividerNode_ = dividerNode; 449 navigation->navBarNode_ = navBarNode; [all …]
|
H A D | navigation_layout_test_ng.cpp | 109 auto navigation = variable 136 auto navigation = variable 170 auto navigation = variable 204 auto navigation = variable 238 auto navigation = variable 265 auto navigation = variable 299 auto navigation = variable 333 auto navigation = variable 379 auto navigation = variable 398 auto navigation = variable [all …]
|
H A D | navigation_drag_bar_test_ng.cpp | 103 auto navigation = AceType::DynamicCast<NavigationGroupNode>(frameNode); variable 104 ASSERT_NE(navigation, nullptr); 107 pattern->CreateDragBarNode(navigation); 127 auto navigation = AceType::DynamicCast<NavigationGroupNode>(frameNode); variable 128 ASSERT_NE(navigation, nullptr); 129 auto layoutWrapper = navigation->CreateLayoutWrapper(); 174 auto navigation = AceType::DynamicCast<NavigationGroupNode>(frameNode); variable 175 ASSERT_NE(navigation, nullptr); 209 auto navigation = AceType::DynamicCast<NavigationGroupNode>(frameNode); variable 210 ASSERT_NE(navigation, nullptr); [all …]
|
H A D | navigation_test_ng.cpp | 278 auto navigation = variable 321 auto navigation = variable 395 auto navigation = variable 474 auto navigation = variable 501 auto navigation = variable 540 auto navigation = variable 613 auto navigation = variable 664 auto navigation = variable 692 auto navigation = variable 748 auto navigation = variable [all …]
|
/ohos5.0/docs/en/design/ux-design/ |
H A D | app-navigation-structure-design.md | 15 Avoid the following in navigation design: 19 - **Complex navigation**: Do not use bottom tabs on a screen where a sidebar is used. This practice… 24 Common types of application navigation are flat navigation, hierarchical navigation, and hybrid nav… 28 In flat navigation, pages are placed at the same level of hierarchy. 30 This type of navigation is used to display screens at the same level. 38 …navigation components. For example, bottom tab navigation is used on the default device, side navi… 48 This type of navigation can be used in applications with hierarchical pages. 62 …navigation may not be able to cope with more complex business structures. If this is the case, you… 64 Hybrid navigation applies to an application that consists of several modules at the same level, wit… 68 …e both flat navigation and hierarchical navigation. Generally, the priority of flat navigation is … [all …]
|
H A D | multimodal-sidebar.md | 3 A sidebar provides navigation within an application on a tablet in landscape mode. It provides effi… 15 - Tab navigation 17 - List navigation 20 | Tab navigation| List navigation| 25 Generally, tab navigation provides quick switch between level-1 screens in an application. 27  32 Generally, list navigation is used to navigate between level-1 screens of an application. It is app… 34 - Navigation lists make quick navigation at deeper levels possible. 36 - Users can customize a navigation list. 42 …can touch the **Hide** icon to hide the navigation list. Users can touch the **Show** icon to show…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkNavigation.ts | 204 getUINativeModule().navigation.resetBackButtonIcon(node); 251 getUINativeModule().navigation.resetNavBarWidth(node); 279 getUINativeModule().navigation.resetMode(node); 295 getUINativeModule().navigation.resetHideToolBar(node); 307 getUINativeModule().navigation.resetTitleMode(node); 322 getUINativeModule().navigation.resetMenus(node); 368 getUINativeModule().navigation.resetTitle(node); 383 getUINativeModule().navigation.resetSubTitle(node); 399 getUINativeModule().navigation.resetHideTitleBar(node); 411 getUINativeModule().navigation.resetHideNavBar(node); [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-navigation-tabs.md | 9 …navigation tab bar. The following figure shows the page structure. The layout varies according to … 72 **Figure 3** Bottom navigation bar 74  92 **Figure 4** Top navigation bar 94  110 **Figure 5** Side navigation bar 112  142  175  196  [all …]
|
H A D | arkts-navigation-transition.md | 4 …navigation from one view to another. You can customize the animation settings of the navigation tr… 13 To create a navigation page: 15 1. Use **Navigation** to create a navigation home page and create a **NavPathStack** as the navigat… 36 // Define the level-1 navigation view through List. 82 …ge parameters')// Push the navigation destination page specified by name, with the data specified … 102 Create navigation subpage 1 as follows: 104 1. Use **NavDestination** to create a navigation subpage **CommonPage**. 165 Create navigation subpage 2 as follows: 167 1. Use **NavDestination** to create a navigation subpage **SharePage**. 252 To create route navigation: [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ohos-arkui-advanced-MultiNavigation.md | 56 Pushes the specified navigation destination page to the navigation stack. 70 Pushes the specified navigation destination page to the navigation stack, with stack operation sett… 84 Pushes the navigation destination page specified by **name** to the navigation stack, passing the d… 155 Removes the navigation destination pages specified by **indexes** from the navigation stack. 173 Removes the navigation destination page specified by **name** from the navigation stack. 191 Pops the top element out of the navigation stack. 302 Moves the first navigation destination page that matches **name** from the bottom of the navigation… 333 Moves the navigation destination page specified by **index** to the top of the navigation stack. 358 Clears the navigation stack. 374 Obtains the names of all navigation destination pages in the navigation stack. [all …]
|
H A D | ts-basic-components-navrouter.md | 7 … version 13. You are advised to use [NavPathStack](ts-basic-components-navigation.md#navpathstack1… 18 > 1. If there is only one child component, the navigation to the **NavDestination** component does … 19 > 2. If there is only the **NavDestination** child component, the navigation does not work. 21 > 4. If the second child component is not **NavDestination**, the navigation does not work. 37 …icking the **NavRouter** component redirects the user to the specified navigation destination page. 57 …redirecting the user from the **NavRouter** component to the specified navigation destination page. 77 | name | string | Yes | Name of the navigation destination page to be redir… 88 … navigation destination page replaces the current one. The current page is destroyed, but the info… 89 …navigation destination page overwrites the current one. The current page is not destroyed, and the… 90 … navigation destination page replaces the current one. The current page is destroyed, and the info…
|
H A D | ts-basic-components-navigation.md | 588 Pushes the navigation destination page specified by **info** onto the navigation stack. 622 Pushes the navigation destination page specified by **name**, with the data specified by **param**,… 850 Removes the navigation destination pages specified by **indexes** from the navigation stack. 872 Removes the navigation destination page specified by **name** from the navigation stack. 1068 Moves to the top of the navigation stack the navigation destination page specified by **index**. 1085 Clears the navigation stack. 1101 Obtains the names of all navigation destination pages in the navigation stack. 1111 | Array<string\> | Names of all navigation destination pages in the navigation stack.| 1246 Provides the navigation page information. 1421 Defines the name of the navigation home page. [all …]
|
H A D | ohos-atomicservice-AtomicServiceNavigation.md | 18 Since API version 10, you are advised to use [NavPathStack](ts-basic-components-navigation.md#navpa… 48 … | [NavPathStack](ts-basic-components-navigation.md#navpathstack10) | No| @State | Information abo… 49 | navigationContent | Callback\<void\> | No| @BuilderParam | Content of the navigation container.| 53 | navBarWidth | [Length](ts-types.md#length)| No| @Prop | Width of the navigation bar.<br>This attr… 54 …e| [NavigationMode](ts-basic-components-navigation.md#navigationmode9)| No| @Prop |Display mode of… 56 …-types.md#dimension10)] | No| @Prop |Minimum and maximum widths of the navigation bar (effective i… 57 …Dimension](ts-types.md#dimension10) | No| @Prop | Minimum width of the navigation bar content area… 58 | stateChangeCallback | Callback\<boolean\> | No| - | Callback invoked when the navigation bar visi… 59 | modeChangeCallback | Callback\<[NavigationMode](ts-basic-components-navigation.md#navigationmode9… 71 | barStyle | [BarStyle<sup>12+</sup>](ts-basic-components-navigation.md#barstyle12) | No| Style op…
|
H A D | ts-container-swiper.md | 118 Sets the style of the navigation point indicator. 285 Sets the style of the navigation point indicator. 350 Sets the arrow style of the navigation point indicator. 433 Sets whether the navigation point indicator is interactive. The value **true** means that the navig… 851 Sets the color of the dot-style navigation point indicator. 899 Sets the maximum number of navigation dots in the dot-style navigation point indicator. 952 Sets the font color of the digit-style navigation point indicator. 1000 Sets the font style of the digit-style navigation point indicator. 1367 .indicator( // Set the style of the navigation point indicator. 1567 .indicator( // Set the style of the navigation point indicator. [all …]
|
H A D | ohos-atomicservice-NavPushPathHelper.md | 25 …navigation APIs for [NavPathStack](ts-basic-components-navigation.md#navpathstack10). **NavPushPat… 41 …[NavPathStack](ts-basic-components-navigation.md#navpathstack10) | Yes | [Navigation](ts-basic-c… 58 | info | [NavPathInfo](ts-basic-components-navigation.md#navpathinfo10) | Yes | Information about… 91 | options | [NavigationOptions](ts-basic-components-navigation.md#navigationoptions12) | No | Nav… 157 | onPop | Callback\<[PopInfo](ts-basic-components-navigation.md#popinfo11)> | Yes| Callback used to… 226 | options | [NavigationOptions](ts-basic-components-navigation.md#navigationoptions12) | No | Nav… 336 …hInfo](ts-basic-components-navigation.md#navpathinfo10) | Yes | Parameters of the page to replac… 368 …hInfo](ts-basic-components-navigation.md#navpathinfo10) | Yes | Parameters of the page to replac… 369 | options | [NavigationOptions](ts-basic-components-navigation.md#navigationoptions12) | No | Nav… 448 }); // Push the NavDestination page specified by name to the navigation stack. [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/navigation/ |
H A D | navigation_manager.cpp | 90 auto navigation = AceType::DynamicCast<NavigationGroupNode>(current); in GetNavigationInfo() local 91 CHECK_NULL_RETURN(navigation, nullptr); in GetNavigationInfo() 92 auto pattern = navigation->GetPattern<NavigationPattern>(); in GetNavigationInfo() 96 return std::make_shared<NavigationInfo>(navigation->GetInspectorId().value_or(""), stack); in GetNavigationInfo() 117 auto navigation = AceType::DynamicCast<NavigationGroupNode>(navigationNode); in AddRecoverableNavigation() local 118 CHECK_NULL_RETURN(navigation, false); in AddRecoverableNavigation() 119 if (!navigation->CanRecovery() || id != navigation->GetCurId()) { in AddRecoverableNavigation() 134 auto navigation = AceType::DynamicCast<NavigationGroupNode>(node); in GetNavigationJsonInfo() local 135 if (!navigation->CanRecovery()) { in GetNavigationJsonInfo() 138 auto navigationPattern = navigation->GetPattern<NavigationPattern>(); in GetNavigationJsonInfo()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_group_node.cpp | 418 navigation->MarkModifyDone(); in SetBackButtonEvent() 419 navigation->MarkDirtyNode(); in SetBackButtonEvent() 442 CHECK_NULL_RETURN(navigation, false); in CheckCanHandleBack() 579 if (navigation) { in TransitionWithPop() 712 CHECK_NULL_VOID(navigation); in TransitionWithPush() 771 CHECK_NULL_VOID(navigation); in TransitionWithPush() 1217 CHECK_NULL_VOID(navigation); in CreateAnimationWithDialogPop() 1264 CHECK_NULL_VOID(navigation); in TransitionWithDialogPop() 1299 CHECK_NULL_VOID(navigation); in CreateAnimationWithDialogPush() 1378 CHECK_NULL_VOID(navigation); in TransitionWithDialogPush() [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta4/ |
H A D | js-apidiff-arkui.md | 56 |新增|NA|模块名: navigation<br>类名: NavigationCommonTitle|navigation.d.ts| 57 |新增|NA|模块名: navigation<br>类名: NavigationCommonTitle<br>方法名 or 属性名:main|navigation.d.ts| 58 |新增|NA|模块名: navigation<br>类名: NavigationCommonTitle<br>方法名 or 属性名:sub|navigation.d.ts| 59 |新增|NA|模块名: navigation<br>类名: NavigationCustomTitle|navigation.d.ts| 62 |新增|NA|模块名: navigation<br>类名: NavigationMode|navigation.d.ts| 63 |新增|NA|模块名: navigation<br>类名: NavigationMode<br>方法名 or 属性名:Stack|navigation.d.ts| 64 |新增|NA|模块名: navigation<br>类名: NavigationMode<br>方法名 or 属性名:Split|navigation.d.ts| 65 |新增|NA|模块名: navigation<br>类名: NavigationMode<br>方法名 or 属性名:Auto|navigation.d.ts| 66 |新增|NA|模块名: navigation<br>类名: NavBarPosition|navigation.d.ts| 67 |新增|NA|模块名: navigation<br>类名: NavBarPosition<br>方法名 or 属性名:Start|navigation.d.ts| [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ |
H A D | BUILD.gn | 241 "navigation/bar_item_node.cpp", 242 "navigation/bar_item_pattern.cpp", 245 "navigation/nav_bar_node.cpp", 246 "navigation/nav_bar_pattern.cpp", 255 "navigation/navigation_model_ng.cpp", 256 "navigation/navigation_pattern.cpp", 257 "navigation/navigation_stack.cpp", 261 "navigation/title_bar_node.cpp", 262 "navigation/title_bar_pattern.cpp", 264 "navigation/tool_bar_node.cpp", [all …]
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-router-to-navigation.md | 151 每个子页也需要配置到系统配置文件`route_map.json`中(参考[系统路由表](arkts-navigation-navigation.md#系统路由表))。 196 Navigation通过页面栈对象[NavPathStack](../reference/apis-arkui/arkui-ts/ts-basic-components-navigation.md#… 351 // query navigation info 394 具体生命周期描述请参考Navigation[页面生命周期](arkts-navigation-navigation.md#页面生命周期)。 435 …/ts-basic-components-navigation.md#customnavcontenttransition11)事件提供自定义转场动画的能力,具体实现可以参考Navigation[… 442 …面(NavDestination)之间切换时,可以实现共享元素转场,具体可参考[Navigation共享元素转场动画](arkts-navigation-navigation.md#共享元素转场)。 600 具体可参考Navigation[系统路由表](arkts-navigation-navigation.md#系统路由表)。 727 …/ts-basic-components-navigation.md#setinterception12)方法,用于设置Navigation页面跳转拦截回调。具体可以参考文档:Navigation…
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | observer_test_ng.cpp | 65 auto navigation = NavigationGroupNode::GetOrCreateGroupNode( variable 73 auto pattern1 = navigation->GetPattern<NavigationPattern>(); 87 auto navigation = NavigationGroupNode::GetOrCreateGroupNode( variable 89 …navigation->GetPattern<NavigationPattern>()->navigationStack_ = AceType::MakeRefPtr<NavigationStac… 102 pattern->navigationNode_ = AceType::WeakClaim(Referenced::RawPtr(navigation)); 107 info = UIObserverHandler::GetInstance().GetNavigationState(navigation); 110 ASSERT_EQ(pattern->GetNavigationNode(), navigation);
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | errorcode-router.md | 83 This error code is reported when the builder function for creating the navigation destination page … 87 …function for creating the **NavDestination** component is not registered at the time of navigation. 101 …r code is reported when no **NavDestiantion** component is found for the target page of navigation. 105 The **NavDestiantion** component is unavailable for the target page of navigation. 109 Make sure there is a **NavDestiantion** component for the target page of navigation. 137 …en the download of the HSP, which contains the target navigation page, fails before the navigation… 145 Verify that the HSP for the target navigation page actually exists. Make sure the value of **module…
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | navigation-drawer.md | 9  19  155 [Navigation组件](../application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-navigation.md):…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.19/ |
H A D | changelogs-arkui.md | 11 …ask area cannot cover the bottom navigation bar, and in immersive mode, the content is still displ… 17 …navigation bar. 2. When **showInSubwindow** is **true** or the application is configured for immer… 19 …navigation bar by default. 2. When **showInSubwindow** is **true** or the application is configure… 39 …t to display in the navigation bar, set **alignment** to **DialogAlignment.Bottom** and **offset.d… 40 …he window to full screen and obtain the height of the top status bar and the bottom navigation bar. 59 // Obtain the height of the navigation bar.
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-navdestination.md | 3 作为子页面的根容器,用于显示[Navigation](ts-basic-components-navigation.md)的内容区。 43 设置页面标题。使用NavigationCustomTitle类型设置height高度时,[titleMode](ts-basic-components-navigation.md#titlemode… 54 | options<sup>12+</sup> | [NavigationTitleOptions](ts-basic-components-navigation.md#navigationtitl… 103 …navigation.md#toolbaritem10)> \| [CustomBuilder](ts-types.md#custombuilder8) | 是 |… 104 | options | [NavigationToolbarOptions](ts-basic-components-navigation.md#navigationtoolbaropti… 173 设置页面右上角菜单。不设置时不显示菜单项。使用Array<[NavigationMenuItem](ts-basic-components-navigation.md#navigationmenui… 228 > 2. 其他使用限制请参考Navigation对应的[systemBarStyle](ts-basic-components-navigation.md#systembarstyle12)属性说明。 261 > 该接口需要配合Navigation的[recoverable](./ts-basic-components-navigation.md#recoverable14)接口使用。 451 | pathInfo | [NavPathInfo](ts-basic-components-navigation.md#navpathinfo10) | 是 | 跳转NavDestination时… 452 | pathStack | [NavPathStack](ts-basic-components-navigation.md#navpathstack10) | 是 | 当前NavDestinat… [all …]
|