/frameworks/base/core/java/android/transition/ |
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() 105 matrix = new Matrix(); in captureValues() 108 matrix = new Matrix(imageView.getImageMatrix()); in captureValues() [all …]
|
D | ChangeTransform.java | 26 import android.graphics.Matrix; 98 private Matrix mTempMatrix = new Matrix(); 195 Matrix matrix = view.getMatrix(); in captureValues() 199 matrix = new Matrix(matrix); in captureValues() 203 Matrix parentMatrix = new Matrix(); in captureValues() 239 Matrix startMatrix = (Matrix) startValues.values.get(PROPNAME_INTERMEDIATE_MATRIX); in createAnimator() 244 Matrix startParentMatrix = (Matrix) in createAnimator() 268 Matrix startMatrix = (Matrix) startValues.values.get(PROPNAME_MATRIX); in createTransformAnimator() 269 Matrix endMatrix = (Matrix) endValues.values.get(PROPNAME_MATRIX); in createTransformAnimator() 272 startMatrix = Matrix.IDENTITY_MATRIX; in createTransformAnimator() [all …]
|
D | TransitionUtils.java | 24 import android.graphics.Matrix; 90 Matrix matrix = new Matrix(); in copyViewImage() 160 public static Bitmap createViewBitmap(View view, Matrix matrix, RectF bounds, in createViewBitmap() 197 public static class MatrixEvaluator implements TypeEvaluator<Matrix> { 203 Matrix mTempMatrix = new Matrix(); 206 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { in evaluate()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityWindowsPopulator.java | 24 import android.graphics.Matrix; 72 private final SparseArray<Matrix> mMagnificationSpecInverseMatrix = new SparseArray<>(); 83 private final Map<IBinder, Matrix> mWindowsTransformMatrixMap = new HashMap<>(); 87 private final Matrix mTempMatrix1 = new Matrix(); 88 private final Matrix mTempMatrix2 = new Matrix(); 110 final Matrix inverseMatrix = new Matrix(); in populateVisibleWindowsOnScreenLocked() 111 final Matrix displayMatrix = new Matrix(); in populateVisibleWindowsOnScreenLocked() 161 final HashMap<IBinder, Matrix> windowsTransformMatrixMap = in onWindowInfosChangedInternal() 187 private HashMap<IBinder, Matrix> getWindowsTransformMatrix(List<InputWindowHandle> windows) { in getWindowsTransformMatrix() 189 final HashMap<IBinder, Matrix> windowsTransformMatrixMap = new HashMap<>(); in getWindowsTransformMatrix() [all …]
|
D | SeamlessRotator.java | 22 import android.graphics.Matrix; 40 private final Matrix mTransform = new Matrix(); 64 final Matrix tmp = new Matrix(); in SeamlessRotator() 120 t.setMatrix(sc, Matrix.IDENTITY_MATRIX, mFloat9); in setIdentityMatrix()
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | CursorAnchorInfoTest.java | 21 import android.graphics.Matrix; 34 final Matrix originalMatrix = new Matrix(); in testCreateForAdditionalParentMatrix() 43 final Matrix additionalParentMatrix = new Matrix(); in testCreateForAdditionalParentMatrix() 46 final Matrix newMatrix = new Matrix(originalMatrix); in testCreateForAdditionalParentMatrix()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | CoordinateTransforms.java | 26 import android.graphics.Matrix; 45 @Dimension int physicalWidth, @Dimension int physicalHeight, Matrix out) { in transformPhysicalToLogicalCoordinates() 75 @Dimension int physicalWidth, @Dimension int physicalHeight, Matrix out) { in transformLogicalToPhysicalCoordinates() 107 @Rotation int newRotation, DisplayInfo info, Matrix out) { in transformToRotation() 112 final Matrix tmp = new Matrix(); in transformToRotation() 129 @Rotation int newRotation, int newWidth, int newHeight, Matrix out) { in transformToRotation() 134 final Matrix tmp = new Matrix(); in transformToRotation() 147 public static void transformRect(Matrix transform, Rect inOutRect, @Nullable RectF tmp) { in transformRect()
|
/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/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/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | CoordinateTransformsTest.java | 31 import android.graphics.Matrix; 52 private final Matrix mMatrix = new Matrix(); 53 private final Matrix mMatrix2 = new Matrix(); 67 assertThat(mMatrix, is(Matrix.IDENTITY_MATRIX)); in transformPhysicalToLogicalCoordinates_rot0() 97 assertThat(mMatrix, is(Matrix.IDENTITY_MATRIX)); in transformLogicalToPhysicalCoordinates_rot0() 188 private void assertMatricesAreInverses(Matrix matrix, Matrix matrix2) { in assertMatricesAreInverses() 189 final Matrix concat = new Matrix(); in assertMatricesAreInverses()
|
/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/rs/tests/java_api/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/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | GlifPatternDrawableTest.java | 25 import android.graphics.Matrix; 88 Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasSquare() 104 final Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasTall() 121 final Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasWide() 138 final Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasMaxSize()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Matrix.java | 31 public class Matrix { class 48 public final static Matrix IDENTITY_MATRIX = new Matrix() { 54 public void set(Matrix src) { 109 public boolean setConcat(Matrix a, Matrix b) { 157 public boolean preConcat(Matrix other) { 205 public boolean postConcat(Matrix other) { 232 Matrix.class.getClassLoader(), nGetNativeFinalizer()); 240 public Matrix() { in Matrix() method in Matrix 250 public Matrix(Matrix src) { in Matrix() method in Matrix 284 public void set(Matrix src) { in set() [all …]
|
/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/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | BasicGLRenderer.java | 9 import android.opengl.Matrix; 50 Matrix.setLookAtM(mViewMatrix, 0, in onDrawFrame() 54 Matrix.multiplyMM(mMVPMatrix, 0, mProjectionMatrix, 0, mViewMatrix, 0); in onDrawFrame() 58 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f); in onDrawFrame() 59 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0); in onDrawFrame() 67 Matrix.frustumM(mProjectionMatrix, 0, -ratio / 10, ratio / 10, -.1f, .1f, .1f, 200); in onSurfaceChanged()
|
/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/core/java/android/app/ |
D | SharedElementCallback.java | 22 import android.graphics.Matrix; 48 private Matrix mTempMatrix; 175 public Parcelable onCaptureSharedElementSnapshot(View sharedElement, Matrix viewToGlobalMatrix, in onCaptureSharedElementSnapshot() 198 Matrix matrix = imageView.getImageMatrix(); in onCaptureSharedElementSnapshot() 208 mTempMatrix = new Matrix(viewToGlobalMatrix); in onCaptureSharedElementSnapshot() 257 Matrix matrix = new Matrix(); in onCreateSnapshotView()
|
/frameworks/base/core/java/android/view/animation/ |
D | TranslateXAnimation.java | 19 import android.graphics.Matrix; 50 Matrix m = t.getMatrix(); in applyTransformation() 53 t.getMatrix().setTranslate(dx, mTmpValues[Matrix.MTRANS_Y]); in applyTransformation()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityEmbeddedConnection.java | 21 import android.graphics.Matrix; 36 private final Matrix mTmpWindowMatrix = new Matrix(); 78 viewRootImpl.mAttachInfo.mWindowMatrixInEmbeddedHierarchy = new Matrix(); in setWindowMatrix()
|