Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/
DRotationChangeProvider.kt42 private var lastRotation: Int? = null variable in com.android.systemui.unfold.updates.RotationChangeProvider
58 lastRotation = null in removeCallback()
92 if (lastRotation == null || lastRotation != currentRotation) { in onDisplayChanged()
94 lastRotation = currentRotation in onDisplayChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricDisplayListener.kt40 private var lastRotation = Surface.ROTATION_0 variable
59 val last = lastRotation in didRotationChange()
60 lastRotation = rotation in didRotationChange()
66 lastRotation = context.display?.rotation ?: Surface.ROTATION_0 in enable()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java1167 @Surface.Rotation int lastRotation) { in rotationForOrientation() argument
1171 Surface.rotationToString(lastRotation), lastRotation, in rotationForOrientation()
1197 sensorRotation = lastRotation; in rotationForOrientation()
1258 preferredRotation = lastRotation; in rotationForOrientation()
1282 preferredRotation = lastRotation; in rotationForOrientation()
1340 if (isLandscapeOrSeascape(lastRotation)) { in rotationForOrientation()
1341 return lastRotation; in rotationForOrientation()
1351 if (isAnyPortrait(lastRotation)) { in rotationForOrientation()
1352 return lastRotation; in rotationForOrientation()
/frameworks/base/core/java/android/view/
DViewRootImpl.java5439 final int lastRotation = mLastReportedMergedConfiguration.getMergedConfiguration() in performConfigurationChange() local
5443 if (lastRotation != newRotation) { in performConfigurationChange()