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 ImageShow411 mShaderMatrix.reset(); in drawImageAndAnimate()412 mShaderMatrix.setScale(1.0f / maskScale, 1.0f / maskScale); in drawImageAndAnimate()413 mShaderMatrix.preTranslate(-x + mImageBounds.left, -y + mImageBounds.top); in drawImageAndAnimate()416 mShaderMatrix.preScale(scaleImageX, scaleImageY); in drawImageAndAnimate()419 maskShader.setLocalMatrix(mShaderMatrix); in drawImageAndAnimate()