Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_FrameRateCtsActivity.cpp86 int8_t* rgbaBytes = reinterpret_cast<int8_t*>(&rgbaColor); in Buffer() local
90 ptr[0] = rgbaBytes[0]; in Buffer()
91 ptr[1] = rgbaBytes[1]; in Buffer()
92 ptr[2] = rgbaBytes[2]; in Buffer()
93 ptr[3] = rgbaBytes[3]; in Buffer()
Dandroid_graphics_cts_BitmapTest.cpp66 uint8_t* rgbaBytes; in fillRgbaHardwareBuffer() local
71 reinterpret_cast<void**>(&rgbaBytes)); in fillRgbaHardwareBuffer()
75 rgbaBytes[c++] = static_cast<uint8_t>(x % 255); in fillRgbaHardwareBuffer()
76 rgbaBytes[c++] = static_cast<uint8_t>(y % 255); in fillRgbaHardwareBuffer()
77 rgbaBytes[c++] = 42; in fillRgbaHardwareBuffer()
78 rgbaBytes[c++] = 255; in fillRgbaHardwareBuffer()