/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | OrientationManager.java | 76 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LOCKED); in lockOrientation() 78 mActivity.setRequestedOrientation(calculateCurrentScreenOrientation()); in lockOrientation() 88 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR); in unlockOrientation()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | OrientationUtil.java | 37 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); 44 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ViewAttachTest.java | 55 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in testAttached() 57 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in testAttached()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | OrientationManagerImpl.java | 156 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LOCKED); in lockOrientation() 158 mActivity.setRequestedOrientation(calculateCurrentScreenOrientation()); in lockOrientation() 169 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR); in unlockOrientation()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | UiUtils.java | 277 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in lockOrientation() 279 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in lockOrientation() 283 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_REVERSE_PORTRAIT); in lockOrientation() 285 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE); in lockOrientation() 291 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR); in unlockOrientation()
|
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | ActivityBase.java | 45 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in onCreate() 47 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in onCreate()
|
/aosp12/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
H A D | MainActivity.kt | 88 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) 90 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE)
|
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
H A D | SimImportActivityTest.java | 177 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in smokeRotateInEmptyState() 195 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in smokeRotateInNonEmptyState() 281 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in selectionsAreImportedAndDisabledOnSubsequentImports() 283 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_USER); in selectionsAreImportedAndDisabledOnSubsequentImports()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/ |
H A D | FixedActivity.java | 32 setRequestedOrientation(ori); in onCreate()
|
H A D | PipActivity.java | 124 setRequestedOrientation(Integer.parseInt(intent.getStringExtra( 273 setRequestedOrientation(ori); in handleIntentExtra()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/ |
H A D | WifiDppQrCodeGeneratorFragmentTest.java | 82 mActivity.setRequestedOrientation( in rotateScreen_shouldNotCrash() 84 mActivity.setRequestedOrientation( in rotateScreen_shouldNotCrash()
|
/aosp12/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrActivity.java | 116 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in onPostExecute() 118 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in onPostExecute()
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | TaskTests.java | 518 root.setRequestedOrientation(SCREEN_ORIENTATION_PORTRAIT); in testFullscreenBoundsForcedOrientation() 529 top.setRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testFullscreenBoundsForcedOrientation() 534 top.setRequestedOrientation(SCREEN_ORIENTATION_UNSPECIFIED); in testFullscreenBoundsForcedOrientation() 538 top.setRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testFullscreenBoundsForcedOrientation() 588 root.setRequestedOrientation(SCREEN_ORIENTATION_PORTRAIT); in testReportsOrientationRequestInLetterboxForOrientation() 621 root.setRequestedOrientation(SCREEN_ORIENTATION_PORTRAIT); in testIgnoresForcedOrientationWhenParentHandles() 1333 activity.setRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testNotSpecifyOrientationByFloatingTask() 1359 firstActivity.setRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testNotSpecifyOrientation_taskDisplayAreaNotFocused() 1360 secondActivity.setRequestedOrientation(SCREEN_ORIENTATION_PORTRAIT); in testNotSpecifyOrientation_taskDisplayAreaNotFocused() 1390 activity.setRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testTaskOrientationOnDisplayWindowingModeChange()
|
H A D | TaskStackChangedListenerTest.java | 358 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT); in testNotifyTaskRequestedOrientationChanged() 364 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); in testNotifyTaskRequestedOrientationChanged() 478 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in onPostResume()
|
H A D | DisplayAreaGroupTest.java | 91 activity.setRequestedOrientation(SCREEN_ORIENTATION_PORTRAIT); in testGetRequestedOrientationForDisplay()
|
/aosp12/packages/apps/Settings/src/com/android/settings/ |
H A D | MainClearConfirm.java | 105 getActivity().setRequestedOrientation(mOldOrientation); 119 getActivity().setRequestedOrientation(
|
/aosp12/packages/apps/Gallery/src/com/android/camera/ |
H A D | MovieView.java | 61 setRequestedOrientation(orientation); in onCreate()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
H A D | CameraManager.java | 1169 a.setRequestedOrientation( in lockOrientation() 1173 a.setRequestedOrientation( in lockOrientation() 1177 a.setRequestedOrientation( in lockOrientation() 1181 a.setRequestedOrientation( in lockOrientation() 1192 a.setRequestedOrientation(mSavedOrientation); in restoreRequestedOrientation()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
H A D | TutorialFragment.java | 146 ((Activity) getContext()).setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_USER); in onCreate() 149 ((Activity) getContext()).setRequestedOrientation( in onCreate()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
H A D | WallpaperSetter.java | 340 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LOCKED); in saveAndLockScreenOrientationIfNeeded() 347 activity.setRequestedOrientation(orientation); in restoreScreenOrientationIfNeeded()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewTest.java | 264 mActivity.setRequestedOrientation(SCREEN_ORIENTATION_PORTRAIT); in testPortraitDoesntSupportFullscreenIme() 272 mActivity.setRequestedOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testPortraitDoesntSupportFullscreenIme()
|
/aosp12/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/ |
H A D | MainActivity.java | 56 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); in onCreate()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | UiThreadHelper.java | 107 ((Activity) message.obj).setRequestedOrientation(message.arg1); in handleMessage()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | ActivityClient.java | 254 public void setRequestedOrientation(IBinder token, int requestedOrientation) { in setRequestedOrientation() method in ActivityClient 256 getActivityClientController().setRequestedOrientation(token, requestedOrientation); in setRequestedOrientation()
|
/aosp12/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
H A D | MainActivity.java | 55 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in onCreate()
|