Searched refs:mShaderMatrix (Results 1 – 2 of 2) sorted by relevance
59 private final Matrix mShaderMatrix = new Matrix(); field in PreviewBackground242 mShaderMatrix.setScale(shadowRadius, shadowRadius); in drawShadow()243 mShaderMatrix.postTranslate(radius + offsetX, shadowRadius + offsetY); in drawShadow()244 mShadowShader.setLocalMatrix(mShaderMatrix); in drawShadow()
122 private Matrix mShaderMatrix = new Matrix(); field in ImageShow412 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()