Searched refs:nearest_rotation (Results 1 – 1 of 1) sorted by relevance
391 int orientation_angle, nearest_rotation; in add_samples() local510 nearest_rotation = (orientation_angle + 45) / 90; in add_samples()511 if (nearest_rotation == 4) { in add_samples()512 nearest_rotation = 0; in add_samples()515 if (isTiltAngleAcceptable(nearest_rotation, tilt_angle) in add_samples()517 nearest_rotation, in add_samples()521 updatePredictedRotation(now, nearest_rotation); in add_samples()