Searched refs:nearestRotation (Results 1 – 1 of 1) sorted by relevance
694 int nearestRotation = (orientationAngle + 45) / 90; in onSensorChanged() local695 if (nearestRotation == 4) { in onSensorChanged()696 nearestRotation = 0; in onSensorChanged()700 if (isTiltAngleAcceptableLocked(nearestRotation, tiltAngle) in onSensorChanged()701 && isOrientationAngleAcceptableLocked(nearestRotation, in onSensorChanged()703 updatePredictedRotationLocked(now, nearestRotation); in onSensorChanged()