Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/graphics/
DSweepGradient_Delegate.java164 float[] pt2 = new float[2]; in getRaster() local
170 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1); in getRaster()
173 pt1[0] = pt2[0] - mCx; in getRaster()
174 pt1[1] = pt2[1] - mCy; in getRaster()
175 mLocalMatrix.transform(pt1, 0, pt2, 0, 1); in getRaster()
177 float dx = pt2[0]; in getRaster()
178 float dy = pt2[1]; in getRaster()
DRadialGradient_Delegate.java168 float[] pt2 = new float[2]; in getRaster() local
175 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1); in getRaster()
178 pt1[0] = pt2[0]; in getRaster()
179 pt1[1] = pt2[1]; in getRaster()
180 mLocalMatrix.transform(pt1, 0, pt2, 0, 1); in getRaster()
182 float _x = pt2[0] - mX; in getRaster()
183 float _y = pt2[1] - mY; in getRaster()
DLinearGradient_Delegate.java176 float[] pt2 = new float[2]; in getRaster() local
182 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1); in getRaster()
185 pt1[0] = pt2[0]; in getRaster()
186 pt1[1] = pt2[1]; in getRaster()
187 mLocalMatrix.transform(pt1, 0, pt2, 0, 1); in getRaster()
189 data[index++] = getColor(pt2[0], pt2[1]); in getRaster()
DBitmapShader_Delegate.java177 float[] pt2 = new float[2]; in getRaster() local
183 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1); in getRaster()
186 pt1[0] = pt2[0]; in getRaster()
187 pt1[1] = pt2[1]; in getRaster()
188 mLocalMatrix.transform(pt1, 0, pt2, 0, 1); in getRaster()
190 data[index++] = getColor(pt2[0], pt2[1]); in getRaster()