/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_tab_ffi.cpp | 178 TabContentModel::GetInstance()->SetTabBar(content, std::nullopt, std::nullopt, nullptr, true); in FfiOHOSAceFrameworkTabContentSetTabBar() 183 TabContentModel::GetInstance()->SetTabBar(text, icon, std::nullopt, nullptr, false); in FfiOHOSAceFrameworkTabContentSetTabBarWithIcon() 188 TabContentModel::GetInstance()->SetTabBar( in FfiOHOSAceFrameworkTabContentSetTabBarWithComponent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_tabcontent_bridge.cpp | 19 ArkUINativeModuleValue TabContentBridge::SetTabBar(ArkUIRuntimeCallInfo* runtimeCallInfo) in SetTabBar() function in OHOS::Ace::NG::TabContentBridge 21 Framework::JSTabContent::SetTabBar(Framework::JsiCallbackInfo(runtimeCallInfo)); in SetTabBar()
|
H A D | arkts_native_tabcontent_bridge.h | 25 static ArkUINativeModuleValue SetTabBar(ArkUIRuntimeCallInfo* runtimeCallInfo);
|
H A D | arkts_native_api_impl_bridge.cpp | 4087 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), TabContentBridge::SetTabBar)); in RegisterTabContentAttributes()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_content_model_ng.cpp | 75 …SetTabBar(tabTheme->GetDefaultTabBarName(), "", std::nullopt, nullptr, true); // Set default tab b… in Create() 91 …SetTabBar(tabTheme->GetDefaultTabBarName(), "", std::nullopt, nullptr, true); // Set default tab b… in Create() 110 pattern->SetTabBar(text, "", std::nullopt, nullptr); in CreateFrameNode() 480 void TabContentModelNG::SetTabBar(const std::optional<std::string>& text, const std::optional<std::… in SetTabBar() function in OHOS::Ace::NG::TabContentModelNG 487 …frameNodePattern->SetTabBar(text.value_or(""), icon.value_or(""), tabBarSymbol, std::move(builder)… in SetTabBar() 661 frameNodePattern->SetTabBar("", "", std::nullopt, std::move(builder)); in SetTabBarBuilder() 669 frameNodePattern->SetTabBar(label, "", std::nullopt, nullptr); in SetTabBarLabel()
|
H A D | tab_content_model_ng.h | 39 void SetTabBar(const std::optional<std::string> &text, const std::optional<std::string> &icon,
|
H A D | tab_content_model.h | 130 …virtual void SetTabBar(const std::optional<std::string>& text, const std::optional<std::string>& i…
|
H A D | tab_content_pattern.h | 162 void SetTabBar(const std::string& text, const std::string& icon, in SetTabBar() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_tab_content.cpp | 89 void JSTabContent::SetTabBar(const JSCallbackInfo& info) in SetTabBar() function in OHOS::Ace::Framework::JSTabContent 99 … TabContentModel::GetInstance()->SetTabBar(infoStr, std::nullopt, std::nullopt, nullptr, true); in SetTabBar() 120 TabContentModel::GetInstance()->SetTabBar( in SetTabBar() 157 TabContentModel::GetInstance()->SetTabBar(textOpt, iconOpt, std::nullopt, nullptr, false); in SetTabBar() 582 … TabContentModel::GetInstance()->SetTabBar(contentOpt, std::nullopt, std::nullopt, nullptr, false); in SetSubTabBarStyle() 666 TabContentModel::GetInstance()->SetTabBar(textOpt, iconOpt, tabBarSymbol, nullptr, false); in SetBottomTabBarStyle() 704 JSClass<JSTabContent>::StaticMethod("tabBar", &JSTabContent::SetTabBar); in JSBind()
|
H A D | js_tab_content.h | 37 static void SetTabBar(const JSCallbackInfo& info);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tabs_attr_test_ng.cpp | 680 tabContentModel.SetTabBar("", "", std::nullopt, nullptr, true); // SetTabBar without builder 713 tabContentModel.SetTabBar("", "", tabBarSymbol, nullptr, true); 1422 tabContentModel.SetTabBar("", "", tabBarSymbol, nullptr, true); 1467 tabContentModel2.SetTabBar("", "", tabBarSymbol, nullptr, true); 1497 tabContentModel2.SetTabBar("", "", tabBarSymbol, nullptr, true); 1535 tabContentModel.SetTabBar("", "", tabBarSymbol, nullptr, true); 1559 tabContentModel.SetTabBar("test", IMAGE_SRC_URL, std::nullopt, nullptr, true); 1564 tabContentModel2.SetTabBar("", IMAGE_SRC_URL, std::nullopt, nullptr, true); 1594 tabContentModel.SetTabBar("test", IMAGE_SRC_URL, std::nullopt, nullptr, true); 1599 tabContentModel2.SetTabBar("", IMAGE_SRC_URL, std::nullopt, nullptr, true);
|
H A D | tabs_test_ng.cpp | 167 tabContentModel.SetTabBar("", "", std::nullopt, std::move(tabBarItemFunc), true); in CreateTabContentsWithBuilder() 187 tabContentModel.SetTabBar("text", "icon", std::nullopt, nullptr, true); in CreateTabContentTabBarStyle() 197 tabContentModel.SetTabBar("", "", std::nullopt, std::move(tabBarItemFunc), true); in CreateTabContentTabBarStyleWithBuilder()
|
H A D | tabs_sub_tab_bar_style_test_ng.cpp | 1257 tabContentModel.SetTabBar("", "", std::nullopt, nullptr, true); 1307 tabContentModel.SetTabBar("", "", std::nullopt, nullptr, true); 1365 tabContentModel.SetTabBar("", "", tabBarSymbol, nullptr, true); 1426 tabContentModel.SetTabBar("", "", tabBarSymbol, nullptr, true);
|
H A D | tab_bar_test_ng.cpp | 1508 tabContentPattern->SetTabBar(text_test, "", std::nullopt, nullptr); 1513 tabContentPattern->SetTabBar(text_test, "", std::nullopt, nullptr); 1556 tabContentPattern->SetTabBar(text_test, "", std::nullopt, nullptr); 1565 tabContentPattern2->SetTabBar(text_test, "", std::nullopt, nullptr);
|
H A D | tabs_common_test_ng.cpp | 495 tabContentModel.SetTabBar(textTest, "", std::nullopt, std::move(tabBarItemFunc), true);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | tab_content_model_impl.h | 29 void SetTabBar(const std::optional<std::string>& text, const std::optional<std::string>& icon,
|
H A D | tab_content_model_impl.cpp | 86 void TabContentModelImpl::SetTabBar(const std::optional<std::string>& text, const std::optional<std… in SetTabBar() function in OHOS::Ace::Framework::TabContentModelImpl
|