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 D | DisplayArea.java | 20 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 D | TaskDisplayArea.java | 32 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 D | WindowContainer.java | 22 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 D | DisplayContent.java | 31 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 D | Task.java | 51 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 D | ActivityRecord.java | 85 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 D | activityinfo.proto | 23 SCREEN_ORIENTATION_UNSET = -2; enumerator
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | WindowContainerTests.java | 23 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 D | TaskTests.java | 32 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 D | TaskDisplayAreaTests.java | 35 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET; 491 assertThat(taskDisplayArea.getOrientation()).isEqualTo(SCREEN_ORIENTATION_UNSET); in testIgnoreOrientationRequest()
|
H A D | WindowOrganizerTests.java | 31 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 D | DisplayAreaTest.java | 491 assertEquals(ActivityInfo.SCREEN_ORIENTATION_UNSET, area.getOrientation()); in testSetIgnoreOrientationRequest()
|
H A D | ActivityRecordTests.java | 36 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 D | ActivityInfo.java | 577 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 D | hiddenapi-max-target-o.txt | 12806 Landroid/content/ActivityInfoProto;->SCREEN_ORIENTATION_UNSET:I 13832 Landroid/content/pm/ActivityInfo;->SCREEN_ORIENTATION_UNSET:I
|