Searched defs:matrix (Results 1 - 6 of 6) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/ |
H A D | Doodle.java | 83 public void getDrawingPath(Matrix matrix, Path path) { argument 85 path.transform(matrix);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ImageViewTouchBase.java | 39 // This matrix is recomputed when we go from the thumbnail image to 46 // This matrix remains the same when we go from the thumbnail image 50 // This is the final matrix which is computed as the concatentation 51 // of the base matrix and the supplementary matrix. 54 // Temporary buffer used for getting the values out of a matrix. 146 // This function changes bitmap, reset base matrix according to the size 147 // of the bitmap, and optionally reset the supplementary matrix. 244 protected float getValue(Matrix matrix, int whichValue) { argument 245 matrix 250 getScale(Matrix matrix) argument 259 getProperBaseMatrix(RotateBitmap bitmap, Matrix matrix) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | GalleryUtils.java | 243 float matrix[], float x, float y, float z) { 244 // The matrix is 249 Arrays.fill(matrix, 0, 16, 0); 250 matrix[0] = matrix[5] = matrix[15] = -z; 251 matrix[8] = x; 252 matrix[9] = y; 253 matrix[10] = matrix[1 242 setViewPointMatrix( float matrix[], float x, float y, float z) argument [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | ImageViewTouchBase.java | 44 // This matrix is recomputed when we go from the thumbnail image to 51 // This matrix remains the same when we go from the thumbnail image 55 // This is the final matrix which is computed as the concatenation 56 // of the base matrix and the supplementary matrix. 59 // Temporary buffer used for getting the values out of a matrix. 179 * @param resetSupp true to reset the transform matrix 258 * Setup the base matrix so that the image is centered and scaled properly. 261 * @param matrix The matrix 263 getProperBaseMatrix(Bitmap bitmap, Matrix matrix) argument 526 getValue(Matrix matrix, int whichValue) argument [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | Util.java | 576 public static void prepareMatrix(Matrix matrix, boolean mirror, int displayOrientation, argument 579 matrix.setScale(mirror ? -1 : 1, 1); 581 matrix.postRotate(displayOrientation); 584 matrix.postScale(viewWidth / 2000f, viewHeight / 2000f); 585 matrix.postTranslate(viewWidth / 2f, viewHeight / 2f);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GLCanvasImpl.java | 104 float matrix[] = mMatrixValues; 106 Matrix.setIdentityM(matrix, 0); 107 Matrix.translateM(matrix, 0, 0, mHeight, 0); 108 Matrix.scaleM(matrix, 0, 1, -1, 1); 232 public void multiplyMatrix(float matrix[], int offset) { argument 234 Matrix.multiplyMM(temp, 0, mMatrixValues, 0, matrix, offset); 261 // Reset the texture matrix. We will set our own texture coordinates 288 private float[] mapPoints(float matrix[], int x1, int y1, int x2, int y2) { argument 297 Matrix.multiplyMV(point, resultOffset, matrix, 0, point, srcOffset); 305 Matrix.multiplyMV(point, resultOffset, matrix, 614 isMatrixRotatedOrFlipped(float matrix[]) argument [all...] |
Completed in 107 milliseconds