Searched refs:sMatrix (Results 1 – 2 of 2) 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/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 94 private static final Matrix sMatrix = new Matrix(); field in Utilities 201 sMatrix.setRotate(m.surfaceRotation, v.getPivotX(), v.getPivotY()); in getDescendantCoordRelativeToAncestor() 202 sMatrix.mapPoints(coord); in getDescendantCoordRelativeToAncestor() 224 sMatrix.reset(); in mapCoordInSelfToDescendant() 227 sMatrix.postTranslate(-v.getScrollX(), -v.getScrollY()); in mapCoordInSelfToDescendant() 228 sMatrix.postConcat(v.getMatrix()); in mapCoordInSelfToDescendant() 229 sMatrix.postTranslate(v.getLeft(), v.getTop()); in mapCoordInSelfToDescendant() 232 sMatrix.postTranslate(-v.getScrollX(), -v.getScrollY()); in mapCoordInSelfToDescendant() 233 sMatrix.invert(sInverseMatrix); in mapCoordInSelfToDescendant()
|