/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/ |
H A D | js_date_picker_theme.h | 37 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 D | js_text_picker_theme.h | 37 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 D | js_time_picker_theme.h | 37 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 D | datepicker_model_ng.cpp | 469 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 D | datepicker_dialog_view.cpp | 1360 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 D | timepicker_model_ng.cpp | 326 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 D | timepicker_dialog_view.cpp | 921 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 D | textpicker_model_ng.cpp | 115 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 D | textpicker_dialog_view.cpp | 950 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 D | cj_datepicker_ffi.cpp | 159 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 D | date_picker_test_update.cpp | 1262 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 D | node_date_picker_modifier.cpp | 105 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 D | dom_picker_base.cpp | 414 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 D | js_datepicker.cpp | 708 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()
|