Home | History | Annotate | Download | only in com.example.android.camera2video

Lines Matching defs:matrix

27 import android.graphics.Matrix;
464 * Configures the necessary {@link android.graphics.Matrix} transformation to `mTextureView`.
477 Matrix matrix = new Matrix();
484 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL);
488 matrix.postScale(scale, scale, centerX, centerY);
489 matrix.postRotate(90 * (rotation - 2), centerX, centerY);
491 mTextureView.setTransform(matrix);