Home
last modified time | relevance | path

Searched refs:SCREEN_ORIENTATION_PORTRAIT (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java20 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 …]
DTaskStackTests.java20 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()
DTaskRecordTests.java25 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()
DWindowContainerTests.java21 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()
DDisplayContentTests.java20 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()
DTaskStackChangedListenerTest.java162 assertEquals(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, params[1]); in testActivityRequestedOrientationChanged()
424 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in onPostResume()
DConfigurationContainerTests.java26 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT;
157 childOverrideConfig2.orientation = SCREEN_ORIENTATION_PORTRAIT; in testConfigurationChangePropagation()
DActivityRecordTests.java370 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()
DTaskLaunchParamsModifierTests.java27 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()
DActivityDisplayTests.java352 activity.info.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; in testHandleActivitySizeCompatMode()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskLaunchParamsModifier.java26 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;
DDisplayRotation.java645 case ActivityInfo.SCREEN_ORIENTATION_PORTRAIT: in rotationForOrientation()
/frameworks/base/core/tests/coretests/src/android/util/
DOrientationUtil.java37 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java529 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/
DViewAttachTest.java55 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in testAttached()
/frameworks/base/core/proto/android/content/
Dactivityinfo.proto26 SCREEN_ORIENTATION_PORTRAIT = 1; enumerator
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrActivity.java116 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in onPostExecute()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8330 field public static final int SCREEN_ORIENTATION_PORTRAIT = 1; // 0x1
/frameworks/base/non-updatable-api/
Dcurrent.txt11036 field public static final int SCREEN_ORIENTATION_PORTRAIT = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt11036 field public static final int SCREEN_ORIENTATION_PORTRAIT = 1; // 0x1
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt12809 Landroid/content/ActivityInfoProto;->SCREEN_ORIENTATION_PORTRAIT:I