Lines Matching refs:coords
247 p->x = find_snap_point_x(obj, obj->coords.x1, obj->coords.x2, 0); in lv_indev_scroll_get_snap_dist()
248 p->y = find_snap_point_y(obj, obj->coords.y1, obj->coords.y2, 0); in lv_indev_scroll_get_snap_dist()
395 … proc->types.pointer.scroll_area.y1 = find_snap_point_y(obj, obj->coords.y1 + 1, LV_COORD_MAX, 0); in init_scroll_limits()
396 … proc->types.pointer.scroll_area.y2 = find_snap_point_y(obj, LV_COORD_MIN, obj->coords.y1 - 1, 0); in init_scroll_limits()
399 … proc->types.pointer.scroll_area.y1 = find_snap_point_y(obj, obj->coords.y2, LV_COORD_MAX, 0); in init_scroll_limits()
400 … proc->types.pointer.scroll_area.y2 = find_snap_point_y(obj, LV_COORD_MIN, obj->coords.y2, 0); in init_scroll_limits()
403 lv_coord_t y_mid = obj->coords.y1 + lv_area_get_height(&obj->coords) / 2; in init_scroll_limits()
416 … proc->types.pointer.scroll_area.x1 = find_snap_point_x(obj, obj->coords.x1, LV_COORD_MAX, 0); in init_scroll_limits()
417 … proc->types.pointer.scroll_area.x2 = find_snap_point_x(obj, LV_COORD_MIN, obj->coords.x1, 0); in init_scroll_limits()
420 … proc->types.pointer.scroll_area.x1 = find_snap_point_x(obj, obj->coords.x2, LV_COORD_MAX, 0); in init_scroll_limits()
421 … proc->types.pointer.scroll_area.x2 = find_snap_point_x(obj, LV_COORD_MIN, obj->coords.x2, 0); in init_scroll_limits()
424 lv_coord_t x_mid = obj->coords.x1 + lv_area_get_width(&obj->coords) / 2; in init_scroll_limits()
472 x_child = child->coords.x1; in find_snap_point_x()
473 x_parent = obj->coords.x1 + pad_left; in find_snap_point_x()
476 x_child = child->coords.x2; in find_snap_point_x()
477 x_parent = obj->coords.x2 - pad_right; in find_snap_point_x()
480 x_child = child->coords.x1 + lv_area_get_width(&child->coords) / 2; in find_snap_point_x()
481 …x_parent = obj->coords.x1 + pad_left + (lv_area_get_width(&obj->coords) - pad_left - pad_right) / … in find_snap_point_x()
527 y_child = child->coords.y1; in find_snap_point_y()
528 y_parent = obj->coords.y1 + pad_top; in find_snap_point_y()
531 y_child = child->coords.y2; in find_snap_point_y()
532 y_parent = obj->coords.y2 - pad_bottom; in find_snap_point_y()
535 y_child = child->coords.y1 + lv_area_get_height(&child->coords) / 2; in find_snap_point_y()
536 …y_parent = obj->coords.y1 + pad_top + (lv_area_get_height(&obj->coords) - pad_top - pad_bottom) / … in find_snap_point_y()
625 …nt = pad_left + (lv_area_get_width(&scroll_obj->coords) - pad_left - pad_right) / 2 + scroll_obj->… in elastic_diff()
626 act_obj_point = lv_area_get_width(&act_obj->coords) / 2 + act_obj->coords.x1; in elastic_diff()
629 snap_point = scroll_obj->coords.x1 + pad_left; in elastic_diff()
630 act_obj_point = act_obj->coords.x1; in elastic_diff()
633 snap_point = scroll_obj->coords.x2 - pad_right; in elastic_diff()
634 act_obj_point = act_obj->coords.x2; in elastic_diff()
644 …nt = pad_top + (lv_area_get_height(&scroll_obj->coords) - pad_top - pad_bottom) / 2 + scroll_obj->… in elastic_diff()
645 act_obj_point = lv_area_get_height(&act_obj->coords) / 2 + act_obj->coords.y1; in elastic_diff()
648 snap_point = scroll_obj->coords.y1 + pad_top; in elastic_diff()
649 act_obj_point = act_obj->coords.y1; in elastic_diff()
652 snap_point = scroll_obj->coords.y2 - pad_bottom; in elastic_diff()
653 act_obj_point = act_obj->coords.y2; in elastic_diff()