Lines Matching refs:int32_t

28 static int32_t find_snap_point_x(const lv_obj_t * obj, int32_t min, int32_t max, int32_t ofs);
29 static int32_t find_snap_point_y(const lv_obj_t * obj, int32_t min, int32_t max, int32_t ofs);
30 static void scroll_limit_diff(lv_indev_t * indev, int32_t * diff_x, int32_t * diff_y);
31 static int32_t elastic_diff(lv_obj_t * scroll_obj, int32_t diff, int32_t scroll_start, int32_t scro…
73 int32_t zoom_act_x = lv_obj_get_style_transform_scale_x_safe(parent, 0); in lv_indev_scroll_handler()
74 int32_t zoom_act_y = lv_obj_get_style_transform_scale_y_safe(parent, 0); in lv_indev_scroll_handler()
96 int32_t diff_x = 0; in lv_indev_scroll_handler()
97 int32_t diff_y = 0; in lv_indev_scroll_handler()
99 int32_t sr = lv_obj_get_scroll_right(scroll_obj); in lv_indev_scroll_handler()
100 int32_t sl = lv_obj_get_scroll_left(scroll_obj); in lv_indev_scroll_handler()
104 int32_t st = lv_obj_get_scroll_top(scroll_obj); in lv_indev_scroll_handler()
105 int32_t sb = lv_obj_get_scroll_bottom(scroll_obj); in lv_indev_scroll_handler()
130 int32_t scroll_throw = indev->scroll_throw; in lv_indev_scroll_throw_handler()
147 int32_t sb = lv_obj_get_scroll_bottom(scroll_obj); in lv_indev_scroll_throw_handler()
148 int32_t st = lv_obj_get_scroll_top(scroll_obj); in lv_indev_scroll_throw_handler()
158 int32_t diff_y = lv_indev_scroll_throw_predict(indev, LV_DIR_VER); in lv_indev_scroll_throw_handler()
161 int32_t y = find_snap_point_y(scroll_obj, LV_COORD_MIN, LV_COORD_MAX, diff_y); in lv_indev_scroll_throw_handler()
173 int32_t sl = lv_obj_get_scroll_left(scroll_obj); in lv_indev_scroll_throw_handler()
174 int32_t sr = lv_obj_get_scroll_right(scroll_obj); in lv_indev_scroll_throw_handler()
184 int32_t diff_x = lv_indev_scroll_throw_predict(indev, LV_DIR_HOR); in lv_indev_scroll_throw_handler()
187 int32_t x = find_snap_point_x(scroll_obj, LV_COORD_MIN, LV_COORD_MAX, diff_x); in lv_indev_scroll_throw_handler()
198 int32_t st = lv_obj_get_scroll_top(scroll_obj); in lv_indev_scroll_throw_handler()
199 int32_t sb = lv_obj_get_scroll_bottom(scroll_obj); in lv_indev_scroll_throw_handler()
214 int32_t sl = lv_obj_get_scroll_left(scroll_obj); in lv_indev_scroll_throw_handler()
215 int32_t sr = lv_obj_get_scroll_right(scroll_obj); in lv_indev_scroll_throw_handler()
236 int32_t lv_indev_scroll_throw_predict(lv_indev_t * indev, lv_dir_t dir) in lv_indev_scroll_throw_predict()
239 int32_t v; in lv_indev_scroll_throw_predict()
251 int32_t scroll_throw = indev->scroll_throw; in lv_indev_scroll_throw_predict()
252 int32_t sum = 0; in lv_indev_scroll_throw_predict()
271 int32_t scroll_limit = indev->scroll_limit; in lv_indev_find_scroll_obj()
291 int32_t scale_x = 256; in lv_indev_find_scroll_obj()
292 int32_t scale_y = 256; in lv_indev_find_scroll_obj()
297 int32_t zoom_act_x = lv_obj_get_style_transform_scale_x_safe(parent, 0); in lv_indev_find_scroll_obj()
298 int32_t zoom_act_y = lv_obj_get_style_transform_scale_y_safe(parent, 0); in lv_indev_find_scroll_obj()
350 int32_t sl = 0; in lv_indev_find_scroll_obj()
351 int32_t sr = 0; in lv_indev_find_scroll_obj()
369 int32_t st = 0; in lv_indev_find_scroll_obj()
370 int32_t sb = 0; in lv_indev_find_scroll_obj()
461 int32_t y_mid = obj->coords.y1 + lv_area_get_height(&obj->coords) / 2; in init_scroll_limits()
482 int32_t x_mid = obj->coords.x1 + lv_area_get_width(&obj->coords) / 2; in init_scroll_limits()
516 static int32_t find_snap_point_x(const lv_obj_t * obj, int32_t min, int32_t max, int32_t ofs) in find_snap_point_x()
521 int32_t dist = LV_COORD_MAX; in find_snap_point_x()
523 int32_t pad_left = lv_obj_get_style_pad_left(obj, LV_PART_MAIN); in find_snap_point_x()
524 int32_t pad_right = lv_obj_get_style_pad_right(obj, LV_PART_MAIN); in find_snap_point_x()
532 int32_t x_child = 0; in find_snap_point_x()
533 int32_t x_parent = 0; in find_snap_point_x()
553 int32_t x = x_child - x_parent; in find_snap_point_x()
572 static int32_t find_snap_point_y(const lv_obj_t * obj, int32_t min, int32_t max, int32_t ofs) in find_snap_point_y()
577 int32_t dist = LV_COORD_MAX; in find_snap_point_y()
579 int32_t pad_top = lv_obj_get_style_pad_top(obj, LV_PART_MAIN); in find_snap_point_y()
580 int32_t pad_bottom = lv_obj_get_style_pad_bottom(obj, LV_PART_MAIN); in find_snap_point_y()
588 int32_t y_child = 0; in find_snap_point_y()
589 int32_t y_parent = 0; in find_snap_point_y()
609 int32_t y = y_child - y_parent; in find_snap_point_y()
618 static void scroll_limit_diff(lv_indev_t * indev, int32_t * diff_x, int32_t * diff_y) in scroll_limit_diff()
641 static int32_t elastic_diff(lv_obj_t * scroll_obj, int32_t diff, int32_t scroll_start, int32_t scro… in elastic_diff()
654 const int32_t scroll_ended = diff > 0 ? scroll_start : scroll_end; in elastic_diff()
717 int32_t x = 0; in has_more_snap_points()
720 int32_t pad_left = lv_obj_get_style_pad_left(scroll_obj, 0); in has_more_snap_points()
721 int32_t pad_right = lv_obj_get_style_pad_right(scroll_obj, 0); in has_more_snap_points()
736 int32_t d; in has_more_snap_points()
743 int32_t y = 0; in has_more_snap_points()
746 int32_t pad_top = lv_obj_get_style_pad_top(scroll_obj, 0); in has_more_snap_points()
747 int32_t pad_bottom = lv_obj_get_style_pad_bottom(scroll_obj, 0); in has_more_snap_points()
762 int32_t d; in has_more_snap_points()