Lines Matching defs:matrix
38 import android.graphics.Matrix;
1298 Matrix matrix = new Matrix();
1299 matrix.setTranslate(-bwidth/2, -bheight/2); // move bitmap center to origin
1300 matrix.postRotate(10);
1301 matrix.postScale(scale, scale);
1302 matrix.postTranslate(vwidth/2, vheight/2); // Move bitmap center to view center
1303 c.drawBitmap(bm, matrix, paint);