/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | slider_tdd_test.cpp | 183 …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 D | div_tdd_test.cpp | 745 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 D | text_tdd_test.cpp | 110 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 D | marquee_tdd_test.cpp | 39 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 D | circle_progress_component.cpp | 47 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 D | text_component.cpp | 130 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 D | horizon_progress_component.cpp | 87 progressView_.SetForegroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in SetHorizonProgressStyle() 97 progressView_.SetBackgroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in SetHorizonProgressStyle()
|
H A D | slider_component.cpp | 94 sliderView_.SetBackgroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in ApplyPrivateStyle() 103 sliderView_.SetForegroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in ApplyPrivateStyle()
|
H A D | input_button_component.cpp | 170 button_.SetLabelStyle(STYLE_TEXT_COLOR, GetRGBColor(color).full); in SetColor() 217 button_.SetStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(pressedBackGroundColorValue_).full); in PostRender()
|
H A D | qrcode_component.cpp | 112 colortype = GetRGBColor(color); in SetColor()
|
H A D | switch_component.cpp | 55 toggleButton_.SetStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in ApplyPrivateStyle()
|
H A D | input_edittext_component.cpp | 186 edittext_.SetStyle(STYLE_TEXT_COLOR, GetRGBColor(color).full); in SetColor()
|
H A D | chart_component.cpp | 219 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 D | picker_view_component.cpp | 441 color_ = GetRGBColor(color); in ApplyPrivateStyle() 453 selectedColor_ = GetRGBColor(color); in ApplyPrivateStyle()
|
H A D | analog_clock_component.cpp | 164 ColorType colorRGB = GetRGBColor(fillColor); in SetRectHand()
|
H A D | component.h | 390 ColorType GetRGBColor(uint32_t colorIntValue) const in GetRGBColor() function
|
H A D | canvas_component.cpp | 368 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 D | component.cpp | 1451 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 D | base_test.h | 57 ColorType GetRGBColor(int32_t colorIntValue) const;
|
H A D | base_test.cpp | 66 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 D | arc_tdd_test.cpp | 43 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()
|