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

/frameworks/base/awt/com/android/internal/awt/
H A DAndroidImageDecoder.java65 byte cmap[]; // The color palette for index color models field in class:AndroidImageDecoder
135 cmap = null;
204 if (cmap == null) {
208 cm = new IndexColorModel(bitDepth, cmap.length / 3, cmap, 0, false);
/frameworks/base/awt/java/awt/image/
H A DIndexColorModel.java98 * @param cmap
101 * the start index of the color mapping data within the cmap
112 public IndexColorModel(int bits, int size, int cmap[], int start, int transferType, argument
141 colorMap[i] = cmap[start];
142 alpha = cmap[start] & alphaMask;
170 * @param cmap
173 * the start index of the color mapping data within the cmap
185 public IndexColorModel(int bits, int size, int cmap[], int start, boolean hasalpha, int trans, argument
212 colorMap[i] = cmap[start] & 0x00ffffff;
216 alpha = cmap[star
362 IndexColorModel(int bits, int size, byte cmap[], int start, boolean hasalpha, int trans) argument
435 IndexColorModel(int bits, int size, byte cmap[], int start, boolean hasalpha) argument
[all...]
/frameworks/base/awt/org/apache/harmony/awt/gl/image/
H A DPngDecoder.java73 byte cmap[]; field in class:PngDecoder
178 cm = new IndexColorModel(/*bitDepth*/8, cmap.length / 3, cmap, 0, false);

Completed in 360 milliseconds