Home
last modified time | relevance | path

Searched refs:SCREEN_ORIENTATION_UNSET (Results 1 – 15 of 15) sorted by relevance

/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayArea.java20 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
91 mOrientation = SCREEN_ORIENTATION_UNSET; in DisplayArea()
144 return SCREEN_ORIENTATION_UNSET; in getOrientation()
194 if (lastOrientation == SCREEN_ORIENTATION_UNSET in setIgnoreOrientationRequest()
578 || req == SCREEN_ORIENTATION_UNSET) {
596 return SCREEN_ORIENTATION_UNSET; in getOrientation()
611 if (req != SCREEN_ORIENTATION_UNSET && req != SCREEN_ORIENTATION_UNSPECIFIED) { in getOrientation()
H A DTaskDisplayArea.java32 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
758 return SCREEN_ORIENTATION_UNSET;
763 if (taskDisplayArea == this || orientation != SCREEN_ORIENTATION_UNSET) {
767 }, SCREEN_ORIENTATION_UNSET);
788 if (orientation != SCREEN_ORIENTATION_UNSET) {
806 if (orientation != SCREEN_ORIENTATION_UNSET
H A DWindowContainer.java22 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
1301 return SCREEN_ORIENTATION_UNSET; in getOrientation()
1308 if (mOrientation != SCREEN_ORIENTATION_UNSET in getOrientation()
1320 ? SCREEN_ORIENTATION_BEHIND : SCREEN_ORIENTATION_UNSET); in getOrientation()
1330 if (orientation == SCREEN_ORIENTATION_UNSET) { in getOrientation()
H A DDisplayContent.java31 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
2675 if (orientation == SCREEN_ORIENTATION_UNSET) { in getOrientation()
4834 return SCREEN_ORIENTATION_UNSET; in getOrientation()
H A DTask.java51 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
652 setOrientation(SCREEN_ORIENTATION_UNSET); in Task()
3152 return canSpecifyOrientation() ? super.getOrientation(candidate) : SCREEN_ORIENTATION_UNSET;
H A DActivityRecord.java85 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
7188 if (getRequestedOrientation() == SCREEN_ORIENTATION_UNSET) { in reportDescendantOrientationChangeIfNeeded()
7220 return SCREEN_ORIENTATION_UNSET; in getOrientation()
/aosp12/frameworks/base/core/proto/android/content/
H A Dactivityinfo.proto23 SCREEN_ORIENTATION_UNSET = -2; enumerator
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowContainerTests.java23 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
528 testGetOrientation_childSpecifiedConfig(false, SCREEN_ORIENTATION_UNSET, in testGetOrientation_childSpecified()
540 if (childOrientation != SCREEN_ORIENTATION_UNSET) { in testGetOrientation_childSpecifiedConfig()
578 visibleUnset.setOrientation(SCREEN_ORIENTATION_UNSET); in testGetOrientation_InvisibleParentUnsetVisibleChildren()
579 assertEquals(SCREEN_ORIENTATION_UNSET, visibleUnset.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren()
590 visibleUnset.setOrientation(SCREEN_ORIENTATION_UNSET); in testGetOrientation_setBehind()
618 assertEquals(SCREEN_ORIENTATION_UNSET, visibleUnspecifiedRootChild.getOrientation()); in testGetOrientation_fillsParent()
630 assertEquals(SCREEN_ORIENTATION_UNSET, visibleUnspecifiedRootChild.getOrientation()); in testGetOrientation_fillsParent()
H A DTaskTests.java32 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
1341 assertEquals(SCREEN_ORIENTATION_UNSET, parentContainer.getOrientation()); in testNotSpecifyOrientationByFloatingTask()
1366 assertEquals(SCREEN_ORIENTATION_UNSET, secondTaskDisplayArea.getOrientation()); in testNotSpecifyOrientation_taskDisplayAreaNotFocused()
1372 assertEquals(SCREEN_ORIENTATION_UNSET, secondTaskDisplayArea.getOrientation()); in testNotSpecifyOrientation_taskDisplayAreaNotFocused()
1377 assertEquals(SCREEN_ORIENTATION_UNSET, firstTaskDisplayArea.getOrientation()); in testNotSpecifyOrientation_taskDisplayAreaNotFocused()
1391 assertEquals(SCREEN_ORIENTATION_UNSET, task.getOrientation()); in testTaskOrientationOnDisplayWindowingModeChange()
H A DTaskDisplayAreaTests.java35 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
491 assertThat(taskDisplayArea.getOrientation()).isEqualTo(SCREEN_ORIENTATION_UNSET); in testIgnoreOrientationRequest()
H A DWindowOrganizerTests.java31 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
439 assertThat(taskDisplayArea.getOrientation()).isEqualTo(SCREEN_ORIENTATION_UNSET); in testSetIgnoreOrientationRequest_taskDisplayArea()
460 assertThat(taskDisplayArea.getOrientation()).isEqualTo(SCREEN_ORIENTATION_UNSET); in testSetIgnoreOrientationRequest_taskDisplayArea()
H A DDisplayAreaTest.java491 assertEquals(ActivityInfo.SCREEN_ORIENTATION_UNSET, area.getOrientation()); in testSetIgnoreOrientationRequest()
H A DActivityRecordTests.java36 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
2384 assertEquals(SCREEN_ORIENTATION_UNSET, activity.getOrientation()); in testGetOrientation()
2449 assertEquals(SCREEN_ORIENTATION_UNSET, activity.getOrientation()); in testSetOrientation()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java577 SCREEN_ORIENTATION_UNSET,
606 public static final int SCREEN_ORIENTATION_UNSET = -2; field in ActivityInfo
1628 case SCREEN_ORIENTATION_UNSET: in screenOrientationToString()
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt12806 Landroid/content/ActivityInfoProto;->SCREEN_ORIENTATION_UNSET:I
13832 Landroid/content/pm/ActivityInfo;->SCREEN_ORIENTATION_UNSET:I