Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp70 void expectBufferColor(const Rect& region, uint8_t r, uint8_t g, uint8_t b, uint8_t a, in expectBufferColor() function
319 expectBufferColor(fullscreenRect(), 255, 0, 0, 255); in fillRedBuffer()
325 expectBufferColor(fullscreenRect(), 0, 255, 0, 255); in fillGreenBuffer()
331 expectBufferColor(fullscreenRect(), 0, 0, 255, 255); in fillBlueBuffer()
337 expectBufferColor(fullscreenRect(), 51, 0, 0, 51); in fillRedTransparentBuffer()
361 expectBufferColor(Rect(DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_WIDTH, in fillBufferPhysicalOffset()
367 expectBufferColor(offsetRegionLeft, 0, 0, 0, 0); in fillBufferPhysicalOffset()
368 expectBufferColor(offsetRegionTop, 0, 0, 0, 0); in fillBufferPhysicalOffset()
409 expectBufferColor(Rect(0, 0, DEFAULT_DISPLAY_WIDTH / 2, DEFAULT_DISPLAY_HEIGHT / 2), 255, 0, 0, in fillBufferCheckersRotate0()
411 expectBufferColor(Rect(DEFAULT_DISPLAY_WIDTH / 2, 0, DEFAULT_DISPLAY_WIDTH, in fillBufferCheckersRotate0()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp137 void expectBufferColor(const sp<GraphicBuffer>& outBuffer, uint8_t* pixels, const Rect& rect, in expectBufferColor() function
251 expectBufferColor(mOutBuffer, mPixels, rect, color, tolerance); in expectColor()