Home
last modified time | relevance | path

Searched refs:targetRotation (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/PathUtilityClasses/
DRotationData.java38 public RotationData(float targetRotation, float currentRotation, in RotationData() argument
40 mTargetRotation = targetRotation; in RotationData()
/cts/tests/tests/media/common/src/android/media/cts/
DCodecUtils.java174 public static boolean VerifyFrameRotationFromBitmap(Bitmap bitmap, int targetRotation) { in VerifyFrameRotationFromBitmap() argument
175 if (targetRotation == 0 || targetRotation == 180) { in VerifyFrameRotationFromBitmap()
183 if (targetRotation == 0) { in VerifyFrameRotationFromBitmap()
194 } else if (targetRotation == 90 || targetRotation == 270) { in VerifyFrameRotationFromBitmap()
202 if (targetRotation == 90) { in VerifyFrameRotationFromBitmap()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaMetadataRetrieverTest.java783 private void testThumbnailWithRotation(final String res, int targetRotation) { in testThumbnailWithRotation() argument
793 assertEquals("Video rotation was other than expected", Integer.toString(targetRotation), in testThumbnailWithRotation()
801 verifyVideoFrameRotation(thumbnail, targetRotation); in testThumbnailWithRotation()
1058 private void verifyVideoFrameRotation(Bitmap bitmap, int targetRotation) { in verifyVideoFrameRotation() argument
1060 assertTrue("Failed to get bitmap for " + targetRotation + " degrees", bitmap != null); in verifyVideoFrameRotation()
1061 assertTrue("Frame incorrect for " + targetRotation + " degrees", in verifyVideoFrameRotation()
1062 CodecUtils.VerifyFrameRotationFromBitmap(bitmap, targetRotation)); in verifyVideoFrameRotation()
1065 CodecUtils.saveBitmapToFile(bitmap, "test_rotation_" + targetRotation + ".jpg"); in verifyVideoFrameRotation()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1840 final int targetRotation = (origRotation + 2) % 4;
1841 session.set(targetRotation);
1842 final boolean result = (getDeviceRotation(displayId) == targetRotation);