Home
last modified time | relevance | path

Searched refs:Color (Results 1 – 25 of 39) sorted by relevance

12

/hardware/interfaces/graphics/composer/aidl/vts/
DReadbackVts.h37 static const Color BLACK = {0.0f, 0.0f, 0.0f, 1.0f};
38 static const Color RED = {1.0f, 0.0f, 0.0f, 1.0f};
42 static const Color DIM_RED = {243.f / 255.f, 0.0f, 0.0f, 1.0f};
43 static const Color TRANSLUCENT_RED = {1.0f, 0.0f, 0.0f, 0.3f};
44 static const Color GREEN = {0.0f, 1.0f, 0.0f, 1.0f};
45 static const Color BLUE = {0.0f, 0.0f, 1.0f, 1.0f};
46 static const Color WHITE = {1.0f, 1.0f, 1.0f, 1.0f};
114 void setColor(Color color) { mColor = color; } in setColor()
117 Color mColor = WHITE;
131 void fillBuffer(std::vector<Color>& expectedColors);
[all …]
DReadbackVts.cpp119 std::vector<Color> desiredPixelColors) { in fillBuffer()
127 Color srcColor = desiredPixelColors[static_cast<size_t>(pixel)]; in fillBuffer()
142 void ReadbackHelper::clearColors(std::vector<Color>& expectedColors, int32_t width, int32_t height, in clearColors()
152 void ReadbackHelper::fillColorsArea(std::vector<Color>& expectedColors, int32_t stride, Rect area, in fillColorsArea()
153 Color color) { in fillColorsArea()
174 void ReadbackHelper::compareColorBuffers(const std::vector<Color>& expectedColors, void* bufferData, in compareColorBuffers()
184 const Color expectedColor = expectedColors[static_cast<size_t>(pixel)]; in compareColorBuffers()
228 void ReadbackBuffer::checkReadbackBuffer(const std::vector<Color>& expectedColors) { in checkReadbackBuffer()
318 void TestBufferLayer::fillBuffer(std::vector<Color>& expectedColors) { in fillBuffer()
334 void TestBufferLayer::setBuffer(std::vector<Color> colors) { in setBuffer()
DVtsHalGraphicsComposer3_ReadbackTest.cpp213 std::vector<Color> expectedColors( in TEST_P()
259 std::vector<Color> expectedColors( in TEST_P()
333 std::vector<Color> expectedColors( in TEST_P()
443 std::vector<Color> expectedColors( in TEST_P()
534 std::vector<Color> expectedColors( in TEST_P()
549 std::vector<Color> deviceColors(deviceLayer->getWidth() * deviceLayer->getHeight()); in TEST_P()
595 std::vector<Color> clientColors( in TEST_P()
635 std::vector<Color> expectedColors( in TEST_P()
736 std::vector<Color> expectedColors( in TEST_P()
759 std::vector<Color> expectedColors( in TEST_P()
[all …]
DRenderEngineVts.h50 void checkColorBuffer(const std::vector<Color>& expectedColors);
DRenderEngineVts.cpp78 void TestRenderEngine::checkColorBuffer(const std::vector<Color>& expectedColors) { in checkColorBuffer()
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DReadbackVts.h49 static const IComposerClient::Color BLACK = {0, 0, 0, 0xff};
50 static const IComposerClient::Color RED = {0xff, 0, 0, 0xff};
51 static const IComposerClient::Color TRANSLUCENT_RED = {0xff, 0, 0, 0x33};
52 static const IComposerClient::Color GREEN = {0, 0xff, 0, 0xff};
53 static const IComposerClient::Color BLUE = {0, 0, 0xff, 0xff};
107 void setColor(IComposerClient::Color color) { mColor = color; } in setColor()
110 IComposerClient::Color mColor = {0xff, 0xff, 0xff, 0xff};
125 void fillBuffer(std::vector<IComposerClient::Color> expectedColors);
127 void setBuffer(std::vector<IComposerClient::Color> colors);
161 std::vector<IComposerClient::Color> desiredPixelColors);
[all …]
DRenderEngineVts.h55 void checkColorBuffer(std::vector<V2_2::IComposerClient::Color>& expectedColors);
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp112 std::vector<IComposerClient::Color> desiredPixelColors) { in fillBuffer()
119 IComposerClient::Color srcColor = desiredPixelColors[pixel]; in fillBuffer()
134 void ReadbackHelper::clearColors(std::vector<IComposerClient::Color>& expectedColors, int32_t width, in clearColors()
144 void ReadbackHelper::fillColorsArea(std::vector<IComposerClient::Color>& expectedColors, in fillColorsArea()
146 IComposerClient::Color color) { in fillColorsArea()
170 void ReadbackHelper::compareColorBuffers(std::vector<IComposerClient::Color>& expectedColors, in compareColorBuffers()
221 void ReadbackBuffer::checkReadbackBuffer(std::vector<IComposerClient::Color> expectedColors) { in checkReadbackBuffer()
306 void TestBufferLayer::fillBuffer(std::vector<IComposerClient::Color> expectedColors) { in fillBuffer()
317 void TestBufferLayer::setBuffer(std::vector<IComposerClient::Color> colors) { in setBuffer()
DRenderEngineVts.cpp83 void TestRenderEngine::checkColorBuffer(std::vector<V2_2::IComposerClient::Color>& expectedColors) { in checkColorBuffer()
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/1/android/hardware/graphics/composer3/
DColor.aidl36 parcelable Color {
DLayerCommand.aidl42 @nullable android.hardware.graphics.composer3.Color color;
/hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/
DColor.aidl23 parcelable Color {
DLayerCommand.aidl24 import android.hardware.graphics.composer3.Color;
104 @nullable Color color;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/
DColor.aidl36 parcelable Color {
DLayerCommand.aidl42 @nullable android.hardware.graphics.composer3.Color color;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/2/android/hardware/graphics/composer3/
DColor.aidl36 parcelable Color {
DLayerCommand.aidl42 @nullable android.hardware.graphics.composer3.Color color;
/hardware/interfaces/tests/expression/1.0/
DIExpressionExt.hal31 …typedef Color[((Constants:MAX_ARRAY_SIZE << 1) - (AlsoConstants:CONST_FOO + 1)*8) >> 1] SixteenCol…
33 Color[(Constants:MAX_ARRAY_SIZE << 1) - (Constants:CONST_FOO + 1)*8] my32Colors; // 32
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp220 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
278 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
360 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
412 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
528 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
541 std::vector<IComposerClient::Color> deviceColors(deviceLayer->mWidth * in TEST_P()
602 std::vector<IComposerClient::Color> clientColors(mDisplayWidth * mDisplayHeight); in TEST_P()
655 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
765 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
799 std::vector<IComposerClient::Color> expectedColors(mDisplayWidth * mDisplayHeight); in TEST_P()
[all …]
/hardware/google/graphics/common/include/displaycolor/
Ddisplaycolor.h159 struct Color { struct
165 bool operator==(const Color &rhs) const { argument
299 Color solid_color;
/hardware/google/graphics/zuma/include/zuma/displaycolor/
Ddisplaycolor_zuma.h94 virtual const Color SolidColor() const = 0;
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
DComposerCommandBuffer.h328 void setLayerColor(IComposerClient::Color color) { in setLayerColor()
497 void writeColor(const IComposerClient::Color& color) { in writeColor()
700 IComposerClient::Color readColor() { in readColor()
702 return IComposerClient::Color{ in readColor()
/hardware/google/graphics/common/hwc3/
DComposerCommandEngine.h68 void executeSetLayerColor(int64_t display, int64_t layer, const Color& color);
/hardware/qcom/sm7250/display/composer/
DQtiComposerCommandBuffer.h346 void setLayerColor(IQtiComposerClient::Color color) { in setLayerColor()
580 void writeColor(const IQtiComposerClient::Color& color) { in writeColor()
800 IQtiComposerClient::Color readColor() { in readColor()
802 return IQtiComposerClient::Color{ in readColor()
/hardware/google/graphics/common/hwc3/impl/
DTranslateHwcAidl.h164 inline void translate(const Color& in, hwc_color_t& out) { in translate()

12