Searched refs:ColorFract (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/opengl/tests/hwc/ |
D | hwcTestLib.h | 53 class ColorFract { 55 ColorFract(): _c1(0.0), _c2(0.0), _c3(0.0) {}; in ColorFract() function 56 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; in ColorFract() function 119 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha); 121 ColorFract& color); 124 void hwcTestFillColor(android::GraphicBuffer *gBuf, ColorFract color, 128 ColorFract startColor, ColorFract endColor); 129 ColorFract hwcTestParseColor(std::istringstream& in, bool& error);
|
D | hwcTestLib.cpp | 159 ColorFract::operator string() in operator string() 305 ColorFract hwcTestParseColor(istringstream& in, bool& error) in hwcTestParseColor() 307 ColorFract color; in hwcTestParseColor() 352 return ColorFract(c1, c2, c3); in hwcTestParseColor() 545 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha) in hwcTestColor2Pixel() 653 void hwcTestFillColor(GraphicBuffer *gBuf, ColorFract color, float alpha) in hwcTestFillColor() 690 ColorFract startColor, ColorFract endColor) in hwcTestFillColorHBlend() 707 ColorFract color(startColor.c1() + (endColor.c1() - startColor.c1()) in hwcTestFillColorHBlend() 793 ColorFract& color) in hwcTestColorConvert() 854 color = ColorFract(0.0, 0.0, 0.0); in hwcTestColorConvert() [all …]
|
D | hwcColorEquiv.cpp | 104 const ColorFract defaultStartColor(0.0, 0.0, 0.0); 105 const ColorFract defaultEndColor(1.0, 1.0, 1.0); 138 static ColorFract startRefColor = defaultStartColor; 139 static ColorFract endRefColor = defaultEndColor;
|
D | hwcRects.cpp | 128 const ColorFract defaultColor(0.5, 0.5, 0.5); 154 ColorFract color;
|
D | hwcStress.cpp | 593 ColorFract color(testRandFract(), testRandFract(), testRandFract()); in initFrames()
|
D | hwcCommit.cpp | 121 const ColorFract defaultColor(0.5, 0.5, 0.5); 172 ColorFract color;
|