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.c136 int8_t proposed_rotation; member
284 mTask.proposed_rotation = -1; in reset()
400 int8_t old_proposed_rotation, proposed_rotation; in add_samples() local
536 old_proposed_rotation = mTask.proposed_rotation; in add_samples()
540 mTask.proposed_rotation = mTask.predicted_rotation; in add_samples()
542 proposed_rotation = mTask.proposed_rotation; in add_samples()
544 if ((proposed_rotation != old_proposed_rotation) in add_samples()
545 && (proposed_rotation >= 0)) { in add_samples()
546 mTask.current_rotation = proposed_rotation; in add_samples()
548 change_detected = (proposed_rotation != mTask.prev_valid_rotation); in add_samples()
[all …]