Searched refs:sMatrix (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | FastScrollThumbDrawable.java | 31 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/ |
D | CheckableContactFlipDrawable.java | 145 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/ |
D | Utilities.java | 109 private static final Matrix sMatrix = new Matrix(); field in Utilities 237 sMatrix.setRotate(m.surfaceRotation, v.getPivotX(), v.getPivotY()); in getDescendantCoordRelativeToAncestor() 238 sMatrix.mapPoints(coord); in getDescendantCoordRelativeToAncestor() 261 sMatrix.reset(); in mapCoordInSelfToDescendant() 264 sMatrix.postTranslate(-v.getScrollX(), -v.getScrollY()); in mapCoordInSelfToDescendant() 265 sMatrix.postConcat(v.getMatrix()); in mapCoordInSelfToDescendant() 266 sMatrix.postTranslate(v.getLeft(), v.getTop()); in mapCoordInSelfToDescendant() 269 sMatrix.postTranslate(-v.getScrollX(), -v.getScrollY()); in mapCoordInSelfToDescendant() 270 sMatrix.invert(sInverseMatrix); in mapCoordInSelfToDescendant()
|