Home
last modified time | relevance | path

Searched refs:expectBufferColor (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp310 void expectBufferColor(const Region& region, uint8_t r, uint8_t g, uint8_t b, uint8_t a) { in expectBufferColor() function in android::renderengine::RenderEngineTest
314 expectBufferColor(*rect, r, g, b, a); in expectBufferColor()
318 void expectBufferColor(const Point& point, uint8_t r, uint8_t g, uint8_t b, uint8_t a, in expectBufferColor() function in android::renderengine::RenderEngineTest
320 expectBufferColor(Rect(point.x, point.y, point.x + 1, point.y + 1), r, g, b, a, tolerance); in expectBufferColor()
323 void expectBufferColor(const Rect& rect, uint8_t r, uint8_t g, uint8_t b, uint8_t a, in expectBufferColor() function in android::renderengine::RenderEngineTest
326 expectBufferColor(rect, generator, tolerance); in expectBufferColor()
331 void expectBufferColor(const Rect& rect, ColorGenerator generator, uint8_t tolerance = 0) { in expectBufferColor() function in android::renderengine::RenderEngineTest
340 expectBufferColor(rect, generator, colorCompare); in expectBufferColor()
343 void expectBufferColor(const Rect& region, ColorGenerator generator, in expectBufferColor() function in android::renderengine::RenderEngineTest
385 expectBufferColor(rect, generator, colorCompare); in expectAlpha()
[all …]
/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineTest.cpp130 void expectBufferColor(const Region& region, uint8_t r, uint8_t g, uint8_t b, uint8_t a) { in expectBufferColor() function
134 expectBufferColor(*rect, r, g, b, a); in expectBufferColor()
138 void expectBufferColor(const Rect& rect, uint8_t r, uint8_t g, uint8_t b, uint8_t a, in expectBufferColor() function
148 expectBufferColor(rect, r, g, b, a, colorCompare); in expectBufferColor()
151 void expectBufferColor(const Rect& region, uint8_t r, uint8_t g, uint8_t b, uint8_t a, in expectBufferColor() function
188 expectBufferColor(rect, 0.0f /* r */, 0.0f /*g */, 0.0f /* b */, a, colorCompare); in expectAlpha()
216 expectBufferColor(casterRegion, casterColor.r, casterColor.g, casterColor.b, casterColor.a); in expectShadowColor()
226 expectBufferColor(backgroundRegion, backgroundColor.r, backgroundColor.g, backgroundColor.b, in expectShadowColor()
462 expectBufferColor(fullscreenRect(), 255, 0, 0, 255); in fillRedBuffer()
468 expectBufferColor(fullscreenRect(), 0, 255, 0, 255); in fillGreenBuffer()
[all …]
/frameworks/native/services/surfaceflinger/tests/utils/
DTransactionUtils.h103 static void expectBufferColor(const sp<GraphicBuffer>& outBuffer, uint8_t* pixels, in expectBufferColor() function
DScreenshotUtils.h104 TransactionUtils::expectBufferColor(mOutBuffer, mPixels, rect, color, tolerance);