Lines Matching refs:y1
251 p->y = find_snap_point_y(obj, obj->coords.y1, obj->coords.y2, 0); in lv_indev_scroll_get_snap_dist()
398 … proc->types.pointer.scroll_area.y1 = find_snap_point_y(obj, obj->coords.y1 + 1, LV_COORD_MAX, 0); in init_scroll_limits()
399 … proc->types.pointer.scroll_area.y2 = find_snap_point_y(obj, LV_COORD_MIN, obj->coords.y1 - 1, 0); in init_scroll_limits()
402 … proc->types.pointer.scroll_area.y1 = find_snap_point_y(obj, obj->coords.y2, LV_COORD_MAX, 0); in init_scroll_limits()
406 lv_coord_t y_mid = obj->coords.y1 + lv_area_get_height(&obj->coords) / 2; in init_scroll_limits()
407 … proc->types.pointer.scroll_area.y1 = find_snap_point_y(obj, y_mid + 1, LV_COORD_MAX, 0); in init_scroll_limits()
412 proc->types.pointer.scroll_area.y1 = LV_COORD_MIN; in init_scroll_limits()
442 if(proc->types.pointer.scroll_area.y1 == 0) proc->types.pointer.scroll_area.y1 = LV_COORD_MIN; in init_scroll_limits()
530 y_child = child->coords.y1; in find_snap_point_y()
531 y_parent = obj->coords.y1 + pad_top; in find_snap_point_y()
538 y_child = child->coords.y1 + lv_area_get_height(&child->coords) / 2; in find_snap_point_y()
539 …y_parent = obj->coords.y1 + pad_top + (lv_area_get_height(&obj->coords) - pad_top - pad_bottom) / … in find_snap_point_y()
559 if(proc->types.pointer.scroll_sum.y + *diff_y < proc->types.pointer.scroll_area.y1) { in scroll_limit_diff()
560 *diff_y = proc->types.pointer.scroll_area.y1 - proc->types.pointer.scroll_sum.y; in scroll_limit_diff()
650 …top + (lv_area_get_height(&scroll_obj->coords) - pad_top - pad_bottom) / 2 + scroll_obj->coords.y1; in elastic_diff()
651 act_obj_point = lv_area_get_height(&act_obj->coords) / 2 + act_obj->coords.y1; in elastic_diff()
654 snap_point = scroll_obj->coords.y1 + pad_top; in elastic_diff()
655 act_obj_point = act_obj->coords.y1; in elastic_diff()