Searched refs:ColorModel (Results 1 - 25 of 61) sorted by relevance

123

/frameworks/base/awt/java/awt/
H A DComposite.java24 import java.awt.image.ColorModel;
41 * the source's ColorModel.
43 * the destination's ColorModel.
48 public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel,
H A DPaintContext.java24 import java.awt.image.ColorModel;
31 * associated with the specific ColorModel for Graphics2D rendering operations.
45 * @return the ColorModel object.
47 ColorModel getColorModel();
H A DPaint.java26 import java.awt.image.ColorModel;
41 * the ColorModel object, or null.
55 PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds,
H A DGraphicsConfiguration.java26 import java.awt.image.ColorModel;
114 * Gets the ColorModel of the GraphicsConfiguration.
116 * @return the ColorModel object of the GraphicsConfiguration.
118 public abstract ColorModel getColorModel();
121 * Gets the ColorModel of the GraphicsConfiguration which supports specified
126 * @return the ColorModel of the GraphicsConfiguration which supports
129 public abstract ColorModel getColorModel(int transparency);
H A DGradientPaintContext.java25 import java.awt.image.ColorModel;
48 * The ColorModel user defined for PaintContext
50 ColorModel cm;
97 GradientPaintContext(ColorModel cm, AffineTransform t, Point2D point1, Color color1, Point2D point2, Color color2, boolean cyclic) {
99 this.cm = ColorModel.getRGBdefault();
164 public ColorModel getColorModel() {
H A DAlphaComposite.java27 import java.awt.image.ColorModel;
226 * Creates a CompositeContext object with the specified source ColorModel,
227 * destination ColorModel and RenderingHints parameters for a composing
231 * the source's ColorModel.
233 * the destination's ColorModel.
237 * @see java.awt.Composite#createContext(java.awt.image.ColorModel,
238 * java.awt.image.ColorModel, java.awt.RenderingHints)
240 public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel,
/frameworks/base/awt/java/awt/image/
H A DImageConsumer.java96 * Sets the ColorModel object.
99 * the new ColorModel.
101 public void setColorModel(ColorModel model);
115 * the specified ColorModel to be used for pixels converting.
124 public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off,
139 * the specified ColorModel to be used for pixels converting.
148 public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off,
H A DRGBImageFilter.java26 * image in the default RGB ColorModel.
33 * The original model is the ColorModel to be replaced by the new model when
36 protected ColorModel origmodel;
39 * The new model is the ColorModel with which to replace the original model
42 protected ColorModel newmodel;
95 * the old ColorModel.
97 * the new ColorModel.
99 public void substituteColorModel(ColorModel oldcm, ColorModel newcm) {
105 public void setColorModel(ColorModel mode
[all...]
H A DBufferedImageOp.java40 * ColorModel; this destination image is empty and has the correct size and
46 * the destination ColorModel.
49 public BufferedImage createCompatibleDestImage(BufferedImage src, ColorModel destCM);
55 * ColorModel is created.
H A DBufferedImageFilter.java76 private ColorModel cm;
127 public void setColorModel(ColorModel model) {
136 public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off,
142 public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off,
153 ColorModel dstCm = bim.getColorModel();
167 dstCm = ColorModel.getRGBdefault();
200 private void setPixels(int x, int y, int w, int h, ColorModel model, Object pixels, int off,
251 canArraycopy = !forcedRGB || model.equals(ColorModel.getRGBdefault());
260 } else if (!forcedRGB || model.equals(ColorModel.getRGBdefault())) {
322 cm = ColorModel
[all...]
H A DImageFilter.java108 public void setColorModel(ColorModel model) {
112 public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off,
117 public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off,
H A DRenderedImage.java108 * Gets the ColorModel of this RenderedImage.
110 * @return the ColorModel of this RenderedImage.
112 public ColorModel getColorModel();
H A DMemoryImageSource.java51 ColorModel cm;
116 * the specified ColorModel.
127 public MemoryImageSource(int w, int h, ColorModel cm, int pix[], int off, int scan,
140 * the specified ColorModel.
151 public MemoryImageSource(int w, int h, ColorModel cm, byte pix[], int off, int scan,
158 * default RGB ColorModel.
175 init(w, h, ColorModel.getRGBdefault(), pix, off, scan, props);
186 * the specified ColorModel.
195 public MemoryImageSource(int w, int h, ColorModel cm, int pix[], int off, int scan) {
207 * the specified ColorModel
[all...]
H A DAreaAveragingScaleFilter.java38 private static final ColorModel rgbCM = ColorModel.getRGBdefault();
113 public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off,
123 public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off,
164 private void setFilteredPixels(int x, int y, int w, int h, ColorModel model, Object pixels,
H A DColorModel.java31 * The class ColorModel.
35 public abstract class ColorModel implements Transparency { class in inherits:Transparency
97 private static ColorModel RGBdefault;
118 protected ColorModel(int pixel_bits, int[] bits, ColorSpace cspace, boolean hasAlpha, method in class:ColorModel
191 public ColorModel(int bits) { method in class:ColorModel
229 "supported by this ColorModel"); //$NON-NLS-1$
268 "supported by this ColorModel"); //$NON-NLS-1$
293 public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) {
295 "supported by this ColorModel"); //$NON-NLS-1$
302 // ColorModel c
[all...]
H A DPixelGrabber.java40 ColorModel cm;
88 public void setColorModel(ColorModel model) {
93 ColorModel model, byte[] pixels, int srcOff, int srcScan) {
134 if(model != ColorModel.getRGBdefault()){
167 ColorModel model, int[] pixels, int srcOff, int srcScan) {
214 isRGB = (cm == ColorModel.getRGBdefault());
239 public synchronized ColorModel getColorModel() {
372 cm = ColorModel.getRGBdefault();
404 cm = ColorModel.getRGBdefault();
/frameworks/base/awt/org/apache/harmony/awt/gl/
H A DXORComposite.java29 import java.awt.image.ColorModel;
39 public CompositeContext createContext(ColorModel srcCM, ColorModel dstCM,
H A DICompositeContext.java25 import java.awt.image.ColorModel;
39 ColorModel srcCM, dstCM;
42 public ICompositeContext(Composite comp, ColorModel src, ColorModel dst){
56 // awt.48=The srcIn raster is incompatible with src ColorModel
61 // awt.49=The dstIn raster is incompatible with dst ColorModel
67 // awt.4A=The dstOut raster is incompatible with dst ColorModel
/frameworks/base/awt/com/android/internal/awt/
H A DAndroidGraphicsConfiguration.java26 import java.awt.image.ColorModel;
68 public ColorModel getColorModel() {
74 public ColorModel getColorModel(int transparency) {
H A DAndroidImageDecoder.java24 import java.awt.image.ColorModel;
66 ColorModel model; // The corresponding AWT color model
132 private ColorModel createColorModel() {
133 ColorModel cm = null;
236 cm = ColorModel.getRGBdefault();
/frameworks/base/awt/javax/imageio/
H A DImageTypeSpecifier.java24 import java.awt.image.ColorModel;
32 * SampleModel and the ColorModel of an image.
39 * The ColorModel of this ImageTypeSpecifier.
41 protected ColorModel colorModel;
49 * Instantiates a new ImageTypeSpecifier with the specified ColorModel and
53 * the ColorModel.
57 public ImageTypeSpecifier(ColorModel colorModel, SampleModel sampleModel) {
307 * Gets the ColorModel associated with this ImageTypeSpecifier.
309 * @return the ColorModel associated with this ImageTypeSpecifier.
311 public ColorModel getColorMode
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRadialGradient.java81 java.awt.image.ColorModel colorModel,
92 private final java.awt.image.ColorModel mColorModel;
94 public RadialGradientPaintContext(java.awt.image.ColorModel colorModel) {
101 public java.awt.image.ColorModel getColorModel() {
H A DSweepGradient.java73 java.awt.image.ColorModel colorModel,
84 private final java.awt.image.ColorModel mColorModel;
86 public SweepGradientPaintContext(java.awt.image.ColorModel colorModel) {
93 public java.awt.image.ColorModel getColorModel() {
/frameworks/base/awt/org/apache/harmony/awt/gl/image/
H A DBufferedImageGraphics2D.java27 import java.awt.image.ColorModel;
72 public ColorModel getColorModel() {
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/png/
H A DPNGImageWriterSpi.java23 import java.awt.image.ColorModel;
67 ColorModel colorModel = type.getColorModel();

Completed in 243 milliseconds

123