Searched refs:wid (Results 1 - 25 of 30) sorted by relevance

12

/openjdk7/jdk/test/java/awt/print/PrinterJob/
H A DMargins.java42 double wid = paper.getWidth();
44 paper.setImageableArea(0, -10, wid, hgt);
53 paper.setImageableArea(0, 0, wid, hgt+72);
80 double wid = paper.getWidth();
83 if ((ix+iw > wid) || (iy+ih > hgt)) {
/openjdk7/jdk/test/java/awt/Graphics2D/DrawString/
H A DRotTransText.java48 int wid=400, hgt=400;
50 new BufferedImage(wid, hgt, BufferedImage.TYPE_INT_RGB);
66 g2d.fillRect(0, 0, wid, hgt);
91 for (int px=0;px<wid;px++) {
H A DDrawStrSuper.java44 int wid=400, hgt=400; field in class:DrawStrSuper
50 bi = new BufferedImage(wid, hgt, BufferedImage.TYPE_INT_RGB);
54 g2d.fillRect(0, 0, wid, hgt);
83 for (int px=0;px<wid;px++) {
H A DAlphaSurfaceText.java35 int wid=400, hgt=200; field in class:AlphaSurfaceText
39 new BufferedImage(wid, hgt, BufferedImage.TYPE_INT_RGB);
42 BufferedImage alphabi = new BufferedImage(wid, hgt, biType);
45 new BufferedImage(wid, hgt, BufferedImage.TYPE_INT_RGB);
67 for (int x=0; x<wid; x++) {
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageConv_32nw.c62 mlib_s32 wid = mlib_ImageGetWidth(src); \
114 if (wid > BUFF_LINE) {
115 pbuff = mlib_malloc((KSIZE + 1)*sizeof(mlib_d64)*wid);
121 buff1 = buff0 + wid;
122 buff2 = buff1 + wid;
124 wid -= (KSIZE - 1);
142 for (i = 0; i < wid + (KSIZE - 1); i++) {
159 for (i = 0; i <= (wid - 3); i += 3) {
183 for (; i < wid; i++) {
196 buff2[wid]
[all...]
H A Dmlib_ImageConv_16nw.c154 mlib_s32 wid, hgt, sll, dll; \
194 wid = mlib_ImageGetWidth(src); \
269 if (wid > BUFF_LINE) {
270 pbuff = mlib_malloc((KSIZE + 2)*sizeof(FTYPE)*wid);
276 buff1 = buff0 + wid;
277 buff2 = buff1 + wid;
278 buff3 = buff2 + wid;
279 buffo = (mlib_s32*)(buff3 + wid);
280 buffi = buffo + (wid &~ 1);
285 wid
469 mlib_s32 wid, hgt, sll, dll; variable
1020 mlib_s32 wid, hgt, sll, dll; variable
2065 mlib_s32 wid, hgt, sll, dll; local
[all...]
H A Dmlib_ImageConv_8nw.c155 mlib_s32 wid, hgt, sll, dll; \
195 wid = mlib_ImageGetWidth(src); \
270 if (wid > BUFF_LINE) {
271 pbuff = mlib_malloc((KSIZE + 2)*sizeof(FTYPE)*wid);
277 buff1 = buff0 + wid;
278 buff2 = buff1 + wid;
279 buff3 = buff2 + wid;
280 buffo = (mlib_s32*)(buff3 + wid);
281 buffi = buffo + (wid &~ 1);
286 wid
470 mlib_s32 wid, hgt, sll, dll; variable
1021 mlib_s32 wid, hgt, sll, dll; variable
2066 mlib_s32 wid, hgt, sll, dll; local
[all...]
H A Dmlib_ImageConv_u16nw.c154 mlib_s32 wid, hgt, sll, dll; \
194 wid = mlib_ImageGetWidth(src); \
269 if (wid > BUFF_LINE) {
270 pbuff = mlib_malloc((KSIZE + 2)*sizeof(FTYPE)*wid);
276 buff1 = buff0 + wid;
277 buff2 = buff1 + wid;
278 buff3 = buff2 + wid;
279 buffo = (mlib_s32*)(buff3 + wid);
280 buffi = buffo + (wid &~ 1);
285 wid
469 mlib_s32 wid, hgt, sll, dll; variable
1020 mlib_s32 wid, hgt, sll, dll; variable
2065 mlib_s32 wid, hgt, sll, dll; local
[all...]
H A Dmlib_ImageConv2x2_f.c68 wid = mlib_ImageGetWidth(src); \
148 mlib_s32 wid,
160 if (wid == str) {
161 wid *= hgt;
166 dend = dl + wid;
190 mlib_s32 wid,
206 for (i = 0; i < wid; i++) XOR_80(dp[i*nchan]);
231 mlib_s32 wid, hgt, sll, dll, wid1; local
237 wid1 = (wid + 1) &~ 1;
253 wid
147 mlib_ImageXor80_aa(mlib_u8 *dl, mlib_s32 wid, mlib_s32 hgt, mlib_s32 str) argument
189 mlib_ImageXor80(mlib_u8 *dl, mlib_s32 wid, mlib_s32 hgt, mlib_s32 str, mlib_s32 nchan, mlib_s32 cmask) argument
372 mlib_s32 wid, hgt, sll, dll, wid1; local
523 mlib_s32 wid, hgt, sll, dll, wid1; local
668 mlib_s32 wid, hgt, sll, dll, wid1; local
823 mlib_s32 wid, hgt, sll, dll, wid1; local
974 mlib_s32 wid, hgt, sll, dll, wid1; local
[all...]
H A Dmlib_ImageConv_D64nw.c63 mlib_s32 wid = mlib_ImageGetWidth(src); \
99 wid -= (KSIZE - 1);
122 for (i = 0; i <= (wid - 4); i += 4) {
140 if (i < wid) {
145 if ((i + 1) < wid) {
149 if ((i + 2) < wid) {
185 wid -= (KSIZE - 1);
222 for (i = 0; i <= (wid - 2); i += 2) {
238 if (wid & 1) {
268 wid
[all...]
H A Dmlib_ImageConv_F32nw.c63 mlib_s32 wid = mlib_ImageGetWidth(src); \
99 wid -= (KSIZE - 1);
122 for (i = 0; i <= (wid - 4); i += 4) {
140 if (i < wid) {
145 if ((i + 1) < wid) {
149 if ((i + 2) < wid) {
185 wid -= (KSIZE - 1);
222 for (i = 0; i <= (wid - 2); i += 2) {
238 if (wid & 1) {
268 wid
[all...]
H A Dmlib_ImageConv_16ext.c186 mlib_s32 wid, hgt, sll, dll; \
226 wid = mlib_ImageGetWidth(src); \
294 swid = wid + KSIZE1;
370 for (i = 0; i <= (wid - 2); i += 2) {
434 for (; i < wid; i++) {
490 mlib_ImageXor80(adr_dst, wid, hgt, dll, nchannel, cmask);
492 mlib_ImageXor80_aa(adr_dst, wid*nchannel, hgt, dll);
511 mlib_s32 wid, hgt, sll, dll; variable
539 if ((1 > dx_l) && (1 < wid + KSIZE1 - dx_r)) delta_chan = chan1;
584 for (i = 0; i <= (wid
1109 mlib_s32 wid, hgt, sll, dll; variable
1634 mlib_s32 wid, hgt, sll, dll; local
1883 mlib_s32 wid, hgt, sll, dll; variable
2344 mlib_s32 wid, hgt, sll, dll; variable
[all...]
H A Dmlib_ImageConv_8ext.c186 mlib_s32 wid, hgt, sll, dll; \
226 wid = mlib_ImageGetWidth(src); \
294 swid = wid + KSIZE1;
370 for (i = 0; i <= (wid - 2); i += 2) {
434 for (; i < wid; i++) {
490 mlib_ImageXor80(adr_dst, wid, hgt, dll, nchannel, cmask);
492 mlib_ImageXor80_aa(adr_dst, wid*nchannel, hgt, dll);
511 mlib_s32 wid, hgt, sll, dll; variable
539 if ((1 > dx_l) && (1 < wid + KSIZE1 - dx_r)) delta_chan = chan1;
584 for (i = 0; i <= (wid
1109 mlib_s32 wid, hgt, sll, dll; variable
1634 mlib_s32 wid, hgt, sll, dll; local
1883 mlib_s32 wid, hgt, sll, dll; variable
2344 mlib_s32 wid, hgt, sll, dll; variable
[all...]
H A Dmlib_ImageConv_u16ext.c186 mlib_s32 wid, hgt, sll, dll; \
226 wid = mlib_ImageGetWidth(src); \
294 swid = wid + KSIZE1;
370 for (i = 0; i <= (wid - 2); i += 2) {
434 for (; i < wid; i++) {
490 mlib_ImageXor80(adr_dst, wid, hgt, dll, nchannel, cmask);
492 mlib_ImageXor80_aa(adr_dst, wid*nchannel, hgt, dll);
511 mlib_s32 wid, hgt, sll, dll; variable
539 if ((1 > dx_l) && (1 < wid + KSIZE1 - dx_r)) delta_chan = chan1;
584 for (i = 0; i <= (wid
1109 mlib_s32 wid, hgt, sll, dll; variable
1634 mlib_s32 wid, hgt, sll, dll; local
1883 mlib_s32 wid, hgt, sll, dll; variable
2344 mlib_s32 wid, hgt, sll, dll; variable
[all...]
H A Dmlib_ImageConv.h35 mlib_s32 wid,
40 mlib_s32 wid,
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DXDrawingArea.c160 static XmNavigability WidgetNavigable(Widget wid) argument
H A Dawt_MToolkit.c1544 Widget wid = NULL; local
1547 wid = XtWindowToWidget(awt_display, w);
1548 while (wid != NULL && !XtIsShell(wid)) {
1549 wid = XtParent(wid);
1554 if (wid == NULL) return True;
1556 return isFocusableWindowByShell(env, wid);
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/
H A DTextMeasureTests.java136 int wid = 0;
138 wid += fm.stringWidth(text);
152 int wid = 0;
174 int wid = 0;
176 wid += fm.charsWidth(chars, 0, chars.length);
190 int wid = 0;
253 double wid = 0;
255 wid += gv.getGlyphPosition(gv.getNumGlyphs()).getX();
452 double wid = 0;
454 wid
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DRasterPrinterJob.java1497 double wid = origPaper.getWidth();
1508 wid = ((wid > 0.0) ? wid : defaultPaper.getWidth());
1517 if (iw > wid) {
1518 iw = wid;
1523 if ((ix + iw) > wid) {
1524 ix = wid - iw;
1529 newPaper.setSize(wid, hgt);
H A DPathGraphics.java1284 int right, bottom, wid, hgt;
1287 wid = right - srcX;
1290 wid = srcWidth;
1299 pixels = new int[wid];
1302 raster.getPixels(srcX, j, wid, 1, pixels);
H A DPrintJob2D.java843 double wid, hgt, scale;
846 wid = pageFormat.getImageableWidth();
849 wid = pageFormat.getWidth();
853 return new Dimension((int)(wid * scale), (int)(hgt * scale));
H A DServiceDialog.java1601 float wid = mediaSize.getX(units);
1605 float paw = wid - lm - rm;
1696 float wid = mediaSize.getX(MediaPrintableArea.INCH);
1700 if (wid > maxMarginRatio) {
1703 xMgn = wid / maxMarginRatio;
1713 wid-(2*xMgn), hgt-(2*yMgn),
1742 wid = mediaSize.getX(units);
1747 if (lmVal + rmVal > wid) {
1753 pax = (wid - paw)/2f;
1756 paw = wid
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageConvIndex3_8_16nw.c94 mlib_s32 wid = mlib_ImageGetWidth(src); \
234 ssize = NCHAN*wid;
245 wid -= (KSIZE - 1);
418 mlib_ImageColorTrue2IndexLine_U8_S16_3((void*)buffe, dl, wid, colormap);
455 ssize = NCHAN*wid;
466 wid -= (KSIZE - 1);
800 mlib_ImageColorTrue2IndexLine_U8_S16_3((void*)buffe, dl, wid, colormap);
868 ssize = NCHAN*wid;
882 wid -= (m - 1);
1657 mlib_ImageColorTrue2IndexLine_U8_S16_3((void*)buffe, dl, wid, colorma
[all...]
H A Dmlib_v_ImageConvIndex3_8_8nw.c94 mlib_s32 wid = mlib_ImageGetWidth(src); \
234 ssize = NCHAN*wid;
245 wid -= (KSIZE - 1);
418 mlib_ImageColorTrue2IndexLine_U8_U8_3((void*)buffe, dl, wid, colormap);
455 ssize = NCHAN*wid;
466 wid -= (KSIZE - 1);
800 mlib_ImageColorTrue2IndexLine_U8_U8_3((void*)buffe, dl, wid, colormap);
868 ssize = NCHAN*wid;
882 wid -= (m - 1);
1657 mlib_ImageColorTrue2IndexLine_U8_U8_3((void*)buffe, dl, wid, colorma
[all...]
H A Dmlib_v_ImageConv_8nw.c93 mlib_s32 wid = mlib_ImageGetWidth(src); \
227 ssize = NCHAN * wid;
242 wid -= (KSIZE - 1);
425 ColorTrue2IndexLine((void *)buffe, dl, wid, colormap);
463 ssize = NCHAN * wid;
478 wid -= (KSIZE - 1);
824 ColorTrue2IndexLine((void *)buffe, dl, wid, colormap);
893 ssize = NCHAN * wid;
911 wid -= (m - 1);
1846 ColorTrue2IndexLine((void *)buffe, dl, wid, colorma
[all...]

Completed in 696 milliseconds

12