Home
last modified time | relevance | path

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

/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DOrientationTestPlayerListener.java19 import static android.media.cujcommon.cts.CujTestBase.ORIENTATIONS;
76 mPreviousOrientation = ORIENTATIONS[mOrientationIndex]; in changeOrientation()
77 mOrientationIndex = (mOrientationIndex + 1) % ORIENTATIONS.length; in changeOrientation()
78 mActivity.setRequestedOrientation(ORIENTATIONS[mOrientationIndex]); in changeOrientation()
86 int configuredOrientation = ORIENTATIONS[mOrientationIndex]; in verifyOrientationChange()
DPlayerListener.java19 import static android.media.cujcommon.cts.CujTestBase.ORIENTATIONS;
147 ORIENTATIONS[mOrientationIndex] /* SCREEN_ORIENTATION_PORTRAIT */); in setActivity()
DCujTestBase.java42 static final int[] ORIENTATIONS = { field in CujTestBase
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyWideGamutViewProducerActivity.java41 private static final int[] ORIENTATIONS = { field in PixelCopyWideGamutViewProducerActivity
60 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in onCreate()
72 final int requestedOrientation = ORIENTATIONS[mCurrentOrientation]; in onDraw()
110 mCurrentOrientation = (mCurrentOrientation + 1) % ORIENTATIONS.length; in rotate()
111 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in rotate()
DPixelCopyViewProducerActivity.java43 private static final int[] ORIENTATIONS = { field in PixelCopyViewProducerActivity
67 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in onCreate()
90 final int requestedOrientation = ORIENTATIONS[mCurrentOrientation]; in onDraw()
142 mCurrentOrientation = (mCurrentOrientation + 1) % ORIENTATIONS.length; in rotate()
144 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in rotate()
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationScreenLayoutTest.java47 private static final int[] ORIENTATIONS = new int[] { field in ConfigurationScreenLayoutTest
81 for (int orientation : ORIENTATIONS) { in testScreenLayout()