Searched refs:nearestRotation (Results 1 – 1 of 1) sorted by relevance
801 int nearestRotation = (orientationAngle + 45) / 90; in onSensorChanged() local802 if (nearestRotation == 4) { in onSensorChanged()803 nearestRotation = 0; in onSensorChanged()807 if (isTiltAngleAcceptableLocked(nearestRotation, tiltAngle) in onSensorChanged()808 && isOrientationAngleAcceptableLocked(nearestRotation, in onSensorChanged()810 updatePredictedRotationLocked(now, nearestRotation); in onSensorChanged()