Home
last modified time | relevance | path

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

/lvgl-latest/src/indev/
Dlv_indev_gesture.c434 int8_t motion_idx; in process_touch_event() local
437 motion_idx = get_motion_idx(touch->id, g); in process_touch_event()
439 if(motion_idx == -1 && touch->state == LV_INDEV_STATE_PRESSED) { in process_touch_event()
458 else if(motion_idx >= 0 && touch->state == LV_INDEV_STATE_RELEASED) { in process_touch_event()
460 if(motion_idx == g->finger_cnt - 1) { in process_touch_event()
471 len = (g->finger_cnt - 1) - motion_idx; in process_touch_event()
472 lv_memmove(g->motions + motion_idx, in process_touch_event()
473 g->motions + motion_idx + 1, in process_touch_event()
478 LV_ASSERT(g->motions[motion_idx + 1].finger == -1); in process_touch_event()
484 else if(motion_idx >= 0) { in process_touch_event()