Home
last modified time | relevance | path

Searched refs:orientation_angle (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c163 int orientation_angle) in isOrientationAngleAcceptable() argument
171 (int)current_rotation, (int)rotation, (int)orientation_angle); in isOrientationAngleAcceptable()
184 if ((orientation_angle >= 315) in isOrientationAngleAcceptable()
185 && (orientation_angle < lower_bound + 360)) { in isOrientationAngleAcceptable()
189 if (orientation_angle < lower_bound) { in isOrientationAngleAcceptable()
204 if ((orientation_angle <= 45) in isOrientationAngleAcceptable()
205 && (orientation_angle > upper_bound)) { in isOrientationAngleAcceptable()
209 if (orientation_angle > upper_bound) { in isOrientationAngleAcceptable()
391 int orientation_angle, nearest_rotation; in add_samples() local
503 orientation_angle = (int)(-atan2f(-x, y) * RADIANS_TO_DEGREES); in add_samples()
[all …]