Home
last modified time | relevance | path

Searched refs:y1 (Results 1 – 25 of 103) sorted by relevance

12345

/lvgl-3.6.0/src/misc/
Dlv_area.c48 void lv_area_set(lv_area_t * area_p, lv_coord_t x1, lv_coord_t y1, lv_coord_t x2, lv_coord_t y2) in lv_area_set() argument
51 area_p->y1 = y1; in lv_area_set()
73 area_p->y2 = area_p->y1 + h - 1; in lv_area_set_height()
87 area_p->y1 = y; in _lv_area_set_pos()
101 size = (uint32_t)(area_p->x2 - area_p->x1 + 1) * (area_p->y2 - area_p->y1 + 1); in lv_area_get_size()
110 area->y1 -= h_extra; in lv_area_increase()
118 area->y1 += y_ofs; in lv_area_move()
133 res_p->y1 = LV_MAX(a1_p->y1, a2_p->y1); in _lv_area_intersect()
139 if((res_p->x1 > res_p->x2) || (res_p->y1 > res_p->y2)) { in _lv_area_intersect()
170 lv_coord_t th = a2_p->y1 - a1_p->y1; in _lv_area_diff()
[all …]
Dlv_area.h45 lv_coord_t y1; member
103 void lv_area_set(lv_area_t * area_p, lv_coord_t x1, lv_coord_t y1, lv_coord_t x2, lv_coord_t y2);
113 dest->y1 = src->y1; in lv_area_copy()
135 return (lv_coord_t)(area_p->y2 - area_p->y1 + 1); in lv_area_get_height()
/lvgl-3.6.0/src/draw/sw/
Dlv_draw_sw_rect.c110 bg_coords.y1 += (dsc->border_side & LV_BORDER_SIDE_TOP) ? 1 : 0; in draw_bg()
222 for(h = clipped_coords.y1; h <= clipped_coords.y2; h++) { in draw_bg()
223 blend_area.y1 = h; in draw_bg()
233 if(dither_func) dither_func(grad, blend_area.x1, h - bg_coords.y1, grad_size); in draw_bg()
235 if(grad_dir == LV_GRAD_DIR_VER) blend_dsc.color = grad->map[h - bg_coords.y1]; in draw_bg()
244 lv_coord_t top_y = bg_coords.y1 + h; in draw_bg()
246 …if(top_y < clipped_coords.y1 && bottom_y > clipped_coords.y2) continue; /*This line is clipped n… in draw_bg()
254 if(top_y >= clipped_coords.y1) { in draw_bg()
255 blend_area.y1 = top_y; in draw_bg()
259 if(dither_func) dither_func(grad, blend_area.x1, top_y - bg_coords.y1, grad_size); in draw_bg()
[all …]
Dlv_draw_sw_img.c102 blend_area.y1 = draw_ctx->clip_area->y1; in lv_draw_sw_img_decoded()
132 blend_area.y2 = blend_area.y1 + buf_h - 1; in lv_draw_sw_img_decoded()
139 while(blend_area.y1 <= y_last) { in lv_draw_sw_img_decoded()
143 lv_area_move(&transform_area, -coords->x1, -coords->y1); in lv_draw_sw_img_decoded()
169 for(y = blend_area.y1; y <= blend_area.y2; y++) { in lv_draw_sw_img_decoded()
189 blend_area.y1 = blend_area.y2 + 1; in lv_draw_sw_img_decoded()
190 blend_area.y2 = blend_area.y1 + buf_h - 1; in lv_draw_sw_img_decoded()
219 …src_tmp8 += (src_stride * dest_area->y1 * sizeof(lv_color_t)) + dest_area->x1 * sizeof(lv_color_t); in convert_cb()
225 for(y = dest_area->y1; y <= dest_area->y2; y++) { in convert_cb()
251 …src_tmp8 += (src_stride * dest_area->y1 * LV_IMG_PX_SIZE_ALPHA_BYTE) + dest_area->x1 * LV_IMG_PX_S… in convert_cb()
[all …]
Dlv_draw_sw_line.c63 clip_line.y1 = LV_MIN(point1->y, point2->y) - dsc->width / 2; in lv_draw_sw_line()
89 cir_area.y1 = point1->y - r; in lv_draw_sw_line()
97 cir_area.y1 = point2->y - r; in lv_draw_sw_line()
122 blend_area.y1 = point1->y - w_half1; in draw_line_hor()
151 blend_area.y2 = blend_area.y1; in draw_line_hor()
162 for(h = blend_area.y1; h <= y2; h++) { in draw_line_hor()
190 blend_area.y1++; in draw_line_hor()
208 blend_area.y1 = LV_MIN(point1->y, point2->y); in draw_line_ver()
237 blend_area.y2 = blend_area.y1; in draw_line_ver()
245 dash_start = (blend_area.y1) % (dsc->dash_gap + dsc->dash_width); in draw_line_ver()
[all …]
Dlv_draw_sw_letter.c138 gpos.y + g.box_h < draw_ctx->clip_area->y1 || in lv_draw_sw_letter()
181 fill_area.y1 = pos->y; in draw_letter_normal()
244 int32_t row_start = pos->y >= draw_ctx->clip_area->y1 ? 0 : draw_ctx->clip_area->y1 - pos->y; in draw_letter_normal()
270 fill_area.y1 = row_start + pos->y; in draw_letter_normal()
271 fill_area.y2 = fill_area.y1; in draw_letter_normal()
276 mask_area.y2 = mask_area.y1 + row_end; in draw_letter_normal()
333 fill_area.y1 = fill_area.y2 + 1; in draw_letter_normal()
334 fill_area.y2 = fill_area.y1; in draw_letter_normal()
344 if(fill_area.y1 != fill_area.y2) { in draw_letter_normal()
396 int32_t row_start = pos->y >= draw_ctx->clip_area->y1 ? 0 : draw_ctx->clip_area->y1 - pos->y; in draw_letter_subpx()
[all …]
Dlv_draw_sw_arc.c86 area_out.y1 = center->y - radius; in lv_draw_sw_arc()
93 area_in.y1 += dsc->width; in lv_draw_sw_arc()
185 round_area.y1 += center->y; in lv_draw_sw_arc()
201 round_area.y1 += center->y; in lv_draw_sw_arc()
237 …quarter_area.y1 = q->center->y + ((lv_trigo_sin(q->start_angle) * (q->radius - q->width)) >> LV_TR… in draw_quarter_0()
255 …quarter_area.y1 = q->center->y + ((lv_trigo_sin(q->start_angle) * (q->radius - q->width)) >> LV_TR… in draw_quarter_0()
266 quarter_area.y1 = q->center->y; in draw_quarter_0()
284 quarter_area.y1 = q->center->y; in draw_quarter_0()
307 …quarter_area.y1 = q->center->y + ((lv_trigo_sin(q->end_angle) * (q->radius - q->width)) >> LV_TRIG… in draw_quarter_1()
320 quarter_area.y1 = q->center->y; in draw_quarter_1()
[all …]
/lvgl-3.6.0/src/widgets/
Dlv_img.c197 a.y1 += obj->coords.y1; in lv_img_set_angle()
199 a.y2 += obj->coords.y1; in lv_img_set_angle()
213 a.y1 += obj->coords.y1; in lv_img_set_angle()
215 a.y2 += obj->coords.y1; in lv_img_set_angle()
230 a.y1 += obj->coords.y1; in lv_img_set_pivot()
232 a.y2 += obj->coords.y1; in lv_img_set_pivot()
247 a.y1 += obj->coords.y1; in lv_img_set_pivot()
249 a.y2 += obj->coords.y1; in lv_img_set_pivot()
266 a.y1 += obj->coords.y1 - 1; in lv_img_set_zoom()
268 a.y2 += obj->coords.y1 + 1; in lv_img_set_zoom()
[all …]
Dlv_slider.c168 if(p.y < slider->right_knob_area.y1) { in lv_slider_event()
176 …dist_left = LV_ABS((slider->left_knob_area.y1 + (slider->left_knob_area.y2 - slider->left_knob_are… in lv_slider_event()
177 …dist_right = LV_ABS((slider->right_knob_area.y1 + (slider->right_knob_area.y2 - slider->right_knob… in lv_slider_event()
354 if(is_symmetrical && slider->bar.cur_value < 0) knob_area.y1 = slider->bar.indic_area.y2; in draw_knob()
355 else knob_area.y1 = slider->bar.indic_area.y1; in draw_knob()
395 knob_area.y1 = slider->bar.indic_area.y2; in draw_knob()
417 knob_area->y1 = obj->coords.y1; in position_knob()
421 knob_area->y1 -= (knob_size >> 1); in position_knob()
422 knob_area->y2 = knob_area->y1 + knob_size - 1; in position_knob()
438 knob_area->y1 -= knob_top + transf_h; in position_knob()
Dlv_dropdown.c492 if(dropdown_obj->coords.y1 > LV_VER_RES - dropdown_obj->coords.y2) { in lv_dropdown_open()
495 list_h = dropdown_obj->coords.y1 - 1; in lv_dropdown_open()
504 if(dropdown_obj->coords.y1 - list_h < 0) { in lv_dropdown_open()
505 if(dropdown_obj->coords.y1 < LV_VER_RES - dropdown_obj->coords.y2) { in lv_dropdown_open()
511 list_h = dropdown_obj->coords.y1; in lv_dropdown_open()
529 lv_coord_t y1 = lv_obj_get_y(dropdown->list); in lv_dropdown_open() local
532 lv_obj_set_y(dropdown->list, y1 - (y2 - LV_VER_RES) - 1); in lv_dropdown_open()
845 symbol_area.y1 = obj->coords.y1 + top; in draw_main()
846 symbol_area.y2 = symbol_area.y1 + symbol_h - 1; in draw_main()
850 symbol_area.y1 = obj->coords.y1 + (lv_obj_get_height(obj) - symbol_h) / 2; in draw_main()
[all …]
/lvgl-3.6.0/src/draw/nxp/pxp/
Dlv_draw_pxp.c147 lv_area_move(&blend_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_pxp_blend()
165 src_area.y1 = blend_area.y1 - (dsc->blend_area->y1 - draw_ctx->buf_area->y1); in lv_draw_pxp_blend()
167 src_area.y2 = src_area.y1 + lv_area_get_height(dsc->blend_area) - 1; in lv_draw_pxp_blend()
194 lv_area_move(&rel_coords, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_pxp_img_decoded()
198 lv_area_move(&rel_clip_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_pxp_img_decoded()
252 src_area.y1 = blend_area.y1 - (coords->y1 - draw_ctx->buf_area->y1); in lv_draw_pxp_img_decoded()
254 src_area.y2 = src_area.y1 + src_height - 1; in lv_draw_pxp_img_decoded()
/lvgl-3.6.0/src/draw/nxp/vglite/
Dlv_draw_vglite.c177 lv_area_move(&blend_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_vglite_blend()
193 src_area.y1 = blend_area.y1 - (dsc->blend_area->y1 - draw_ctx->buf_area->y1); in lv_draw_vglite_blend()
195 src_area.y2 = src_area.y1 + lv_area_get_height(dsc->blend_area) - 1; in lv_draw_vglite_blend()
236 lv_area_move(&rel_coords, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_vglite_img_decoded()
240 lv_area_move(&rel_clip_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_vglite_img_decoded()
262 src_area.y1 = blend_area.y1 - (coords->y1 - draw_ctx->buf_area->y1); in lv_draw_vglite_img_decoded()
264 src_area.y2 = src_area.y1 + lv_area_get_height(coords) - 1; in lv_draw_vglite_img_decoded()
327 rel_clip_area.y1 = LV_MIN(point1->y, point2->y) - dsc->width / 2; in lv_draw_vglite_line()
334 lv_area_move(&rel_clip_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_vglite_line()
336 …lv_point_t rel_point1 = { point1->x - draw_ctx->buf_area->x1, point1->y - draw_ctx->buf_area->y1 }; in lv_draw_vglite_line()
[all …]
Dlv_draw_vglite_blend.c165 .y = dest_area->y1, in lv_gpu_nxp_vglite_fill()
180 VLC_OP_MOVE, dest_area->x1, dest_area->y1, in lv_gpu_nxp_vglite_fill()
181 VLC_OP_LINE, dest_area->x2 + 1, dest_area->y1, in lv_gpu_nxp_vglite_fill()
184 VLC_OP_LINE, dest_area->x1, dest_area->y1, in lv_gpu_nxp_vglite_fill()
189 (vg_lite_float_t) dest_area->x1, (vg_lite_float_t) dest_area->y1, in lv_gpu_nxp_vglite_fill()
299 (uint32_t)src_area->y1, /* start y */ in lv_gpu_nxp_vglite_buffer_copy()
349 src_area->x1, src_area->y1, src_area->x2, src_area->y2, in lv_vglite_blit_split()
350 dest_area->x1, dest_area->y1, dest_area->x2, dest_area->y2, in lv_vglite_blit_split()
387 src_area->x1, src_area->y1, src_area->x2, src_area->y2, in lv_vglite_blit_split()
388 dest_area->x1, dest_area->y1, dest_area->x2, dest_area->y2, in lv_vglite_blit_split()
[all …]
/lvgl-3.6.0/src/draw/sdl/
Dlv_draw_sdl_rect.c145 extension.y1 = LV_MAX(extension.y1, -dsc->shadow_ofs_y + ext); in lv_draw_sdl_draw_rect()
152 extension.y1 = LV_MAX(extension.y1, ext); in lv_draw_sdl_draw_rect()
223 lv_area_t blend_coords = {.x1 = 0, .y1 = 0, .x2 = w - 1, .y2 = h - 1}; in lv_draw_sdl_rect_grad_frag_obtain()
224 lv_area_t draw_area = {.x1 = 0, .y1 = 0, .x2 = radius - 1, .y2 = radius - 1}; in lv_draw_sdl_rect_grad_frag_obtain()
289 corner_area.y1 = coords->y1; in lv_draw_sdl_rect_bg_frag_draw_corners()
291 corner_area.y2 = coords->y1 + frag_size - 1; in lv_draw_sdl_rect_bg_frag_draw_corners()
297 …t sx = (lv_coord_t)(dst_area.x1 - corner_area.x1), sy = (lv_coord_t)(dst_area.y1 - corner_area.y1); in lv_draw_sdl_rect_bg_frag_draw_corners()
311 sy = (lv_coord_t)(dst_area.y1 - corner_area.y1); in lv_draw_sdl_rect_bg_frag_draw_corners()
316 … SDL_Rect src_rect = {corner_area.x2 - dst_area.x2, dst_area.y1 - corner_area.y1, dw, dh}; in lv_draw_sdl_rect_bg_frag_draw_corners()
321 corner_area.y1 = LV_MAX(coords->y2 - frag_size + 1, coords->y1 + frag_size); in lv_draw_sdl_rect_bg_frag_draw_corners()
[all …]
/lvgl-3.6.0/examples/widgets/roller/
Dlv_example_roller_3.c28 rect_area.y1 = roller_coords.y1; in mask_event_cb()
29 rect_area.y2 = roller_coords.y1 + (lv_obj_get_height(obj) - font_h - line_space) / 2; in mask_event_cb()
32 …lv_draw_mask_fade_init(fade_mask_top, &rect_area, LV_OPA_TRANSP, rect_area.y1, LV_OPA_COVER, rect_… in mask_event_cb()
35 rect_area.y1 = rect_area.y2 + font_h + line_space - 1; in mask_event_cb()
39 …lv_draw_mask_fade_init(fade_mask_bottom, &rect_area, LV_OPA_COVER, rect_area.y1, LV_OPA_TRANSP, re… in mask_event_cb()
Dlv_example_roller_3.py76 rect_area.y1 = roller_coords.y1
77 rect_area.y2 = roller_coords.y1 + (obj.get_height() - font_h - line_space) // 2
80 fade_mask_top.init(rect_area, lv.OPA.TRANSP, rect_area.y1, lv.OPA.COVER, rect_area.y2)
83 rect_area.y1 = rect_area.y2 + font_h + line_space - 1
87 … fade_mask_bottom.init(rect_area, lv.OPA.COVER, rect_area.y1, lv.OPA.TRANSP, rect_area.y2)
/lvgl-3.6.0/src/draw/
Dlv_draw_arc.c65 area->y1 = y - rout; in lv_draw_arc_get_area()
85 area->y1 = y + ((lv_trigo_sin(start_angle) * rin) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
95 area->y1 = y + ((lv_trigo_sin(end_angle) * rin) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
102 area->y1 = y + ((lv_trigo_sin(end_angle) * rout) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
107 area->y1 = y + ((lv_trigo_sin(start_angle) * rout) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
115 area->y1 = y + ((LV_MIN(lv_trigo_sin(end_angle), in lv_draw_arc_get_area()
122 area->y1 = y + ((lv_trigo_sin(end_angle) * rout) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
129 area->y1 = y - rout - extra_area; in lv_draw_arc_get_area()
137 area->y1 = y + ((lv_trigo_sin(start_angle) * rout) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
144 area->y1 = y - rout; in lv_draw_arc_get_area()
Dlv_draw_img.c282 map_area_rot.y1 += coords->y1;
284 map_area_rot.y2 += coords->y1;
322 int32_t y = mask_com.y1 - coords->y1;
325 for(row = mask_com.y1; row <= mask_com.y2; row++) {
342 line.y1++;
/lvgl-3.6.0/src/extra/widgets/imgbtn/
Dlv_imgbtn.c237 coords.y1 -= th; in draw_main()
253 coords_part.y1 = coords.y1; in draw_main()
255 coords_part.y2 = coords.y1 + header.h - 1; in draw_main()
264 coords_part.y1 = coords.y1; in draw_main()
266 coords_part.y2 = coords.y1 + header.h - 1; in draw_main()
275 clip_area_center.y1 = coords.y1; in draw_main()
289 coords_part.y1 = coords.y1; in draw_main()
291 coords_part.y2 = coords_part.y1 + header.h - 1; in draw_main()
/lvgl-3.6.0/src/draw/renesas/
Dlv_gpu_d2_draw_label.c59 fill_area.y1 = pos->y; in draw_letter_normal()
122 int32_t row_start = pos->y >= draw_ctx->clip_area->y1 ? 0 : draw_ctx->clip_area->y1 - pos->y; in draw_letter_normal()
148 fill_area.y1 = row_start + pos->y; in draw_letter_normal()
149 fill_area.y2 = fill_area.y1; in draw_letter_normal()
154 mask_area.y2 = mask_area.y1 + row_end; in draw_letter_normal()
211 fill_area.y1 = fill_area.y2 + 1; in draw_letter_normal()
212 fill_area.y2 = fill_area.y1; in draw_letter_normal()
222 if(fill_area.y1 != fill_area.y2) { in draw_letter_normal()
269 gpos.y + g.box_h < draw_ctx->clip_area->y1 || in lv_draw_gpu_letter()
Dlv_gpu_d2_ra6m3.c429 D2_FIX4(fill_area->x1), D2_FIX4(fill_area->y1), 0);
448 D2_EXEC(d2_renderbox(_d2_handle, D2_FIX4(fill_area->x1), D2_FIX4(fill_area->y1),
492 D2_EXEC(d2_cliprect(_d2_handle, dest_area->x1, dest_area->y1, dest_area->x2, dest_area->y2));
500 …img_area_scaled.y1 = src_area->y1 + ((((int32_t)0 - img_dsc.pivot.y) * img_dsc.zoom) >> 8) + img_d…
501 …img_area_scaled.y2 = src_area->y1 + ((((int32_t)h - img_dsc.pivot.y) * img_dsc.zoom) >> 8) + img_d…
516 … D2_FIX4(img_w), D2_FIX4(img_h), D2_FIX4(img_area->x1), D2_FIX4(img_area->y1), flags));
519 int x, y, x1, y1, x2, y2, x3, y3, x4, y4, dxu, dxv, dyu, dyv, xx, xy, yx, yy; local
547 y = D2_FIX4(img_area->y1);
551 y1 = D2_FIX4(0);
563 lv_port_gpu_rotate_point(&x1, &y1, cos_angle, sin_angle, pivot_scaled_x, pivot_scaled_y);
[all …]
/lvgl-3.6.0/src/draw/arm2d/
Dlv_gpu_arm2d.c177 * (draw_area.y1 - coords->y1) \
192 dest_buf += dest_stride * (blend_area2.y1 - draw_ctx->buf_area->y1) \
220 .iY = (__blend_area).y1 - draw_ctx->buf_area->y1, \
250 .iY = (__blend_area).y1 - (__dsc)->blend_area->y1, \
288 .iY = (__dsc)->mask_area->y1 - (__blend_area).y1, \
384 .iY = coords->y1 - draw_ctx->clip_area->y1, \
709 …dest_buf += dest_stride * (blend_area.y1 - draw_ctx->buf_area->y1) + (blend_area.x1 - draw_ctx->bu… in lv_draw_arm2d_blend()
714 … dest_buf8 += dest_stride * (blend_area.y1 - draw_ctx->buf_area->y1) * LV_IMG_PX_SIZE_ALPHA_BYTE; in lv_draw_arm2d_blend()
724 …src_buf += src_stride * (blend_area.y1 - dsc->blend_area->y1) + (blend_area.x1 - dsc->blend_area->… in lv_draw_arm2d_blend()
733 … mask += mask_stride * (blend_area.y1 - dsc->mask_area->y1) + (blend_area.x1 - dsc->mask_area->x1); in lv_draw_arm2d_blend()
[all …]
/lvgl-3.6.0/examples/widgets/table/
Dlv_example_table_2.c22 sw_area.y1 = dsc->draw_area->y1 + lv_area_get_height(dsc->draw_area) / 2 - 10; in draw_event_cb()
23 sw_area.y2 = sw_area.y1 + 20; in draw_event_cb()
35 sw_area.y1 += 2; in draw_event_cb()
/lvgl-3.6.0/src/core/
Dlv_obj_scroll.c518 ver_area->y1 = obj->coords.y1; in lv_obj_get_scrollbar_area()
535 ver_area->y1 = obj->coords.y1 + top_space; in lv_obj_get_scrollbar_area()
542 ver_area->y1 = obj->coords.y1 + sb_y + top_space; in lv_obj_get_scrollbar_area()
543 ver_area->y2 = ver_area->y1 + sb_h - 1; in lv_obj_get_scrollbar_area()
544 if(ver_area->y1 < obj->coords.y1 + top_space) { in lv_obj_get_scrollbar_area()
545 ver_area->y1 = obj->coords.y1 + top_space; in lv_obj_get_scrollbar_area()
546 if(ver_area->y1 + SCROLLBAR_MIN_SIZE > ver_area->y2) { in lv_obj_get_scrollbar_area()
547 ver_area->y2 = ver_area->y1 + SCROLLBAR_MIN_SIZE; in lv_obj_get_scrollbar_area()
552 if(ver_area->y2 - SCROLLBAR_MIN_SIZE < ver_area->y1) { in lv_obj_get_scrollbar_area()
553 ver_area->y1 = ver_area->y2 - SCROLLBAR_MIN_SIZE; in lv_obj_get_scrollbar_area()
[all …]
Dlv_indev_scroll.c251 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()
[all …]

12345