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

/openjdk7/jdk/test/java/awt/print/PrinterJob/ImagePrinting/
H A DImageTypes.java151 int[] cmap = new int[16];
152 cmap[0] = black.getRGB();
153 cmap[1] = white.getRGB();
154 cmap[2] = gray.getRGB();
155 cmap[3] = lightGray.getRGB();
156 cmap[4] = red.getRGB();
157 cmap[5] = green.getRGB();
158 cmap[6] = blue.getRGB();
159 cmap[7] = yellow.getRGB();
160 cmap[
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DTrueTypeGlyphMapper.java47 CMap cmap; field in class:TrueTypeGlyphMapper
53 cmap = CMap.initialize(font);
55 cmap = null;
57 if (cmap == null) {
80 char glyphCode = cmap.getGlyph(charCode);
109 cmap = CMap.theNullCmap;
260 /* A pretty good heuristic is that the cmap we are using
265 cmap instanceof CMap.CMapFormat8 ||
266 cmap instanceof CMap.CMapFormat10 ||
267 cmap instanceo
[all...]
H A DCMap.java146 CMap cmap = null;
168 case 1: three1 = offset; break; // MS Unicode cmap
169 case 2: three2 = offset; break; // ShiftJIS cmap.
170 case 3: three3 = offset; break; // GBK cmap
171 case 4: three4 = offset; break; // Big 5 cmap
179 /* This defines the preference order for cmap subtables */
182 cmap = createCMap(cmapBuffer, three10, null);
210 // cmap = createSymbolCMap(cmapBuffer, three0, Symbols_b2c);
212 // cmap = createSymbolCMap(cmapBuffer, three0, WingDings_b2c);
214 cmap
618 byte [] cmap; field in class:CMap.CMapFormat0
[all...]
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_check.c368 /* Add a instance field information to this cmap. */
370 add_inst_field_to_cmap(CmapInfo *cmap, HprofId id, HprofType ty) argument
374 HPROF_ASSERT(cmap!=NULL);
375 i = cmap->n_finfo++;
376 if ( i+1 >= cmap->max_finfo ) {
380 osize = cmap->max_finfo;
381 cmap->max_finfo += 12;
382 new_finfo = (Finfo*)HPROF_MALLOC(cmap->max_finfo*(int)sizeof(Finfo));
383 (void)memset(new_finfo,0,cmap->max_finfo*(int)sizeof(Finfo));
385 cmap
400 CmapInfo *cmap = info; local
422 CmapInfo cmap; local
[all...]
/openjdk7/jdk/test/java/awt/Graphics/DrawImageBG/
H A DSystemBgColorTest.java64 static int cmap[] = { field in class:SystemBgColorTest
73 IndexColorModel icm = new IndexColorModel(8, 2, cmap, 0, true, 0,
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DIndexColorModel.java275 * @param cmap the array of color components
278 * the <code>cmap</code> array
284 public IndexColorModel(int bits, int size, byte cmap[], int start, argument
286 this(bits, size, cmap, start, hasalpha, -1);
311 * @param cmap the array of color components
314 * the <code>cmap</code> array
321 public IndexColorModel(int bits, int size, byte cmap[], int start, argument
344 int r = cmap[j++] & 0xff;
345 int g = cmap[j++] & 0xff;
346 int b = cmap[
405 IndexColorModel(int bits, int size, int cmap[], int start, boolean hasalpha, int trans, int transferType) argument
472 IndexColorModel(int bits, int size, int cmap[], int start, int transferType, BigInteger validBits) argument
544 setRGBs(int size, int cmap[], int start, boolean hasalpha) argument
[all...]
H A DBufferedImage.java458 int[] cmap = new int[256];
463 cmap[i++] = (r<<16)|(g<<8)|b;
467 // And populate the rest of the cmap with gray values
473 cmap[i] = (gray<<16)|(gray<<8)|gray;
477 colorModel = new IndexColorModel(8, 256, cmap, 0, false, -1,
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dimg_util_md.h98 extern unsigned char* initCubemap(int* cmap, int cmap_len, int cube_dim);
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DmultiVis.c98 Colormap cmap; member in struct:__anon1018
112 Colormap cmap; member in struct:__anon1019
122 "cmap" fields and s2 lies completely within s1. s1 and s2 can
126 ((s1)->vis == (s2)->vis && (s1)->cmap == (s2)->cmap && \
306 ncolors = QueryColorMap(disp,reg->cmap,reg->vis,&colors,
822 new_reg->cmap = base_src->cmap;
851 new_reg->cmap != DefaultColormapOfScreen(
962 width, height, border_width,vis, cmap, paren
[all...]
H A Dimg_util_md.h105 extern unsigned char* initCubemap(int* cmap, int cmap_len, int cube_dim);
H A DX11Color.c89 #define CMAP_ALLOC_DEFAULT 200 /* default number of colors in cmap */
90 #define CMAP_ALLOC_MAX 245 /* maximum number of colors in cmap */
862 /* Keep the mapping between this lut and the actual cmap */
1296 Colormap cmap = (Colormap)NULL; local
1299 cmap = DefaultColormap(awt_display, screen);
1322 cmap = scm->colormap;
1326 if (!cmap) {
1327 cmap = XCreateColormap (awt_display, root,
1333 adata->awt_cmap = cmap;
H A Dawt_MToolkit.c2933 Colormap cmap; local
2988 XmNcolormap, &cmap,
3060 XQueryColors(awt_display, cmap, colorsPtr, count);
H A Dgtk2_interface.c205 GdkDrawable *src, GdkColormap *cmap, int src_x, int src_y,
/openjdk7/jdk/src/solaris/native/sun/awt/splashscreen/
H A Dsplashscreen_sys.c162 Colormap cmap; local
168 cmap = XDefaultColormapOfScreen(screen);
174 if (XAllocColorCells(display, cmap, 0, pmr, nPlanes, pr, numColors)) {
176 XFreeColors(display, cmap, pr, numColors, 0);
196 Colormap cmap = XDefaultColormapOfScreen(screen); local
198 XAllocColorCells(display, cmap, 0, pmr, 0, pr, numColors);
199 return cmap;
205 Colormap cmap = XDefaultColormapOfScreen(screen); local
207 XFreeColors(display, cmap, pr, numColors, 0);
476 splash->cmap
[all...]
/openjdk7/jdk/src/share/native/sun/awt/image/
H A Ddither.c164 initCubemap(int* cmap, argument
216 int pixel = cmap[i];
221 pixel = cmap[cmap_len - i - 1];
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_impl.h93 Colormap cmap; member in struct:Splash
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalBumps.java226 int cmap[] = { backColor.getRGB(), topColor.getRGB(),
228 IndexColorModel icm = new IndexColorModel(8, 3, cmap, 0, false,
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/
H A DPixelTests.java182 static int cmap[] = { field in class:PixelTests.BufImg
233 cmap, 0, (nbits > 1), -1,
H A DImageTests.java389 int cmap[] = new int[256];
391 // Can only render transparency if first cmap entry is 0x0
397 cmap[i++] = (0xff<<24)|(r<<16)|(g<<8)|b;
404 icm = new IndexColorModel(8, 256, cmap, 0, true, 255,
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DDrawImage.java878 int[] cmap = new int[mapSize+1];
879 icm.getRGBs(cmap);
880 cmap[mapSize] = 0x0000;
884 cmap, 0, true, mapSize,
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsScrollBarUI.java392 int cmap[] = { fg.getRGB(), bg.getRGB() };
393 IndexColorModel icm = new IndexColorModel(8, 2, cmap, 0, false, -1,
/openjdk7/jdk/src/solaris/native/sun/java2d/opengl/J2D_GL/
H A Dglx.h452 Pixmap pixmap, Colormap cmap );
H A Dglxext.h583 typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);

Completed in 123 milliseconds