Lines Matching defs:matrix
28 import android.graphics.Matrix;
589 * Configures the necessary {@link android.graphics.Matrix} transformation to `mTextureView`.
602 Matrix matrix = new Matrix();
609 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL);
613 matrix.postScale(scale, scale, centerX, centerY);
614 matrix.postRotate(90 * (rotation - 2), centerX, centerY);
616 mTextureView.setTransform(matrix);