Lines Matching refs:x
215 …lv_obj_set_pos(indev->cursor, indev->proc.types.pointer.act_point.x, indev->proc.types.pointer.act… in lv_indev_set_cursor()
254 point->x = 0; in lv_indev_get_point()
259 point->x = -1; in lv_indev_get_point()
263 point->x = indev->proc.types.pointer.act_point.x; in lv_indev_get_point()
313 point->x = 0; in lv_indev_get_vect()
319 point->x = 0; in lv_indev_get_vect()
323 point->x = indev->proc.types.pointer.vect.x; in lv_indev_get_vect()
341 indev->proc.types.pointer.drag_throw_vect.x = 0; in lv_indev_finish_drag()
406 …(i->proc.types.pointer.last_point.x != data->point.x || i->proc.types.pointer.last_point.y != data… in indev_pointer_proc()
407 lv_obj_set_pos(i->cursor, data->point.x, data->point.y); in indev_pointer_proc()
410 i->proc.types.pointer.act_point.x = data->point.x; in indev_pointer_proc()
420 i->proc.types.pointer.last_point.x = i->proc.types.pointer.act_point.x; in indev_pointer_proc()
810 i->proc.types.pointer.act_point.x = i->btn_points[data->btn_id].x; in indev_button_proc()
814 if(i->proc.types.pointer.last_point.x == i->proc.types.pointer.act_point.x && in indev_button_proc()
823 i->proc.types.pointer.last_point.x = i->proc.types.pointer.act_point.x; in indev_button_proc()
866 proc->types.pointer.drag_throw_vect.x = 0; in indev_proc_press()
878 proc->types.pointer.last_point.x = proc->types.pointer.act_point.x; in indev_proc_press()
902 proc->types.pointer.drag_sum.x = 0; in indev_proc_press()
906 proc->types.pointer.gesture_sum.x = 0; in indev_proc_press()
908 proc->types.pointer.vect.x = 0; in indev_proc_press()
941 proc->types.pointer.vect.x = proc->types.pointer.act_point.x - proc->types.pointer.last_point.x; in indev_proc_press()
944 proc->types.pointer.drag_throw_vect.x = (proc->types.pointer.drag_throw_vect.x * 5) >> 3; in indev_proc_press()
947 if(proc->types.pointer.drag_throw_vect.x < 0) in indev_proc_press()
948 proc->types.pointer.drag_throw_vect.x++; in indev_proc_press()
949 else if(proc->types.pointer.drag_throw_vect.x > 0) in indev_proc_press()
950 proc->types.pointer.drag_throw_vect.x--; in indev_proc_press()
957 proc->types.pointer.drag_throw_vect.x += (proc->types.pointer.vect.x * 4) >> 3; in indev_proc_press()
1104 indev->proc.types.pointer.drag_sum.x = 0; in indev_proc_reset_query_handler()
1107 indev->proc.types.pointer.drag_throw_vect.x = 0; in indev_proc_reset_query_handler()
1109 indev->proc.types.pointer.gesture_sum.x = 0; in indev_proc_reset_query_handler()
1267 proc->types.pointer.drag_sum.x += proc->types.pointer.vect.x; in indev_drag()
1282 … if(LV_MATH_ABS(proc->types.pointer.drag_sum.x) > LV_MATH_ABS(proc->types.pointer.drag_sum.y)) { in indev_drag()
1291 … if((hor_en && LV_MATH_ABS(proc->types.pointer.drag_sum.x) >= indev_act->driver.drag_limit) || in indev_drag()
1301 if(proc->types.pointer.vect.x != 0 || proc->types.pointer.vect.y != 0) { in indev_drag()
1315 act_x += proc->types.pointer.drag_sum.x; in indev_drag()
1323 act_x += proc->types.pointer.drag_sum.x; in indev_drag()
1329 proc->types.pointer.drag_sum.x = 0; in indev_drag()
1335 … if(LV_MATH_ABS(proc->types.pointer.drag_sum.x) > LV_MATH_ABS(proc->types.pointer.drag_sum.y)) { in indev_drag()
1338 act_x += proc->types.pointer.drag_sum.x; in indev_drag()
1342 proc->types.pointer.drag_sum.x = 0; in indev_drag()
1352 … LV_MATH_ABS(proc->types.pointer.drag_sum.x) > LV_MATH_ABS(proc->types.pointer.drag_sum.y))) { in indev_drag()
1353 act_x += proc->types.pointer.vect.x; in indev_drag()
1358 … LV_MATH_ABS(proc->types.pointer.drag_sum.x) < LV_MATH_ABS(proc->types.pointer.drag_sum.y))) { in indev_drag()
1420 proc->types.pointer.drag_throw_vect.x = in indev_drag_throw()
1421 proc->types.pointer.drag_throw_vect.x * (100 - indev_act->driver.drag_throw) / 100; in indev_drag_throw()
1425 if(proc->types.pointer.drag_throw_vect.x != 0 || proc->types.pointer.drag_throw_vect.y != 0) { in indev_drag_throw()
1429 lv_coord_t act_x = lv_obj_get_x(drag_obj) + proc->types.pointer.drag_throw_vect.x; in indev_drag_throw()
1436 if(proc->types.pointer.drag_sum.x) lv_obj_set_x(drag_obj, act_x); in indev_drag_throw()
1443 if((coords_ori.x1 == coord_new.x1 || proc->types.pointer.drag_throw_vect.x == 0) && in indev_drag_throw()
1446 proc->types.pointer.vect.x = 0; in indev_drag_throw()
1448 proc->types.pointer.drag_throw_vect.x = 0; in indev_drag_throw()
1505 if((LV_MATH_ABS(proc->types.pointer.vect.x) < indev_act->driver.gesture_min_velocity) && in indev_gesture()
1507 proc->types.pointer.gesture_sum.x = 0; in indev_gesture()
1512 proc->types.pointer.gesture_sum.x += proc->types.pointer.vect.x; in indev_gesture()
1515 if((LV_MATH_ABS(proc->types.pointer.gesture_sum.x) > indev_act->driver.gesture_limit) || in indev_gesture()
1520 …if(LV_MATH_ABS(proc->types.pointer.gesture_sum.x) > LV_MATH_ABS(proc->types.pointer.gesture_sum.y)… in indev_gesture()
1521 if(proc->types.pointer.gesture_sum.x > 0) in indev_gesture()