Searched refs:nearest_rotation (Results 1 – 1 of 1) sorted by relevance
387 int orientation_angle, nearest_rotation; in add_samples() local506 nearest_rotation = (orientation_angle + 45) / 90; in add_samples()507 if (nearest_rotation == 4) { in add_samples()508 nearest_rotation = 0; in add_samples()511 if (isTiltAngleAcceptable(nearest_rotation, tilt_angle) in add_samples()513 nearest_rotation, in add_samples()517 updatePredictedRotation(now, nearest_rotation); in add_samples()