Searched refs:mShaderMatrix (Results 1 – 2 of 2) sorted by relevance
63 private final Matrix mShaderMatrix = new Matrix(); field in PreviewBackground270 mShaderMatrix.setScale(shadowRadius, shadowRadius); in drawShadow()271 mShaderMatrix.postTranslate(radius + offsetX, shadowRadius + offsetY); in drawShadow()272 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()