Searched refs:colorTable (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/
H A DGIFMetadata.java302 byte[] colorTable = new byte[3*numEntries];
304 colorTable[j++] = red[i];
305 colorTable[j++] = green[i];
306 colorTable[j++] = blue[i];
309 return colorTable;
H A DGIFImageWriter.java188 byte[] colorTable;
217 colorTable = new byte[3*ctSize];
220 colorTable[idx++] = reds[i];
221 colorTable[idx++] = greens[i];
222 colorTable[idx++] = blues[i];
231 colorTable = new byte[colorTableLength];
233 colorTable[i] = (byte)(i/3);
238 colorTable = null;
241 return colorTable;
H A DGIFImageReader.java208 byte[] colorTable;
210 colorTable = imageMetadata.localColorTable;
212 colorTable = streamMetadata.globalColorTable;
216 int length = colorTable.length/3;
237 r[i] = colorTable[rgbIndex++];
238 g[i] = colorTable[rgbIndex++];
239 b[i] = colorTable[rgbIndex++];
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_gfx_impl.h79 blue = format->dithers[0].colorTable[blue +
81 green = format->dithers[1].colorTable[green +
83 red = format->dithers[2].colorTable[red +
H A Dsplashscreen_gfx.h52 rgbquad_t colorTable[512]; member in struct:DitherSettings
H A Dsplashscreen_gfx_impl.c55 /* calculates the colorTable for mapping from 0..255 to 0..numColors-1
64 pDither->colorTable[i] =
/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/
H A DRTFGenerator.java55 Dictionary<Object, Integer> colorTable; field in class:RTFGenerator
136 colorTable = new Hashtable<Object, Integer>();
137 colorTable.put(defaultRTFColor, Integer.valueOf(0));
167 colorTable.get(foregroundColor) == null) {
168 colorTable.put(foregroundColor, new Integer(colorCount));
174 colorTable.get(backgroundColor) == null) {
175 colorTable.put(backgroundColor, new Integer(colorCount));
343 Enumeration colors = colorTable.keys();
347 Integer num = colorTable.get(color);
749 colorNum = colorTable
[all...]
H A DRTFReader.java68 Color[] colorTable; field in class:RTFReader
788 colorTable = new Color[count];
789 proTemTable.copyInto(colorTable);
1374 if (colorTable != null) {
1377 Color fg = colorTable[stateItem.intValue()];
1385 if (colorTable != null) {
1388 Color bg = colorTable[stateItem.intValue()];

Completed in 1300 milliseconds