Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java938 final int oldRotation = mRotation; in updateRotationUnchecked() local
941 int rotation = mService.mPolicy.rotationForOrientationLw(lastOrientation, oldRotation); in updateRotationUnchecked()
942 final boolean rotateSeamlessly = mService.mPolicy.shouldRotateSeamlessly(oldRotation, in updateRotationUnchecked()
968 if (oldRotation == rotation && oldAltOrientation == altOrientation) { in updateRotationUnchecked()
974 + (altOrientation ? " (alt)" : "") + " from " + oldRotation in updateRotationUnchecked()
977 if (DisplayContent.deltaRotation(rotation, oldRotation) != 2) { in updateRotationUnchecked()
1045 w.mWinAnimator.seamlesslyRotateWindow(oldRotation, rotation); in updateRotationUnchecked()
2043 void rotateBounds(int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument
2048 final int deltaRotation = deltaRotation(newRotation, oldRotation); in rotateBounds()
2056 static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument
[all …]
DWindowStateAnimator.java1989 void seamlesslyRotateWindow(int oldRotation, int newRotation) { in seamlesslyRotateWindow() argument
2011 final int deltaRotation = DisplayContent.deltaRotation(newRotation, oldRotation); in seamlesslyRotateWindow()
DWindowManagerService.java2555 final int oldRotation = defaultDisplayContent.getRotation(); in rotationNeedsUpdateLocked() local
2559 oldRotation); in rotationNeedsUpdateLocked()
2562 if (oldRotation == rotation && oldAltOrientation == altOrientation) { in rotationNeedsUpdateLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTestWindowManagerPolicy.java628 public boolean shouldRotateSeamlessly(int oldRotation, int newRotation) {
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java1693 public boolean shouldRotateSeamlessly(int oldRotation, int newRotation); in shouldRotateSeamlessly() argument
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java8153 public boolean shouldRotateSeamlessly(int oldRotation, int newRotation) { in shouldRotateSeamlessly() argument
8159 if (oldRotation == mUpsideDownRotation || newRotation == mUpsideDownRotation) { in shouldRotateSeamlessly()
8168 int delta = newRotation - oldRotation; in shouldRotateSeamlessly()