Home
last modified time | relevance | path

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

12

/cts/tests/framework/base/windowmanager/appPropertyIgnoreRequestedOrientaitonOptIn/src/android/server/wm/ignorerequestedorientationoverrideoptin/
DChangeOrientationWhileRelaunchingActivity.java34 setRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE); in onCreate()
41 setRequestedOrientation(SCREEN_ORIENTATION_PORTRAIT); in onResume()
/cts/tests/framework/base/windowmanager/appPropertyIgnoreRequestedOrientaitonOptOut/src/android/server/wm/ignorerequestedorientationoverrideoptout/
DChangeOrientationWhileRelaunchingActivity.java34 setRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE); in onCreate()
41 setRequestedOrientation(SCREEN_ORIENTATION_PORTRAIT); in onResume()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DHelperActivities.java64 setRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE); in onCreate()
71 setRequestedOrientation(SCREEN_ORIENTATION_PORTRAIT); in onResume()
/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/graphics/src/android/graphics/cts/
DVulkanPreTransformCtsActivity.java64 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in setActivityOrientation()
66 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in setActivityOrientation()
/cts/tests/framework/base/windowmanager/appPropertyCompatAllowIgnoringOrientationRequestWhenLoopDetectedUnset/src/android/server/wm/allowignoringorientationrequestwhenloopdetectedunset/
DAllowIgnoringOrientationRequestWhenLoopDetectedUnsetActivity.java33 setRequestedOrientation(SCREEN_ORIENTATION_UNSPECIFIED); in onCreate()
/cts/tests/framework/base/windowmanager/appPropertyCompatAllowIgnoringOrientationRequestWhenLoopDetectedOptIn/src/android/server/wm/allowignoringorientationrequestwhenloopdetectedoptin/
DAllowIgnoringOrientationRequestWhenLoopDetectedOptInActivity.java33 setRequestedOrientation(SCREEN_ORIENTATION_UNSPECIFIED); in onCreate()
/cts/tests/framework/base/windowmanager/appPropertyCompatAllowIgnoringOrientationRequestWhenLoopDetectedOptOut/src/android/server/wm/allowignoringorientationrequestwhenloopdetectedoptout/
DAllowIgnoringOrientationRequestWhenLoopDetectedOptOutActivity.java33 setRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE); in onCreate()
/cts/tests/tests/dpi/src/android/dpi/cts/
DOrientationActivity.java37 setRequestedOrientation(orientation); in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyWideGamutViewProducerActivity.java60 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in onCreate()
111 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in rotate()
DPixelCopyViewProducerActivity.java67 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in onCreate()
144 setRequestedOrientation(ORIENTATIONS[mCurrentOrientation]); in rotate()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DAttachedSurfaceControlTest.java178 setRequestedOrientation(mActivity, requestedOrientation); in testOnBufferTransformHintChangedListener()
189 setRequestedOrientation(mActivity, requestedOrientation); in testOnBufferTransformHintChangedListener()
204 private void setRequestedOrientation(Activity activity, in setRequestedOrientation() method in AttachedSurfaceControlTest
212 activity.setRequestedOrientation(screenOrientation); in setRequestedOrientation()
237 setRequestedOrientation(mActivity, ORIENTATION_LANDSCAPE); in testOnBufferTransformHintChangesFromLandToSea()
254 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE); in testOnBufferTransformHintChangesFromLandToSea()
/cts/tests/input/src/android/input/cts/
DCaptureEventActivity.kt38 setRequestedOrientation(orientation) in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/TestOverlayRequestManageCredentials/src/android/security/cts/overlay/RequestManageCredentials/
DPocActivity.java45 setRequestedOrientation(requestedOrientation); in onCreate()
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DOrientationTestPlayerListener.java78 mActivity.setRequestedOrientation(ORIENTATIONS[mOrientationIndex]); in changeOrientation()
DPlayerListener.java146 mActivity.setRequestedOrientation( in setActivity()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java358 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in testVirtualDisplayRotatesWithContent()
364 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in testVirtualDisplayRotatesWithContent()
391 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in testVirtualDisplayDoesNotRotateWithContent()
397 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in testVirtualDisplayDoesNotRotateWithContent()
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/
DTestActivity.java63 setRequestedOrientation(ori); in onCreate()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DBroadcastReceiverActivity.java152 activity.setRequestedOrientation(extras.getInt(EXTRA_BROADCAST_ORIENTATION)); in onReceive()
DPipActivity.java146 setRequestedOrientation(Integer.parseInt(intent.getStringExtra(
185 setRequestedOrientation(ori); in onCreate()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DWindowManagerJetpackTestBase.java261 activity.setRequestedOrientation(orientation == ORIENTATION_PORTRAIT
300 activity.setRequestedOrientation(orientation == ORIENTATION_PORTRAIT
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/area/
DExtensionRearDisplayTest.java362 mActivity.setRequestedOrientation(newOrientation); in testGetRearDisplayMetrics_afterRotation()
365 mActivity.setRequestedOrientation(newOrientation); in testGetRearDisplayMetrics_afterRotation()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPrivacyIndicatorBoundsTests.java145 setRequestedOrientation(getIntent().getIntExtra( in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DRoundedCornerTests.java225 setRequestedOrientation(getIntent().getIntExtra( in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/
DTestActivity.java172 setRequestedOrientation(orientationMap[(display.getRotation() + indexOffset) % 4]); in lockRotation()

12