Home
last modified time | relevance | path

Searched refs:int32_t (Results 1 – 25 of 475) sorted by relevance

12345678910>>...19

/lvgl-latest/src/draw/sw/
Dlv_draw_sw_utils.c76 static void rotate90_argb8888(const uint32_t * src, uint32_t * dst, int32_t src_width, int32_t src_…
77 int32_t src_stride,
78 int32_t dst_stride);
79 …rotate180_argb8888(const uint32_t * src, uint32_t * dst, int32_t width, int32_t height, int32_t sr…
80 int32_t dest_stride);
81 static void rotate270_argb8888(const uint32_t * src, uint32_t * dst, int32_t src_width, int32_t src…
82 int32_t src_stride,
83 int32_t dst_stride);
86 static void rotate90_rgb888(const uint8_t * src, uint8_t * dst, int32_t src_width, int32_t src_heig…
87 int32_t src_stride,
[all …]
Dlv_draw_sw_transform.c26 int32_t x_in;
27 int32_t y_in;
28 int32_t x_out;
29 int32_t y_out;
30 int32_t sinma;
31 int32_t cosma;
32 int32_t scale_x;
33 int32_t scale_y;
34 int32_t angle;
35 int32_t pivot_x_256;
[all …]
Dlv_draw_sw_gradient.h51 void /* LV_ATTRIBUTE_FAST_MEM */ lv_gradient_color_calculate(const lv_grad_dsc_t * dsc, int32_t ran…
52int32_t frac, lv_grad_color_t * color_out, lv_opa_t * opa_out);
55 lv_grad_t * lv_gradient_get(const lv_grad_dsc_t * gradient, int32_t w, int32_t h);
86 void lv_grad_linear_init(lv_grad_dsc_t * dsc, int32_t from_x, int32_t from_y, int32_t to_x, int32_t
99 void lv_grad_radial_init(lv_grad_dsc_t * dsc, int32_t center_x, int32_t center_y, int32_t to_x, int…
110 void lv_grad_radial_set_focal(lv_grad_dsc_t * dsc, int32_t center_x, int32_t center_y, int32_t radi…
122 void lv_grad_conical_init(lv_grad_dsc_t * dsc, int32_t center_x, int32_t center_y, int32_t start_an…
123 int32_t end_angle, lv_grad_extend_t extend);
145 …FAST_MEM */ lv_gradient_linear_get_line(lv_grad_dsc_t * dsc, int32_t xp, int32_t yp, int32_t width,
168 …FAST_MEM */ lv_gradient_radial_get_line(lv_grad_dsc_t * dsc, int32_t xp, int32_t yp, int32_t width,
[all …]
Dlv_draw_sw_mask.h63 typedef lv_draw_sw_mask_res_t (*lv_draw_sw_mask_xcb_t)(lv_opa_t * mask_buf, int32_t abs_x, int32_t
64 int32_t len,
90 int32_t abs_x,
91 int32_t abs_y,
92 int32_t len);
116 void lv_draw_sw_mask_line_points_init(lv_draw_sw_mask_line_param_t * param, int32_t p1x, int32_t p1…
117 int32_t p2x,
118 int32_t p2y, lv_draw_sw_mask_line_side_t side);
130 void lv_draw_sw_mask_line_angle_init(lv_draw_sw_mask_line_param_t * param, int32_t px, int32_t py, …
141 void lv_draw_sw_mask_angle_init(lv_draw_sw_mask_angle_param_t * param, int32_t vertex_x, int32_t ve…
[all …]
Dlv_draw_sw_gradient.c37 int32_t x0; /* center of the start circle */
38 int32_t y0; /* center of the start circle */
39 int32_t r0; /* radius of the start circle */
40 int32_t inv_dr; /* 1 / (r1 - r0) */
41 int32_t a4; /* 4 * a */
42 int32_t inv_a4; /* 1 / (4 * a) */
43 int32_t dx;
45 int32_t bpx;
46 int32_t bpy;
47 int32_t bc;
[all …]
Dlv_draw_sw_mask.c36 …raw_sw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_line(lv_opa_t * mask_buf, int32_t abs_x,
37int32_t abs_y, int32_t len,
39 …w_sw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_radius(lv_opa_t * mask_buf, int32_t abs_x,
40int32_t abs_y, int32_t len,
42 …aw_sw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_angle(lv_opa_t * mask_buf, int32_t abs_x,
43int32_t abs_y, int32_t len,
45 …raw_sw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_fade(lv_opa_t * mask_buf, int32_t abs_x,
46int32_t abs_y, int32_t len,
48 …draw_sw_mask_res_t /* LV_ATTRIBUTE_FAST_MEM */ lv_draw_mask_map(lv_opa_t * mask_buf, int32_t abs_x,
49int32_t abs_y, int32_t len,
[all …]
/lvgl-latest/src/core/
Dlv_obj_pos.h54 void lv_obj_set_pos(lv_obj_t * obj, int32_t x, int32_t y);
65 void lv_obj_set_x(lv_obj_t * obj, int32_t x);
76 void lv_obj_set_y(lv_obj_t * obj, int32_t y);
89 void lv_obj_set_size(lv_obj_t * obj, int32_t w, int32_t h);
108 void lv_obj_set_width(lv_obj_t * obj, int32_t w);
120 void lv_obj_set_height(lv_obj_t * obj, int32_t h);
127 void lv_obj_set_content_width(lv_obj_t * obj, int32_t w);
134 void lv_obj_set_content_height(lv_obj_t * obj, int32_t h);
179 void lv_obj_align(lv_obj_t * obj, lv_align_t align, int32_t x_ofs, int32_t y_ofs);
190 void lv_obj_align_to(lv_obj_t * obj, const lv_obj_t * base, lv_align_t align, int32_t x_ofs,
[all …]
Dlv_obj_style_gen.c13 void lv_obj_set_style_width(lv_obj_t * obj, int32_t value, lv_style_selector_t selector) in lv_obj_set_style_width()
16 .num = (int32_t)value in lv_obj_set_style_width()
21 void lv_obj_set_style_min_width(lv_obj_t * obj, int32_t value, lv_style_selector_t selector) in lv_obj_set_style_min_width()
24 .num = (int32_t)value in lv_obj_set_style_min_width()
29 void lv_obj_set_style_max_width(lv_obj_t * obj, int32_t value, lv_style_selector_t selector) in lv_obj_set_style_max_width()
32 .num = (int32_t)value in lv_obj_set_style_max_width()
37 void lv_obj_set_style_height(lv_obj_t * obj, int32_t value, lv_style_selector_t selector) in lv_obj_set_style_height()
40 .num = (int32_t)value in lv_obj_set_style_height()
45 void lv_obj_set_style_min_height(lv_obj_t * obj, int32_t value, lv_style_selector_t selector) in lv_obj_set_style_min_height()
48 .num = (int32_t)value in lv_obj_set_style_min_height()
[all …]
Dlv_obj_style_gen.h22 static inline int32_t lv_obj_get_style_width(const lv_obj_t * obj, lv_part_t part) in lv_obj_get_style_width()
25 return (int32_t)v.num; in lv_obj_get_style_width()
28 static inline int32_t lv_obj_get_style_min_width(const lv_obj_t * obj, lv_part_t part) in lv_obj_get_style_min_width()
31 return (int32_t)v.num; in lv_obj_get_style_min_width()
34 static inline int32_t lv_obj_get_style_max_width(const lv_obj_t * obj, lv_part_t part) in lv_obj_get_style_max_width()
37 return (int32_t)v.num; in lv_obj_get_style_max_width()
40 static inline int32_t lv_obj_get_style_height(const lv_obj_t * obj, lv_part_t part) in lv_obj_get_style_height()
43 return (int32_t)v.num; in lv_obj_get_style_height()
46 static inline int32_t lv_obj_get_style_min_height(const lv_obj_t * obj, lv_part_t part) in lv_obj_get_style_min_height()
49 return (int32_t)v.num; in lv_obj_get_style_min_height()
[all …]
Dlv_obj_scroll.c36 static void scroll_x_anim(void * obj, int32_t v);
37 static void scroll_y_anim(void * obj, int32_t v);
118 int32_t lv_obj_get_scroll_x(const lv_obj_t * obj) in lv_obj_get_scroll_x()
124 int32_t lv_obj_get_scroll_y(const lv_obj_t * obj) in lv_obj_get_scroll_y()
130 int32_t lv_obj_get_scroll_top(lv_obj_t * obj) in lv_obj_get_scroll_top()
136 int32_t lv_obj_get_scroll_bottom(lv_obj_t * obj) in lv_obj_get_scroll_bottom()
140 int32_t child_res = LV_COORD_MIN; in lv_obj_get_scroll_bottom()
147 int32_t tmp_y = child->coords.y2 + lv_obj_get_style_margin_bottom(child, LV_PART_MAIN); in lv_obj_get_scroll_bottom()
151 int32_t space_top = lv_obj_get_style_space_top(obj, LV_PART_MAIN); in lv_obj_get_scroll_bottom()
152 int32_t space_bottom = lv_obj_get_style_space_bottom(obj, LV_PART_MAIN); in lv_obj_get_scroll_bottom()
[all …]
Dlv_obj_scroll.h122 int32_t lv_obj_get_scroll_x(const lv_obj_t * obj);
132 int32_t lv_obj_get_scroll_y(const lv_obj_t * obj);
142 int32_t lv_obj_get_scroll_top(lv_obj_t * obj);
152 int32_t lv_obj_get_scroll_bottom(lv_obj_t * obj);
162 int32_t lv_obj_get_scroll_left(lv_obj_t * obj);
172 int32_t lv_obj_get_scroll_right(lv_obj_t * obj);
195 void lv_obj_scroll_by(lv_obj_t * obj, int32_t dx, int32_t dy, lv_anim_enable_t anim_en);
206 void lv_obj_scroll_by_bounded(lv_obj_t * obj, int32_t dx, int32_t dy, lv_anim_enable_t anim_en);
216 void lv_obj_scroll_to(lv_obj_t * obj, int32_t x, int32_t y, lv_anim_enable_t anim_en);
225 void lv_obj_scroll_to_x(lv_obj_t * obj, int32_t x, lv_anim_enable_t anim_en);
[all …]
/lvgl-latest/src/misc/
Dlv_style_gen.c13 void lv_style_set_width(lv_style_t * style, int32_t value) in lv_style_set_width()
16 .num = (int32_t)value in lv_style_set_width()
21 void lv_style_set_min_width(lv_style_t * style, int32_t value) in lv_style_set_min_width()
24 .num = (int32_t)value in lv_style_set_min_width()
29 void lv_style_set_max_width(lv_style_t * style, int32_t value) in lv_style_set_max_width()
32 .num = (int32_t)value in lv_style_set_max_width()
37 void lv_style_set_height(lv_style_t * style, int32_t value) in lv_style_set_height()
40 .num = (int32_t)value in lv_style_set_height()
45 void lv_style_set_min_height(lv_style_t * style, int32_t value) in lv_style_set_min_height()
48 .num = (int32_t)value in lv_style_set_min_height()
[all …]
Dlv_style_gen.h17 void lv_style_set_width(lv_style_t * style, int32_t value);
18 void lv_style_set_min_width(lv_style_t * style, int32_t value);
19 void lv_style_set_max_width(lv_style_t * style, int32_t value);
20 void lv_style_set_height(lv_style_t * style, int32_t value);
21 void lv_style_set_min_height(lv_style_t * style, int32_t value);
22 void lv_style_set_max_height(lv_style_t * style, int32_t value);
23 void lv_style_set_length(lv_style_t * style, int32_t value);
24 void lv_style_set_x(lv_style_t * style, int32_t value);
25 void lv_style_set_y(lv_style_t * style, int32_t value);
27 void lv_style_set_transform_width(lv_style_t * style, int32_t value);
[all …]
Dlv_area.h32 int32_t x;
33 int32_t y;
43 int32_t x1;
44 int32_t y1;
45 int32_t x2;
46 int32_t y2;
100 void lv_area_set(lv_area_t * area_p, int32_t x1, int32_t y1, int32_t x2, int32_t y2);
120 int32_t lv_area_get_width(const lv_area_t * area_p);
127 int32_t lv_area_get_height(const lv_area_t * area_p);
134 void lv_area_set_width(lv_area_t * area_p, int32_t w);
[all …]
Dlv_math.h27 #define LV_BEZIER_VAL_FLOAT(f) ((int32_t)((f) * LV_BEZIER_VAL_MAX)) /**< Convert const float number…
54 int32_t /* LV_ATTRIBUTE_FAST_MEM */ lv_trigo_sin(int16_t angle);
56 int32_t LV_ATTRIBUTE_FAST_MEM lv_trigo_cos(int16_t angle);
69 int32_t lv_cubic_bezier(int32_t x, int32_t x1, int32_t y1, int32_t x2, int32_t y2);
80 int32_t lv_bezier3(int32_t t, int32_t u0, uint32_t u1, int32_t u2, int32_t u3);
111 int32_t /* LV_ATTRIBUTE_FAST_MEM */ lv_sqrt32(uint32_t x);
118 static inline int32_t lv_sqr(int32_t x) in lv_sqr()
140 int32_t lv_map(int32_t x, int32_t min_in, int32_t max_in, int32_t min_out, int32_t max_out);
Dlv_area.c41 void lv_area_set(lv_area_t * area_p, int32_t x1, int32_t y1, int32_t x2, int32_t y2) in lv_area_set()
49 void lv_area_set_width(lv_area_t * area_p, int32_t w) in lv_area_set_width()
54 void lv_area_set_height(lv_area_t * area_p, int32_t h) in lv_area_set_height()
59 void lv_area_set_pos(lv_area_t * area_p, int32_t x, int32_t y) in lv_area_set_pos()
61 int32_t w = lv_area_get_width(area_p); in lv_area_set_pos()
62 int32_t h = lv_area_get_height(area_p); in lv_area_set_pos()
78 void lv_area_increase(lv_area_t * area, int32_t w_extra, int32_t h_extra) in lv_area_increase()
86 void lv_area_move(lv_area_t * area, int32_t x_ofs, int32_t y_ofs) in lv_area_move()
124 int32_t a1_w = lv_area_get_width(a1_p) - 1; in lv_area_diff()
125 int32_t a1_h = lv_area_get_height(a1_p) - 1; in lv_area_diff()
[all …]
Dlv_math.c52 int32_t LV_ATTRIBUTE_FAST_MEM lv_trigo_sin(int16_t angle) in lv_trigo_sin()
54 int32_t ret = 0; in lv_trigo_sin()
110 static int32_t do_cubic_bezier(int32_t t, int32_t a, int32_t b, int32_t c) in do_cubic_bezier()
116 int32_t ret; in do_cubic_bezier()
126 int32_t lv_cubic_bezier(int32_t x, int32_t x1, int32_t y1, int32_t x2, int32_t y2) in lv_cubic_bezier()
128 int32_t ax, bx, cx, ay, by, cy; in lv_cubic_bezier()
129 int32_t tl, tr, t; /*t in cubic-bezier function, used for bisection */ in lv_cubic_bezier()
130 int32_t xs; /*x sampled on curve */ in lv_cubic_bezier()
134 int32_t d; in lv_cubic_bezier()
232 int32_t LV_ATTRIBUTE_FAST_MEM lv_sqrt32(uint32_t x) in lv_sqrt32()
[all …]
/lvgl-latest/src/drivers/windows/
Dlv_windows_display.h56 int32_t hor_res,
57 int32_t ver_res,
58 int32_t zoom_level,
79 int32_t lv_windows_zoom_to_logical(int32_t physical, int32_t zoom_level);
91 int32_t lv_windows_zoom_to_physical(int32_t logical, int32_t zoom_level);
103 int32_t lv_windows_dpi_to_logical(int32_t physical, int32_t dpi);
115 int32_t lv_windows_dpi_to_physical(int32_t logical, int32_t dpi);
/lvgl-latest/src/layouts/grid/
Dlv_grid.c39 int32_t * x;
40 int32_t * y;
41 int32_t * w;
42 int32_t * h;
45 int32_t grid_w;
46 int32_t grid_h;
62 static int32_t grid_align(int32_t cont_size, bool auto_size, lv_grid_align_t align, int32_t gap,
64 int32_t * size_array, int32_t * pos_array, bool reverse);
65 static uint32_t count_tracks(const int32_t * templ);
67 static inline const int32_t * get_col_dsc(lv_obj_t * obj) in get_col_dsc()
[all …]
/lvgl-latest/src/layouts/flex/
Dlv_flex.c35 int32_t min_size;
36 int32_t max_size;
37 int32_t final_size;
43 int32_t track_cross_size;
44 int32_t track_main_size; /*For all items*/
45 int32_t track_fix_main_size; /*For non grow items*/
60 static int32_t find_track_end(lv_obj_t * cont, flex_t * f, int32_t item_start_id, int32_t max_main_…
61 int32_t item_gap, track_t * t);
62 … void children_repos(lv_obj_t * cont, flex_t * f, int32_t item_first_id, int32_t item_last_id, int…
63 int32_t abs_y, int32_t max_main_size, int32_t item_gap, track_t * t);
[all …]
/lvgl-latest/src/draw/
Dlv_draw_rect.h35 int32_t radius;
52 int32_t border_width;
59 int32_t outline_width;
60 int32_t outline_pad;
65 int32_t shadow_width;
66 int32_t shadow_offset_x;
67 int32_t shadow_offset_y;
68 int32_t shadow_spread;
75 int32_t radius;
85 int32_t radius;
[all …]
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_bar.c52 const int32_t style_padding = 5u; in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
53 const int32_t bar_width = 200u; in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
54 const int32_t bar_height = 20u; in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
55 int32_t bar_value = 10u; in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
71 int32_t actual_coord = lv_area_get_width(&bar_ptr->indic_area); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
74 int32_t bar_max_value = lv_bar_get_max_value(g_bar); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
75 int32_t indicator_part_width = lv_obj_get_content_width(g_bar); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
77 int32_t expected_coord = (bar_value * indicator_part_width) / bar_max_value; in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
105 const int32_t style_padding = 5u; in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
106 const int32_t bar_width = 200u; in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
[all …]
/lvgl-latest/demos/benchmark/
Dlv_demo_benchmark.c75 static int32_t rnd_next(int32_t min, int32_t max);
77 static void shake_anim_y_cb(void * var, int32_t v);
78 static void fall_anim(lv_obj_t * obj, int32_t y_max);
79 static void scroll_anim(lv_obj_t * obj, int32_t y_max);
80 static void scroll_anim_y_cb(void * var, int32_t v);
81 static void color_anim_cb(void * var, int32_t v);
140 int32_t hor_cnt = ((int32_t)lv_obj_get_content_width(scr)) / 160; in multiple_rgb_images_cb()
141 int32_t ver_cnt = ((int32_t)lv_obj_get_content_height(scr)) / 160; in multiple_rgb_images_cb()
146 int32_t y; in multiple_rgb_images_cb()
148 int32_t x; in multiple_rgb_images_cb()
[all …]
/lvgl-latest/src/widgets/scale/
Dlv_scale_private.h37int32_t range_min; /**< Scale parts with value >= this value will be drawn usi…
38int32_t range_max; /**< Scale parts with value <= this value will be drawn usi…
43 int32_t first_tick_in_section_width; /**< Internal (set during drawing) */
44 int32_t last_tick_in_section_width; /**< Internal (set during drawing) */
59 int32_t range_min; /**< Scale's minimum value */
60 int32_t range_max; /**< Scale's maximum value */
69int32_t rotation; /**< Clockwise angular offset from 3-o'clock position of low en…
71 int32_t custom_label_cnt; /**< Number of custom labels provided in `txt_src` */
72 int32_t last_tick_width; /**< Width of last tick in pixels */
73 int32_t first_tick_width; /**< Width of first tick in pixels */
/lvgl-latest/src/indev/
Dlv_indev_scroll.c28 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()
[all …]

12345678910>>...19