/frameworks/base/awt/javax/imageio/ |
H A D | IIOImage.java | 44 * The raster of this IIOImage. 46 protected Raster raster; field in class:IIOImage 75 this.raster = null; 85 * @param raster 93 public IIOImage(Raster raster, List<? extends BufferedImage> thumbnails, IIOMetadata metadata) { argument 94 if (raster == null) { 95 throw new IllegalArgumentException("raster should not be NULL"); 98 this.raster = raster; 124 raster 156 setRaster(Raster raster) argument [all...] |
H A D | ImageWriter.java | 907 * @param raster 914 public void replacePixels(Raster raster, ImageWriteParam param) throws IOException { argument
|
/frameworks/base/awt/java/awt/image/ |
H A D | BufferedImage.java | 214 * The raster. 216 private final WritableRaster raster; field in class:BufferedImage 242 * @param raster 250 public BufferedImage(ColorModel cm, WritableRaster raster, boolean isRasterPremultiplied, argument 252 if (!cm.isCompatibleRaster(raster)) { 253 // awt.4D=The raster is incompatible with this ColorModel 257 if (raster.getMinX() != 0 || raster.getMinY() != 0) { 258 // awt.228=minX or minY of this raster not equal to zero 263 this.raster [all...] |
H A D | BufferedImageFilter.java | 49 * The raster. 51 private WritableRaster raster; field in class:BufferedImageFilter 128 if (this.cm != null && this.cm != model && raster != null) { 150 BufferedImage bim = new BufferedImage(cm, raster, cm.isAlphaPremultiplied, null); 327 raster = Raster.createPackedRaster(db, width, height, width, masks, null); 345 raster = null; 349 * Creates the raster. 357 raster = cm.createCompatibleWritableRaster(width, height); 358 int rasterType = raster.getDataBuffer().getDataType(); 362 iData = accessor.getDataInt(raster [all...] |
H A D | RenderedImage.java | 50 * @param raster 54 public WritableRaster copyData(WritableRaster raster); argument
|
H A D | ComponentColorModel.java | 596 public WritableRaster getAlphaRaster(WritableRaster raster) { argument 601 int x = raster.getMinX(); 602 int y = raster.getMinY(); 604 bandList[0] = raster.getNumBands() - 1; 606 return raster.createWritableChild(x, y, raster.getWidth(), raster.getHeight(), x, y, 611 public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { argument 616 int minX = raster.getMinX(); 617 int minY = raster 1062 isCompatibleRaster(Raster raster) argument [all...] |
H A D | PackedColorModel.java | 168 public WritableRaster getAlphaRaster(WritableRaster raster) { argument 173 int x = raster.getMinX(); 174 int y = raster.getMinY(); 175 int w = raster.getWidth(); 176 int h = raster.getHeight(); 178 band[0] = raster.getNumBands() - 1; 179 return raster.createWritableChild(x, y, w, h, x, y, band);
|
H A D | IndexColorModel.java | 535 * @param raster 536 * the raster containing the source image. 541 * if the raster is not compatible with this color model. 543 public BufferedImage convertToIntDiscrete(Raster raster, boolean forceARGB) { argument 545 if (!isCompatibleRaster(raster)) { 546 // awt.265=The raster argument is not compatible with this 560 int w = raster.getWidth(); 561 int h = raster.getHeight(); 565 int minX = raster.getMinX(); 566 int minY = raster 710 isCompatibleRaster(Raster raster) argument [all...] |
H A D | DirectColorModel.java | 346 public final ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { argument 352 int minX = raster.getMinX(); 353 int minY = raster.getMinY(); 354 int w = raster.getWidth(); 355 int h = raster.getHeight(); 369 components = raster.getPixel(x, minY, components); 371 raster.setPixel(x, minY, transparentComponents); 377 raster.setPixel(x, minY, components); 396 components = raster.getPixel(x, minY, components); 402 raster 622 isCompatibleRaster(Raster raster) argument [all...] |
H A D | ColorModel.java | 272 * Gets the child raster corresponding to the alpha channel of the specified 273 * writable raster, or null if alpha is not supported. 275 * @param raster 276 * the raster. 277 * @return the alpha raster. 279 public WritableRaster getAlphaRaster(WritableRaster raster) { argument 284 * Creates a new color model by coercing the data in the writable raster in 287 * @param raster 288 * the raster. 293 public ColorModel coerceData(WritableRaster raster, boolea argument 490 isCompatibleRaster(Raster raster) argument [all...] |
H A D | Raster.java | 928 * area in this raster. The parentX, parentY, width and height parameters 1050 WritableRaster raster = createCompatibleWritableRaster(w, h); 1052 return raster.createWritableChild(0, 0, w, h, x, y, null); 1299 * pixels in this raster.
|
/frameworks/base/awt/org/apache/harmony/awt/gl/image/ |
H A D | BufferedImageSource.java | 41 private WritableRaster raster; field in class:BufferedImageSource 57 raster = image.getRaster(); 96 raster.getTransferType() == DataBuffer.TYPE_BYTE || 98 raster.getTransferType() == DataBuffer.TYPE_BYTE && 99 raster.getNumDataElements() == 1){ 100 DataBufferByte dbb = (DataBufferByte) raster.getDataBuffer(); 105 raster.getTransferType() == DataBuffer.TYPE_INT){ 106 DataBufferInt dbi = (DataBufferInt) raster.getDataBuffer(); 111 raster.getTransferType() == DataBuffer.TYPE_BYTE){ 112 DataBufferByte dbb = (DataBufferByte) raster [all...] |
H A D | OffscreenImage.java | 57 WritableRaster raster; field in class:OffscreenImage 140 raster = null; 159 * In case loading GIF image, for raster infill, is used setPixels method with 167 if(raster == null){ 186 raster.getNumDataElements() == 1){ 188 DataBufferInt dbi = (DataBufferInt) raster.getDataBuffer(); 190 int scanline = raster.getWidth(); 200 DataBufferInt dbi = (DataBufferInt) raster.getDataBuffer(); 202 int scanline = raster.getWidth(); 218 raster [all...] |
H A D | PngDecoderJava.java | 79 WritableRaster raster = chunks.getRaster(); 81 BufferedImage image = new BufferedImage(cm, raster, false, null); 203 WritableRaster raster = Raster.createPackedRaster(db, width, 205 return raster;
|
/frameworks/base/awt/org/apache/harmony/awt/gl/ |
H A D | ImageSurface.java | 54 WritableRaster raster; field in class:ImageSurface 63 public ImageSurface(ColorModel cm, WritableRaster raster){ argument 64 this(cm, raster, Surface.getType(cm, raster)); 67 public ImageSurface(ColorModel cm, WritableRaster raster, int type){ argument 68 if (!cm.isCompatibleRaster(raster)) { 69 // awt.4D=The raster is incompatible with this ColorModel 73 this.raster = raster; 77 getData(raster [all...] |
H A D | Surface.java | 181 * @param raster - WritableRaste 184 public static int getType(ColorModel cm, WritableRaster raster){ argument 189 SampleModel sm = raster.getSampleModel();
|
/frameworks/base/awt/org/apache/harmony/awt/gl/render/ |
H A D | JavaTextRenderer.java | 98 * Draws string on specified raster at desired position. 100 * @param raster specified WritableRaster to draw at 105 * @param cMinX minimum x of the raster area to draw 106 * @param cMinY minimum y of the raster area to draw 107 * @param cMaxX maximum x of the raster area to draw 108 * @param cMaxY maximum y of the raster area to draw 110 public void drawClipGlyphVector(WritableRaster raster, Object color, argument 164 raster.setDataElements(xDstSurf+w, yDstSurf+h, color); 176 * Draws string on specified raster at desired position. 178 * @param raster specifie 189 drawClipString(WritableRaster raster, Object color, String str, FontPeerImpl font, int x, int y, int cMinX, int cMinY, int cMaxX, int cMaxY) argument [all...] |
/frameworks/base/awt/com/android/internal/awt/ |
H A D | AndroidJavaBlitter.java | 500 * @param raster Raster (type) where the getDataElements call will be made. 504 private Object getTransferArray(Raster raster, int nbPixels) { argument 505 int transferType = raster.getTransferType(); 506 int nbDataElements = raster.getSampleModel().getNumDataElements();
|
/frameworks/base/libs/rs/ |
H A D | rsContext.cpp | 135 ObjectBaseRef<ProgramRaster> raster(mRaster); 142 mRaster.set(raster);
|