Home
last modified time | relevance | path

Searched refs:optionTheme (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dselect_model_impl.cpp35 auto optionTheme = JSViewAbstract::GetTheme<SelectTheme>(); in Create() local
36 if (!optionTheme) { in Create()
40 auto optionComponent = AceType::MakeRefPtr<OHOS::Ace::OptionComponent>(optionTheme); in Create()
45 optionComponent->SetTheme(optionTheme); in Create()
47 optionComponent->SetTextStyle(optionTheme->GetTitleStyle()); in Create()
48 optionComponent->SetSelectedTextStyle(optionTheme->GetTitleStyle()); in Create()
49 optionComponent->SetSelectedBackgroundColor(optionTheme->GetSelectedColor()); in Create()
H A Dview_abstract_model_impl.cpp1474 auto optionTheme = GetSelectTheme(); in CreateMenuEventWithParams() local
1475 if (!optionTheme) { in CreateMenuEventWithParams()
1478 auto optionComponent = AceType::MakeRefPtr<OHOS::Ace::OptionComponent>(optionTheme); in CreateMenuEventWithParams()
1481 optionComponent->SetTextStyle(optionTheme->GetOptionTextStyle()); in CreateMenuEventWithParams()
1482 optionComponent->SetTheme(optionTheme); in CreateMenuEventWithParams()
1486 optionComponent->SetSelectedBackgroundColor(optionTheme->GetSelectedColor()); in CreateMenuEventWithParams()
1511 auto optionTheme = GetSelectTheme(); in ExecMenuBuilder() local
1512 auto optionComponent = AceType::MakeRefPtr<OHOS::Ace::OptionComponent>(optionTheme); in ExecMenuBuilder()