/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | GlyphImageRef.h | 41 const void *pixels; member in struct:__anon914
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | CustomCursor.java | 88 int[] pixels = new int[width * height]; 91 pixels, 0, width); 97 createNativeCursor(image, pixels, width, height, hotSpot.x, hotSpot.y); 100 protected abstract void createNativeCursor(Image im, int[] pixels, argument
|
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | AnchorTables.cpp | 81 LEPoint pixels; local 83 fontInstance->transformFunits(x, y, pixels); 85 fontInstance->pixelsToUnits(pixels, anchor); 107 LEPoint pixels; local 111 fontInstance->transformFunits(x, y, pixels); 117 pixels.fX += adjx; 124 pixels.fY += adjy; 127 fontInstance->pixelsToUnits(pixels, anchor);
|
H A D | MarkToBasePosnSubtables.cpp | 96 LEPoint baseAnchor, markAdvance, pixels; local 106 fontInstance->getGlyphAdvance(markGlyph, pixels); 107 fontInstance->pixelsToUnits(pixels, markAdvance); 121 fontInstance->getGlyphAdvance(baseGlyph, pixels); 130 pixels.fX += px.fX; // and add that to the base glyph's advance 131 pixels.fY += px.fY; 136 fontInstance->pixelsToUnits(pixels, baseAdvance);
|
H A D | MarkToMarkPosnSubtables.cpp | 95 LEPoint mark2Anchor, markAdvance, pixels; local 104 fontInstance->getGlyphAdvance(markGlyph, pixels); 105 fontInstance->pixelsToUnits(pixels, markAdvance); 117 fontInstance->getGlyphAdvance(mark2Glyph, pixels); 118 fontInstance->pixelsToUnits(pixels, mark2Advance);
|
H A D | GlyphPositionAdjustments.cpp | 117 LEPoint entryAnchor, exitAnchor, pixels; local 145 fontInstance->getGlyphAdvance(glyphID, pixels); 146 fontInstance->pixelsToUnits(pixels, secondAdvance); 152 fontInstance->getGlyphAdvance(lastExitGlyphID, pixels); 153 fontInstance->pixelsToUnits(pixels, firstAdvance);
|
H A D | LEFontInstance.cpp | 156 void LEFontInstance::pixelsToUnits(LEPoint &pixels, LEPoint &units) const argument 158 units.fX = xPixelsToUnits(pixels.fX); 159 units.fY = yPixelsToUnits(pixels.fY); 162 void LEFontInstance::transformFunits(float xFunits, float yFunits, LEPoint &pixels) const 164 pixels.fX = xUnitsToPoints(xFunits) * getScaleFactorX(); 165 pixels.fY = yUnitsToPoints(yFunits) * getScaleFactorY();
|
H A D | MarkToLigaturePosnSubtables.cpp | 106 LEPoint ligatureAnchor, markAdvance, pixels; local 110 fontInstance->getGlyphAdvance(markGlyph, pixels); 111 fontInstance->pixelsToUnits(pixels, markAdvance); 123 fontInstance->getGlyphAdvance(ligatureGlyph, pixels); 124 fontInstance->pixelsToUnits(pixels, ligatureAdvance);
|
H A D | ValueRecords.cpp | 72 LEPoint pixels; local 74 fontInstance->transformFunits(value, 0, pixels); 76 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); 77 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 82 LEPoint pixels; local 84 fontInstance->transformFunits(0, value, pixels); 86 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); 87 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 92 LEPoint pixels; local 94 fontInstance->transformFunits(value, 0, pixels); 102 LEPoint pixels; local 176 LEPoint pixels; local 186 LEPoint pixels; local 196 LEPoint pixels; local 206 LEPoint pixels; local [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/ |
H A D | X11CustomCursor.java | 46 protected void createNativeCursor(Image im, int[] pixels, int width, int height, argument 63 int tmp[] = new int[pixels.length]; 64 for (int i=0; i<pixels.length; i++) { 65 if ((pixels[i] & 0xff000000) == 0) { 68 tmp[i] = pixels[i] & 0x00ffffff; 75 CCount cols[] = new CCount[pixels.length]; 79 while ( is < pixels.length ) { 87 for (int i = is+1; i < pixels.length; i++) { 112 int rest = pixels.length - ((numColors > 0) ? cols[0].count : 0); 155 if ((pixels[i [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | JPEGImageDecoder.java | 113 public boolean sendPixels(int pixels[], int y) { argument 114 int count = setPixels(0, y, pixels.length, 1, colormodel, 115 pixels, 0, pixels.length); 122 public boolean sendPixels(byte pixels[], int y) { argument 123 int count = setPixels(0, y, pixels.length, 1, colormodel, 124 pixels, 0, pixels.length);
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | BufferedImageFilter.java | 83 * {@link ImageProducer} of the <code>Image</code> whose pixels are 84 * being filtered. Developers using this class to retrieve pixels from 87 * pixels. 115 * whose pixels are being filtered. Developers using this 116 * class to retrieve pixels from an image 119 * requested pixels. 151 * <code>ImageProducer</code> of the <code>Image</code> whose pixels 153 * this class to retrieve pixels from an image should avoid calling 155 * with retrieving the requested pixels. 162 ColorModel model, byte pixels[], in 161 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 248 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument [all...] |
H A D | CropImageFilter.java | 54 * region of pixels from its source Image as specified by the x, y, 75 * <code>ImageProducer</code> of the <code>Image</code> whose pixels 77 * this class to filter pixels from an image should avoid calling 93 * pixels are being filtered. Developers using 94 * this class to filter pixels from an image should avoid calling 104 * Determine whether the delivered byte pixels intersect the region to 105 * be extracted and passes through only that subset of pixels that 110 * pixels are being filtered. Developers using 111 * this class to filter pixels from an image should avoid calling 116 ColorModel model, byte pixels[], in 115 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 155 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument [all...] |
H A D | RGBImageFilter.java | 33 * the pixels of an image in the default RGB ColorModel. It is meant to 37 * single method which converts pixels one at a time in the default RGB 106 * <code>ImageProducer</code> of the <code>Image</code> whose pixels 108 * this class to filter pixels from an image should avoid calling 127 * is substituted and the pixels passed through 179 * Filters a buffer of pixels in the default RGB ColorModel by passing 182 * of pixels 184 * of pixels 185 * @param w the width of the region of pixels 186 * @param h the height of the region of pixels 194 filterRGBPixels(int x, int y, int w, int h, int pixels[], int off, int scansize) argument 224 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 261 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument [all...] |
H A D | ReplicateScaleFilter.java | 37 * image. The pixels in the source image are sampled to produce pixels 39 * pixels to scale up or omitting rows and columns of pixels to scale 75 * row of pixels. 81 * column of pixels. 93 * Constructs a ReplicateScaleFilter that scales the pixels from 117 * <code>ImageProducer</code> of the <code>Image</code> whose pixels 119 * this class to filter pixels from an image should avoid calling 140 * <code>ImageProducer</code> of the <code>Image</code> whose pixels 186 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 227 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument [all...] |
H A D | AreaAveragingScaleFilter.java | 39 * image. The pixels in the source image are blended to produce pixels 43 * size by simply averaging all the pixels in the supersized image that 47 * requestTopDownLeftRightResend() method to refilter the pixels in a 71 * Constructs an AreaAveragingScaleFilter that scales the pixels from 86 * pixels are being filtered. Developers using 87 * this class to filter pixels from an image should avoid calling 135 ColorModel model, Object pixels, int off, 172 if (pixels instanceof byte[]) { 173 rgb = ((byte[]) pixels)[of 134 accumPixels(int x, int y, int w, int h, ColorModel model, Object pixels, int off, int scansize) argument 246 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 272 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument [all...] |
H A D | ImageConsumer.java | 58 * the pixels reported using the setPixels method 59 * calls. Note that each set of pixels delivered using setPixels 63 * may be seen is a filtered image when for each set of pixels 66 * pixels can be sent on untouched, using the original ColorModel, 67 * or whether the pixels should be modified (filtered) and passed 76 * pixels delivered by the ImageProducer. 77 * The ImageProducer can deliver the pixels in any order, but 78 * the ImageConsumer may be able to scale or convert the pixels 80 * quality if it knows some information about how the pixels will 83 * of hints about the manner in which the pixels wil 159 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 185 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument [all...] |
H A D | ImageFilter.java | 64 * of the Image whose pixels are being filtered. Developers using 65 * this class to filter pixels from an image should avoid calling 83 * of the Image whose pixels are being filtered. Developers using 84 * this class to filter pixels from an image should avoid calling 98 * of the Image whose pixels are being filtered. Developers using 99 * this class to filter pixels from an image should avoid calling 122 * of the Image whose pixels are being filtered. Developers using 123 * this class to filter pixels from an image should avoid calling 137 * of the Image whose pixels are being filtered. Developers using 138 * this class to filter pixels fro 158 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 175 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument [all...] |
H A D | MemoryImageSource.java | 62 * int pixels[]; 69 * pixels = new int[size]; 73 * pixels[i] = value; 76 * source = new MemoryImageSource(width, height, pixels, 0, width); 92 * // Modify the values in the pixels array at (x, y, w, h) 111 Object pixels; field in class:MemoryImageSource 122 * @param w the width of the rectangle of pixels 123 * @param h the height of the rectangle of pixels 125 * @param pix an array of pixels 128 * @param scan the distance from one row of pixels t [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | LinearGradientPaintContext.java | 133 protected void fillRaster(int[] pixels, int off, int adjust, argument 152 pixels[off++] = indexIntoGradientsArrays(g);
|
H A D | GradientPaintContext.java | 237 int[] pixels = irast.getDataStorage(); 240 cycleFillRaster(pixels, off, adjust, w, h, rowrel, dx, dy); 242 clipFillRaster(pixels, off, adjust, w, h, rowrel, dx, dy); 250 void cycleFillRaster(int[] pixels, int off, int adjust, int w, int h, argument 259 pixels[off++] = interp[icolrel >>> 23]; 268 void clipFillRaster(int[] pixels, int off, int adjust, int w, int h, argument 276 pixels[off++] = rgb; 281 pixels[off++] = interp[(int) (colrel * 256)]; 287 pixels[off++] = rgb;
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WCustomCursor.java | 48 protected void createNativeCursor(Image im, int[] pixels, int w, int h, argument 68 int npixels = pixels.length; 72 if ((pixels[i] & 0xff000000) == 0) {
|
/openjdk7/jdk/test/java/awt/Mouse/ExtraMouseClick/ |
H A D | ExtraMouseClick.java | 146 smallDrag(SMUDGE_WIDTH - 1, SMUDGE_HEIGHT - 1); //on Motif and XAWT SMUDGE area is 4-pixels wide 153 public void oneDrag(int pixels){ argument 157 for (int i = 1; i<pixels;i++){ 163 throw new RuntimeException("Test failed. Clicked event follows by Dragged. Dragged = "+dragged +". Clicked = "+clicked + " : distance = "+pixels);
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | XRColor.java | 70 public static int[] ARGBPrePixelToXRColors(int[] pixels) { argument 71 int[] colorValues = new int[pixels.length * 4]; 74 for (int i = 0; i < pixels.length; i++) { 75 c.setColorValues(pixels[i], true);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | EffectUtils.java | 104 * <p>Blurs the source pixels into the destination pixels. The force of the blur is specified by the radius which 105 * must be greater than 0.</p> <p>The source and destination pixels arrays are expected to be in the INT_ARGB 109 * @param srcPixels the source pixels 110 * @param dstPixels the destination pixels 166 * <p>Blurs the source pixels into the destination pixels. The force of the blur is specified by the radius which 167 * must be greater than 0.</p> <p>The source and destination pixels arrays are expected to be in the BYTE_GREY 171 * @param srcPixels the source pixels 172 * @param dstPixels the destination pixels 250 getPixels(BufferedImage img, int x, int y, int w, int h, byte[] pixels) argument 284 setPixels(BufferedImage img, int x, int y, int w, int h, byte[] pixels) argument 318 getPixels(BufferedImage img, int x, int y, int w, int h, int[] pixels) argument 357 setPixels(BufferedImage img, int x, int y, int w, int h, int[] pixels) argument [all...] |