Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskFragmentTest.java25 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
557 assertEquals(SCREEN_ORIENTATION_UNSET, task.getOrientation()); in testIgnoreRequestedOrientationForActivityEmbeddingSplit()
562 assertEquals(SCREEN_ORIENTATION_UNSET, task.getOrientation()); in testIgnoreRequestedOrientationForActivityEmbeddingSplit()
570 assertEquals(SCREEN_ORIENTATION_UNSET, task.getOrientation()); in testIgnoreRequestedOrientationForActivityEmbeddingSplit()
597 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, tf0.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified()
598 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, tf1.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified()
599 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, task.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified()
603 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, tf0.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified()
604 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, tf1.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified()
605 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, task.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified()
DWindowContainerTests.java23 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
550 testGetOrientation_childSpecifiedConfig(false, SCREEN_ORIENTATION_UNSET, in testGetOrientation_childSpecified()
562 if (childOrientation != SCREEN_ORIENTATION_UNSET) { in testGetOrientation_childSpecifiedConfig()
600 visibleUnset.setOrientation(SCREEN_ORIENTATION_UNSET); in testGetOrientation_InvisibleParentUnsetVisibleChildren()
601 assertEquals(SCREEN_ORIENTATION_UNSET, visibleUnset.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren()
612 visibleUnset.setOrientation(SCREEN_ORIENTATION_UNSET); in testGetOrientation_setBehind()
640 assertEquals(SCREEN_ORIENTATION_UNSET, visibleUnspecifiedRootChild.getOrientation()); in testGetOrientation_fillsParent()
652 assertEquals(SCREEN_ORIENTATION_UNSET, visibleUnspecifiedRootChild.getOrientation()); in testGetOrientation_fillsParent()
DTaskTests.java32 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
1373 assertEquals(SCREEN_ORIENTATION_UNSET, parentContainer.getOrientation()); in testNotSpecifyOrientationByFloatingTask()
1398 assertEquals(SCREEN_ORIENTATION_UNSET, secondTaskDisplayArea.getOrientation()); in testNotSpecifyOrientation_taskDisplayAreaNotFocused()
1404 assertEquals(SCREEN_ORIENTATION_UNSET, secondTaskDisplayArea.getOrientation()); in testNotSpecifyOrientation_taskDisplayAreaNotFocused()
1409 assertEquals(SCREEN_ORIENTATION_UNSET, firstTaskDisplayArea.getOrientation()); in testNotSpecifyOrientation_taskDisplayAreaNotFocused()
1423 assertEquals(SCREEN_ORIENTATION_UNSET, task.getOrientation()); in testTaskOrientationOnDisplayWindowingModeChange()
DWindowOrganizerTests.java29 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
611 assertThat(taskDisplayArea.getOrientation()).isEqualTo(SCREEN_ORIENTATION_UNSET); in testSetIgnoreOrientationRequest_taskDisplayArea()
632 assertThat(taskDisplayArea.getOrientation()).isEqualTo(SCREEN_ORIENTATION_UNSET); in testSetIgnoreOrientationRequest_taskDisplayArea()
DRecentsAnimationControllerTest.java480 assertEquals(ActivityInfo.SCREEN_ORIENTATION_UNSET, displayRotation.getLastOrientation()); in testCheckRotationAfterCleanup()
DTransitionTests.java23 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
978 assertEquals(SCREEN_ORIENTATION_UNSET, displayRotation.getLastOrientation()); in testDeferRotationForTransientLaunch()
DActivityRecordTests.java44 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
2630 assertEquals(SCREEN_ORIENTATION_UNSET, activity.getOrientation()); in testGetOrientation()
2695 assertEquals(SCREEN_ORIENTATION_UNSET, activity.getOrientation()); in testSetOrientation()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java21 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
97 setOverrideOrientation(SCREEN_ORIENTATION_UNSET); in DisplayArea()
153 return SCREEN_ORIENTATION_UNSET; in getOrientation()
170 : SCREEN_ORIENTATION_UNSET; in onDescendantOrientationChanged()
206 if (lastOrientation == SCREEN_ORIENTATION_UNSET in setIgnoreOrientationRequest()
663 || req == SCREEN_ORIENTATION_UNSET) {
698 if (req != SCREEN_ORIENTATION_UNSET && req != SCREEN_ORIENTATION_UNSPECIFIED) { in getOrientation()
DDisplayRotationCompatPolicy.java27 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
123 private int mLastReportedOrientation = SCREEN_ORIENTATION_UNSET;
DTaskDisplayArea.java29 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
644 if (taskDisplayArea == this || taskOrientation != SCREEN_ORIENTATION_UNSET) {
648 }, SCREEN_ORIENTATION_UNSET);
651 if (orientation != SCREEN_ORIENTATION_UNSET
DDisplayRotation.java20 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
512 mLastOrientation = SCREEN_ORIENTATION_UNSET; in updateRotationUnchecked()
2117 mSourceOrientation = SCREEN_ORIENTATION_UNSET;
DWindowContainer.java23 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
1574 return SCREEN_ORIENTATION_UNSET; in getOrientation()
1581 if (getOverrideOrientation() != SCREEN_ORIENTATION_UNSET in getOrientation()
1593 ? SCREEN_ORIENTATION_BEHIND : SCREEN_ORIENTATION_UNSET); in getOrientation()
1603 if (orientation == SCREEN_ORIENTATION_UNSET) { in getOrientation()
DTaskFragment.java32 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
1836 return SCREEN_ORIENTATION_UNSET; in getOrientation()
DDisplayContent.java31 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
1589 : SCREEN_ORIENTATION_UNSET; in onDescendantOrientationChanged()
2765 if (orientation == SCREEN_ORIENTATION_UNSET) { in getOrientation()
5137 return shouldIgnoreOrientationRequest(candidate) ? SCREEN_ORIENTATION_UNSET : candidate; in getOrientation()
DActivityRecord.java94 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
7811 return overrideOrientation != SCREEN_ORIENTATION_UNSET in canDefineOrientationForActivitiesAbove()
7912 return SCREEN_ORIENTATION_UNSET; in getOrientation()
DTask.java45 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET;
646 setOrientation(SCREEN_ORIENTATION_UNSET); in Task()
/frameworks/base/core/proto/android/content/
Dactivityinfo.proto23 SCREEN_ORIENTATION_UNSET = -2; enumerator
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java632 SCREEN_ORIENTATION_UNSET,
661 public static final int SCREEN_ORIENTATION_UNSET = -2; field in ActivityInfo
1931 case SCREEN_ORIENTATION_UNSET: in screenOrientationToString()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt9928 Landroid/content/ActivityInfoProto;->SCREEN_ORIENTATION_UNSET:I
10954 Landroid/content/pm/ActivityInfo;->SCREEN_ORIENTATION_UNSET:I