/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapPixels.java | 57 private static short pack565(int r, int g, int b) { method in class:BitmapPixels.SampleView 101 ramp565[i] = pack565(r >> (23+3), g >> (23+2), b >> (23+3));
|
/frameworks/native/services/surfaceflinger/ |
SurfaceFlinger.cpp | 209 static inline uint16_t pack565(int r, int g, int b) { function in namespace:android 270 const uint16_t g0 = pack565(0x0F,0x1F,0x0F); 271 const uint16_t g1 = pack565(0x17,0x2f,0x17); 282 const uint16_t protTexData[] = { pack565(0x03, 0x03, 0x03) }; [all...] |