Home
last modified time | relevance | path

Searched refs:mMaskMatrix (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DAdaptiveIconDrawable.java111 private final Matrix mMaskMatrix; field in AdaptiveIconDrawable
161 mMaskMatrix = new Matrix(); in AdaptiveIconDrawable()
332 mMaskMatrix.setScale(b.width() / MASK_SIZE, b.height() / MASK_SIZE); in updateMaskBoundsInternal()
333 sMask.transform(mMaskMatrix, mMask); in updateMaskBoundsInternal()
346 mMaskMatrix.postTranslate(b.left, b.top); in updateMaskBoundsInternal()
348 sMask.transform(mMaskMatrix, mMask); in updateMaskBoundsInternal()
394 mMaskMatrix.reset(); in getSafeZone()
395mMaskMatrix.setScale(SAFEZONE_SCALE, SAFEZONE_SCALE, getBounds().centerX(), getBounds().centerY()); in getSafeZone()
397 mMask.transform(mMaskMatrix, p); in getSafeZone()
DRippleDrawable.java134 private Matrix mMaskMatrix; field in RippleDrawable
739 mMaskMatrix = null; in updateMaskShaderIfNeeded()
761 if (mMaskMatrix == null) { in updateMaskShaderIfNeeded()
762 mMaskMatrix = new Matrix(); in updateMaskShaderIfNeeded()
764 mMaskMatrix.reset(); in updateMaskShaderIfNeeded()
875 mMaskMatrix.setTranslate(bounds.left - x, bounds.top - y); in getRipplePaint()
876 mMaskShader.setLocalMatrix(mMaskMatrix); in getRipplePaint()