Home
last modified time | relevance | path

Searched refs:mMatrix2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java53 private final Matrix mMatrix2 = new Matrix(); field in CoordinateTransformsTest
61 mMatrix2.setTranslate(0xbeefdead, 0xbeefdead); in setUp()
127 transformPhysicalToLogicalCoordinates(ROTATION_0, W, H, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot0()
129 assertMatricesAreInverses(mMatrix, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot0()
135 transformPhysicalToLogicalCoordinates(ROTATION_90, W, H, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot90()
137 assertMatricesAreInverses(mMatrix, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot90()
143 transformPhysicalToLogicalCoordinates(ROTATION_180, W, H, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot180()
145 assertMatricesAreInverses(mMatrix, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot180()
151 transformPhysicalToLogicalCoordinates(ROTATION_270, W, H, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot270()
153 assertMatricesAreInverses(mMatrix, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot270()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DAdvancedGradientsActivity.java44 private final Matrix mMatrix2; field in AdvancedGradientsActivity.GradientsView
58 mMatrix2 = new Matrix(); in GradientsView()
59 mMatrix2.setScale(1.0f, 2.0f); in GradientsView()
60 mMatrix2.postRotate(-45, 0.0f, 0.0f); in GradientsView()
88 mSweepGradient.setLocalMatrix(mMatrix2); in onDraw()
106 mRadialGradient.setLocalMatrix(mMatrix2); in onDraw()