/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/interfaces/ |
H A D | customtitle.js | 28 this.__textColor = new ObservedPropertySimplePU(0x66000000, this, 'textColor'); 34 if (params.textColor !== undefined) { 35 this.textColor = params.textColor; 68 get textColor() { 71 set textColor(newValue) { 99 this.textColor = { "id": 125829186, "type": 10001, params: [], "bundleName": "", "moduleName": "" }; 103 this.textColor = { "id": 125829186, "type": 10001, params: [], "bundleName": "", "moduleName": "" }; 149 Text.fontColor(this.textColor);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/ |
H A D | js_date_picker_theme.h | 38 textStyle.textColor = themeColors.value().FontEmphasize(); in ApplyTheme() 44 textStyle.textColor = themeColors.value().FontPrimary(); in ApplyTheme() 50 textStyle.textColor = themeColors.value().FontPrimary(); in ApplyTheme() 64 textStyle.textColor = themeColors.value().FontEmphasize(); in ObtainSelectedTextStyle() 73 textStyle.textColor = themeColors.value().FontPrimary(); in ObtainTextStyle()
|
H A D | js_text_picker_theme.h | 38 textStyle.textColor = themeColors.value().FontEmphasize(); in ApplyTheme() 44 textStyle.textColor = themeColors.value().FontPrimary(); in ApplyTheme() 50 textStyle.textColor = themeColors.value().FontPrimary(); in ApplyTheme() 63 textStyle.textColor = themeColors.value().FontEmphasize(); in ObtainSelectedTextStyle() 72 textStyle.textColor = themeColors.value().FontPrimary(); in ObtainTextStyle()
|
H A D | js_time_picker_theme.h | 38 textStyle.textColor = themeColors.value().FontEmphasize(); in ApplyTheme() 44 textStyle.textColor = themeColors.value().FontPrimary(); in ApplyTheme() 50 textStyle.textColor = themeColors.value().FontPrimary(); in ApplyTheme() 64 textStyle.textColor = themeColors.value().FontEmphasize(); in ObtainSelectedTextStyle() 73 textStyle.textColor = themeColors.value().FontPrimary(); in ObtainTextStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | button_model_ng.cpp | 48 void ButtonModelNG::SetFontColor(const Color& textColor) in SetFontColor() argument 50 ACE_UPDATE_LAYOUT_PROPERTY(ButtonLayoutProperty, FontColor, textColor); in SetFontColor() 51 ACE_UPDATE_RENDER_CONTEXT(ForegroundColor, textColor); in SetFontColor() 88 auto textColor = buttonTheme->GetTextColor(buttonStyle.value(), buttonRole); in SetButtonStyle() local 90 SetFontColor(textColor); in SetButtonStyle() 107 auto textColor = buttonTheme->GetTextColor(buttonStyleMode, buttonRole.value()); in SetRole() local 109 SetFontColor(textColor); in SetRole() 142 auto textColor = buttonTheme->GetTextColor(buttonStyleMode, buttonRole.value()); in SetRole() local 144 SetFontColor(frameNode, textColor); in SetRole() 160 auto textColor in SetButtonStyle() local 464 SetFontColor(FrameNode* frameNode, const Color& textColor) SetFontColor() argument 619 auto textColor = buttonTheme->GetTextColor(buttonStyle, buttonRole); ApplyTheme() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_datepicker_ffi.cpp | 160 textStyle.textColor = selectedStyle.GetTextColor(); in FfiOHOSAceFrameworkDatePickerSetDefaultAttributes() 166 textStyle.textColor = disappearStyle.GetTextColor(); in FfiOHOSAceFrameworkDatePickerSetDefaultAttributes() 172 textStyle.textColor = normalStyle.GetTextColor(); in FfiOHOSAceFrameworkDatePickerSetDefaultAttributes() 190 textStyle.textColor = Color(color); in FfiOHOSAceFrameworkDatePickerSetDisappearTextStyle() 211 textStyle.textColor = Color(color); in FfiOHOSAceFrameworkDatePickerSetTextStyle() 232 textStyle.textColor = Color(color); in FfiOHOSAceFrameworkDatePickerSetSelectedTextStyle()
|
H A D | cj_span_ffi.cpp | 106 void FfiOHOSAceFrameworkSpanSetFontColor(uint32_t textColor) in FfiOHOSAceFrameworkSpanSetFontColor() argument 108 SpanModel::GetInstance()->SetTextColor(Color(textColor)); in FfiOHOSAceFrameworkSpanSetFontColor()
|
H A D | cj_texttimer_ffi.cpp | 105 void FfiOHOSAceFrameworkTextTimerSetFontColor(uint32_t textColor) in FfiOHOSAceFrameworkTextTimerSetFontColor() argument 107 TextTimerModel::GetInstance()->SetTextColor(Color(textColor)); in FfiOHOSAceFrameworkTextTimerSetFontColor()
|
H A D | cj_span_ffi.h | 28 CJ_EXPORT void FfiOHOSAceFrameworkSpanSetFontColor(uint32_t textColor);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/ |
H A D | marquee_model_ng.cpp | 102 void MarqueeModelNG::SetTextColor(const std::optional<Color>& textColor) in SetTextColor() argument 104 ACE_UPDATE_RENDER_CONTEXT(ForegroundColor, textColor.value_or(Color())); in SetTextColor() 107 if (textColor.has_value()) { in SetTextColor() 108 ACE_UPDATE_LAYOUT_PROPERTY(MarqueeLayoutProperty, FontColor, textColor.value()); in SetTextColor() 240 void MarqueeModelNG::SetTextColor(FrameNode* frameNode, const std::optional<Color>& textColor) in SetTextColor() argument 242 ACE_UPDATE_NODE_RENDER_CONTEXT(ForegroundColor, textColor.value_or(Color()), frameNode); in SetTextColor() 245 if (textColor.has_value()) { in SetTextColor() 246 ACE_UPDATE_NODE_LAYOUT_PROPERTY(MarqueeLayoutProperty, FontColor, textColor.value(), frameNode); in SetTextColor()
|
H A D | marquee_model_ng.h | 30 void SetTextColor(const std::optional<Color>& textColor) override; 45 static void SetTextColor(FrameNode* frameNode, const std::optional<Color>& textColor);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | bar_item_pattern.cpp | 159 Color textColor; in UpdateBarItemActiveStatusResource() local 165 textColor = theme->GetToolBarItemActiveFontColor(); in UpdateBarItemActiveStatusResource() 172 textColor = theme->GetToolBarItemFontColor(); in UpdateBarItemActiveStatusResource() 185 textLayoutProperty->UpdateTextColor(textColor); in UpdateBarItemActiveStatusResource()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_badge.cpp | 76 if (badgeConfig.textColor.second) { in SetBadgeConfig() 77 declaration->SetBadgeTextColor(badgeConfig.textColor.first); in SetBadgeConfig()
|
H A D | dom_badge.h | 28 std::pair<Color, bool> textColor{ Color::WHITE, false};
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | alertdialog_composed_element.cpp | 104 item->Put("fontColor", dialog.textColor.c_str());
in GetConfirm() 147 item->Put("fontColor", dialog.textColor.c_str());
in GetPrimaryButton() 165 item->Put("fontColor", dialog.textColor.c_str());
in GetSecondaryButton()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_badge_bridge.cpp | 45 param.textColor = themeColors->FontOnPrimary().GetValue(); in InitBadgeParam() 48 param.textColor = DEFAULT_TEXT_COLOR; in InitBadgeParam() 133 Local<JSValueRef> textColor = runtimeCallInfo->GetCallArgRef(8); // 8: parameter index in ParseBadgeBaseParam() local 146 if (ArkTSUtils::ParseJsColorAlpha(vm, textColor, textColorVal)) { in ParseBadgeBaseParam() 147 param.textColor = textColorVal.GetValue(); in ParseBadgeBaseParam()
|
H A D | arkts_native_textpicker_bridge.cpp | 149 Color textColor;
in SetTextStyle() local 150 if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, textColor)) {
in SetTextStyle() 151 textColor.SetValue(DEFAULT_TIME_PICKER_TEXT_COLOR);
in SetTextStyle() 183 nativeNode, textColor.GetValue(), fontInfo.c_str(), styleVal);
in SetTextStyle() 198 Color textColor;
in SetSelectedTextStyle() local 199 if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, textColor)) {
in SetSelectedTextStyle() 200 textColor.SetValue(DEFAULT_TIME_PICKER_SELECTED_TEXT_COLOR);
in SetSelectedTextStyle() 232 nativeNode, textColor.GetValue(), fontInfo.c_str(), styleVal);
in SetSelectedTextStyle() 247 Color textColor;
in SetDisappearTextStyle() local 248 if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, textColor)) {
in SetDisappearTextStyle() [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_date_picker_modifier.cpp | 54 g_strValue = pickerTextStyle.textColor->ColorToString() + ";"; in GetSelectedTextStyle() 89 textStyle.textColor = Color(color); in SetSelectedTextStyle() 106 textStyle.textColor = selectedStyle.GetTextColor(); in ResetSelectedTextStyle() 131 g_strValue = pickerTextStyle.textColor->ColorToString() + ";"; in GetDatePickerTextStyle() 166 textStyle.textColor = Color(color); in SetDatePickerTextStyle() 183 textStyle.textColor = normalStyle.GetTextColor(); in ResetDatePickerTextStyle() 208 g_strValue = pickerTextStyle.textColor->ColorToString() + ";"; in GetDisappearTextStyle() 243 textStyle.textColor = Color(color); in SetDisappearTextStyle() 260 textStyle.textColor = disappearStyle.GetTextColor(); in ResetDisappearTextStyle()
|
H A D | node_timepicker_modifier.cpp | 92 textStyle.textColor = Color(color); in SetTimepickerTextStyle() 135 textStyle.textColor = Color(color); in SetTimepickerSelectedTextStyle() 179 textStyle.textColor = Color(color); in SetTimepickerDisappearTextStyle() 266 g_strValue = pickerTextStyle.textColor->ColorToString() + ";"; in GetTimepickerSelectedTextStyle() 294 g_strValue = pickerTextStyle.textColor->ColorToString() + ";"; in GetTimepickerTextStyle() 322 g_strValue = pickerTextStyle.textColor->ColorToString() + ";"; in GetTimepickerDisappearTextStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
H A D | toast_view.h | 35 const std::optional<Color>& textColor);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_menu_item.cpp | 283 Color textColor; in ContentFontColor() local 284 if (ParseJsColor(info[0], textColor)) { in ContentFontColor() 285 color = textColor; in ContentFontColor() 345 Color textColor; in LabelFontColor() local 346 if (ParseJsColor(info[0], textColor)) { in LabelFontColor() 347 color = textColor; in LabelFontColor()
|
H A D | js_select.cpp | 384 Color textColor; in FontColor() local 385 if (!ParseJsColor(info[0], textColor)) { in FontColor() 391 textColor = theme->GetFontColor(); in FontColor() 397 SelectModel::GetInstance()->SetFontColor(textColor); in FontColor() 441 Color textColor; in SelectedOptionFontColor() local 442 if (!ParseJsColor(info[0], textColor)) { in SelectedOptionFontColor() 448 textColor = theme->GetSelectedColorText(); in SelectedOptionFontColor() 453 SelectModel::GetInstance()->SetSelectedOptionFontColor(textColor); in SelectedOptionFontColor() 498 Color textColor; in OptionFontColor() local 499 if (!ParseJsColor(info[0], textColor)) { in OptionFontColor() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_tip_modifier.h | 60 void SetTextColor(const Color& textColor) in SetTextColor() argument 62 textColor_ = textColor; in SetTextColor()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_timer/ |
H A D | text_timer_test_ng.cpp | 70 std::optional<Color> textColor = std::nullopt; member 114 if (testProperty.textColor.has_value()) { in CreateTextTimerParagraph() 115 textTimerModel.SetTextColor(testProperty.textColor.value()); in CreateTextTimerParagraph() 147 testProperty.textColor = std::make_optional(TEXT_COLOR_VALUE); in HWTEST_F() 395 testProperty.textColor = std::make_optional(TEXT_COLOR_VALUE); in HWTEST_F() 443 testProperty.textColor = std::make_optional(TEXT_COLOR_VALUE); in HWTEST_F() 508 testProperty.textColor = std::make_optional(TEXT_COLOR_VALUE); in HWTEST_F() 603 testProperty.textColor = std::make_optional(TEXT_COLOR_VALUE); in HWTEST_F() 712 testProperty.textColor = std::make_optional(TEXT_COLOR_VALUE); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/prompt/ |
H A D | cj_prompt_ffi.h | 27 uint32_t textColor; member
|