Searched refs:optionTheme (Results 1 – 2 of 2) sorted by relevance
35 auto optionTheme = JSViewAbstract::GetTheme<SelectTheme>(); in Create() local36 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()
1474 auto optionTheme = GetSelectTheme(); in CreateMenuEventWithParams() local1475 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() local1512 auto optionComponent = AceType::MakeRefPtr<OHOS::Ace::OptionComponent>(optionTheme); in ExecMenuBuilder()