Lines Matching refs:motion

433     lv_indev_gesture_motion_t * motion;  in process_touch_event()  local
447 motion = &g->motions[g->finger_cnt]; in process_touch_event()
448 motion->start_point.x = touch->point.x; in process_touch_event()
449 motion->start_point.y = touch->point.y; in process_touch_event()
450 motion->point.x = touch->point.x; in process_touch_event()
451 motion->point.y = touch->point.y; in process_touch_event()
452 motion->finger = touch->id; in process_touch_event()
453 motion->state = touch->state; in process_touch_event()
463 motion = get_motion(touch->id, g); in process_touch_event()
464 motion->finger = -1; in process_touch_event()
465 motion->state = touch->state; in process_touch_event()
486 motion = get_motion(touch->id, g); in process_touch_event()
487 motion->point.x = touch->point.x; in process_touch_event()
488 motion->point.y = touch->point.y; in process_touch_event()
489 motion->state = touch->state; in process_touch_event()
505 lv_indev_gesture_motion_t * motion; in gesture_update_center_point() local
522 motion = &g->motions[i]; in gesture_update_center_point()
524 if(motion->finger >= 0) { in gesture_update_center_point()
525 x += motion->point.x; in gesture_update_center_point()
526 y += motion->point.y; in gesture_update_center_point()
540 motion = &g->motions[i]; in gesture_update_center_point()
541 if(motion->finger >= 0) { in gesture_update_center_point()
542 delta_x[i] = motion->point.x - g->center.x; in gesture_update_center_point()
543 delta_y[i] = motion->point.y - g->center.y; in gesture_update_center_point()
549 motion = &g->motions[i]; in gesture_update_center_point()
550 if(motion->finger >= 0) { in gesture_update_center_point()
565 lv_indev_gesture_motion_t * motion; in gesture_calculate_factors() local
577 motion = &g->motions[i]; in gesture_calculate_factors()
579 if(motion->finger >= 0) { in gesture_calculate_factors()
580 center_x += motion->point.x; in gesture_calculate_factors()
581 center_y += motion->point.y; in gesture_calculate_factors()
599 motion = &g->motions[i]; in gesture_calculate_factors()
601 if(motion->finger >= 0) { in gesture_calculate_factors()
602 d_x = (motion->point.x - center_x); in gesture_calculate_factors()
603 d_y = (motion->point.y - center_y); in gesture_calculate_factors()