Home
last modified time | relevance | path

Searched refs:oldRotation (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/utils/
DCoordinateTransforms.java106 public static void transformToRotation(@Rotation int oldRotation, in transformToRotation() argument
113 transformLogicalToPhysicalCoordinates(oldRotation, w, h, out); in transformToRotation()
128 public static void transformToRotation(@Rotation int oldRotation, in transformToRotation() argument
135 transformLogicalToPhysicalCoordinates(oldRotation, w, h, out); in transformToRotation()
/frameworks/base/services/core/java/com/android/server/wm/
DSeamlessRotator.java48 public SeamlessRotator(@Rotation int oldRotation, @Rotation int newRotation, DisplayInfo info) { in SeamlessRotator() argument
49 mOldRotation = oldRotation; in SeamlessRotator()
57 CoordinateTransforms.transformLogicalToPhysicalCoordinates(oldRotation, w, h, mTransform); in SeamlessRotator()
DDisplayContent.java1205 final int oldRotation = getRotation(); in rotationNeedsUpdate() local
1207 final int rotation = mDisplayRotation.rotationForOrientation(lastOrientation, oldRotation); in rotationNeedsUpdate()
1208 return oldRotation != rotation; in rotationNeedsUpdate()
1407 final int oldRotation = mRotation; in updateRotationUnchecked() local
1409 final int rotation = mDisplayRotation.rotationForOrientation(lastOrientation, oldRotation); in updateRotationUnchecked()
1412 + " and oldRotation=" + oldRotation); in updateRotationUnchecked()
1414 oldRotation, rotation); in updateRotationUnchecked()
1444 if (oldRotation == rotation) { in updateRotationUnchecked()
1451 + " from " + oldRotation in updateRotationUnchecked()
1454 if (DisplayContent.deltaRotation(rotation, oldRotation) != 2) { in updateRotationUnchecked()
[all …]
DWindowState.java642 void seamlesslyRotateIfAllowed(Transaction transaction, @Rotation int oldRotation, in seamlesslyRotateIfAllowed() argument
650 oldRotation = mPendingSeamlessRotate.getOldRotation(); in seamlesslyRotateIfAllowed()
654 mPendingSeamlessRotate = new SeamlessRotator(oldRotation, rotation, getDisplayInfo()); in seamlesslyRotateIfAllowed()
DDisplayPolicy.java3537 boolean shouldRotateSeamlessly(DisplayRotation displayRotation, int oldRotation, in shouldRotateSeamlessly() argument
3544 if (oldRotation == displayRotation.getUpsideDownRotation() in shouldRotateSeamlessly()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DAppWindowTokenTests.java214 int oldRotation = mDisplayContent.getRotation(); in performRotation() local
218 mDisplayContent.applyRotationLocked(oldRotation, mDisplayContent.getRotation()); in performRotation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java516 int oldRotation = mRotation; in onConfigurationChanged() local
520 if (DEBUG) Log.i(TAG, "onConfigChanged from rot " + oldRotation + " to " + mRotation); in onConfigurationChanged()