Home
last modified time | relevance | path

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

/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationScreenLayoutTest.java35 private static final int[] ORIENTATIONS = new int[] { field in ConfigurationScreenLayoutTest
65 for (int i = 0; i < ORIENTATIONS.length; i++) { in testScreenLayout()
66 Activity activity = startOrientationActivity(ORIENTATIONS[i]); in testScreenLayout()
77 + " for orientation " + ORIENTATIONS[i], expectedSize, actualSize); in testScreenLayout()
79 + " for orientation " + ORIENTATIONS[i], expectedLong, actualLong); in testScreenLayout()
96 for (int i = 0; i < ORIENTATIONS.length; i++) { in computeScreenLayout()
97 Activity activity = startOrientationActivity(ORIENTATIONS[i]); in computeScreenLayout()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyWideGamutViewProducerActivity.java41 private static final int[] ORIENTATIONS = { field in PixelCopyWideGamutViewProducerActivity
62 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in onCreate()
74 final int requestedOrientation = ORIENTATIONS[mCurrentOrientation]; in onDraw()
113 mCurrentOrientation = (mCurrentOrientation + 1) % ORIENTATIONS.length; in rotate()
114 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in rotate()
DPixelCopyViewProducerActivity.java41 private static final int[] ORIENTATIONS = { field in PixelCopyViewProducerActivity
63 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in onCreate()
76 final int requestedOrientation = ORIENTATIONS[mCurrentOrientation]; in onDraw()
129 mCurrentOrientation = (mCurrentOrientation + 1) % ORIENTATIONS.length; in rotate()
130 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in rotate()