Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/window_orientation/
Dwindow_orientation.c103 int8_t proposed_rotation; member
227 mTask.proposed_rotation = -1; in reset()
341 int8_t old_proposed_rotation, proposed_rotation; in add_samples() local
469 old_proposed_rotation = mTask.proposed_rotation; in add_samples()
473 mTask.proposed_rotation = mTask.predicted_rotation; in add_samples()
475 proposed_rotation = mTask.proposed_rotation; in add_samples()
477 if ((proposed_rotation != old_proposed_rotation) in add_samples()
478 && (proposed_rotation >= 0)) { in add_samples()
479 mTask.current_rotation = proposed_rotation; in add_samples()
481 change_detected = (proposed_rotation != mTask.prev_valid_rotation); in add_samples()
[all …]