Home
last modified time | relevance | path

Searched refs:colorModel (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapShader_Delegate.java112 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()
DRadialGradient_Delegate.java111 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()
DLinearGradient_Delegate.java123 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()
DSweepGradient_Delegate.java101 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()