Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp68 void expectBufferColor(const Rect& region, uint8_t r, uint8_t g, uint8_t b, uint8_t a, in expectBufferColor() function
317 expectBufferColor(fullscreenRect(), 255, 0, 0, 255); in fillRedBuffer()
323 expectBufferColor(fullscreenRect(), 0, 255, 0, 255); in fillGreenBuffer()
329 expectBufferColor(fullscreenRect(), 0, 0, 255, 255); in fillBlueBuffer()
335 expectBufferColor(fullscreenRect(), 51, 0, 0, 51); in fillRedTransparentBuffer()
359 expectBufferColor(Rect(DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_OFFSET, DEFAULT_DISPLAY_WIDTH, in fillBufferPhysicalOffset()
365 expectBufferColor(offsetRegionLeft, 0, 0, 0, 0); in fillBufferPhysicalOffset()
366 expectBufferColor(offsetRegionTop, 0, 0, 0, 0); in fillBufferPhysicalOffset()
407 expectBufferColor(Rect(0, 0, DEFAULT_DISPLAY_WIDTH / 2, DEFAULT_DISPLAY_HEIGHT / 2), 255, 0, 0, in fillBufferCheckersRotate0()
409 expectBufferColor(Rect(DEFAULT_DISPLAY_WIDTH / 2, 0, DEFAULT_DISPLAY_WIDTH, in fillBufferCheckersRotate0()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp136 void expectBufferColor(const sp<GraphicBuffer>& outBuffer, uint8_t* pixels, const Rect& rect, in expectBufferColor() function
250 expectBufferColor(mOutBuffer, mPixels, rect, color, tolerance); in expectColor()