Home
last modified time | relevance | path

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

/cts/tests/app/app/src/android/app/stubs/
DOrientationTestUtils.java38 final int[] orientations = getOrientations(activity); in toggleOrientation() local
39 activity.setRequestedOrientation(orientations[1]); in toggleOrientation()
40 activity.setRequestedOrientation(orientations[0]); in toggleOrientation()
50 final int[] orientations = getOrientations(activity); in switchOrientation() local
51 activity.setRequestedOrientation(orientations[1]); in switchOrientation()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java1747 final ArrayList<Integer> orientations = new ArrayList(); in testClipToScreenClipsToInsets() local
1751 orientations.add(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in testClipToScreenClipsToInsets()
1755 orientations.add(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in testClipToScreenClipsToInsets()
1759 if (currentOrientation == Configuration.ORIENTATION_LANDSCAPE && orientations.size() > 1) { in testClipToScreenClipsToInsets()
1760 Collections.swap(orientations, 0, 1); in testClipToScreenClipsToInsets()
1763 for (int orientation : orientations) { in testClipToScreenClipsToInsets()