Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c132 int8_t proposed_rotation; member
280 mTask.proposed_rotation = -1; in reset()
396 int8_t old_proposed_rotation, proposed_rotation; in add_samples() local
532 old_proposed_rotation = mTask.proposed_rotation; in add_samples()
536 mTask.proposed_rotation = mTask.predicted_rotation; in add_samples()
538 proposed_rotation = mTask.proposed_rotation; in add_samples()
540 if ((proposed_rotation != old_proposed_rotation) in add_samples()
541 && (proposed_rotation >= 0)) { in add_samples()
542 mTask.current_rotation = proposed_rotation; in add_samples()
544 change_detected = (proposed_rotation != mTask.prev_valid_rotation); in add_samples()
[all …]