Searched refs:maxBlockY (Results 1 - 1 of 1) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp341 const int maxBlockY = ((h-1 + (blockHeight-1)) / blockHeight) & 0x1; local
342 uint32_t pixelValue = ((maxBlockX % 2) == (maxBlockY % 2)) ? 191 : 63;
381 const int maxBlockY = ((h-1) / blockHeight); local
382 uint8_t r = chooseColorRgba8888(maxBlockX, maxBlockY, 0);
383 uint8_t g = chooseColorRgba8888(maxBlockX, maxBlockY, 1);
384 uint8_t b = chooseColorRgba8888(maxBlockX, maxBlockY, 2);
423 const int maxBlockY = ((w-1) / blockHeight) & 0x1; local
424 unsigned short maxR = (maxBlockX == maxBlockY) ? 1000 : 200;
425 unsigned short maxG = maxBlockY ? 1000: 200;

Completed in 7 milliseconds