Searched refs:afterLastPixelIndex (Results 1 – 2 of 2) sorted by relevance
/system/teeui/libteeui/example/ |
D | phys_button_example.cpp | 108 uint32_t afterLastPixelIndex = 0; in renderUIIntoBuffer() local 109 if (__builtin_add_overflow(y, h, &afterLastPixelIndex) || in renderUIIntoBuffer() 110 __builtin_add_overflow(afterLastPixelIndex, -1, &afterLastPixelIndex) || in renderUIIntoBuffer() 111 __builtin_mul_overflow(afterLastPixelIndex, lineStride, &afterLastPixelIndex) || in renderUIIntoBuffer() 112 __builtin_add_overflow(afterLastPixelIndex, x, &afterLastPixelIndex) || in renderUIIntoBuffer() 113 __builtin_add_overflow(afterLastPixelIndex, w, &afterLastPixelIndex) || in renderUIIntoBuffer() 114 afterLastPixelIndex > buffer_size_in_elements_not_bytes) { in renderUIIntoBuffer()
|
D | touch_button_example.cpp | 145 uint32_t afterLastPixelIndex = 0; in renderUIIntoBuffer() local 146 if (__builtin_add_overflow(y, h, &afterLastPixelIndex) || in renderUIIntoBuffer() 147 __builtin_add_overflow(afterLastPixelIndex, -1, &afterLastPixelIndex) || in renderUIIntoBuffer() 148 __builtin_mul_overflow(afterLastPixelIndex, lineStride, &afterLastPixelIndex) || in renderUIIntoBuffer() 149 __builtin_add_overflow(afterLastPixelIndex, x, &afterLastPixelIndex) || in renderUIIntoBuffer() 150 __builtin_add_overflow(afterLastPixelIndex, w, &afterLastPixelIndex) || in renderUIIntoBuffer() 151 afterLastPixelIndex > buffer_size_in_elements_not_bytes) { in renderUIIntoBuffer()
|