/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | tab_content_element.cpp | 31 if (tabContent) { in CreateRenderNode() 34 if (tabContent) { in CreateRenderNode() 35 tabContent->ChangeByContent(index); in CreateRenderNode() 40 if (tabContent) { in CreateRenderNode() 41 tabContent->PrepareContent(index); in CreateRenderNode() 44 tabContent->RegisterIndicatorCallback( in CreateRenderNode() 47 if (tabContent) { in CreateRenderNode() 112 if (!tabContent) { in Update() 116 contents_ = tabContent->GetChildren(); in Update() 117 auto controller = tabContent->GetController(); in Update() [all …]
|
H A D | render_tab_content.cpp | 33 if (!tabContent || !tabContent->GetController()) { in Update() 59 isVertical_ = tabContent->IsVertical(); in Update() 115 if (tabContent) { in Initialize() 121 if (tabContent) { in Initialize() 127 if (tabContent) { in Initialize() 133 if (tabContent) { in Initialize() 267 auto tabContent = weak.Upgrade(); in ScrollContents() local 268 if (tabContent) { in ScrollContents() 275 auto tabContent = weak.Upgrade(); in ScrollContents() local 276 if (tabContent) { in ScrollContents() [all …]
|
H A D | tab_controller.cpp | 63 auto tabContent = AceType::DynamicCast<TabContentElement>(contentElement_.Upgrade()); in SetIndex() local 64 if (tabContent) { in SetIndex() 65 tabContent->ChangeByBar(index); in SetIndex() 120 auto tabContent = AceType::DynamicCast<TabContentElement>(contentElement_.Upgrade()); in SetIndexByController() local 121 if (tabContent) { in SetIndexByController() 122 tabContent->ChangeByBar(index, blockEvent); in SetIndexByController() 130 auto tabContent = AceType::DynamicCast<TabContentElement>(contentElement_.Upgrade()); in ChangeDispatch() local 131 if (tabContent) { in ChangeDispatch() 132 tabContent->ChangeDispatch(index); in ChangeDispatch()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/tabs/ |
H A D | tab_content_proxy_element.cpp | 29 if (!tabContent) { in Update() 33 contents_ = tabContent->GetChildren(); in Update() 34 auto controller = tabContent->GetController(); in Update() 79 auto tabContent = AceType::DynamicCast<RenderTabContent>(renderNode_); in PerformBuild() local 80 if (!tabContent || !controller_) { in PerformBuild() 98 tabContent->FlushIndex(); in PerformBuild() 111 tabContent->AddChildContent(target, renderNode); in PerformBuild() 118 tabContent->UpdateDragPosition(newIndex_); in PerformBuild() 124 tabContent->ChangeScroll(newBarIndex_, fromController_); in PerformBuild() 153 if (!tabContent) { in OnUpdateElement() [all …]
|
H A D | tabs_helper.h | 346 auto tabContent = FindTabContentElement(element); in UpdateRenderTabContentCount() local 347 auto tabContentProxyElement = AceType::DynamicCast<TabContentProxyElement>(tabContent); in UpdateRenderTabContentCount() 349 if (!tabContent || !tabContentProxyElement) { in UpdateRenderTabContentCount() 354 auto controller = tabContent->GetTabController(); in UpdateRenderTabContentCount()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | tabs_model_impl.cpp | 121 auto tabContent = tabsComponent->GetTabContentChild(); in SetIsVertical() local 122 if (tabContent) { in SetIsVertical() 123 tabContent->SetVertical(isVertical); in SetIsVertical() 131 auto tabContent = component->GetTabContentChild(); in SetScrollable() local 132 CHECK_NULL_VOID(tabContent); in SetScrollable() 133 tabContent->SetScrollable(scrollable); in SetScrollable() 140 auto tabContent = component->GetTabContentChild(); in SetAnimationDuration() local 141 CHECK_NULL_VOID(tabContent); in SetAnimationDuration() 142 tabContent->SetScrollDuration(duration); in SetAnimationDuration() 149 auto tabContent = component->GetTabContentChild(); in SetOnChange() local [all …]
|
H A D | tab_content_model_impl.cpp | 147 RefPtr<V2::TabContentItemComponent>& tabContent, std::function<void()>&& builderFunc) in ProcessTabBarBuilderFunction() argument 150 tabContent->SetBarText("custom"); in ProcessTabBarBuilderFunction() 156 tabContent->SetBarBuilder(jsWrapperFunc); in ProcessTabBarBuilderFunction() 167 RefPtr<V2::TabContentItemComponent>& tabContent, const std::string& labelStr) in CreateTabBarLabelComponent() argument 169 tabContent->SetBarText(labelStr); in CreateTabBarLabelComponent() 174 RefPtr<V2::TabContentItemComponent>& tabContent, const std::optional<std::string>& textVal) in ProcessTabBarLabel() argument 177 tabContent->SetBarText(textStr); in ProcessTabBarLabel() 180 return CreateTabBarLabelComponent(tabContent, textStr); in ProcessTabBarLabel() 189 return ProcessTabBarLabel(tabContent, textVal); in ProcessTabBarTextIconPair() 193 tabContent->SetBarText(textStr); in ProcessTabBarTextIconPair() [all …]
|
H A D | tab_content_model_impl.h | 49 RefPtr<V2::TabContentItemComponent>& tabContent, std::function<void()>&& builderFunc); 50 RefPtr<Component> ProcessTabBarTextIconPair(RefPtr<V2::TabContentItemComponent>& tabContent, 53 RefPtr<V2::TabContentItemComponent>& tabContent, const std::string& labelStr); 55 RefPtr<V2::TabContentItemComponent>& tabContent, const std::optional<std::string>& textVal);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkTabContent.ts | 46 getUINativeModule().tabContent.resetTabBar(node); 48 getUINativeModule().tabContent.setTabBar(this.value); 64 getUINativeModule().tabContent.resetTabContentWidth(node); 66 getUINativeModule().tabContent.setTabContentWidth(node, this.value); 82 getUINativeModule().tabContent.resetTabContentHeight(node); 84 getUINativeModule().tabContent.setTabContentHeight(node, this.value); 100 getUINativeModule().tabContent.resetTabContentSize(node); 102 getUINativeModule().tabContent.setTabContentSize(node, this.value.width, this.value.height);
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | ui-js-component-tabs.md | 18 <tab-content class="tabContent"> 38 .tabContent{ 64 <tab-content class="tabContent"> 65 <div class="tabContent"> 68 <div class="tabContent" > 94 .tabContent{ 119 <tab-content class="tabContent">
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | ui-js-component-tabs.md | 19 <tab-content class="tabContent"> 39 .tabContent{ 65 <tab-content class="tabContent"> 66 <div class="tabContent"> 69 <div class="tabContent" > 95 .tabContent{ 120 <tab-content class="tabContent">
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_content_model_ng.cpp | 116 auto tabContent = AceType::Claim(NG::ViewStackProcessor::GetInstance()->GetMainFrameNode()); in Pop() local 117 AddTabBarItem(tabContent, DEFAULT_NODE_SLOT, true); in Pop() 121 RefPtr<TabsNode> TabContentModelNG::FindTabsNode(const RefPtr<UINode>& tabContent) in FindTabsNode() argument 123 CHECK_NULL_RETURN(tabContent, nullptr); in FindTabsNode() 124 RefPtr<UINode> parent = tabContent->GetParent(); in FindTabsNode() 135 void TabContentModelNG::AddTabBarItem(const RefPtr<UINode>& tabContent, int32_t position, bool upda… in AddTabBarItem() argument 137 CHECK_NULL_VOID(tabContent); in AddTabBarItem() 138 auto tabContentId = tabContent->GetId(); in AddTabBarItem() 140 auto tabContentNode = AceType::DynamicCast<TabContentNode>(tabContent); in AddTabBarItem() 147 auto tabsNode = FindTabsNode(tabContent); in AddTabBarItem()
|
H A D | tab_content_model_ng.h | 54 … const RefPtr<UINode>& tabContent, int32_t position = DEFAULT_NODE_SLOT, bool update = false); 56 static RefPtr<TabsNode> FindTabsNode(const RefPtr<UINode>& tabContent);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-tabcontent.md | 746  814  1560 
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_pattern.cpp | 1943 auto tabContent = GetCurrentFrameNode(index); in DoTabsPreloadItems() local 1944 if (!tabContent) { in DoTabsPreloadItems() 1947 if (!tabContent->GetChildren().empty()) { in DoTabsPreloadItems() 1950 auto tabContentPattern = tabContent->GetPattern<TabContentPattern>(); in DoTabsPreloadItems() 1956 for (const auto& child : tabContent->GetChildren()) { in DoTabsPreloadItems() 1959 if (contentConstraint.has_value() && tabContent->GetGeometryNode()) { in DoTabsPreloadItems() 1960 tabContent->GetGeometryNode()->SetParentLayoutConstraint(childConstraint); in DoTabsPreloadItems() 1961 FrameNode::ProcessOffscreenNode(tabContent); in DoTabsPreloadItems()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-tabcontent.md | 456  512  1250 
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_api_impl_bridge.cpp | 4085 auto tabContent = panda::ObjectRef::New(vm); in RegisterTabContentAttributes() local 4086 tabContent->Set(vm, panda::StringRef::NewFromUtf8(vm, "setTabBar"), in RegisterTabContentAttributes() 4088 tabContent->Set(vm, panda::StringRef::NewFromUtf8(vm, "resetTabBar"), in RegisterTabContentAttributes() 4090 tabContent->Set(vm, panda::StringRef::NewFromUtf8(vm, "setTabContentWidth"), in RegisterTabContentAttributes() 4092 tabContent->Set(vm, panda::StringRef::NewFromUtf8(vm, "setTabContentHeight"), in RegisterTabContentAttributes() 4094 tabContent->Set(vm, panda::StringRef::NewFromUtf8(vm, "setTabContentSize"), in RegisterTabContentAttributes() 4096 tabContent->Set(vm, panda::StringRef::NewFromUtf8(vm, "resetTabContentWidth"), in RegisterTabContentAttributes() 4098 tabContent->Set(vm, panda::StringRef::NewFromUtf8(vm, "resetTabContentHeight"), in RegisterTabContentAttributes() 4100 tabContent->Set(vm, panda::StringRef::NewFromUtf8(vm, "resetTabContentSize"), in RegisterTabContentAttributes() 4102 object->Set(vm, panda::StringRef::NewFromUtf8(vm, "tabContent"), tabContent); in RegisterTabContentAttributes()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 29076 getUINativeModule().tabContent.resetTabBar(node); 29078 getUINativeModule().tabContent.setTabBar(this.value); 29092 getUINativeModule().tabContent.resetTabContentWidth(node); 29095 getUINativeModule().tabContent.setTabContentWidth(node, this.value); 29109 getUINativeModule().tabContent.resetTabContentHeight(node); 29112 getUINativeModule().tabContent.setTabContentHeight(node, this.value); 29126 getUINativeModule().tabContent.resetTabContentSize(node); 29129 getUINativeModule().tabContent.setTabContentSize(node, this.value.width, this.value.height);
|