Home
last modified time | relevance | path

Searched refs:tempColor (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Ddiv_tdd_test.cpp716 ColorType tempColor; in ComponentDivStyleSetTest023() local
745 if (tempColor.blue == GetRGBColor(color).blue && tempColor.red == GetRGBColor(color).red && in ComponentDivStyleSetTest023()
791 ColorType tempColor; in ComponentDivStyleSetTest024() local
794 …if (tempColor.blue == GetRGBColor(borderColorNormal).blue && tempColor.red == GetRGBColor(borderCo… in ComponentDivStyleSetTest024()
817 ColorType tempColor; in ComponentDivStyleSetTest025() local
822 if (tempColor.blue == GetRGBColor(0).blue && tempColor.red == GetRGBColor(0).red && in ComponentDivStyleSetTest025()
823 tempColor.green == GetRGBColor(0).green) { 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()
890 ColorType tempColor; in ComponentDivStyleSetTest026() local
[all …]
H A Dinput_tdd_test.cpp171 ColorType tempColor; variable
182 EXPECT_TRUE(CompareColor(tempColor, max));
468 ColorType tempColor; variable
488 ColorType tempColor; variable
644 ColorType tempColor; variable
664 ColorType tempColor; variable
991 ColorType tempColor; variable
992 tempColor = edittext->GetTextColor();
1001 tempColor = edittext->GetTextColor();
1010 tempColor = edittext->GetTextColor();
[all …]
H A Dhorizonprogress_tdd_test.cpp439 ColorType tempColor; in HorizonProgressTest009() local
441 if (tempColor.red == redNum && in HorizonProgressTest009()
442 tempColor.green == greenNum && in HorizonProgressTest009()
443 tempColor.blue == blueNum) { in HorizonProgressTest009()
448 EXPECT_TRUE(tempColor.red == redNum); in HorizonProgressTest009()
450 EXPECT_TRUE(tempColor.blue == blueNum); in HorizonProgressTest009()
491 ColorType tempColor; in HorizonProgressTest013() local
493 if (tempColor.red == redNum && in HorizonProgressTest013()
494 tempColor.green == greenNum && in HorizonProgressTest013()
495 tempColor.blue == blueNum) { in HorizonProgressTest013()
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/arc/
H A Darc_tdd_test.cpp831 ColorType tempColor; in ComponentProgressStyleSetTest012() local
832 tempColor.full = circleView->GetForegroundStyle(STYLE_LINE_COLOR); in ComponentProgressStyleSetTest012()
837 PrintExpectInfo(tempColor, lineColor); in ComponentProgressStyleSetTest012()
844 tempColor.full = circleView->GetForegroundStyle(STYLE_LINE_COLOR); in ComponentProgressStyleSetTest012()
849 PrintExpectInfo(tempColor, lineColorBoundary); in ComponentProgressStyleSetTest012()
856 tempColor.full = circleView->GetForegroundStyle(STYLE_LINE_COLOR); in ComponentProgressStyleSetTest012()
861 PrintExpectInfo(tempColor, lineColorBoundaryPosNum); in ComponentProgressStyleSetTest012()
907 ColorType tempColor; in ComponentProgressStyleSetTest013() local
908 tempColor.full = circleView->GetForegroundStyle(STYLE_LINE_COLOR); in ComponentProgressStyleSetTest013()
913 PrintExpectInfo(tempColor, lineColorNormal); in ComponentProgressStyleSetTest013()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/lattice_napi/
H A Djs_lattice.cpp158 napi_value tempColor = nullptr; in GetLatticeColors() local
159 napi_get_element(env, colorsArray, i, &tempColor); in GetLatticeColors()
162 if (!ConvertFromJsColor(env, tempColor, argb, ARGC_FOUR)) { in GetLatticeColors()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/canvas_napi/
H A Djs_canvas.cpp1226 napi_value tempColor = nullptr; in OnDrawPixelMapMesh() local
1227 napi_get_element(env, colorsArray, i, &tempColor); in OnDrawPixelMapMesh()
1229 if (napi_get_value_uint32(env, tempColor, &color) != napi_ok) { in OnDrawPixelMapMesh()