Lines Matching full:x
48 if(proc->types.pointer.vect.x == 0 && proc->types.pointer.vect.y == 0) { in _lv_indev_scroll_handler()
86 diff_x = elastic_diff(scroll_obj, proc->types.pointer.vect.x, sl, sr, LV_DIR_HOR); in _lv_indev_scroll_handler()
105 proc->types.pointer.scroll_sum.x += diff_x; in _lv_indev_scroll_handler()
120 proc->types.pointer.scroll_throw_vect.x = 0; in _lv_indev_scroll_throw_handler()
127 proc->types.pointer.scroll_throw_vect.x = 0; in _lv_indev_scroll_throw_handler()
154 proc->types.pointer.scroll_throw_vect.x = in _lv_indev_scroll_throw_handler()
155 proc->types.pointer.scroll_throw_vect.x * (100 - scroll_throw) / 100; in _lv_indev_scroll_throw_handler()
160 …proc->types.pointer.scroll_throw_vect.x = elastic_diff(scroll_obj, proc->types.pointer.scroll_thro… in _lv_indev_scroll_throw_handler()
163 lv_obj_scroll_by(scroll_obj, proc->types.pointer.scroll_throw_vect.x, 0, LV_ANIM_OFF); in _lv_indev_scroll_throw_handler()
168 proc->types.pointer.scroll_throw_vect.x = 0; in _lv_indev_scroll_throw_handler()
170 lv_coord_t x = find_snap_point_x(scroll_obj, LV_COORD_MIN, LV_COORD_MAX, diff_x); in _lv_indev_scroll_throw_handler() local
171 lv_obj_scroll_by(scroll_obj, x + diff_x, 0, LV_ANIM_ON); in _lv_indev_scroll_throw_handler()
176 … if(proc->types.pointer.scroll_throw_vect.x == 0 && proc->types.pointer.scroll_throw_vect.y == 0) { in _lv_indev_scroll_throw_handler()
229 v = indev->proc.types.pointer.scroll_throw_vect_ori.x; in lv_indev_scroll_throw_predict()
247 p->x = find_snap_point_x(obj, obj->coords.x1, obj->coords.x2, 0); in lv_indev_scroll_get_snap_dist()
275 proc->types.pointer.scroll_sum.x += proc->types.pointer.vect.x; in find_scroll_obj()
298 if(LV_ABS(obj_scroll_sum.x) > LV_ABS(obj_scroll_sum.y)) { in find_scroll_obj()
345 ((left_en && obj_scroll_sum.x >= scroll_limit) || in find_scroll_obj()
346 (right_en && obj_scroll_sum.x <= - scroll_limit))) { in find_scroll_obj()
357 if((left_en && obj_scroll_sum.x >= scroll_limit) || in find_scroll_obj()
358 (right_en && obj_scroll_sum.x <= - scroll_limit) || in find_scroll_obj()
377 proc->types.pointer.scroll_sum.x = 0; in find_scroll_obj()
489 lv_coord_t x = x_child - x_parent; in find_snap_point_x() local
490 if(LV_ABS(x) < LV_ABS(dist)) dist = x; in find_snap_point_x()
566 if(proc->types.pointer.scroll_sum.x + *diff_x < proc->types.pointer.scroll_area.x1) { in scroll_limit_diff()
567 *diff_x = proc->types.pointer.scroll_area.x1 - proc->types.pointer.scroll_sum.x; in scroll_limit_diff()
570 if(proc->types.pointer.scroll_sum.x + *diff_x > proc->types.pointer.scroll_area.x2) { in scroll_limit_diff()
571 *diff_x = proc->types.pointer.scroll_area.x2 - proc->types.pointer.scroll_sum.x; in scroll_limit_diff()
593 lv_coord_t x = proc->types.pointer.scroll_throw_vect.x; in scroll_throw_predict_x() local
599 while(x) { in scroll_throw_predict_x()
600 move += x; in scroll_throw_predict_x()
601 x = x * (100 - scroll_throw) / 100; in scroll_throw_predict_x()