Lines Matching refs:matrix
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) {
245 matrix.getValues(mMatrixValues);
249 // Get the scale factor out of the matrix.
250 protected float getScale(Matrix matrix) {
251 return getValue(matrix, Matrix.MSCALE_X);
258 // Setup the base matrix so that the image is centered and scaled properly.
259 private void getProperBaseMatrix(RotateBitmap bitmap, Matrix matrix) {
265 matrix.reset();
273 matrix.postConcat(bitmap.getRotateMatrix());
274 matrix.postScale(scale, scale);
276 matrix.postTranslate(
281 // Combine the base matrix and the supp matrix to make the final matrix.
283 // The final matrix is computed as the concatentation of the base matrix
284 // and the supplementary matrix.
292 // Sets the maximum zoom, which is a scale relative to the base matrix. It