Lines Matching refs:matrix
92 * transform matrix will be automatically adjusted based on the preview
123 * Transforms the preview with the identity matrix, ensuring there is no
182 * This takes a matrix to apply to the texture view and uses the screen
185 * @param matrix the matrix to apply
188 public void updateTransformFullScreen(Matrix matrix, float aspectRatio) {
194 mPreview.setTransform(matrix);
200 public void updateTransform(Matrix matrix) {
202 matrix.mapRect(previewRect);
220 matrix.postConcat(addtionalTransform);
221 mPreview.setTransform(matrix);
222 updatePreviewArea(matrix);
227 * matrix.
229 private void updatePreviewArea(Matrix matrix) {
231 matrix.mapRect(mPreviewArea);
244 * Returns a transformation matrix that implements rotation that is
263 * @return The transform matrix that should be applied to the
314 * Updates the transform matrix based current width and height of
323 * rotation via matrix transformation implemented in getPreviewRotationalTransform.
337 Matrix matrix = new Matrix();
359 matrix = getPreviewRotationalTransform(mOrientation,
365 matrix = info.getPreviewTransform(mOrientation, new RectF(0, 0, mWidth, mHeight),
371 mPreview.setTransform(matrix);
372 updatePreviewArea(matrix);
410 Matrix matrix = new Matrix();
412 mPreview.getTransform(matrix).mapRect(area);
467 // Re-apply transform matrix for new surface texture