Searched refs:colorModel (Results 1 – 4 of 4) sorted by relevance
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BitmapShader_Delegate.java | 115 public PaintContext createContext(ColorModel colorModel, Rectangle deviceBounds, in createContext() argument 135 if (!colorModel.isCompatibleRaster(mImage.getRaster())) { in createContext() 137 colorModel = ColorModel.getRGBdefault(); in createContext() 140 return new BitmapShaderContext(canvasMatrix, localMatrix, colorModel); in createContext() 152 ColorModel colorModel) { in BitmapShaderContext() argument 155 mColorModel = colorModel; in BitmapShaderContext() 195 SampleModel colorModel = mColorModel.createCompatibleSampleModel(w, h); in getRaster() local 196 return Raster.createWritableRaster(colorModel, dataBuffer, null); in getRaster()
|
D | RadialGradient_Delegate.java | 108 java.awt.image.ColorModel colorModel, in createContext() argument 133 return new RadialGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext() 145 java.awt.image.ColorModel colorModel) { in RadialGradientPaintContext() argument 148 mColorModel = colorModel.hasAlpha() ? colorModel : ColorModel.getRGBdefault(); in RadialGradientPaintContext() 191 SampleModel colorModel = mColorModel.createCompatibleSampleModel(w, h); in getRaster() local 192 return Raster.createWritableRaster(colorModel, dataBuffer, null); in getRaster()
|
D | LinearGradient_Delegate.java | 118 java.awt.image.ColorModel colorModel, in createContext() argument 143 return new LinearGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext() 155 java.awt.image.ColorModel colorModel) { in LinearGradientPaintContext() argument 158 mColorModel = colorModel.hasAlpha() ? colorModel : ColorModel.getRGBdefault(); in LinearGradientPaintContext() 194 SampleModel colorModel = mColorModel.createCompatibleSampleModel(w, h); in getRaster() local 195 return Raster.createWritableRaster(colorModel, dataBuffer, null); in getRaster()
|
D | SweepGradient_Delegate.java | 103 java.awt.image.ColorModel colorModel, in createContext() argument 128 return new SweepGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext() 140 java.awt.image.ColorModel colorModel) { in SweepGradientPaintContext() argument 143 mColorModel = colorModel; in SweepGradientPaintContext() 202 SampleModel colorModel = mColorModel.createCompatibleSampleModel(w, h); in getRaster() local 203 return Raster.createWritableRaster(colorModel, dataBuffer, null); in getRaster()
|