Home
last modified time | relevance | path

Searched refs:canvasMatrix (Results 1 – 5 of 5) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/
DSweepGradient_Delegate.java112 java.awt.geom.AffineTransform canvasMatrix; in createContext() local
114 canvasMatrix = xform.createInverse(); in createContext()
118 canvasMatrix = new java.awt.geom.AffineTransform(); in createContext()
130 return new SweepGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
140 java.awt.geom.AffineTransform canvasMatrix, in SweepGradientPaintContext() argument
143 mCanvasMatrix = canvasMatrix; in SweepGradientPaintContext()
DBitmapShader_Delegate.java115 AffineTransform canvasMatrix; in createContext() local
117 canvasMatrix = xform.createInverse(); in createContext()
121 canvasMatrix = new AffineTransform(); in createContext()
138 return new BitmapShaderContext(canvasMatrix, localMatrix, colorModel); in createContext()
148 AffineTransform canvasMatrix, in BitmapShaderContext() argument
151 mCanvasMatrix = canvasMatrix; in BitmapShaderContext()
DRadialGradient_Delegate.java119 java.awt.geom.AffineTransform canvasMatrix; in createContext() local
121 canvasMatrix = xform.createInverse(); in createContext()
125 canvasMatrix = new java.awt.geom.AffineTransform(); in createContext()
137 return new RadialGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
147 java.awt.geom.AffineTransform canvasMatrix, in RadialGradientPaintContext() argument
150 mCanvasMatrix = canvasMatrix; in RadialGradientPaintContext()
DLinearGradient_Delegate.java130 java.awt.geom.AffineTransform canvasMatrix; in createContext() local
132 canvasMatrix = xform.createInverse(); in createContext()
136 canvasMatrix = new java.awt.geom.AffineTransform(); in createContext()
148 return new LinearGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
158 java.awt.geom.AffineTransform canvasMatrix, in LinearGradientPaintContext() argument
161 mCanvasMatrix = canvasMatrix; in LinearGradientPaintContext()
/frameworks/base/libs/hwui/
DVectorDrawable.cpp410 SkMatrix canvasMatrix; in draw() local
411 outCanvas->getMatrix(&canvasMatrix); in draw()
414 if (canvasMatrix.getSkewX() == 0 && canvasMatrix.getSkewY() == 0) { in draw()
417 canvasScaleX = fabs(canvasMatrix.getScaleX()); in draw()
418 canvasScaleY = fabs(canvasMatrix.getScaleY()); in draw()