Home
last modified time | relevance | path

Searched refs:obj_h (Results 1 – 4 of 4) sorted by relevance

/lvgl-2.7.6/src/lv_widgets/
Dlv_page.c418 lv_coord_t obj_h = lv_page_get_height_fit(page); in lv_page_get_height_grid() local
421 lv_coord_t r = (obj_h - (div - 1) * pinner) / div; in lv_page_get_height_grid()
495 lv_coord_t obj_h = lv_obj_get_height(obj); in lv_page_focus() local
505 lv_coord_t bot_err = scrlable_y + obj_y + obj_h - (page_h - bg_bottom); in lv_page_focus()
508 if((obj_h <= page_h && top_err > 0) || (obj_h > page_h && top_err < bot_err)) { in lv_page_focus()
514 else if((obj_h <= page_h && bot_err > 0) || (obj_h > page_h && top_err >= bot_err)) { in lv_page_focus()
518 scrlable_y += page_h - obj_h; in lv_page_focus()
1188 lv_coord_t obj_h = lv_obj_get_height(page); in scrlbar_refresh() local
1236 obj_h - sb_width - sb_bottom); in scrlbar_refresh()
1251 obj_h - sb_width - sb_bottom); in scrlbar_refresh()
[all …]
Dlv_img.c635 lv_coord_t obj_h = lv_obj_get_height(img); in lv_img_design() local
638 _lv_img_buf_get_transformed_area(&bg_coords, obj_w, obj_h, in lv_img_design()
690 … zommed_coords.y2 = zommed_coords.y1 + ((int32_t)((int32_t)(obj_h - 1) * zoom_final) >> 8); in lv_img_design()
/lvgl-2.7.6/src/lv_draw/
Dlv_draw_rect.c1260 int32_t obj_h = lv_area_get_height(coords); in draw_pattern() local
1262 coords_tmp.y1 = coords->y1 + (obj_h - img_h) / 2; in draw_pattern()
1270 int32_t y_corr = (obj_h - img_h) & 0x1; in draw_pattern()
/lvgl-2.7.6/src/lv_core/
Dlv_obj.c2426 lv_coord_t obj_h = lv_obj_get_height_fit(obj); in lv_obj_get_height_grid() local
2429 lv_coord_t r = (obj_h - (div - 1) * pinner) / div; in lv_obj_get_height_grid()