/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 20 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 259 ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, Surface.ROTATION_90); in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest() 284 configureDisplayRotation(SCREEN_ORIENTATION_PORTRAIT, false, false); in testNotEnablesSensor_AutoRotationNotSupported() 299 configureDisplayRotation(SCREEN_ORIENTATION_PORTRAIT, false, false); in testNotEnablesSensor_ScreenNotOn() 314 configureDisplayRotation(SCREEN_ORIENTATION_PORTRAIT, false, false); in testNotEnablesSensor_NotAwake() 329 configureDisplayRotation(SCREEN_ORIENTATION_PORTRAIT, false, false); in testNotEnablesSensor_KeyguardNotDrawnCompletely() 344 configureDisplayRotation(SCREEN_ORIENTATION_PORTRAIT, false, false); in testNotEnablesSensor_WindowManagerNotDrawnCompletely() 359 configureDisplayRotation(SCREEN_ORIENTATION_PORTRAIT, false, false); in testNotEnablesSensor_FixedUserRotation() 419 configureDisplayRotation(SCREEN_ORIENTATION_PORTRAIT, false, false); in testReturnsSensorRotation_RotationThawed() 440 configureDisplayRotation(SCREEN_ORIENTATION_PORTRAIT, false, false); in testUpdatesRotationWhenSensorUpdates_RotationThawed() [all …]
|
D | TaskStackTests.java | 20 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 78 appWindowToken2.setOrientation(SCREEN_ORIENTATION_PORTRAIT); in testClosingAppDifferentStackOrientation() 80 assertEquals(SCREEN_ORIENTATION_PORTRAIT, stack.getOrientation()); in testClosingAppDifferentStackOrientation() 98 appWindowToken2.setOrientation(SCREEN_ORIENTATION_PORTRAIT); in testMoveTaskToBackDifferentStackOrientation() 100 assertEquals(SCREEN_ORIENTATION_PORTRAIT, stack.getOrientation()); in testMoveTaskToBackDifferentStackOrientation()
|
D | TaskRecordTests.java | 25 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 283 setActivityRequestedOrientation(root, SCREEN_ORIENTATION_PORTRAIT); in testFullscreenBoundsForcedOrientation() 285 assertEquals(SCREEN_ORIENTATION_PORTRAIT, task.getRootActivity().getOrientation()); in testFullscreenBoundsForcedOrientation() 351 setActivityRequestedOrientation(root, SCREEN_ORIENTATION_PORTRAIT); in testIgnoresForcedOrientationWhenParentHandles() 353 assertEquals(SCREEN_ORIENTATION_PORTRAIT, task.getRootActivity().getOrientation()); in testIgnoresForcedOrientationWhenParentHandles()
|
D | WindowContainerTests.java | 21 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 560 visibleUnspecifiedRootChildChildFillsParent.setOrientation(SCREEN_ORIENTATION_PORTRAIT); in testGetOrientation_fillsParent() 561 assertEquals(SCREEN_ORIENTATION_PORTRAIT, in testGetOrientation_fillsParent() 568 assertEquals(SCREEN_ORIENTATION_PORTRAIT, visibleUnspecifiedRootChild.getOrientation()); in testGetOrientation_fillsParent() 569 assertEquals(SCREEN_ORIENTATION_PORTRAIT, root.getOrientation()); in testGetOrientation_fillsParent()
|
D | DisplayContentTests.java | 20 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 536 keyguard.mAttrs.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testOrientationDefinedByKeyguard() 538 SCREEN_ORIENTATION_PORTRAIT, dc.getOrientation()); in testOrientationDefinedByKeyguard() 658 ? SCREEN_ORIENTATION_PORTRAIT in testOnDescendantOrientationRequestChanged() 684 ? SCREEN_ORIENTATION_PORTRAIT in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()
|
D | TaskStackChangedListenerTest.java | 162 assertEquals(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, params[1]); in testActivityRequestedOrientationChanged() 424 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in onPostResume()
|
D | ConfigurationContainerTests.java | 26 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 157 childOverrideConfig2.orientation = SCREEN_ORIENTATION_PORTRAIT; in testConfigurationChangePropagation()
|
D | ActivityRecordTests.java | 370 requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; in testSetRequestedOrientationUpdatesConfiguration() 520 ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in testSizeCompatMode_FixedScreenBoundsWhenDisplaySizeChanged() 523 mActivity.info.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; in testSizeCompatMode_FixedScreenBoundsWhenDisplaySizeChanged()
|
D | TaskLaunchParamsModifierTests.java | 27 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 866 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testRespectsAppRequestedOrientation_Portrait() 871 assertEquals(SCREEN_ORIENTATION_PORTRAIT, orientationFromBounds(mResult.mBounds)); in testRespectsAppRequestedOrientation_Portrait() 1066 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testRotatesInPlaceInitialBoundsMismatchOrientation() 1277 : SCREEN_ORIENTATION_PORTRAIT; in orientationFromBounds()
|
D | ActivityDisplayTests.java | 352 activity.info.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; in testHandleActivitySizeCompatMode()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskLaunchParamsModifier.java | 26 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 465 case SCREEN_ORIENTATION_PORTRAIT: in resolveOrientation() 467 orientation = SCREEN_ORIENTATION_PORTRAIT; in resolveOrientation() 508 if (orientation != SCREEN_ORIENTATION_PORTRAIT in getTaskBounds() 549 return SCREEN_ORIENTATION_PORTRAIT; in convertOrientationToScreenOrientation() 570 orientation = bounds.isEmpty() ? SCREEN_ORIENTATION_PORTRAIT in resolveOrientation() 866 : SCREEN_ORIENTATION_PORTRAIT;
|
D | DisplayRotation.java | 645 case ActivityInfo.SCREEN_ORIENTATION_PORTRAIT: in rotationForOrientation()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | OrientationUtil.java | 37 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
|
/frameworks/base/core/java/android/content/pm/ |
D | ActivityInfo.java | 529 SCREEN_ORIENTATION_PORTRAIT, 570 public static final int SCREEN_ORIENTATION_PORTRAIT = 1; field in ActivityInfo 1080 return orientation == SCREEN_ORIENTATION_PORTRAIT in isFixedOrientationPortrait() 1269 case SCREEN_ORIENTATION_PORTRAIT: in screenOrientationToString()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewAttachTest.java | 55 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in testAttached()
|
/frameworks/base/core/proto/android/content/ |
D | activityinfo.proto | 26 SCREEN_ORIENTATION_PORTRAIT = 1; enumerator
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
D | VrActivity.java | 116 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in onPostExecute()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 8330 field public static final int SCREEN_ORIENTATION_PORTRAIT = 1; // 0x1
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 11036 field public static final int SCREEN_ORIENTATION_PORTRAIT = 1; // 0x1
|
/frameworks/base/api/ |
D | current.txt | 11036 field public static final int SCREEN_ORIENTATION_PORTRAIT = 1; // 0x1
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 12809 Landroid/content/ActivityInfoProto;->SCREEN_ORIENTATION_PORTRAIT:I
|