Home
last modified time | relevance | path

Searched refs:SetTabBar (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_tab_ffi.cpp178 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 Darkts_native_tabcontent_bridge.cpp19 ArkUINativeModuleValue TabContentBridge::SetTabBar(ArkUIRuntimeCallInfo* runtimeCallInfo) in SetTabBar() function in OHOS::Ace::NG::TabContentBridge
21 Framework::JSTabContent::SetTabBar(Framework::JsiCallbackInfo(runtimeCallInfo)); in SetTabBar()
H A Darkts_native_tabcontent_bridge.h25 static ArkUINativeModuleValue SetTabBar(ArkUIRuntimeCallInfo* runtimeCallInfo);
H A Darkts_native_api_impl_bridge.cpp4087 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 Dtab_content_model_ng.cpp75SetTabBar(tabTheme->GetDefaultTabBarName(), "", std::nullopt, nullptr, true); // Set default tab b… in Create()
91SetTabBar(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 Dtab_content_model_ng.h39 void SetTabBar(const std::optional<std::string> &text, const std::optional<std::string> &icon,
H A Dtab_content_model.h130 …virtual void SetTabBar(const std::optional<std::string>& text, const std::optional<std::string>& i…
H A Dtab_content_pattern.h162 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 Djs_tab_content.cpp89 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 Djs_tab_content.h37 static void SetTabBar(const JSCallbackInfo& info);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtabs_attr_test_ng.cpp680 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 Dtabs_test_ng.cpp167 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 Dtabs_sub_tab_bar_style_test_ng.cpp1257 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 Dtab_bar_test_ng.cpp1508 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 Dtabs_common_test_ng.cpp495 tabContentModel.SetTabBar(textTest, "", std::nullopt, std::move(tabBarItemFunc), true);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtab_content_model_impl.h29 void SetTabBar(const std::optional<std::string>& text, const std::optional<std::string>& icon,
H A Dtab_content_model_impl.cpp86 void TabContentModelImpl::SetTabBar(const std::optional<std::string>& text, const std::optional<std… in SetTabBar() function in OHOS::Ace::Framework::TabContentModelImpl