/frameworks/base/core/java/android/transition/ |
D | ChangeTransform.java | 25 import android.graphics.Matrix; 96 private Matrix mTempMatrix = new Matrix(); 192 Matrix matrix = view.getMatrix(); in captureValues() 196 matrix = new Matrix(matrix); in captureValues() 200 Matrix parentMatrix = new Matrix(); in captureValues() 236 Matrix startMatrix = (Matrix) startValues.values.get(PROPNAME_INTERMEDIATE_MATRIX); in createAnimator() 241 Matrix startParentMatrix = (Matrix) in createAnimator() 265 Matrix startMatrix = (Matrix) startValues.values.get(PROPNAME_MATRIX); in createTransformAnimator() 266 Matrix endMatrix = (Matrix) endValues.values.get(PROPNAME_MATRIX); in createTransformAnimator() 269 startMatrix = Matrix.IDENTITY_MATRIX; in createTransformAnimator() [all …]
|
D | ChangeImageTransform.java | 22 import android.graphics.Matrix; 53 private static TypeEvaluator<Matrix> NULL_MATRIX_EVALUATOR = new TypeEvaluator<Matrix>() { 55 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { 60 private static Property<ImageView, Matrix> ANIMATED_TRANSFORM_PROPERTY 61 = new Property<ImageView, Matrix>(Matrix.class, "animatedTransform") { 63 public void set(ImageView object, Matrix value) { 68 public Matrix get(ImageView object) { 98 Matrix matrix; in captureValues() 103 matrix = new Matrix(matrix); in captureValues() 110 matrix = new Matrix(); in captureValues() [all …]
|
D | TransitionUtils.java | 24 import android.graphics.Matrix; 89 Matrix matrix = new Matrix(); in copyViewImage() 155 public static Bitmap createViewBitmap(View view, Matrix matrix, RectF bounds) { in createViewBitmap() 173 public static class MatrixEvaluator implements TypeEvaluator<Matrix> { 179 Matrix mTempMatrix = new Matrix(); 182 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { in evaluate()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | BlackFrame.java | 28 import android.graphics.Matrix; 75 void setMatrix(Matrix matrix) { in setMatrix() 79 surface.setPosition(mTmpFloats[Matrix.MTRANS_X], in setMatrix() 80 mTmpFloats[Matrix.MTRANS_Y]); in setMatrix() 82 mTmpFloats[Matrix.MSCALE_X], mTmpFloats[Matrix.MSKEW_Y], in setMatrix() 83 mTmpFloats[Matrix.MSKEW_X], mTmpFloats[Matrix.MSCALE_Y]); in setMatrix() 86 + mTmpFloats[Matrix.MTRANS_X] + "," in setMatrix() 87 + mTmpFloats[Matrix.MTRANS_Y] + ") matrix=[" in setMatrix() 88 + mTmpFloats[Matrix.MSCALE_X] + "," in setMatrix() 89 + mTmpFloats[Matrix.MSCALE_Y] + "][" in setMatrix() [all …]
|
D | AppWindowAnimator.java | 28 import android.graphics.Matrix; 272 "thumbnail", "POS " + tmpFloats[Matrix.MTRANS_X] in stepThumbnailAnimation() 273 + ", " + tmpFloats[Matrix.MTRANS_Y]); in stepThumbnailAnimation() 274 thumbnail.setPosition(tmpFloats[Matrix.MTRANS_X], tmpFloats[Matrix.MTRANS_Y]); in stepThumbnailAnimation() 278 + " matrix=[" + tmpFloats[Matrix.MSCALE_X] in stepThumbnailAnimation() 279 + "," + tmpFloats[Matrix.MSKEW_Y] in stepThumbnailAnimation() 280 + "][" + tmpFloats[Matrix.MSKEW_X] in stepThumbnailAnimation() 281 + "," + tmpFloats[Matrix.MSCALE_Y] + "]"); in stepThumbnailAnimation() 291 thumbnail.setMatrix(tmpFloats[Matrix.MSCALE_X], tmpFloats[Matrix.MSKEW_Y], in stepThumbnailAnimation() 292 tmpFloats[Matrix.MSKEW_X], tmpFloats[Matrix.MSCALE_Y]); in stepThumbnailAnimation()
|
/frameworks/base/tools/layoutlib/bridge/tests/src/android/graphics/ |
D | Matrix_DelegateTest.java | 27 Matrix m1 = new Matrix(); in testIdentity() 36 Matrix m1 = new Matrix(); in testCopyConstructor() 37 Matrix m2 = new Matrix(m1); in testCopyConstructor()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraDeviceInfo.java | 19 import android.graphics.Matrix; 157 public Matrix getPreviewTransform(int currentDisplayOrientation, RectF surfaceDimensions) { in getPreviewTransform() 181 public Matrix getPreviewTransform(int currentDisplayOrientation, RectF surfaceDimensions, in getPreviewTransform() 185 return new Matrix(); in getPreviewTransform() 188 Matrix transform = new Matrix(); in getPreviewTransform() 189 transform.setRectToRect(surfaceDimensions, desiredBounds, Matrix.ScaleToFit.FILL); in getPreviewTransform()
|
/frameworks/support/design/honeycomb/android/support/design/widget/ |
D | ViewGroupUtilsHoneycomb.java | 19 import android.graphics.Matrix; 27 private static final ThreadLocal<Matrix> sMatrix = new ThreadLocal<>(); 29 private static final Matrix IDENTITY = new Matrix(); 32 Matrix m = sMatrix.get(); in offsetDescendantRect() 34 m = new Matrix(); in offsetDescendantRect() 52 static void offsetDescendantMatrix(ViewParent target, View view, Matrix m) { in offsetDescendantMatrix()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | AdvancedGradientsActivity.java | 22 import android.graphics.Matrix; 43 private final Matrix mMatrix; 44 private final Matrix mMatrix2; 45 private final Matrix mMatrix3; 54 mMatrix = new Matrix(); in GradientsView() 58 mMatrix2 = new Matrix(); in GradientsView() 62 mMatrix3 = new Matrix(); in GradientsView()
|
D | MoreShadersActivity.java | 30 import android.graphics.Matrix; 60 private final Matrix mMtx1; 73 Matrix m2 = new Matrix(); in ShadersView() 79 Matrix m3 = new Matrix(); in ShadersView() 85 Matrix m4 = new Matrix(); in ShadersView() 94 mMtx1 = new Matrix(); in ShadersView()
|
D | Transform3dActivity.java | 25 import android.graphics.Matrix; 41 private Matrix mMatrix; 48 mMatrix = new Matrix(); in Transform3dView() 61 final Matrix matrix = mMatrix; in onDraw() 78 Matrix matrix) { in drawBitmap() 87 Matrix matrix, float angle) { in rotate()
|
D | ShadersActivity.java | 27 import android.graphics.Matrix; 55 private Matrix mMtx1; 56 private Matrix mMtx2; 57 private Matrix mMtx3; 73 mMtx1 = new Matrix(); in ShadersView() 80 mMtx2 = new Matrix(); in ShadersView() 86 mMtx3 = new Matrix(); in ShadersView()
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | CursorAnchorInfoTest.java | 19 import android.graphics.Matrix; 90 Matrix TRANSFORM_MATRIX = new Matrix(Matrix.IDENTITY_MATRIX); in testBuilder() 194 assertEquals(Matrix.IDENTITY_MATRIX, uninitializedInfo.getMatrix()); in testBuilder() 204 final Matrix MATRIX1 = new Matrix(); in testEquality() 206 final Matrix MATRIX2 = new Matrix(); in testEquality() 208 final Matrix NAN_MATRIX = new Matrix(); in testEquality() 362 final Matrix MATRIX1 = new Matrix(); in testMatrixIsCopied() 364 final Matrix MATRIX2 = new Matrix(); in testMatrixIsCopied() 366 final Matrix MATRIX3 = new Matrix(); in testMatrixIsCopied() 368 final Matrix matrix = new Matrix(); in testMatrixIsCopied() [all …]
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | GlifPatternDrawableTest.java | 22 import android.graphics.Matrix; 73 Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasSquare() 87 final Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasTall() 102 final Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasWide()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Matrix.java | 28 public class Matrix { class 73 public Matrix() { in Matrix() method in Matrix 78 public Matrix(Matrix matrix) { in Matrix() method in Matrix 82 protected Matrix(double[] m) { in Matrix() method in Matrix 200 public Matrix invers() { in invers() 331 Matrix ret = new Matrix(out); in invers() 344 Matrix mult(Matrix b) { in mult() 345 return new Matrix(multiply(this.m, b.m)); in mult() 348 Matrix premult(Matrix b) { in premult() 349 return new Matrix(multiply(b.m, this.m)); in premult() [all …]
|
D | Transform.java | 32 Matrix[][] mAllMat = new Matrix[3][3]; 44 Matrix m = new Matrix(); in updateAllMatrix() 49 mAllMat[SCREEN_SPACE][WORLD_SPACE] = new Matrix(mViewMatrix); in updateAllMatrix() 51 m = new Matrix(); in updateAllMatrix() 73 public Matrix getMatrix(char from, char to) { in getMatrix() 172 Matrix m = t.getMatrix(SCREEN_SPACE, VOLUME_SPACE); in main()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Shader.java | 40 private Matrix mLocalMatrix; 69 public boolean getLocalMatrix(Matrix localM) { in getLocalMatrix() 83 public void setLocalMatrix(Matrix localM) { in setLocalMatrix() 112 final Matrix lm = new Matrix(); in copyLocalMatrix()
|
D | Matrix.java | 25 public class Matrix { class 38 public final static Matrix IDENTITY_MATRIX = new Matrix() { 44 public void set(Matrix src) { 99 public boolean setConcat(Matrix a, Matrix b) { 147 public boolean preConcat(Matrix other) { 195 public boolean postConcat(Matrix other) { 227 public Matrix() { in Matrix() method in Matrix 235 public Matrix(Matrix src) { in Matrix() method in Matrix 270 public void set(Matrix src) { in set() 283 if (!(obj instanceof Matrix)) return false; in equals() [all …]
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
D | RectUtils.java | 19 import android.graphics.Matrix; 39 final Matrix matrix = new Matrix(); in rotateRectForOrientation() 61 final Matrix matrix = new Matrix(); in rotateRect()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistVisualizer.java | 23 import android.graphics.Matrix; 38 final Matrix matrix; 47 TextEntry(AssistStructure.ViewNode node, int parentLeft, int parentTop, Matrix matrix) { in TextEntry() 53 this.matrix = new Matrix(matrix); in TextEntry() 68 final ArrayList<Matrix> mMatrixStack = new ArrayList<>(); 97 Matrix matrix = new Matrix(); in setAssistStructure() 145 Matrix parentMatrix = mMatrixStack.get(matrixStackIndex); 147 Matrix matrix; 152 matrix = new Matrix(parentMatrix); 158 Matrix transform = root.getTransformation();
|
/frameworks/base/core/java/android/app/ |
D | SharedElementCallback.java | 21 import android.graphics.Matrix; 45 private Matrix mTempMatrix; 169 public Parcelable onCaptureSharedElementSnapshot(View sharedElement, Matrix viewToGlobalMatrix, in onCaptureSharedElementSnapshot() 183 Matrix matrix = imageView.getImageMatrix(); in onCaptureSharedElementSnapshot() 193 mTempMatrix = new Matrix(viewToGlobalMatrix); in onCaptureSharedElementSnapshot() 232 Matrix matrix = new Matrix(); in onCreateSnapshotView()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ResourceModifiers.java | 31 import android.graphics.Matrix; 51 private final Matrix mMtx1; 52 private final Matrix mMtx2; 53 private final Matrix mMtx3; 77 mMtx1 = new Matrix(); in ResourceModifiers() 84 mMtx2 = new Matrix(); in ResourceModifiers() 90 mMtx3 = new Matrix(); in ResourceModifiers()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLU.java | 77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, in gluLookAt() 155 Matrix.multiplyMM(scratch, M_OFFSET, project, projectOffset, in gluProject() 163 Matrix.multiplyMV(scratch, V2_OFFSET, in gluProject() 221 Matrix.multiplyMM(scratch, PM_OFFSET, project, projectOffset, in gluUnProject() 224 if (!Matrix.invertM(scratch, INVPM_OFFSET, scratch, PM_OFFSET)) { in gluUnProject() 237 Matrix.multiplyMV(obj, objOffset, scratch, INVPM_OFFSET, in gluUnProject()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 31 import android.graphics.Matrix; 378 Matrix rotateMatrix = new Matrix(); in cropImageAndSetWallpaper() 598 Matrix rotateMatrix = new Matrix(); 599 Matrix inverseRotateMatrix = new Matrix(); 737 Matrix m = new Matrix(); 739 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL); 741 Matrix m1 = new Matrix(); 743 Matrix m2 = new Matrix(); 745 Matrix m3 = new Matrix(); 747 Matrix m4 = new Matrix(); [all …]
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | SharedElementCallback.java | 22 import android.graphics.Matrix; 44 private Matrix mTempMatrix; 167 public Parcelable onCaptureSharedElementSnapshot(View sharedElement, Matrix viewToGlobalMatrix, in onCaptureSharedElementSnapshot() 181 Matrix matrix = imageView.getImageMatrix(); in onCaptureSharedElementSnapshot() 198 mTempMatrix = new Matrix(); in onCaptureSharedElementSnapshot() 272 Matrix matrix = new Matrix(); in onCreateSnapshotView()
|