Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewBackground.java59 private final Matrix mShaderMatrix = new Matrix(); field in PreviewBackground
242 mShaderMatrix.setScale(shadowRadius, shadowRadius); in drawShadow()
243 mShaderMatrix.postTranslate(radius + offsetX, shadowRadius + offsetY); in drawShadow()
244 mShadowShader.setLocalMatrix(mShaderMatrix); in drawShadow()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java122 private Matrix mShaderMatrix = new Matrix(); field in ImageShow
412 mShaderMatrix.reset(); in drawImageAndAnimate()
413 mShaderMatrix.setScale(1.0f / maskScale, 1.0f / maskScale); in drawImageAndAnimate()
414 mShaderMatrix.preTranslate(-x + mImageBounds.left, -y + mImageBounds.top); in drawImageAndAnimate()
417 mShaderMatrix.preScale(scaleImageX, scaleImageY); in drawImageAndAnimate()
420 maskShader.setLocalMatrix(mShaderMatrix); in drawImageAndAnimate()