Home
last modified time | relevance | path

Searched refs:lastRotation (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricOrientationEventListener.kt37 private var lastRotation = context.display?.rotation ?: Surface.ROTATION_0 variable
43 if (lastRotation != rotation) { in onDisplayChanged()
44 lastRotation = rotation in onDisplayChanged()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java1120 @Surface.Rotation int lastRotation) { in rotationForOrientation() argument
1124 Surface.rotationToString(lastRotation), lastRotation, in rotationForOrientation()
1137 sensorRotation = lastRotation; in rotationForOrientation()
1193 preferredRotation = lastRotation; in rotationForOrientation()
1224 preferredRotation = lastRotation; in rotationForOrientation()
1282 if (isLandscapeOrSeascape(lastRotation)) { in rotationForOrientation()
1283 return lastRotation; in rotationForOrientation()
1293 if (isAnyPortrait(lastRotation)) { in rotationForOrientation()
1294 return lastRotation; in rotationForOrientation()