Home
last modified time | relevance | path

Searched refs:setRequestedOrientation (Results 1 – 19 of 19) sorted by relevance

/cts/tests/app/app/src/android/app/stubs/
DOrientationTestUtils.java39 activity.setRequestedOrientation(orientations[1]); in toggleOrientation()
40 activity.setRequestedOrientation(orientations[0]); in toggleOrientation()
51 activity.setRequestedOrientation(orientations[1]); in switchOrientation()
/cts/tests/tests/view/src/android/view/cts/
DAttachedSurfaceControlTest.java105 setRequestedOrientation(activity, requestedOrientation); in testOnBufferTransformHintChangedListener()
122 setRequestedOrientation(activity, requestedOrientation); in testOnBufferTransformHintChangedListener()
143 private void setRequestedOrientation(Activity activity, in setRequestedOrientation() method in AttachedSurfaceControlTest
151 activity.setRequestedOrientation(screenOrientation); in setRequestedOrientation()
172 setRequestedOrientation(activity, ORIENTATION_LANDSCAPE); in testOnBufferTransformHintChangesFromLandToSea()
189 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE); in testOnBufferTransformHintChangesFromLandToSea()
DPixelCopyWideGamutViewProducerActivity.java60 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in onCreate()
111 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in rotate()
DPixelCopyViewProducerActivity.java66 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in onCreate()
133 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in rotate()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformCtsActivity.java64 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in setActivityOrientation()
66 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in setActivityOrientation()
/cts/tests/tests/dpi/src/android/dpi/cts/
DOrientationActivity.java37 setRequestedOrientation(orientation); in onCreate()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DWindowManagerJetpackTestBase.java130 activity.setRequestedOrientation(orientation == ORIENTATION_PORTRAIT
148 activity.setRequestedOrientation(orientation == ORIENTATION_PORTRAIT
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/
DTestActivity.java62 setRequestedOrientation(ori); in onCreate()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DBroadcastReceiverActivity.java151 activity.setRequestedOrientation(extras.getInt(EXTRA_BROADCAST_ORIENTATION)); in onReceive()
DPipActivity.java118 setRequestedOrientation(Integer.parseInt(intent.getStringExtra(
139 setRequestedOrientation(ori); in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DPrivacyIndicatorBoundsTests.java134 setRequestedOrientation(getIntent().getIntExtra( in onCreate()
DRoundedCornerTests.java159 setRequestedOrientation(getIntent().getIntExtra( in onCreate()
DDisplayCutoutTests.java573 setRequestedOrientation(getIntent().getIntExtra(
DWindowTest.java681 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in testSetFitsContentForInsets_displayCutoutInsets_areApplied()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java681 activity.setRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE);
685 activity.setRequestedOrientation(SCREEN_ORIENTATION_PORTRAIT);
690 activity.setRequestedOrientation(initialOrientation);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/
DTestActivity.java172 setRequestedOrientation(orientationMap[(display.getRotation() + indexOffset) % 4]); in lockRotation()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java616 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in rotateOrientation()
618 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in rotateOrientation()
628 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); in unsetOrientation()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java797 setRequestedOrientation(orientation);
812 setRequestedOrientation(data.getInt(KEY_ORIENTATION));
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java1765 mActivity.setRequestedOrientation(orientation)); in testClipToScreenClipsToInsets()
2020 mActivity.setRequestedOrientation(orientation)); in testFocusAfterOrientation()