Lines Matching refs:x
202 …lv_obj_set_pos(indev->cursor, indev->proc.types.pointer.act_point.x, indev->proc.types.pointer.act… in lv_indev_set_cursor()
224 point->x = 0; in lv_indev_get_point()
229 point->x = -1; in lv_indev_get_point()
233 point->x = indev->proc.types.pointer.act_point.x; in lv_indev_get_point()
267 point->x = 0; in lv_indev_get_vect()
273 point->x = indev->proc.types.pointer.vect.x; in lv_indev_get_vect()
344 i->proc.types.pointer.last_raw_point.x = data->point.x; in indev_pointer_proc()
348 data->point.x = disp->driver->hor_res - data->point.x - 1; in indev_pointer_proc()
353 data->point.y = data->point.x; in indev_pointer_proc()
354 data->point.x = disp->driver->ver_res - tmp - 1; in indev_pointer_proc()
358 if(data->point.x < 0) { in indev_pointer_proc()
359 LV_LOG_WARN("X is %d which is smaller than zero", data->point.x); in indev_pointer_proc()
361 if(data->point.x >= lv_disp_get_hor_res(i->driver->disp)) { in indev_pointer_proc()
362 LV_LOG_WARN("X is %d which is greater than hor. res", data->point.x); in indev_pointer_proc()
373 …(i->proc.types.pointer.last_point.x != data->point.x || i->proc.types.pointer.last_point.y != data… in indev_pointer_proc()
374 lv_obj_set_pos(i->cursor, data->point.x, data->point.y); in indev_pointer_proc()
377 i->proc.types.pointer.act_point.x = data->point.x; in indev_pointer_proc()
387 i->proc.types.pointer.last_point.x = i->proc.types.pointer.act_point.x; in indev_pointer_proc()
776 lv_coord_t x = i->btn_points[data->btn_id].x; in indev_button_proc() local
782 LV_LOG_INFO("button %" LV_PRIu32 " is pressed (x:%d y:%d)", data->btn_id, x, y); in indev_button_proc()
785 LV_LOG_INFO("button %" LV_PRIu32 " is released (x:%d y:%d)", data->btn_id, x, y); in indev_button_proc()
791 if(i->proc.types.pointer.last_point.x != x || in indev_button_proc()
800 i->proc.types.pointer.act_point.x = x; in indev_button_proc()
808 i->proc.types.pointer.last_point.x = i->proc.types.pointer.act_point.x; in indev_button_proc()
819 …LV_LOG_INFO("pressed at x:%d y:%d", proc->types.pointer.act_point.x, proc->types.pointer.act_point… in indev_proc_press()
849 proc->types.pointer.scroll_throw_vect.x = 0; in indev_proc_press()
857 proc->types.pointer.last_point.x = proc->types.pointer.act_point.x; in indev_proc_press()
876 proc->types.pointer.scroll_sum.x = 0; in indev_proc_press()
881 proc->types.pointer.gesture_sum.x = 0; in indev_proc_press()
883 proc->types.pointer.vect.x = 0; in indev_proc_press()
900 proc->types.pointer.vect.x = proc->types.pointer.act_point.x - proc->types.pointer.last_point.x; in indev_proc_press()
903 …proc->types.pointer.scroll_throw_vect.x = (proc->types.pointer.scroll_throw_vect.x + proc->types.p… in indev_proc_press()
1035 indev->proc.types.pointer.scroll_sum.x = 0; in indev_proc_reset_query_handler()
1038 indev->proc.types.pointer.scroll_throw_vect.x = 0; in indev_proc_reset_query_handler()
1040 indev->proc.types.pointer.gesture_sum.x = 0; in indev_proc_reset_query_handler()
1135 if((LV_ABS(proc->types.pointer.vect.x) < indev_act->driver->gesture_min_velocity) && in indev_gesture()
1137 proc->types.pointer.gesture_sum.x = 0; in indev_gesture()
1142 proc->types.pointer.gesture_sum.x += proc->types.pointer.vect.x; in indev_gesture()
1145 if((LV_ABS(proc->types.pointer.gesture_sum.x) > indev_act->driver->gesture_limit) || in indev_gesture()
1150 if(LV_ABS(proc->types.pointer.gesture_sum.x) > LV_ABS(proc->types.pointer.gesture_sum.y)) { in indev_gesture()
1151 if(proc->types.pointer.gesture_sum.x > 0) in indev_gesture()