Searched defs:cmap (Results 1 - 12 of 12) sorted by relevance

/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/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/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/demo/java2d/J2DBench/src/j2dbench/tests/
H A DPixelTests.java182 static int cmap[] = { field in class:PixelTests.BufImg
233 cmap, 0, (nbits > 1), -1,
/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...]
/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/solaris/native/sun/awt/
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 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 Dawt_MToolkit.c2933 Colormap cmap; local
2988 XmNcolormap, &cmap,
3060 XQueryColors(awt_display, cmap, colorsPtr, count);
/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...]

Completed in 111 milliseconds