/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_model_ng.cpp | 327 auto selectedStyle = theme->GetOptionStyle(true, false); in SetSelectedTextStyle() local 333 ConvertFontScaleValue(selectedStyle.GetFontSize())); in SetSelectedTextStyle() 533 auto selectedStyle = theme->GetOptionStyle(true, false); in SetSelectedTextStyle() local 541 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNode); in SetSelectedTextStyle() 545 value.textColor.value_or(selectedStyle.GetTextColor()), frameNode); in SetSelectedTextStyle() 548 value.fontWeight.value_or(selectedStyle.GetFontWeight()), frameNode); in SetSelectedTextStyle() 551 value.fontFamily.value_or(selectedStyle.GetFontFamilies()), frameNode); in SetSelectedTextStyle() 558 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetDefaultAttributes() local 560 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNode); in SetDefaultAttributes() 564 TimePickerLayoutProperty, SelectedFontFamily, selectedStyle.GetFontFamilies(), frameNode); in SetDefaultAttributes() [all …]
|
H A D | timepicker_dialog_view.cpp | 906 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetTextProperties() local 933 ConvertFontScaleValue(selectedStyle.GetFontSize())); in SetTextProperties() 936 properties.selectedTextStyle_.textColor.value_or(selectedStyle.GetTextColor())); in SetTextProperties() 938 properties.selectedTextStyle_.fontWeight.value_or(selectedStyle.GetFontWeight())); in SetTextProperties() 940 properties.selectedTextStyle_.fontFamily.value_or(selectedStyle.GetFontFamilies())); in SetTextProperties() 942 properties.selectedTextStyle_.fontStyle.value_or(selectedStyle.GetFontStyle())); in SetTextProperties()
|
/ohos5.0/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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_model_ng.cpp | 116 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetDefaultAttributes() local 336 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetSelectedTextStyle() local 342 ConvertFontScaleValue(selectedStyle.GetFontSize())); in SetSelectedTextStyle() 760 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetSelectedTextStyle() local 768 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNode); in SetSelectedTextStyle() 772 value.textColor.value_or(selectedStyle.GetTextColor()), frameNode); in SetSelectedTextStyle() 775 value.fontWeight.value_or(selectedStyle.GetFontWeight()), frameNode); in SetSelectedTextStyle() 778 value.fontFamily.value_or(selectedStyle.GetFontFamilies()), frameNode); in SetSelectedTextStyle() 1063 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetDefaultAttributes() local 1065 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNode); in SetDefaultAttributes() [all …]
|
H A D | textpicker_dialog_view.cpp | 942 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetTextProperties() local 969 ConvertFontScaleValue(selectedStyle.GetFontSize())); in SetTextProperties() 972 properties.selectedTextStyle_.textColor.value_or(selectedStyle.GetTextColor())); in SetTextProperties() 974 properties.selectedTextStyle_.fontWeight.value_or(selectedStyle.GetFontWeight())); in SetTextProperties() 976 properties.selectedTextStyle_.fontFamily.value_or(selectedStyle.GetFontFamilies())); in SetTextProperties() 978 properties.selectedTextStyle_.fontStyle.value_or(selectedStyle.GetFontStyle())); in SetTextProperties()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_model_ng.cpp | 471 auto selectedStyle = theme->GetOptionStyle(true, false); in SetSelectedTextStyle() local 477 ConvertFontScaleValue(selectedStyle.GetFontSize())); in SetSelectedTextStyle() 491 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetDefaultAttributes() local 494 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNode); in SetDefaultAttributes() 496 DataPickerRowLayoutProperty, SelectedColor, selectedStyle.GetTextColor(), frameNode); in SetDefaultAttributes() 498 DataPickerRowLayoutProperty, SelectedWeight, selectedStyle.GetFontWeight(), frameNode); in SetDefaultAttributes() 705 auto selectedStyle = theme->GetOptionStyle(true, false); in SetSelectedTextStyle() local 713 ConvertFontScaleValue(selectedStyle.GetFontSize()), frameNode); in SetSelectedTextStyle() 718 value.fontWeight.value_or(selectedStyle.GetFontWeight()), frameNode); in SetSelectedTextStyle() 720 value.fontFamily.value_or(selectedStyle.GetFontFamilies()), frameNode); in SetSelectedTextStyle() [all …]
|
H A D | datepicker_dialog_view.cpp | 1338 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetDateTextProperties() local 1374 pickerProperty->UpdateSelectedFontSize(ConvertFontScaleValue(selectedStyle.GetFontSize())); in SetDateTextProperties() 1376 …>UpdateSelectedColor(properties.selectedTextStyle_.textColor.value_or(selectedStyle.GetTextColor()… in SetDateTextProperties() 1378 properties.selectedTextStyle_.fontWeight.value_or(selectedStyle.GetFontWeight())); in SetDateTextProperties() 1380 properties.selectedTextStyle_.fontFamily.value_or(selectedStyle.GetFontFamilies())); in SetDateTextProperties() 1382 properties.selectedTextStyle_.fontStyle.value_or(selectedStyle.GetFontStyle())); in SetDateTextProperties() 1392 auto selectedStyle = pickerTheme->GetOptionStyle(true, false); in SetTimeTextProperties() local 1422 pickerProperty->UpdateSelectedFontSize(ConvertFontScaleValue(selectedStyle.GetFontSize())); in SetTimeTextProperties() 1424 …>UpdateSelectedColor(properties.selectedTextStyle_.textColor.value_or(selectedStyle.GetTextColor()… in SetTimeTextProperties() 1426 properties.selectedTextStyle_.fontWeight.value_or(selectedStyle.GetFontWeight())); in SetTimeTextProperties()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_datepicker_ffi.cpp | 162 auto selectedStyle = theme->GetOptionStyle(true, false); in FfiOHOSAceFrameworkDatePickerSetDefaultAttributes() local 163 textStyle.textColor = selectedStyle.GetTextColor(); in FfiOHOSAceFrameworkDatePickerSetDefaultAttributes() 164 textStyle.fontSize = selectedStyle.GetFontSize(); in FfiOHOSAceFrameworkDatePickerSetDefaultAttributes() 165 textStyle.fontWeight = selectedStyle.GetFontWeight(); in FfiOHOSAceFrameworkDatePickerSetDefaultAttributes()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/picker/ |
H A D | date_picker_test_update.cpp | 1288 auto selectedStyle = theme->GetOptionStyle(true, false); variable 1297 EXPECT_EQ(selectedStyle.GetFontSize(), pickerProperty->GetFontSize().value()); 1312 EXPECT_EQ(selectedStyle.GetFontSize(), pickerProperty->GetFontSize().value()); 1358 auto selectedStyle = theme->GetOptionStyle(true, false); variable 1428 auto selectedStyle = theme->GetOptionStyle(true, false); variable 1437 EXPECT_EQ(selectedStyle.GetFontSize(), pickerProperty->GetSelectedFontSize().value()); 1834 auto selectedStyle = theme->GetOptionStyle(true, false); variable 1903 auto selectedStyle = theme->GetOptionStyle(true, false); variable 1912 EXPECT_EQ(selectedStyle.GetFontSize(), pickerProperty->GetFontSize().value()); 1927 EXPECT_EQ(selectedStyle.GetFontSize(), pickerProperty->GetFontSize().value()); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_date_picker_modifier.cpp | 113 auto selectedStyle = theme->GetOptionStyle(true, false); in ResetSelectedTextStyle() local 114 textStyle.textColor = selectedStyle.GetTextColor(); in ResetSelectedTextStyle() 115 textStyle.fontSize = selectedStyle.GetFontSize(); in ResetSelectedTextStyle() 116 textStyle.fontWeight = selectedStyle.GetFontWeight(); in ResetSelectedTextStyle()
|
/ohos5.0/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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_datepicker.cpp | 702 auto selectedStyle = theme->GetOptionStyle(true, false); in SetDefaultAttributes() local 703 textStyle.textColor = selectedStyle.GetTextColor(); in SetDefaultAttributes() 704 textStyle.fontSize = selectedStyle.GetFontSize(); in SetDefaultAttributes() 705 textStyle.fontWeight = selectedStyle.GetFontWeight(); in SetDefaultAttributes() 1531 auto selectedStyle = theme->GetOptionStyle(true, false); in SetDefaultAttributes() local 1532 textStyle.textColor = selectedStyle.GetTextColor(); in SetDefaultAttributes() 1533 textStyle.fontSize = selectedStyle.GetFontSize(); in SetDefaultAttributes() 1534 textStyle.fontWeight = selectedStyle.GetFontWeight(); in SetDefaultAttributes()
|