Lines Matching refs:x
192 …lv_obj_set_pos(indev->cursor, indev->proc.types.pointer.act_point.x, indev->proc.types.pointer.act… in lv_indev_set_cursor()
214 point->x = 0; in lv_indev_get_point()
219 point->x = -1; in lv_indev_get_point()
223 point->x = indev->proc.types.pointer.act_point.x; in lv_indev_get_point()
257 point->x = 0; in lv_indev_get_vect()
263 point->x = indev->proc.types.pointer.vect.x; in lv_indev_get_vect()
329 i->proc.types.pointer.last_raw_point.x = data->point.x; in indev_pointer_proc()
333 data->point.x = disp->driver->hor_res - data->point.x - 1; in indev_pointer_proc()
338 data->point.y = data->point.x; in indev_pointer_proc()
339 data->point.x = disp->driver->ver_res - tmp - 1; in indev_pointer_proc()
343 if(data->point.x < 0) { in indev_pointer_proc()
344 LV_LOG_WARN("X is %d which is smaller than zero", data->point.x); in indev_pointer_proc()
346 if(data->point.x >= lv_disp_get_hor_res(i->driver->disp)) { in indev_pointer_proc()
347 LV_LOG_WARN("X is %d which is greater than hor. res", data->point.x); in indev_pointer_proc()
358 …(i->proc.types.pointer.last_point.x != data->point.x || i->proc.types.pointer.last_point.y != data… in indev_pointer_proc()
359 lv_obj_set_pos(i->cursor, data->point.x, data->point.y); in indev_pointer_proc()
362 i->proc.types.pointer.act_point.x = data->point.x; in indev_pointer_proc()
372 i->proc.types.pointer.last_point.x = i->proc.types.pointer.act_point.x; in indev_pointer_proc()
740 lv_coord_t x = i->btn_points[data->btn_id].x; in indev_button_proc() local
746 LV_LOG_INFO("button %d is pressed (x:%d y:%d)", data->btn_id, x, y); in indev_button_proc()
749 LV_LOG_INFO("button %d is released (x:%d y:%d)", data->btn_id, x, y); in indev_button_proc()
755 if(i->proc.types.pointer.last_point.x != x || in indev_button_proc()
764 i->proc.types.pointer.act_point.x = x; in indev_button_proc()
772 i->proc.types.pointer.last_point.x = i->proc.types.pointer.act_point.x; in indev_button_proc()
783 …LV_LOG_INFO("pressed at x:%d y:%d", proc->types.pointer.act_point.x, proc->types.pointer.act_point… in indev_proc_press()
813 proc->types.pointer.scroll_throw_vect.x = 0; in indev_proc_press()
821 proc->types.pointer.last_point.x = proc->types.pointer.act_point.x; in indev_proc_press()
840 proc->types.pointer.scroll_sum.x = 0; in indev_proc_press()
845 proc->types.pointer.gesture_sum.x = 0; in indev_proc_press()
847 proc->types.pointer.vect.x = 0; in indev_proc_press()
864 proc->types.pointer.vect.x = proc->types.pointer.act_point.x - proc->types.pointer.last_point.x; in indev_proc_press()
867 proc->types.pointer.scroll_throw_vect.x = (proc->types.pointer.scroll_throw_vect.x * 4) >> 3; in indev_proc_press()
870 proc->types.pointer.scroll_throw_vect.x += (proc->types.pointer.vect.x * 4) >> 3; in indev_proc_press()
978 indev->proc.types.pointer.scroll_sum.x = 0; in indev_proc_reset_query_handler()
981 indev->proc.types.pointer.scroll_throw_vect.x = 0; in indev_proc_reset_query_handler()
983 indev->proc.types.pointer.gesture_sum.x = 0; in indev_proc_reset_query_handler()
1078 if((LV_ABS(proc->types.pointer.vect.x) < indev_act->driver->gesture_min_velocity) && in indev_gesture()
1080 proc->types.pointer.gesture_sum.x = 0; in indev_gesture()
1085 proc->types.pointer.gesture_sum.x += proc->types.pointer.vect.x; in indev_gesture()
1088 if((LV_ABS(proc->types.pointer.gesture_sum.x) > indev_act->driver->gesture_limit) || in indev_gesture()
1093 if(LV_ABS(proc->types.pointer.gesture_sum.x) > LV_ABS(proc->types.pointer.gesture_sum.y)) { in indev_gesture()
1094 if(proc->types.pointer.gesture_sum.x > 0) in indev_gesture()