Home
last modified time | relevance | path

Searched refs:GetRGBColor (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dslider_tdd_test.cpp183 …if (uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR) == GetRGBColor(expectColorValue).full… in ComponentSliderStyleSetColorTest004()
188 …EXPECT_EQ(uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR), GetRGBColor(expectColorValue).… in ComponentSliderStyleSetColorTest004()
195 …if (uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR) == GetRGBColor(expectColorValue2).ful… in ComponentSliderStyleSetColorTest004()
200 …EXPECT_EQ(uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR), GetRGBColor(expectColorValue2)… in ComponentSliderStyleSetColorTest004()
208 …if (uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR) == GetRGBColor(expectColorValue3).ful… in ComponentSliderStyleSetColorTest004()
213 …EXPECT_EQ(uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR), GetRGBColor(expectColorValue3)… in ComponentSliderStyleSetColorTest004()
247 …if (uiSliderView->GetForegroundStyle(STYLE_BACKGROUND_COLOR) == GetRGBColor(expectColorValue).full… in ComponentSliderStyleSetSelectColorTest005()
252 …EXPECT_EQ(uiSliderView->GetForegroundStyle(STYLE_BACKGROUND_COLOR), GetRGBColor(expectColorValue).… in ComponentSliderStyleSetSelectColorTest005()
260 …if (uiSliderView->GetForegroundStyle(STYLE_BACKGROUND_COLOR) == GetRGBColor(expectColorValue2).ful… in ComponentSliderStyleSetSelectColorTest005()
265 …EXPECT_EQ(uiSliderView->GetForegroundStyle(STYLE_BACKGROUND_COLOR), GetRGBColor(expectColorValue2)… in ComponentSliderStyleSetSelectColorTest005()
[all …]
H A Ddiv_tdd_test.cpp745 if (tempColor.blue == GetRGBColor(color).blue && tempColor.red == GetRGBColor(color).red && in ComponentDivStyleSetTest023()
746 tempColor.green == GetRGBColor(color).green) { in ComponentDivStyleSetTest023()
752 EXPECT_TRUE(tempColor.red == GetRGBColor(color).red); in ComponentDivStyleSetTest023()
794 …if (tempColor.blue == GetRGBColor(borderColorNormal).blue && tempColor.red == GetRGBColor(borderCo… in ComponentDivStyleSetTest024()
822 if (tempColor.blue == GetRGBColor(0).blue && tempColor.red == GetRGBColor(0).red && in ComponentDivStyleSetTest025()
823 tempColor.green == GetRGBColor(0).green) { in ComponentDivStyleSetTest025()
828 EXPECT_TRUE(tempColor.blue == GetRGBColor(0).blue); in ComponentDivStyleSetTest025()
829 EXPECT_TRUE(tempColor.red == GetRGBColor(0).red); in ComponentDivStyleSetTest025()
845 if (tempColor.blue == GetRGBColor(color).blue && tempColor.red == GetRGBColor(color).red && in ComponentDivStyleSetTest025()
846 tempColor.green == GetRGBColor(color).green) { in ComponentDivStyleSetTest025()
[all …]
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.cpp39 ColorType colorRGB = GetRGBColor(0); in ComponentMarqueeStyleSetTest006()
85 ColorType colorRGB = GetRGBColor(colorSize); in ComponentMarqueeStyleSetTest007()
131 ColorType colorRGB = GetRGBColor(colorSize); in ComponentMarqueeStyleSetTest008()
177 ColorType colorRGB = GetRGBColor(-1); in ComponentMarqueeStyleSetTest009()
223 ColorType colorRGB = GetRGBColor(colorSize); in ComponentMarqueeStyleSetTest010()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcircle_progress_component.cpp47 progressView_.SetBackgroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in CreateNativeViews()
57 progressView_.SetForegroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in CreateNativeViews()
143 progressView_.SetForegroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in SetArcColor()
155 progressView_.SetBackgroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in SetArcBackgroundColor()
H A Dtext_component.cpp130 backgroundColorSpan_.backgroundColor = GetRGBColor(color); in ApplyPrivateStyle()
146 foregroundColorSpan_.fontColor = GetRGBColor(color); in ApplyPrivateStyle()
162 lineBackgroundColorSpan_.linebackgroundColor = GetRGBColor(color); in ApplyPrivateStyle()
271 label.SetStyle(STYLE_TEXT_COLOR, GetRGBColor(color).full); in SetTextColor()
H A Dhorizon_progress_component.cpp87 progressView_.SetForegroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in SetHorizonProgressStyle()
97 progressView_.SetBackgroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in SetHorizonProgressStyle()
H A Dslider_component.cpp94 sliderView_.SetBackgroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in ApplyPrivateStyle()
103 sliderView_.SetForegroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in ApplyPrivateStyle()
H A Dinput_button_component.cpp170 button_.SetLabelStyle(STYLE_TEXT_COLOR, GetRGBColor(color).full); in SetColor()
217 button_.SetStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(pressedBackGroundColorValue_).full); in PostRender()
H A Dqrcode_component.cpp112 colortype = GetRGBColor(color); in SetColor()
H A Dswitch_component.cpp55 toggleButton_.SetStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in ApplyPrivateStyle()
H A Dinput_edittext_component.cpp186 edittext_.SetStyle(STYLE_TEXT_COLOR, GetRGBColor(color).full); in SetColor()
H A Dchart_component.cpp219 pointStyle->fillColor = GetRGBColor(fillColor); in UpdatePointStyle()
220 pointStyle->strokeColor = GetRGBColor(strokeColor); in UpdatePointStyle()
605 ColorType bgColor = GetRGBColor(colorVal); in UpdateColorToSerial()
760 ColorType axisColor = GetRGBColor(color); in SetOptionsAxisColor()
H A Dpicker_view_component.cpp441 color_ = GetRGBColor(color); in ApplyPrivateStyle()
453 selectedColor_ = GetRGBColor(color); in ApplyPrivateStyle()
H A Danalog_clock_component.cpp164 ColorType colorRGB = GetRGBColor(fillColor); in SetRectHand()
H A Dcomponent.h390 ColorType GetRGBColor(uint32_t colorIntValue) const in GetRGBColor() function
H A Dcanvas_component.cpp368 component->paint_.SetFillColor(component->GetRGBColor(color)); in FillStyleSetter()
438 component->paint_.SetStrokeColor(component->GetRGBColor(color)); in StrokeStyleSetter()
819 ColorType shadowColor = component->GetRGBColor(color); in ShadowColorSetter()
1897 ColorType colorStop = component->GetRGBColor(color); in AddColorStop()
H A Dcomponent.cpp1451 ColorType backgroundRGBColor = GetRGBColor(color); in SetBackgroundColor()
1554 view.SetStyle(STYLE_BORDER_COLOR, GetRGBColor(color).full); in SetBorderColor()
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/
H A Dbase_test.h57 ColorType GetRGBColor(int32_t colorIntValue) const;
H A Dbase_test.cpp66 ColorType BaseTest::GetRGBColor(int32_t colorIntValue) const in GetRGBColor() function in OHOS::ACELite::BaseTest
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/arc/
H A Darc_tdd_test.cpp43 EXPECT_TRUE(colorType.green == GetRGBColor(lineColor).green); in PrintExpectInfo()
44 EXPECT_TRUE(colorType.blue == GetRGBColor(lineColor).blue); in PrintExpectInfo()
45 EXPECT_TRUE(colorType.red == GetRGBColor(lineColor).red); in PrintExpectInfo()