Home | History | Annotate | Download | only in media

Lines Matching refs:Matrix

20 import android.graphics.Matrix;
53 public Matrix getRotateMatrix() {
54 // By default this is an identity matrix.
55 Matrix matrix = new Matrix();
62 matrix.preTranslate(-cx, -cy);
63 matrix.postRotate(mRotation);
64 matrix.postTranslate(getWidth() / 2, getHeight() / 2);
66 return matrix;