Home
last modified time | relevance | path

Searched refs:STYLE_TEXT_COLOR (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/
H A Dstyle.cpp98 case STYLE_TEXT_COLOR: in GetStyle()
171 case STYLE_TEXT_COLOR: in SetStyle()
229 brightStyle_.SetStyle(STYLE_TEXT_COLOR, Color::GetColorFromRGB(0x20, 0x20, 0x20).full); in InitStyle()
233 brightColorStyle_.SetStyle(STYLE_TEXT_COLOR, Color::GetColorFromRGB(0xe0, 0xe0, 0xe0).full); in InitStyle()
289 pickerBackgroundStyle_.SetStyle(STYLE_TEXT_COLOR, Color::Gray().full); in InitPickerStyle()
294 pickerHighlightStyle_.SetStyle(STYLE_TEXT_COLOR, Color::GetColorFromRGB(0x45, 0xa5, 0xff).full); in InitPickerStyle()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dtext_tdd_test.cpp110 if (uilabelView->GetStyle(STYLE_TEXT_COLOR) == GetRGBColor(expectColorValue).full) { in ComponentTextStyleSetColorTest002()
115 EXPECT_EQ(uilabelView->GetStyle(STYLE_TEXT_COLOR), GetRGBColor(expectColorValue).full); in ComponentTextStyleSetColorTest002()
122 if (uilabelView->GetStyle(STYLE_TEXT_COLOR) == GetRGBColor(expectColorValue2).full) { in ComponentTextStyleSetColorTest002()
127 EXPECT_EQ(uilabelView->GetStyle(STYLE_TEXT_COLOR), GetRGBColor(expectColorValue2).full); in ComponentTextStyleSetColorTest002()
134 if (uilabelView->GetStyle(STYLE_TEXT_COLOR) == GetRGBColor(expectColorValue3).full) { in ComponentTextStyleSetColorTest002()
139 EXPECT_EQ(uilabelView->GetStyle(STYLE_TEXT_COLOR), GetRGBColor(expectColorValue3).full); in ComponentTextStyleSetColorTest002()
H A Dmarquee_tdd_test.cpp41 colorRGBSet.full = marqueeView->GetStyle(STYLE_TEXT_COLOR); in ComponentMarqueeStyleSetTest006()
87 colorRGBSet.full = marqueeView->GetStyle(STYLE_TEXT_COLOR); in ComponentMarqueeStyleSetTest007()
133 colorRGBSet.full = marqueeView->GetStyle(STYLE_TEXT_COLOR); in ComponentMarqueeStyleSetTest008()
179 colorRGBSet.full = marqueeView->GetStyle(STYLE_TEXT_COLOR); in ComponentMarqueeStyleSetTest009()
225 colorRGBSet.full = marqueeView->GetStyle(STYLE_TEXT_COLOR); in ComponentMarqueeStyleSetTest010()
H A Dinput_tdd_test.cpp172 tempColor.full = button->GetLabelStyle(STYLE_TEXT_COLOR);
181 tempColor.full = button->GetLabelStyle(STYLE_TEXT_COLOR);
190 tempColor.full = button->GetLabelStyle(STYLE_TEXT_COLOR);
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_picker.cpp38 lastSelectView_->SetStyle(STYLE_TEXT_COLOR, pickerView_->GetBackgroundTextColor().full); in OnItemSelected()
45 view->SetStyle(STYLE_TEXT_COLOR, pickerView_->GetHighlightTextColor().full); in OnItemSelected()
67 lastSelectView_->SetStyle(STYLE_TEXT_COLOR, pickerView_->GetBackgroundTextColor().full); in OnScrollEnd()
77 view->SetStyle(STYLE_TEXT_COLOR, pickerView_->GetHighlightTextColor().full); in OnScrollEnd()
333 childView->SetStyle(STYLE_TEXT_COLOR, GetBackgroundTextColor().full); in RefreshSelected()
341 childView->SetStyle(STYLE_TEXT_COLOR, GetHighlightTextColor().full); in RefreshSelected()
H A Dui_digital_clock.cpp98 timeLabels_[i]->SetStyle(STYLE_TEXT_COLOR, color.full); in SetColor()
H A Dui_dialog.cpp266 title_->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in SetTitleLabel()
285 text_->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in SetTextLabel()
/ohos5.0/base/update/updater/services/ui/view/component/
H A Dlabel_btn_adapter.cpp42 button->SetLabelStyle(OHOS::STYLE_TEXT_COLOR, focusedTxtcolor_.full); in OnFocus()
56 button->SetLabelStyle(OHOS::STYLE_TEXT_COLOR, unfocusedTxtcolor_.full); in OnBlur()
80 this->SetLabelStyle(OHOS::STYLE_TEXT_COLOR, txtColor.full); in LabelBtnAdapter()
H A Dtext_label_adapter.cpp30 this->SetStyle(OHOS::STYLE_TEXT_COLOR, fontColor.full); in TextLabelAdapter()
/ohos5.0/base/update/updater/test/unittest/updater_ui_test/view/
H A Dui_component_unittest.cpp303 EXPECT_EQ(labelBtn.GetStyle(OHOS::STYLE_TEXT_COLOR), fontColor.full);
320 …EXPECT_EQ(labelBtn1.GetLabelStyle(OHOS::STYLE_TEXT_COLOR), (OHOS::ColorType {{0xff, 0xff, 0xff, 0x…
321 …EXPECT_EQ(labelBtn2.GetLabelStyle(OHOS::STYLE_TEXT_COLOR), (OHOS::ColorType {{0, 0, 0, 0xff}}.full…
372 EXPECT_EQ(textLabel.GetStyle(OHOS::STYLE_TEXT_COLOR), fontColor.full);
/ohos5.0/foundation/graphic/graphic_utils_lite/test/
H A Dstyle_unit_test.cpp299 style_->SetStyle(STYLE_TEXT_COLOR, Color::Gray().full);
300 EXPECT_EQ(style_->GetStyle(STYLE_TEXT_COLOR), Color::Gray().full);
/ohos5.0/foundation/ability/ability_lite/frameworks/ability_lite/example/entry/src/main/cpp/
H A Dnext_ability_slice.cpp46 button1->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in OnStart()
H A Dsecond_ability_slice.cpp46 button1->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in OnStart()
H A Dmain_ability_slice.cpp82 button1->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in OnStart()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_texture_mapper/
H A Dui_test_texture_mapper.h37 label_.SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in TestTextureMapperStopListener()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_label/
H A Dui_test_label.cpp231 uiLabel->SetStyle(STYLE_TEXT_COLOR, Color::White().full); in OnClick()
234 uiLabel->SetStyle(STYLE_TEXT_COLOR, Color::Red().full); in OnClick()
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dstyle.h79 STYLE_TEXT_COLOR, enumerator
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_image_animator/
H A Dui_test_image_animator.h42 label_->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in Init()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dinput_edittext_component.cpp186 edittext_.SetStyle(STYLE_TEXT_COLOR, GetRGBColor(color).full); in SetColor()
H A Dinput_button_component.cpp170 button_.SetLabelStyle(STYLE_TEXT_COLOR, GetRGBColor(color).full); in SetColor()
H A Dtext_component.cpp271 label.SetStyle(STYLE_TEXT_COLOR, GetRGBColor(color).full); in SetTextColor()
/ohos5.0/base/powermgr/battery_manager/charger/src/
H A Dcharger_animation.cpp81 label->SetStyle(OHOS::STYLE_TEXT_COLOR, StrToColor(info.fontColor.c_str()).full); in InitLabel()
/ohos5.0/foundation/window/window_manager_lite/test/
H A Dsample_window.cpp209 label->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in TestWindow()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_view_percent/
H A Dui_test_view_percent.cpp203 label->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in AddElement()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_font/
H A Dui_test_font.cpp252 label->SetStyle(STYLE_TEXT_COLOR, Color::Red().full); in UIKitFontTestDisplay007()
273 label->SetStyle(STYLE_TEXT_COLOR, Color::Yellow().full); in UIKitFontTestDisplay008()

12