Searched refs:nearestRotation (Results 1 – 1 of 1) sorted by relevance
688 int nearestRotation = (orientationAngle + 45) / 90; in onSensorChanged() local689 if (nearestRotation == 4) { in onSensorChanged()690 nearestRotation = 0; in onSensorChanged()694 if (isTiltAngleAcceptableLocked(nearestRotation, tiltAngle) in onSensorChanged()695 && isOrientationAngleAcceptableLocked(nearestRotation, in onSensorChanged()697 updatePredictedRotationLocked(now, nearestRotation); in onSensorChanged()