Home
last modified time | relevance | path

Searched refs:top (Results 1 – 22 of 22) sorted by relevance

/lvgl-2.7.6/src/lv_widgets/
Dlv_btn.h121 static inline void lv_btn_set_fit4(lv_obj_t * btn, lv_fit_t left, lv_fit_t right, lv_fit_t top, lv_… in lv_btn_set_fit4() argument
123 lv_cont_set_fit4(btn, left, right, top, bottom); in lv_btn_set_fit4()
Dlv_gauge.c205 lv_style_int_t top = lv_obj_get_style_pad_top(gauge, LV_GAUGE_PART_MAIN); in lv_gauge_set_value() local
208 lv_coord_t y_ofs = gauge->coords.y1 + r + top + pad; in lv_gauge_set_value()
515 lv_style_int_t top = lv_obj_get_style_pad_top(gauge, LV_GAUGE_PART_MAIN); in lv_gauge_draw_labels() local
519 lv_coord_t y_ofs = gauge->coords.y1 + r + top + scale_width + txt_pad; in lv_gauge_draw_labels()
575 lv_style_int_t top = lv_obj_get_style_pad_top(gauge, LV_GAUGE_PART_MAIN); in lv_gauge_draw_needle() local
579 lv_coord_t y_ofs = gauge->coords.y1 + r + top + pad; in lv_gauge_draw_needle()
Dlv_linemeter.c140 lv_style_int_t top = lv_obj_get_style_pad_top(lmeter, LV_LINEMETER_PART_MAIN); in lv_linemeter_set_value() local
148 lv_coord_t y_ofs = lmeter->coords.y1 + r_out + top; in lv_linemeter_set_value()
192 a.y1 = lmeter->coords.y1 + top - line_width; in lv_linemeter_set_value()
204 a.y1 = lmeter->coords.y1 + top - line_width; in lv_linemeter_set_value()
387 lv_style_int_t top = lv_obj_get_style_pad_top(lmeter, LV_LINEMETER_PART_MAIN); in lv_linemeter_draw_scale() local
394 lv_coord_t y_ofs = lmeter->coords.y1 + r_out + top; in lv_linemeter_draw_scale()
Dlv_textarea.c622 lv_style_int_t top = lv_obj_get_style_pad_top(ta, LV_TEXTAREA_PART_BG); in lv_textarea_set_cursor_pos() local
633 lv_obj_set_y(label_par, -cur_pos.y + top); in lv_textarea_set_cursor_pos()
638 lv_obj_set_y(label_par, -(cur_pos.y - lv_obj_get_height(ta) + font_h + top + bottom)); in lv_textarea_set_cursor_pos()
759 lv_style_int_t top = lv_obj_get_style_pad_top(ta, LV_TEXTAREA_PART_BG); in lv_textarea_set_one_line() local
767 lv_obj_set_height(ta, font_h + top + bottom); in lv_textarea_set_one_line()
769 lv_obj_set_pos(lv_page_get_scrollable(ta), left, top); in lv_textarea_set_one_line()
772 lv_style_int_t top = lv_obj_get_style_pad_top(ta, LV_TEXTAREA_PART_BG); in lv_textarea_set_one_line() local
779 lv_obj_set_pos(lv_page_get_scrollable(ta), left, top); in lv_textarea_set_one_line()
1380 lv_style_int_t top = lv_obj_get_style_pad_top(ta, LV_TEXTAREA_PART_CURSOR); in lv_textarea_scrollable_design() local
1382 cur_area.y1 += top; in lv_textarea_scrollable_design()
[all …]
Dlv_page.h173 …line void lv_page_set_scrollable_fit4(lv_obj_t * page, lv_fit_t left, lv_fit_t right, lv_fit_t top, in lv_page_set_scrollable_fit4() argument
176 lv_cont_set_fit4(lv_page_get_scrollable(page), left, right, top, bottom); in lv_page_set_scrollable_fit4()
Dlv_tileview.c361 lv_coord_t top = lv_obj_get_style_pad_top(tileview, LV_TILEVIEW_PART_BG); in lv_tileview_scrl_signal() local
365 lv_obj_set_y(scrl, -ext->act_id.y * h + top); in lv_tileview_scrl_signal()
369 lv_obj_set_y(scrl, -ext->act_id.y * h + top); in lv_tileview_scrl_signal()
385 lv_obj_set_y(scrl, -ext->act_id.y * lv_obj_get_height(tileview) + top); in lv_tileview_scrl_signal()
Dlv_calendar.c599 lv_style_int_t top = lv_obj_get_style_pad_top(calendar, LV_CALENDAR_PART_DATE); in calculate_touched_day() local
604 …area.y1 = calendar->coords.y1 + get_header_height(calendar) + get_day_names_height(calendar) + top; in calculate_touched_day()
653 lv_style_int_t top = lv_obj_get_style_pad_top(calendar, LV_CALENDAR_PART_HEADER); in get_header_height() local
656 return lv_font_get_line_height(font) + top + bottom; in get_header_height()
667 lv_style_int_t top = lv_obj_get_style_pad_top(calendar, LV_CALENDAR_PART_DAY_NAMES); in get_day_names_height() local
670 return lv_font_get_line_height(font) + top + bottom; in get_day_names_height()
767 lv_style_int_t top = lv_obj_get_style_pad_top(calendar, LV_CALENDAR_PART_DAY_NAMES); in draw_day_names() local
775 label_area.y1 = calendar->coords.y1 + get_header_height(calendar) + top; in draw_day_names()
Dlv_cont.c154 void lv_cont_set_fit4(lv_obj_t * cont, lv_fit_t left, lv_fit_t right, lv_fit_t top, lv_fit_t bottom) in lv_cont_set_fit4() argument
160 …if(ext->fit_left == left && ext->fit_right == right && ext->fit_top == top && ext->fit_bottom == b… in lv_cont_set_fit4()
166 ext->fit_top = top; in lv_cont_set_fit4()
345 lv_coord_t top = lv_obj_get_style_pad_top(cont, LV_CONT_PART_MAIN); in lv_cont_layout_col() local
378 lv_coord_t last_cord = top; in lv_cont_layout_col()
Dlv_cont.h149 void lv_cont_set_fit4(lv_obj_t * cont, lv_fit_t left, lv_fit_t right, lv_fit_t top, lv_fit_t bottom…
Dlv_page.c448 lv_style_int_t top = lv_obj_get_style_pad_top(page, LV_PAGE_PART_BG); in lv_page_on_edge() local
451 if((edge & LV_PAGE_EDGE_TOP) && scrl_coords.y1 == page_coords.y1 + top) return true; in lv_page_on_edge()
1126 lv_style_int_t top = lv_obj_get_style_pad_top(page, LV_PAGE_PART_BG); in scrl_reposition() local
1151 if(lv_area_get_height(&scrl_coords) + top + bottom <= lv_area_get_height(&page_coords)) { in scrl_reposition()
1152 if(scrl_coords.y1 != page_coords.y1 + top) { in scrl_reposition()
1153 new_y = top; in scrl_reposition()
1164 else if(scrl_coords.y1 > page_coords.y1 + top) { in scrl_reposition()
1165 new_y = top; /*Top align*/ in scrl_reposition()
Dlv_dropdown.c628 lv_style_int_t top = lv_obj_get_style_pad_top(ddlist, LV_DROPDOWN_PART_LIST); in lv_dropdown_open() local
631 lv_coord_t list_fit_h = label_h + top + bottom; in lv_dropdown_open()
728 lv_style_int_t top = lv_obj_get_style_pad_top(ddlist, LV_DROPDOWN_PART_MAIN); in lv_dropdown_design() local
755 txt_area.y1 = ddlist->coords.y1 + top; in lv_dropdown_design()
774 txt_area.y1 = ddlist->coords.y1 + top; in lv_dropdown_design()
969 lv_style_int_t top = lv_obj_get_style_pad_top(ddlist, LV_DROPDOWN_PART_MAIN); in lv_dropdown_signal() local
972 lv_obj_set_height(ddlist, top + bottom + lv_font_get_line_height(font)); in lv_dropdown_signal()
Dlv_cpicker.c649 lv_style_int_t top = lv_obj_get_style_pad_top(cpicker, LV_CPICKER_PART_KNOB); in get_knob_area() local
655 knob_area.x2 = cpicker->coords.x1 + ext->knob.pos.x + r + top; in get_knob_area()
692 lv_style_int_t top = lv_obj_get_style_pad_top(cpicker, LV_CPICKER_PART_KNOB); in lv_cpicker_signal() local
695 lv_coord_t knob_pad = LV_MATH_MAX4(left, right, top, bottom) + 2; in lv_cpicker_signal()
Dlv_imgbtn.c463 lv_style_int_t top = lv_obj_get_style_pad_top(imgbtn, LV_IMGBTN_PART_MAIN); in lv_imgbtn_signal() local
468 imgbtn->ext_draw_pad = LV_MATH_MAX(imgbtn->ext_draw_pad, top); in lv_imgbtn_signal()
Dlv_btnmatrix.c165 lv_style_int_t top = lv_obj_get_style_pad_top(btnm, LV_BTNMATRIX_PART_BG); in lv_btnmatrix_set_map() local
170 lv_coord_t max_h = lv_obj_get_height(btnm) - top - bottom; in lv_btnmatrix_set_map()
171 lv_coord_t act_y = top; in lv_btnmatrix_set_map()
Dlv_arc.c891 lv_coord_t top = lv_obj_get_style_pad_top(arc, LV_ARC_PART_BG); in inv_arc_area() local
893 … = (LV_MATH_MIN(lv_obj_get_width(arc) - left - right, lv_obj_get_height(arc) - top - bottom)) / 2; in inv_arc_area()
895 lv_coord_t y = arc->coords.y1 + rout + top; in inv_arc_area()
Dlv_img.c834 lv_style_int_t top = lv_obj_get_style_pad_top(img, LV_IMG_PART_MAIN); in lv_img_signal() local
839 img->ext_draw_pad = LV_MATH_MAX(img->ext_draw_pad, top); in lv_img_signal()
Dlv_label.c1540 lv_coord_t top = lv_obj_get_style_pad_top(label, LV_LABEL_PART_MAIN); in get_txt_coords() local
1544 area->y1 += top; in get_txt_coords()
/lvgl-2.7.6/src/lv_core/
Dlv_obj.h225 …uint8_t top : 1; /**< 1: If the object or its children is clicked it goes to the foreg… member
557 void lv_obj_set_ext_click_area(lv_obj_t * obj, lv_coord_t left, lv_coord_t right, lv_coord_t top, l…
Dlv_obj.c373 new_obj->top = 0; in lv_obj_create()
430 new_obj->top = copy->top; in lv_obj_create()
1152 void lv_obj_set_ext_click_area(lv_obj_t * obj, lv_coord_t left, lv_coord_t right, lv_coord_t top, l… in lv_obj_set_ext_click_area() argument
1159 obj->ext_click_pad.y1 = top; in lv_obj_set_ext_click_area()
1163 obj->ext_click_pad_ver = LV_MATH_MAX(top, bottom); in lv_obj_set_ext_click_area()
1168 (void)top; /*Unused*/ in lv_obj_set_ext_click_area()
1545 obj->top = (en == true ? 1 : 0); in lv_obj_set_top()
2359 lv_style_int_t top = lv_obj_get_style_pad_top((lv_obj_t *)obj, LV_OBJ_PART_MAIN); in lv_obj_get_height_fit() local
2362 return lv_obj_get_height(obj) - top - bottom; in lv_obj_get_height_fit()
2969 return obj->top == 0 ? false : true; in lv_obj_get_top()
Dlv_group.c525 if(i->top != 0) last_top = i; in obj_to_foreground()
Dlv_indev.c915 if(i->top) last_top = i; in indev_proc_press()
/lvgl-2.7.6/scripts/
DDoxyfile44 # for a project that appears at the top of each page and should give viewer a
1418 # DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top