Home
last modified time | relevance | path

Searched refs:getMatrix (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DCameraTest.java58 mCamera.getMatrix(m); in testMatrixPreCompare()
72 mCamera.getMatrix(m2); in testTranslate()
88 mCamera.getMatrix(m2); in testRotateX()
104 mCamera.getMatrix(m2); in testRotateY()
120 mCamera.getMatrix(m2); in testRotateZ()
136 mCamera.getMatrix(m2); in testRotate()
162 mCamera.getMatrix(m); in testApplyToCanvas()
165 assertEquals(c1.getMatrix(), c2.getMatrix()); in testApplyToCanvas()
DColorMatrixColorFilterTest.java107 ColorMatrix getMatrix = new ColorMatrix(); in testGetColorMatrix() local
109 filter.getColorMatrix(getMatrix); in testGetColorMatrix()
110 assertEquals(new ColorMatrix(), getMatrix); in testGetColorMatrix()
120 filter.getColorMatrix(getMatrix); in testGetColorMatrix()
121 assertEquals(scaleTranslate, getMatrix); in testGetColorMatrix()
122 assertArrayEquals(scaleTranslate.getArray(), getMatrix.getArray(), 0); in testGetColorMatrix()
DPathMeasureTest.java140 assertFalse(mPathMeasure.getMatrix(1f, matrix, PathMeasure.POSITION_MATRIX_FLAG)); in testGetMatrix()
144 assertTrue(mPathMeasure.getMatrix(0f, matrix, PathMeasure.TANGENT_MATRIX_FLAG)); in testGetMatrix()
DPictureTest.java87 final Matrix beforeMatrix = canvas.getMatrix(); in verifyBalance()
96 assertTrue(beforeMatrix.equals(canvas.getMatrix())); in verifyBalance()
DMatrixTest.java269 camera.getMatrix(mMatrix); in testIsAffine_withCamera()
/cts/tests/tests/view/src/android/view/animation/cts/
DTransformationTest.java51 t1.getMatrix().setScale(3, 1); in testCompose()
52 t2.getMatrix().setScale(3, 1); in testCompose()
59 assertEquals(expectedMatrix, t2.getMatrix()); in testCompose()
67 assertEquals(expectedMatrix, t2.getMatrix()); in testCompose()
81 t2.getMatrix().setScale(2, 3); in testClear()
92 assertFalse(expected.getMatrix().equals(actual.getMatrix())); in assertTransformationNotSame()
98 assertEquals(expected.getMatrix(), actual.getMatrix()); in assertTransformationEquals()
155 assertEquals(expected, transformation.getMatrix()); in testGetMatrix()
DRotateAnimationTest.java129 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstOrigin()
132 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstOrigin()
137 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstOrigin()
140 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstOrigin()
145 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstOrigin()
147 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstOrigin()
187 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstPoint()
190 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstPoint()
195 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstPoint()
198 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstPoint()
[all …]
DTranslateAnimationTest.java133 transformation.getMatrix().getValues(values); in testApplyTransformation()
139 transformation.getMatrix().getValues(values); in testApplyTransformation()
145 transformation.getMatrix().getValues(values); in testApplyTransformation()
153 transformation.getMatrix().getValues(values); in testApplyTransformation()
160 transformation.getMatrix().getValues(values); in testApplyTransformation()
169 transformation.getMatrix().getValues(values); in testApplyTransformation()
202 transformation.getMatrix().getValues(values); in testInitialize()
208 transformation.getMatrix().getValues(values); in testInitialize()
216 transformation.getMatrix().getValues(values); in testInitialize()
230 transformation.getMatrix().getValues(values); in testComplexNumbers()
DScaleAnimationTest.java111 transformation.getMatrix().getValues(values); in testApplyTransformation()
117 transformation.getMatrix().getValues(values); in testApplyTransformation()
123 transformation.getMatrix().getValues(values); in testApplyTransformation()
152 transformation.getMatrix().getValues(values);
159 transformation.getMatrix().getValues(values);
165 transformation.getMatrix().getValues(values);
DAnimationSetTest.java360 expected.getMatrix().getValues(expectedValues); in assertTransformationEquals()
361 actual.getMatrix().getValues(actualValues); in assertTransformationEquals()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DCursorAnchorInfoTest.java182 assertEquals(transformMatrix, info.getMatrix()); in testBuilder()
217 assertEquals(transformMatrix, info2.getMatrix()); in testBuilder()
248 assertEquals(transformMatrix, info3.getMatrix()); in testBuilder()
278 assertEquals(new Matrix(), uninitializedInfo.getMatrix()); in testBuilder()
512 assertEquals(matrix1, firstInstance.getMatrix()); in testMatrixIsCopied()
516 assertEquals(matrix1, firstInstance.getMatrix()); in testMatrixIsCopied()
517 assertEquals(matrix2, secondInstance.getMatrix()); in testMatrixIsCopied()
520 assertEquals(matrix1, firstInstance.getMatrix()); in testMatrixIsCopied()
521 assertEquals(matrix2, secondInstance.getMatrix()); in testMatrixIsCopied()
DTextBoundsInfoTest.java138 textBoundsInfo1.getMatrix(actualMatrix); in testBuilder()
151 textBoundsInfo2.getMatrix(actualMatrix); in testBuilder()
179 textBoundsInfo3.getMatrix(actualMatrix); in testBuilder()
209 textBoundsInfo1.getMatrix(actualMatrix); in testTextBoundsInfo_writeToParcel()
228 textBoundsInfo2.getMatrix(actualMatrix); in testTextBoundsInfo_writeToParcel()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTextBoundsInfoTest.java321 textBoundsInfo.getMatrix(actualMatrix); in testRequestTextBoundsInfo_withTranslation()
407 textBoundsInfo.getMatrix(actualMatrix); in assertEmptyTextBoundsInfo()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DLocationInWindowTests.java128 v.getMatrix().mapPoints(expected); in assertThatViewGetLocationInWindowIsCorrect()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DLayerTests.java381 assertEquals(scaledMatrix, canvas.getMatrix()); in testSaveLayerRestoreBehavior()
387 assertEquals(identity, canvas.getMatrix()); in testSaveLayerRestoreBehavior()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java5207 final Matrix initialMatrix = view.getMatrix(); in testTransformMatrixToGlobal()
5234 final Matrix initialMatrix = view1.getMatrix(); in testTransformMatrixToLocal()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt2496 name: "getMatrix"
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt15676 method public void getMatrix(android.graphics.Matrix);
15770 method @Deprecated public void getMatrix(@NonNull android.graphics.Matrix);
15771 method @Deprecated @NonNull public final android.graphics.Matrix getMatrix();
16814 method public boolean getMatrix(float, android.graphics.Matrix, int);
17115 method public void getMatrix(@NonNull android.graphics.Matrix);
52688 method public android.graphics.Matrix getMatrix();
55618 method public android.graphics.Matrix getMatrix();
55953 method public android.graphics.Matrix getMatrix();
56663 method @NonNull public void getMatrix(@NonNull android.graphics.Matrix);