Home
last modified time | relevance | path

Searched refs:setRequestedOrientation (Results 1 – 25 of 27) 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.java105 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/services/Telephony/tests/src/com/android/phone/
DRoamingDialogFragmentTest.java82 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in dataRoamingDialogPersistsOnRotation()
83 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in dataRoamingDialogPersistsOnRotation()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java1168 a.setRequestedOrientation( in lockOrientation()
1172 a.setRequestedOrientation( in lockOrientation()
1176 a.setRequestedOrientation( in lockOrientation()
1180 a.setRequestedOrientation( in lockOrientation()
1191 a.setRequestedOrientation(mSavedOrientation); in restoreRequestedOrientation()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DWallpaperSetter.java249 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LOCKED); in saveAndLockScreenOrientation()
254 activity.setRequestedOrientation(mCurrentScreenOrientation); in restoreScreenOrientation()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DMasterClearConfirm.java107 getActivity().setRequestedOrientation(mOldOrientation);
121 getActivity().setRequestedOrientation(
DCryptKeeper.java419 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DMasterClearConfirm.java107 getActivity().setRequestedOrientation(mOldOrientation);
121 getActivity().setRequestedOrientation(
DCryptKeeper.java419 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); in onCreate()
/packages/apps/Gallery/src/com/android/camera/
DMovieView.java61 setRequestedOrientation(orientation); in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DUiThreadHelper.java85 ((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.java95 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); in onCreate()
/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.java192 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); in onCreate()

12