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.java114 private final Matrix mMaskMatrix; field in AdaptiveIconDrawable
165 mMaskMatrix = new Matrix(); in AdaptiveIconDrawable()
338 mMaskMatrix.setScale(b.width() / MASK_SIZE, b.height() / MASK_SIZE); in updateMaskBoundsInternal()
339 sMask.transform(mMaskMatrix, mMaskScaleOnly); in updateMaskBoundsInternal()
341 mMaskMatrix.postTranslate(b.left, b.top); in updateMaskBoundsInternal()
342 sMask.transform(mMaskMatrix, mMask); in updateMaskBoundsInternal()
396 mMaskMatrix.reset(); in getSafeZone()
397mMaskMatrix.setScale(SAFEZONE_SCALE, SAFEZONE_SCALE, getBounds().centerX(), getBounds().centerY()); in getSafeZone()
399 mMask.transform(mMaskMatrix, p); in getSafeZone()
DRippleDrawable.java136 private Matrix mMaskMatrix; field in RippleDrawable
742 mMaskMatrix = null; in updateMaskShaderIfNeeded()
764 if (mMaskMatrix == null) { in updateMaskShaderIfNeeded()
765 mMaskMatrix = new Matrix(); in updateMaskShaderIfNeeded()
767 mMaskMatrix.reset(); in updateMaskShaderIfNeeded()
879 mMaskMatrix.setTranslate(bounds.left - x, bounds.top - y); in getRipplePaint()
880 mMaskShader.setLocalMatrix(mMaskMatrix); in getRipplePaint()