Home
last modified time | relevance | path

Searched refs:PIXEL_SIZE (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/gui/tests/
DSRGB_test.cpp48 PIXEL_SIZE = 4, // bytes or components enumerator
49 DISPLAY_SIZE = DISPLAY_WIDTH * DISPLAY_HEIGHT * PIXEL_SIZE,
129 int offset = (y * DISPLAY_WIDTH + x) * PIXEL_SIZE; in fillTexture()
317 int colOffset = (rowOffset + x) * PIXEL_SIZE; // bytes in createDebugSurface()
318 for (int c = 0; c < PIXEL_SIZE; ++c) { in createDebugSurface()
331 PIXEL_SIZE; in copyToDebugSurface()
350 int colOffset = (rowOffset + x) * PIXEL_SIZE; // bytes in copyToDebugSurface()
353 for (int c = 0; c < (PIXEL_SIZE - 1); ++c) { in copyToDebugSurface()
394 PIXEL_SIZE; in TEST_F()
396 midRGBOffset += (DISPLAY_WIDTH / 2) * PIXEL_SIZE; in TEST_F()
[all …]
DSurfaceTextureFBO.h61 const size_t PIXEL_SIZE = 4; in fillRGBA8BufferSolid() local
64 off_t offset = (y * stride + x) * PIXEL_SIZE; in fillRGBA8BufferSolid()
DFillBuffer.cpp79 const size_t PIXEL_SIZE = 4; in fillRGBA8Buffer() local
82 off_t offset = (y * stride + x) * PIXEL_SIZE; in fillRGBA8Buffer()