Home
last modified time | relevance | path

Searched refs:ROTATION_UNDEFINED (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotationReversionController.java19 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
54 private int mUserRotationOverridden = ROTATION_UNDEFINED;
117 if (mUserRotationOverridden != ROTATION_UNDEFINED in revertOverride()
121 mUserRotationOverridden = ROTATION_UNDEFINED; in revertOverride()
DPinnedTaskController.java19 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
181 if (rotation == ROTATION_UNDEFINED) { in deferOrientationChangeForEnteringPipFromFullScreenIfNeeded()
DConfigurationContainer.java25 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
221 if (rotation == ROTATION_UNDEFINED && !hasFixedRotationTransform) { in applySizeOverrideIfNeeded()
227 || rotation == ROTATION_UNDEFINED)) { in applySizeOverrideIfNeeded()
DDisplayRotation.java106 private static final int ROTATION_UNDEFINED = -1; field in DisplayRotation
207 private int mRotationChoiceShownToUserForConfirmation = ROTATION_UNDEFINED;
949 mRotationChoiceShownToUserForConfirmation = ROTATION_UNDEFINED; in setUserRotation()
1682 || mRotationChoiceShownToUserForConfirmation == ROTATION_UNDEFINED) { in onSetRequestedOrientation()
2146 mRotationChoiceShownToUserForConfirmation = ROTATION_UNDEFINED;
DDisplayContent.java24 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
1819 return ROTATION_UNDEFINED; in rotationForActivityInDifferentOrientation()
1824 return ROTATION_UNDEFINED; in rotationForActivityInDifferentOrientation()
1836 return ROTATION_UNDEFINED; in rotationForActivityInDifferentOrientation()
1842 return ROTATION_UNDEFINED; in rotationForActivityInDifferentOrientation()
1916 if (rotation == ROTATION_UNDEFINED) { in handleTopActivityLaunchingInDifferentOrientation()
1956 setFixedRotationLaunchingAppUnchecked(r, ROTATION_UNDEFINED); in setFixedRotationLaunchingAppUnchecked()
2080 if (rotation != ROTATION_UNDEFINED) { in rotateInDifferentOrientationIfNeeded()
6379 if (currRotation != ROTATION_UNDEFINED && overrideRotation != ROTATION_UNDEFINED in onRequestedOverrideConfigurationChanged()
DTaskFragment.java26 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
2257 if (rotation == ROTATION_UNDEFINED && !isFixedRotationTransforming) { in resolveTmpOverrides()
2403 if (rotation == ROTATION_UNDEFINED) { in computeConfigResourceOverrides()
2406 if (rotation != ROTATION_UNDEFINED && customContainerPolicy) { in computeConfigResourceOverrides()
DActivityRecord.java49 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
2735 final int targetRotation = rotation != ROTATION_UNDEFINED in isSnapshotOrientationCompatible()
6851 startFreezingScreen(ROTATION_UNDEFINED /* overrideOriginalDisplayRotation */); in startFreezingScreen()
6869 final boolean forceRotation = overrideOriginalDisplayRotation != ROTATION_UNDEFINED; in startFreezingScreen()
9245 if (overrideRotation != ROTATION_UNDEFINED) { in resolveSizeCompatModeConfiguration()
9516 overrideConfig.windowConfiguration.getRotation() != ROTATION_UNDEFINED;
9531 != ROTATION_UNDEFINED)) {
9532 overrideConfig.windowConfiguration.setRotation(ROTATION_UNDEFINED);
9552 if (rotation != ROTATION_UNDEFINED) {
10956 } else if (rotation != ROTATION_UNDEFINED) {
DTransition.java23 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
3308 int mRotation = ROTATION_UNDEFINED;
DWindowManagerService.java34 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
6434 ROTATION_UNDEFINED /* overrideOriginalRotation */); in startFreezingDisplay()
6491 final int originalRotation = overrideOriginalRotation != ROTATION_UNDEFINED in doStartFreezingDisplay()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java87 private int mDisplayRotation = ROTATION_UNDEFINED;
95 private int mRotation = ROTATION_UNDEFINED;
98 public static final int ROTATION_UNDEFINED = -1; field in WindowConfiguration
449 setDisplayRotation(ROTATION_UNDEFINED); in setToDefaults()
453 setRotation(ROTATION_UNDEFINED); in setToDefaults()
520 if (delta.mRotation != ROTATION_UNDEFINED && delta.mRotation != mRotation) { in updateFrom()
524 if (delta.mDisplayRotation != ROTATION_UNDEFINED in updateFrom()
607 if ((compareUndefined || other.mRotation != ROTATION_UNDEFINED) in diff()
612 if ((compareUndefined || other.mDisplayRotation != ROTATION_UNDEFINED) in diff()
704 + " mDisplayRotation=" + (mRotation == ROTATION_UNDEFINED in toString()
[all …]
/frameworks/base/core/java/android/window/
DConfigurationHelper.java124 if (newRot == WindowConfiguration.ROTATION_UNDEFINED in isDisplayRotationChanged()
125 || origRot == WindowConfiguration.ROTATION_UNDEFINED) { in isDisplayRotationChanged()
DTransitionInfo.java27 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
670 private @Surface.Rotation int mStartRotation = ROTATION_UNDEFINED;
671 private @Surface.Rotation int mEndRotation = ROTATION_UNDEFINED;
676 private @Surface.Rotation int mEndFixedRotation = ROTATION_UNDEFINED;
1068 if (mEndFixedRotation != ROTATION_UNDEFINED) { in toString()
DTransitionRequestInfo.java120 private int mStartRotation = WindowConfiguration.ROTATION_UNDEFINED;
121 private int mEndRotation = WindowConfiguration.ROTATION_UNDEFINED;
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationTest.java19 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
147 assertEquals(ROTATION_UNDEFINED, config.windowConfiguration.getRotation()); in testMaskedSet()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.kt32 @JvmField var rotation: Int = WindowConfiguration.ROTATION_UNDEFINED, in <lambda>()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java21 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
220 assertEquals(ROTATION_UNDEFINED, config.getRotation()); in testMaskedSetTo()
DTransparentPolicyTest.java20 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
468 assertEquals(ROTATION_UNDEFINED, in checkTopActivityConfigurationConfiguration()
DWindowTestsBase.java22 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
439 case ROTATION_UNDEFINED: in getNavBarLayoutParamsForRotation()
DDisplayContentTests.java1152 assertNotEquals(WindowConfiguration.ROTATION_UNDEFINED, in testOrientationBehind()
1808 assertEquals(WindowConfiguration.ROTATION_UNDEFINED, in testFixedRotationWithPip()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DTabletopModeController.java100 private int mDisplayRotation = WindowConfiguration.ROTATION_UNDEFINED;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransition.java19 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
224 : ROTATION_UNDEFINED; in startAnimation()
623 if (change.getEndFixedRotation() != ROTATION_UNDEFINED) { in findFixedRotationChange()
990 mFixedRotationState = mEndFixedRotation != ROTATION_UNDEFINED in startEnterAnimation()
/frameworks/base/core/tests/mockingcoretests/src/android/view/
DDisplayTest.java104 .setDisplayRotation(WindowConfiguration.ROTATION_UNDEFINED); in setupTests()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBar.java27 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
1762 case ROTATION_UNDEFINED: in getBarLayoutParamsForRotation()
/frameworks/base/core/java/android/view/
DDisplay.java2030 if (localRotation != WindowConfiguration.ROTATION_UNDEFINED) return localRotation; in getLocalRotation()
/frameworks/base/core/api/
Dtest-current.txt561 field public static final int ROTATION_UNDEFINED = -1; // 0xffffffff