Home
last modified time | relevance | path

Searched refs:activityOrientation (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayRotationCompatPolicyTests.java452 @ScreenOrientation int activityOrientation, in testGetOrientationForActivityAndNaturalOrientations()
455 configureActivityAndDisplay(activityOrientation, naturalOrientation); in testGetOrientationForActivityAndNaturalOrientations()
541 private void configureActivity(@ScreenOrientation int activityOrientation) { in configureActivity() argument
542 configureActivityAndDisplay(activityOrientation, ORIENTATION_PORTRAIT); in configureActivity()
545 private void configureActivityAndDisplay(@ScreenOrientation int activityOrientation, in configureActivityAndDisplay() argument
554 .setScreenOrientation(activityOrientation) in configureActivityAndDisplay()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskLaunchParamsModifier.java683 final int activityOrientation = resolveOrientation(activity, displayArea, in shouldLaunchUnresizableAppInFreeform() local
686 && displayOrientation != activityOrientation) { in shouldLaunchUnresizableAppInFreeform()
H A DDisplayContent.java1787 final int activityOrientation = r.getOverrideOrientation(); in rotationForActivityInDifferentOrientation() local
1789 || shouldIgnoreOrientationRequest(activityOrientation)) { in rotationForActivityInDifferentOrientation()
1792 if (activityOrientation == ActivityInfo.SCREEN_ORIENTATION_BEHIND) { in rotationForActivityInDifferentOrientation()