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.java63 private final Matrix mShaderMatrix = new Matrix(); field in PreviewBackground
270 mShaderMatrix.setScale(shadowRadius, shadowRadius); in drawShadow()
271 mShaderMatrix.postTranslate(radius + offsetX, shadowRadius + offsetY); in drawShadow()
272 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()