Searched defs:pixel (Results 1 - 5 of 5) sorted by relevance

/sdk/chimpchat/src/com/android/chimpchat/adb/image/
H A DSixteenBitColorModel.java60 int pixel = getPixel(inData);
61 return ((pixel >> 0) & 0x01F) << 3;
66 int pixel = getPixel(inData);
67 return ((pixel >> 5) & 0x03F) << 2;
72 int pixel = getPixel(inData);
73 return ((pixel >> 11) & 0x01F) << 3;
77 public int getAlpha(int pixel) { argument
82 public int getBlue(int pixel) { argument
87 public int getGreen(int pixel) { argument
92 public int getRed(int pixel) { argument
[all...]
H A DThirtyTwoBitColorModel.java82 int pixel = getPixel(inData);
86 return ((pixel >>> alphaOffset) & alphaMask) << (8 - alphaLength);
91 int pixel = getPixel(inData);
92 return ((pixel >>> blueOffset) & blueMask) << (8 - blueLength);
97 int pixel = getPixel(inData);
98 return ((pixel >>> greenOffset) & greenMask) << (8 - greenLength);
103 int pixel = getPixel(inData);
104 return ((pixel >>> redOffset) & redMask) << (8 - redLength);
108 public int getAlpha(int pixel) { argument
113 public int getBlue(int pixel) { argument
118 getGreen(int pixel) argument
123 getRed(int pixel) argument
[all...]
/sdk/traceview/src/com/android/traceview/
H A DTickScaler.java93 // Convert a time value to a 0-based pixel value
98 // Convert a time value to a 0-based fractional pixel
103 // Convert a 0-based pixel value to a time value
104 public double pixelToValue(int pixel) { argument
105 return mMinVal + (pixel / mPixelsPerRange);
H A DTimeLineView.java1341 // Allocate space for the pixel data
1346 // Clear the per-block pixel data
1418 // pixel: [%d, %d] pix.start %d weight %.2f %s\n",
1476 // 1. This segment starts on a different pixel than the
1478 // the pixel strip, if any, and:
1485 // pixel as the previous segment): add its "weight"
1486 // to the current pixel, and:
1488 // then emit the pixel strip and then
1489 // add the segment's weight to the pixel.
1491 // then emit the pixel stri
1577 computeWeight(double start, double end, boolean isContextSwitch, int pixel) argument
1590 emitPixelStrip(RowData rd, int y, Pixel pixel) argument
[all...]
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
H A Detc1.cpp70 | most significant pixel index bits |
76 | least significant pixel index bits |
95 Add table 3.17.3 Mapping from pixel index values to modifier values for
98 pixel index value
481 // pixel is valid or not. Invalid pixel color values are ignored when compressing.
509 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
545 int pixel = (p[1] << 8) | p[0]; local
546 *q++ = convert5To8(pixel >> 11);
547 *q++ = convert6To8(pixel >>
601 etc1_uint32 pixel = ((r >> 3) << 11) | ((g >> 2) << 5) | (b >> 3); local
[all...]

Completed in 283 milliseconds