Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp245 inline uint8_t chooseColorRgba8888(int blockX, int blockY, uint8_t channel) { in chooseColorRgba8888() argument
247 uint8_t color = ((blockX % colorVariations) + (blockY % colorVariations)) in chooseColorRgba8888()
264 int blockY = (y / blockHeight); in fillRgba8888Buffer() local
266 uint8_t r = chooseColorRgba8888(blockX, blockY, 0); in fillRgba8888Buffer()
267 uint8_t g = chooseColorRgba8888(blockX, blockY, 1); in fillRgba8888Buffer()
268 uint8_t b = chooseColorRgba8888(blockX, blockY, 2); in fillRgba8888Buffer()
291 int blockY = (y / blockHeight) & 1; in fillBayerRawBuffer() local
292 unsigned short r = (blockX == blockY) ? 1000 : 200; in fillBayerRawBuffer()
293 unsigned short g = blockY ? 1000: 200; in fillBayerRawBuffer()