Home
last modified time | relevance | path

Searched refs:expectedMatrix (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/view/src/android/view/animation/cts/
DRotateAnimationTest.java115 Matrix expectedMatrix = new Matrix(); in testRotateAgainstOrigin() local
116 expectedMatrix.setRotate(FROM_DEGREE); in testRotateAgainstOrigin()
118 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstOrigin()
121 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstOrigin()
123 expectedMatrix.reset(); in testRotateAgainstOrigin()
124 expectedMatrix.setRotate((FROM_DEGREE + TO_DEGREE) / 2); in testRotateAgainstOrigin()
126 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstOrigin()
129 assertMatrixEquals(expectedMatrix, transformation.getMatrix()); in testRotateAgainstOrigin()
131 expectedMatrix.reset(); in testRotateAgainstOrigin()
132 expectedMatrix.setRotate(TO_DEGREE); in testRotateAgainstOrigin()
[all …]
DTransformationTest.java55 Matrix expectedMatrix = new Matrix(); in testCompose() local
56 expectedMatrix.setScale(9, 1); in testCompose()
57 assertEquals(expectedMatrix, t2.getMatrix()); in testCompose()
63 expectedMatrix = new Matrix(); in testCompose()
64 expectedMatrix.setScale(27, 1); in testCompose()
65 assertEquals(expectedMatrix, t2.getMatrix()); in testCompose()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityViewTest.java264 final Matrix expectedMatrix = mockResult.getMatrix(); in testInputMethod() local
265 expectedMatrix.postTranslate(offset.x, offset.y); in testInputMethod()
266 assertEquals(expectedMatrix, receivedInfo.getMatrix()); in testInputMethod()