Home
last modified time | relevance | path

Searched refs:selectedStyle (Results 1 - 14 of 14) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/
H A Djs_date_picker_theme.h37 auto selectedStyle = themePicker->GetOptionStyle(true, false); in ApplyTheme() local
39 textStyle.fontSize = selectedStyle.GetFontSize(); in ApplyTheme()
40 textStyle.fontWeight = selectedStyle.GetFontWeight(); in ApplyTheme()
H A Djs_text_picker_theme.h37 auto selectedStyle = themePicker->GetOptionStyle(true, false); in ApplyTheme() local
39 textStyle.fontSize = selectedStyle.GetFontSize(); in ApplyTheme()
40 textStyle.fontWeight = selectedStyle.GetFontWeight(); in ApplyTheme()
H A Djs_time_picker_theme.h37 auto selectedStyle = themePicker->GetOptionStyle(true, false); in ApplyTheme() local
39 textStyle.fontSize = selectedStyle.GetFontSize(); in ApplyTheme()
40 textStyle.fontWeight = selectedStyle.GetFontWeight(); in ApplyTheme()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_model_ng.cpp469 auto selectedStyle = theme->GetOptionStyle(true, false);
475 ConvertFontScaleValue(selectedStyle.GetFontSize()));
478 DataPickerRowLayoutProperty, SelectedColor, value.textColor.value_or(selectedStyle.GetTextColor()));
480 DataPickerRowLayoutProperty, SelectedWeight, value.fontWeight.value_or(selectedStyle.GetFontWeight()));
482 DataPickerRowLayoutProperty, SelectedFontFamily, value.fontFamily.value_or(selectedStyle.GetFontFamilies()));
484 DataPickerRowLayoutProperty, SelectedFontStyle, value.fontStyle.value_or(selectedStyle.GetFontStyle()));
489 auto selectedStyle = pickerTheme->GetOptionStyle(true, false);
492 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNode);
494 DataPickerRowLayoutProperty, SelectedColor, selectedStyle.GetTextColor(), frameNode);
496 DataPickerRowLayoutProperty, SelectedWeight, selectedStyle
[all...]
H A Ddatepicker_dialog_view.cpp1360 auto selectedStyle = pickerTheme->GetOptionStyle(true, false);
1396 pickerProperty->UpdateSelectedFontSize(ConvertFontScaleValue(selectedStyle.GetFontSize()));
1398 pickerProperty->UpdateSelectedColor(properties.selectedTextStyle_.textColor.value_or(selectedStyle.GetTextColor()));
1400 properties.selectedTextStyle_.fontWeight.value_or(selectedStyle.GetFontWeight()));
1402 properties.selectedTextStyle_.fontFamily.value_or(selectedStyle.GetFontFamilies()));
1404 properties.selectedTextStyle_.fontStyle.value_or(selectedStyle.GetFontStyle()));
1414 auto selectedStyle = pickerTheme->GetOptionStyle(true, false);
1444 pickerProperty->UpdateSelectedFontSize(ConvertFontScaleValue(selectedStyle.GetFontSize()));
1446 pickerProperty->UpdateSelectedColor(properties.selectedTextStyle_.textColor.value_or(selectedStyle.GetTextColor()));
1448 properties.selectedTextStyle_.fontWeight.value_or(selectedStyle
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_model_ng.cpp326 auto selectedStyle = theme->GetOptionStyle(true, false);
332 ConvertFontScaleValue(selectedStyle.GetFontSize()));
335 TimePickerLayoutProperty, SelectedColor, value.textColor.value_or(selectedStyle.GetTextColor()));
337 TimePickerLayoutProperty, SelectedWeight, value.fontWeight.value_or(selectedStyle.GetFontWeight()));
339 TimePickerLayoutProperty, SelectedFontFamily, value.fontFamily.value_or(selectedStyle.GetFontFamilies()));
341 TimePickerLayoutProperty, SelectedFontStyle, value.fontStyle.value_or(selectedStyle.GetFontStyle()));
533 auto selectedStyle = theme->GetOptionStyle(true, false);
541 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNode);
545 value.textColor.value_or(selectedStyle.GetTextColor()), frameNode);
548 value.fontWeight.value_or(selectedStyle
[all...]
H A Dtimepicker_dialog_view.cpp921 auto selectedStyle = pickerTheme->GetOptionStyle(true, false);
948 ConvertFontScaleValue(selectedStyle.GetFontSize()));
951 properties.selectedTextStyle_.textColor.value_or(selectedStyle.GetTextColor()));
953 properties.selectedTextStyle_.fontWeight.value_or(selectedStyle.GetFontWeight()));
955 properties.selectedTextStyle_.fontFamily.value_or(selectedStyle.GetFontFamilies()));
957 properties.selectedTextStyle_.fontStyle.value_or(selectedStyle.GetFontStyle()));
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_model_ng.cpp115 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetDefaultAttributes() local
117 ConvertFontScaleValue(selectedStyle.GetFontSize())); in SetDefaultAttributes()
118 ACE_UPDATE_LAYOUT_PROPERTY(TextPickerLayoutProperty, SelectedColor, selectedStyle.GetTextColor()); in SetDefaultAttributes()
119 ACE_UPDATE_LAYOUT_PROPERTY(TextPickerLayoutProperty, SelectedWeight, selectedStyle.GetFontWeight()); in SetDefaultAttributes()
120 ACE_UPDATE_LAYOUT_PROPERTY(TextPickerLayoutProperty, SelectedFontFamily, selectedStyle.GetFontFamilies()); in SetDefaultAttributes()
121 ACE_UPDATE_LAYOUT_PROPERTY(TextPickerLayoutProperty, SelectedFontStyle, selectedStyle.GetFontStyle()); in SetDefaultAttributes()
336 auto selectedStyle = pickerTheme->GetOptionStyle(true, false);
342 ConvertFontScaleValue(selectedStyle.GetFontSize()));
345 TextPickerLayoutProperty, SelectedColor, value.textColor.value_or(selectedStyle.GetTextColor()));
347 TextPickerLayoutProperty, SelectedWeight, value.fontWeight.value_or(selectedStyle
[all...]
H A Dtextpicker_dialog_view.cpp950 auto selectedStyle = pickerTheme->GetOptionStyle(true, false);
977 ConvertFontScaleValue(selectedStyle.GetFontSize()));
980 properties.selectedTextStyle_.textColor.value_or(selectedStyle.GetTextColor()));
982 properties.selectedTextStyle_.fontWeight.value_or(selectedStyle.GetFontWeight()));
984 properties.selectedTextStyle_.fontFamily.value_or(selectedStyle.GetFontFamilies()));
986 properties.selectedTextStyle_.fontStyle.value_or(selectedStyle.GetFontStyle()));
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_datepicker_ffi.cpp159 auto selectedStyle = theme->GetOptionStyle(true, false); in FfiOHOSAceFrameworkDatePickerSetDefaultAttributes() local
160 textStyle.textColor = selectedStyle.GetTextColor(); in FfiOHOSAceFrameworkDatePickerSetDefaultAttributes()
161 textStyle.fontSize = selectedStyle.GetFontSize(); in FfiOHOSAceFrameworkDatePickerSetDefaultAttributes()
162 textStyle.fontWeight = selectedStyle.GetFontWeight(); in FfiOHOSAceFrameworkDatePickerSetDefaultAttributes()
/foundation/arkui/ace_engine/test/unittest/core/pattern/picker/
H A Ddate_picker_test_update.cpp1262 auto selectedStyle = theme->GetOptionStyle(true, false); in HWTEST_F() local
1271 EXPECT_EQ(selectedStyle.GetFontSize(), pickerProperty->GetFontSize().value()); in HWTEST_F()
1286 EXPECT_EQ(selectedStyle.GetFontSize(), pickerProperty->GetFontSize().value()); in HWTEST_F()
1332 auto selectedStyle = theme->GetOptionStyle(true, false); in HWTEST_F() local
1341 EXPECT_EQ(selectedStyle.GetFontSize(), pickerProperty->GetDisappearFontSize().value()); in HWTEST_F()
1356 EXPECT_EQ(selectedStyle.GetFontSize(), pickerProperty->GetDisappearFontSize().value()); in HWTEST_F()
1402 auto selectedStyle = theme->GetOptionStyle(true, false); in HWTEST_F() local
1411 EXPECT_EQ(selectedStyle.GetFontSize(), pickerProperty->GetSelectedFontSize().value()); in HWTEST_F()
1426 EXPECT_EQ(selectedStyle.GetFontSize(), pickerProperty->GetSelectedFontSize().value()); in HWTEST_F()
1808 auto selectedStyle in HWTEST_F() local
1877 auto selectedStyle = theme->GetOptionStyle(true, false); HWTEST_F() local
1947 auto selectedStyle = theme->GetOptionStyle(true, false); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_date_picker_modifier.cpp105 auto selectedStyle = theme->GetOptionStyle(true, false); in ResetSelectedTextStyle() local
106 textStyle.textColor = selectedStyle.GetTextColor(); in ResetSelectedTextStyle()
107 textStyle.fontSize = selectedStyle.GetFontSize(); in ResetSelectedTextStyle()
108 textStyle.fontWeight = selectedStyle.GetFontWeight(); in ResetSelectedTextStyle()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_picker_base.cpp414 auto selectedStyle = theme->GetOptionStyle(true, false); in SetTextStyleOperators() local
418 *this, style.second, normalStyle, focusStyle, selectedStyle, disappearStyle); in SetTextStyleOperators()
420 theme->SetOptionStyle(true, false, selectedStyle); // selected in SetTextStyleOperators()
428 auto selectedStyle = theme_->GetOptionStyle(true, false); in SetTextStyleOperators() local
431 *this, style.second, normalStyle, focusStyle, selectedStyle, disappearStyle); in SetTextStyleOperators()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_datepicker.cpp708 auto selectedStyle = theme->GetOptionStyle(true, false); in SetDefaultAttributes() local
709 textStyle.textColor = selectedStyle.GetTextColor(); in SetDefaultAttributes()
710 textStyle.fontSize = selectedStyle.GetFontSize(); in SetDefaultAttributes()
711 textStyle.fontWeight = selectedStyle.GetFontWeight(); in SetDefaultAttributes()
1537 auto selectedStyle = theme->GetOptionStyle(true, false); in SetDefaultAttributes() local
1538 textStyle.textColor = selectedStyle.GetTextColor(); in SetDefaultAttributes()
1539 textStyle.fontSize = selectedStyle.GetFontSize(); in SetDefaultAttributes()
1540 textStyle.fontWeight = selectedStyle.GetFontWeight(); in SetDefaultAttributes()

Completed in 20 milliseconds