Home
last modified time | relevance | path

Searched refs:sMatrix (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DFastScrollThumbDrawable.java31 private static final Matrix sMatrix = new Matrix(); field in FastScrollThumbDrawable
62 sMatrix.setRotate(-45, bounds.left + r, bounds.top + r); in onBoundsChange()
64 sMatrix.postTranslate(bounds.width(), 0); in onBoundsChange()
65 sMatrix.postScale(-1, 1, bounds.width(), 0); in onBoundsChange()
67 mPath.transform(sMatrix); in onBoundsChange()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DCheckableContactFlipDrawable.java145 private static final Matrix sMatrix = new Matrix(); field in CheckableContactFlipDrawable.CheckmarkDrawable
168 sMatrix.reset(); in draw()
169 sMatrix.setScale(mScaleFraction, mScaleFraction, CHECKMARK.getWidth() / 2, in draw()
171 sMatrix.postTranslate(bounds.centerX() - CHECKMARK.getWidth() / 2, in draw()
178 canvas.drawBitmap(CHECKMARK, sMatrix, mPaint); in draw()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java83 private static final Matrix sMatrix = new Matrix(); field in Utilities
196 sMatrix.reset(); in mapCoordInSelfToDescendant()
199 sMatrix.postTranslate(-v.getScrollX(), -v.getScrollY()); in mapCoordInSelfToDescendant()
200 sMatrix.postConcat(v.getMatrix()); in mapCoordInSelfToDescendant()
201 sMatrix.postTranslate(v.getLeft(), v.getTop()); in mapCoordInSelfToDescendant()
204 sMatrix.postTranslate(-v.getScrollX(), -v.getScrollY()); in mapCoordInSelfToDescendant()
205 sMatrix.invert(sInverseMatrix); in mapCoordInSelfToDescendant()