Searched refs:colorModel (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BitmapShader_Delegate.java | 112 public PaintContext createContext(ColorModel colorModel, Rectangle deviceBounds, in createContext() argument 132 if (!colorModel.isCompatibleRaster(mImage.getRaster())) { in createContext() 134 colorModel = ColorModel.getRGBdefault(); in createContext() 137 return new BitmapShaderContext(canvasMatrix, localMatrix, colorModel); in createContext() 149 ColorModel colorModel) { in BitmapShaderContext() argument 152 mColorModel = colorModel; in BitmapShaderContext()
|
D | RadialGradient_Delegate.java | 111 java.awt.image.ColorModel colorModel, in createContext() argument 136 return new RadialGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext() 148 java.awt.image.ColorModel colorModel) { in RadialGradientPaintContext() argument 151 mColorModel = colorModel.hasAlpha() ? colorModel : ColorModel.getRGBdefault(); in RadialGradientPaintContext()
|
D | LinearGradient_Delegate.java | 123 java.awt.image.ColorModel colorModel, in createContext() argument 148 return new LinearGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext() 160 java.awt.image.ColorModel colorModel) { in LinearGradientPaintContext() argument 163 mColorModel = colorModel.hasAlpha() ? colorModel : ColorModel.getRGBdefault(); in LinearGradientPaintContext()
|
D | SweepGradient_Delegate.java | 101 java.awt.image.ColorModel colorModel, in createContext() argument 126 return new SweepGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext() 138 java.awt.image.ColorModel colorModel) { in SweepGradientPaintContext() argument 141 mColorModel = colorModel; in SweepGradientPaintContext()
|