/frameworks/base/awt/java/awt/image/ |
H A D | ImageConsumer.java | 98 * @param model 101 public void setColorModel(ColorModel model); argument 114 * @param model 124 public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, argument 138 * @param model 148 public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, argument
|
H A D | RGBImageFilter.java | 33 * The original model is the ColorModel to be replaced by the new model when 39 * The new model is the ColorModel with which to replace the original model 92 * Replaces the original color model and the new one. 105 public void setColorModel(ColorModel model) { argument 106 if (model instanceof IndexColorModel && canFilterIndexColorModel) { 107 IndexColorModel icm = (IndexColorModel)model; 109 substituteColorModel(model, filteredModel); 117 public void setPixels(int x, int y, int w, int h, ColorModel model, in argument 135 setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize) argument [all...] |
H A D | ImageFilter.java | 108 public void setColorModel(ColorModel model) { argument 109 consumer.setColorModel(model); 112 public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, argument 114 consumer.setPixels(x, y, w, h, model, pixels, off, scansize); 117 public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, argument 119 consumer.setPixels(x, y, w, h, model, pixels, off, scansize);
|
H A D | BufferedImageFilter.java | 127 public void setColorModel(ColorModel model) { argument 128 if (this.cm != null && this.cm != model && raster != null) { 131 this.cm = model; 136 public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, argument 138 setPixels(x, y, w, h, model, pixels, off, scansize, true); 142 public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, argument 144 setPixels(x, y, w, h, model, pixels, off, scansize, false); 189 * @param model 190 * the model. 200 private void setPixels(int x, int y, int w, int h, ColorModel model, Objec argument [all...] |
H A D | AreaAveragingScaleFilter.java | 113 public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, argument 116 super.setPixels(x, y, w, h, model, pixels, off, scansize); 118 setFilteredPixels(x, y, w, h, model, pixels, off, scansize); 123 public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, argument 126 super.setPixels(x, y, w, h, model, pixels, off, scansize); 128 setFilteredPixels(x, y, w, h, model, pixels, off, scansize); 155 * @param model 156 * the color model of the source pixels. 164 private void setFilteredPixels(int x, int y, int w, int h, ColorModel model, Object pixels, argument 211 rgb = model [all...] |
H A D | MultiPixelPackedSampleModel.java | 200 MultiPixelPackedSampleModel model = (MultiPixelPackedSampleModel)o; 201 return this.width == model.width && this.height == model.height 202 && this.numBands == model.numBands && this.dataType == model.dataType 203 && this.pixelBitStride == model.pixelBitStride && this.bitMask == model.bitMask 204 && this.pixelsPerDataElement == model.pixelsPerDataElement 205 && this.dataElementSize == model.dataElementSize 206 && this.dataBitOffset == model [all...] |
H A D | CropImageFilter.java | 84 public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, argument 134 consumer.setPixels(destX, destY, destWidth, destHeight, model, pixels, newOffset, scansize); 138 public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, argument 188 consumer.setPixels(destX, destY, destWidth, destHeight, model, pixels, newOffset, scansize);
|
H A D | ReplicateScaleFilter.java | 119 public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, argument 148 consumer.setPixels(dstX, dy, dx - dstX, 1, model, buff, dstX, destWidth); 154 public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, argument 183 consumer.setPixels(dstX, dy, dx - dstX, 1, model, buff, dstX, destWidth);
|
H A D | PixelGrabber.java | 88 public void setColorModel(ColorModel model) { argument 93 ColorModel model, byte[] pixels, int srcOff, int srcScan) { 133 cm = model; 134 if(model != ColorModel.getRGBdefault()){ 144 if(!isRGB && cm == model){ 167 ColorModel model, int[] pixels, int srcOff, int srcScan) { 211 cm = model; 217 if(cm == model){ 92 setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, byte[] pixels, int srcOff, int srcScan) argument 166 setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, int[] pixels, int srcOff, int srcScan) argument
|
H A D | SinglePixelPackedSampleModel.java | 225 SinglePixelPackedSampleModel model = (SinglePixelPackedSampleModel)o; 226 return this.width == model.width && this.height == model.height 227 && this.numBands == model.numBands && this.dataType == model.dataType 228 && Arrays.equals(this.bitMasks, model.bitMasks) 229 && Arrays.equals(this.bitOffsets, model.bitOffsets) 230 && Arrays.equals(this.bitSizes, model.bitSizes) 231 && this.scanlineStride == model.scanlineStride; 238 // number of bands in the sample model [all...] |
H A D | ComponentSampleModel.java | 321 ComponentSampleModel model = (ComponentSampleModel)o; 322 return this.width == model.width && this.height == model.height 323 && this.numBands == model.numBands && this.dataType == model.dataType 324 && Arrays.equals(this.bandOffsets, model.bandOffsets) 325 && Arrays.equals(this.bankIndices, model.bankIndices) 326 && this.numBands == model.numBands && this.numBanks == model.numBanks 327 && this.scanlineStride == model [all...] |
H A D | MemoryImageSource.java | 498 * @param model 499 * the model. 509 private void init(int width, int height, ColorModel model, byte pixels[], int off, int scan, argument 514 this.cm = model; 531 * @param model 532 * the model. 542 private void init(int width, int height, ColorModel model, int pixels[], int off, int scan, argument 547 this.cm = model;
|
H A D | IndexColorModel.java | 31 * The Class IndexColorModel represents a color model in which the color values 92 * Instantiates a new index color model. 164 * Instantiates a new index color model. 176 * whether this color model uses alpha. 241 * Instantiates a new index color model by building the color map from 277 * Instantiates a new index color model by building the color map from 312 * Instantiates a new index color model by building the color map from 344 * Instantiates a new index color model. 356 * whether this color model uses alpha. 419 * Instantiates a new index color model [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/image/ |
H A D | OffscreenImage.java | 162 * int array and image force to default color model - int ARGB. The rest 165 public void setPixels(int x, int y, int w, int h, ColorModel model, argument 169 if(model == null) { 173 cm = model; 178 if(model == null) { 179 model = cm; 181 if(cm != model){ 185 if(cm == model && model.getTransferType() == DataBuffer.TYPE_INT && 208 buff[idx] = model 230 setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize) argument [all...] |
H A D | ImageDecoder.java | 205 ColorModel model, 216 ic.setPixels(x, y, w, h, model, pix, off, scansize); 223 ColorModel model, 234 ic.setPixels(x, y, w, h, model, pix, off, scansize); 202 setPixels( int x, int y, int w, int h, ColorModel model, byte pix[], int off, int scansize ) argument 220 setPixels( int x, int y, int w, int h, ColorModel model, int pix[], int off, int scansize ) argument
|
/frameworks/base/awt/com/android/internal/awt/ |
H A D | AndroidImageDecoder.java | 66 ColorModel model; // The corresponding AWT color model field in class:AndroidImageDecoder 105 model = createColorModel(); 106 setColorModel(model); 122 * Create the AWT color model 124 * ???AWT: Android Bitmaps are always of type: ARGB-8888-Direct color model 127 * that returns a native model, and the conversion is then handled 129 * the bitDepth, (and the color palette for an index color model) 130 * from the image and construct the correct color model here. 173 // Create gray color model [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLU.java | 122 * specified object coordinates into window coordinates using model, proj, 131 * @param model the current modelview matrix 132 * @param modelOffset the offset into the model array where the modelview 148 float[] model, int modelOffset, float[] project, int projectOffset, 156 model, modelOffset); 188 * specified window coordinates into object coordinates using model, proj, 197 * @param model the current modelview matrix 198 * @param modelOffset the offset into the model array where the modelview 214 float[] model, int modelOffset, float[] project, int projectOffset, 222 model, modelOffse 147 gluProject(float objX, float objY, float objZ, float[] model, int modelOffset, float[] project, int projectOffset, int[] view, int viewOffset, float[] win, int winOffset) argument 213 gluUnProject(float winX, float winY, float winZ, float[] model, int modelOffset, float[] project, int projectOffset, int[] view, int viewOffset, float[] obj, int objOffset) argument [all...] |
H A D | GLLogWrapper.java | 333 private String getShadeModel(int model) { argument 334 switch(model) { 340 return getHex(model);
|
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/png/ |
H A D | PNGImageWriter.java | 145 SampleModel model = sourceRaster.getSampleModel(); 148 int numBands = model.getNumBands(); 223 System.out.println("**** model:" + model); 227 if (model instanceof SinglePixelPackedSampleModel) { 240 throw new RuntimeException("Color model not supported yet");
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | RuntimeInit.java | 160 // add the model for the release build 162 String model = Build.MODEL; 163 if (model.length() > 0) { 165 result.append(model);
|
/frameworks/base/tests/BrowserTestPlugin/jni/ |
H A D | main.cpp | 150 // select the drawing model 151 ANPDrawingModel model = kBitmap_ANPDrawingModel; local 153 // notify the plugin API of the drawing model we wish to use. This must be 156 reinterpret_cast<void*>(model)); 158 gLogI.log(kError_ANPLogType, "request model %d err %d", model, err);
|
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/jpeg/ |
H A D | JPEGImageWriter.java | 202 SampleModel model = sourceRaster.getSampleModel(); 204 if (model instanceof SinglePixelPackedSampleModel) { 216 throw new RuntimeException("Color model not supported yet");
|
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
H A D | EventPlugin.cpp | 145 switch (evt->data.draw.model) { 150 break; // unknown drawing model
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 396 // add the model for the release build 398 final String model = Build.MODEL; 399 if (model.length() > 0) { 401 buffer.append(model);
|