Searched refs:nearestRotation (Results 1 – 1 of 1) sorted by relevance
743 int nearestRotation = (orientationAngle + 45) / 90; in onSensorChanged() local744 if (nearestRotation == 4) { in onSensorChanged()745 nearestRotation = 0; in onSensorChanged()749 if (isTiltAngleAcceptableLocked(nearestRotation, tiltAngle) in onSensorChanged()750 && isOrientationAngleAcceptableLocked(nearestRotation, in onSensorChanged()752 updatePredictedRotationLocked(now, nearestRotation); in onSensorChanged()