Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java698 final int tiltAngle = (int) Math.round( in onSensorChanged() local
700 addTiltHistoryEntryLocked(now, tiltAngle); in onSensorChanged()
707 if (isSwingingLocked(now, tiltAngle)) { in onSensorChanged()
714 if (tiltAngle <= TILT_OVERHEAD_ENTER) { in onSensorChanged()
716 } else if (tiltAngle >= TILT_OVERHEAD_EXIT) { in onSensorChanged()
722 + "tiltAngle=" + tiltAngle); in onSensorChanged()
725 } else if (Math.abs(tiltAngle) > MAX_TILT) { in onSensorChanged()
728 + "tiltAngle=" + tiltAngle); in onSensorChanged()
749 if (isTiltAngleAcceptableLocked(nearestRotation, tiltAngle) in onSensorChanged()
755 + "tiltAngle=" + tiltAngle in onSensorChanged()
[all …]