Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/graphics/
DSweepGradient_Delegate.java110 java.awt.geom.AffineTransform canvasMatrix; in createContext() local
112 canvasMatrix = xform.createInverse(); in createContext()
116 canvasMatrix = new java.awt.geom.AffineTransform(); in createContext()
128 return new SweepGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
138 java.awt.geom.AffineTransform canvasMatrix, in SweepGradientPaintContext() argument
141 mCanvasMatrix = canvasMatrix; in SweepGradientPaintContext()
DRadialGradient_Delegate.java115 java.awt.geom.AffineTransform canvasMatrix; in createContext() local
117 canvasMatrix = xform.createInverse(); in createContext()
121 canvasMatrix = new java.awt.geom.AffineTransform(); in createContext()
133 return new RadialGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
143 java.awt.geom.AffineTransform canvasMatrix, in RadialGradientPaintContext() argument
146 mCanvasMatrix = canvasMatrix; in RadialGradientPaintContext()
DLinearGradient_Delegate.java125 java.awt.geom.AffineTransform canvasMatrix; in createContext() local
127 canvasMatrix = xform.createInverse(); in createContext()
131 canvasMatrix = new java.awt.geom.AffineTransform(); in createContext()
143 return new LinearGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
153 java.awt.geom.AffineTransform canvasMatrix, in LinearGradientPaintContext() argument
156 mCanvasMatrix = canvasMatrix; in LinearGradientPaintContext()
DBitmapShader_Delegate.java117 AffineTransform canvasMatrix; in createContext() local
119 canvasMatrix = xform.createInverse(); in createContext()
123 canvasMatrix = new AffineTransform(); in createContext()
140 return new BitmapShaderContext(canvasMatrix, localMatrix, colorModel); in createContext()
150 AffineTransform canvasMatrix, in BitmapShaderContext() argument
153 mCanvasMatrix = canvasMatrix; in BitmapShaderContext()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp140 Matrix4 canvasMatrix(vectorDrawablePair.second); in prepareListAndChildren() local
141 totalMatrix.multiply(canvasMatrix); in prepareListAndChildren()
/frameworks/base/libs/hwui/
DVectorDrawable.cpp411 SkMatrix canvasMatrix; in draw() local
412 outCanvas->getMatrix(&canvasMatrix); in draw()
415 if (canvasMatrix.getSkewX() == 0 && canvasMatrix.getSkewY() == 0) { in draw()
418 canvasScaleX = fabs(canvasMatrix.getScaleX()); in draw()
419 canvasScaleY = fabs(canvasMatrix.getScaleY()); in draw()