Home
last modified time | relevance | path

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

12

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DOrientationManager.java76 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LOCKED); in lockOrientation()
78 mActivity.setRequestedOrientation(calculateCurrentScreenOrientation()); in lockOrientation()
88 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR); in unlockOrientation()
DMovieActivity.java108 setRequestedOrientation(orientation); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java277 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()
/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManagerImpl.java156 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LOCKED); in lockOrientation()
158 mActivity.setRequestedOrientation(calculateCurrentScreenOrientation()); in lockOrientation()
169 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR); in unlockOrientation()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DSimImportActivityTest.java175 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in smokeRotateInEmptyState()
193 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in smokeRotateInNonEmptyState()
278 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in selectionsAreImportedAndDisabledOnSubsequentImports()
280 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_USER); in selectionsAreImportedAndDisabledOnSubsequentImports()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeGeneratorFragmentTest.java47 mActivityRule.getActivity().setRequestedOrientation( in rotateScreen_shouldNotCrash()
49 mActivityRule.getActivity().setRequestedOrientation( in rotateScreen_shouldNotCrash()
DWifiDppQrCodeScannerFragmentTest.java54 mActivityRule.getActivity().setRequestedOrientation( in rotateScreen_shouldNotCrash()
56 mActivityRule.getActivity().setRequestedOrientation( in rotateScreen_shouldNotCrash()
/packages/apps/LegacyCamera/src/com/android/camera/
DActivityBase.java45 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in onCreate()
47 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java1169 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DMasterClearConfirm.java107 getActivity().setRequestedOrientation(mOldOrientation);
121 getActivity().setRequestedOrientation(
/packages/apps/Settings/src/com/android/settings/
DMasterClearConfirm.java107 getActivity().setRequestedOrientation(mOldOrientation);
121 getActivity().setRequestedOrientation(
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DWallpaperSetter.java250 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LOCKED); in saveAndLockScreenOrientation()
255 activity.setRequestedOrientation(mCurrentScreenOrientation); in restoreScreenOrientation()
/packages/apps/Gallery/src/com/android/camera/
DMovieView.java61 setRequestedOrientation(orientation); in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DUiThreadHelper.java74 ((Activity) message.obj).setRequestedOrientation(message.arg1); in handleMessage()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java65 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in onCreate()
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/
DMainActivity.java56 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); in onCreate()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DThumbnailDrawable.java69 public void setRequestedOrientation(int orientation) { in setRequestedOrientation() method in ThumbnailDrawable
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DTaskItemView.java211 ((ThumbnailDrawable) drawable).setRequestedOrientation(newOrientation); in onOrientationChanged()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DExpiredTimersActivity.kt90 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR) in onCreate()
DExpiredTimersActivity.java95 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); in onCreate()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDialogFragmentTest.java214 activity.setRequestedOrientation(orientations[1]); in switchOrientation()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperCropActivity.java91 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in onCreate()
/packages/apps/Dialer/java/com/android/incallui/
DInCallActivity.java1190 setRequestedOrientation(InCallOrientationEventListener.ACTIVITY_PREFERENCE_DISALLOW_ROTATION); in setAllowOrientationChange()
1192 setRequestedOrientation(InCallOrientationEventListener.ACTIVITY_PREFERENCE_ALLOW_ROTATION); in setAllowOrientationChange()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt166 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR) in onCreate()
DAlarmActivity.java192 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); in onCreate()

12