/lvgl-3.7.0/src/draw/sw/ |
D | lv_draw_sw_gradient.c | 24 #undef ALIGN 26 #define ALIGN(X) (((X) + 7) & ~7) macro 28 #define ALIGN(X) (((X) + 3) & ~3) macro 73 size_t s = ALIGN(sizeof(*c)) + ALIGN(c->alloc_size * sizeof(lv_color_t)); in get_cache_item_size() 75 s += ALIGN(c->size * sizeof(lv_color32_t)); in get_cache_item_size() 77 s += ALIGN(c->w * sizeof(lv_scolor24_t)); in get_cache_item_size() 163 size_t req_size = ALIGN(sizeof(lv_grad_t)) + ALIGN(map_size * sizeof(lv_color_t)); in allocate_item() 165 req_size += ALIGN(size * sizeof(lv_color32_t)); in allocate_item() 167 req_size += ALIGN(w * sizeof(lv_scolor24_t)); in allocate_item() 205 item->map = (lv_color_t *)(p + ALIGN(sizeof(*item))); in allocate_item() [all …]
|
/lvgl-3.7.0/examples/widgets/bar/ |
D | lv_example_bar_5.py | 8 bar_ltr.align(lv.ALIGN.CENTER, 0, -30) 12 label.align_to(bar_ltr, lv.ALIGN.OUT_TOP_MID, 0, -5) 18 bar_rtl.align(lv.ALIGN.CENTER, 0, 30) 22 label.align_to(bar_rtl, lv.ALIGN.OUT_TOP_MID, 0, -5)
|
/lvgl-3.7.0/examples/widgets/dropdown/ |
D | lv_example_dropdown_2.py | 15 dd.align(lv.ALIGN.TOP_MID, 0, 10) 20 dd.align(lv.ALIGN.BOTTOM_MID, 0, -10) 26 dd.align(lv.ALIGN.LEFT_MID, 10, 0) 32 dd.align(lv.ALIGN.RIGHT_MID, -10, 0)
|
/lvgl-3.7.0/examples/widgets/led/ |
D | lv_example_led_1.py | 7 led1.align(lv.ALIGN.CENTER, -80, 0) 12 led2.align(lv.ALIGN.CENTER, 0, 0) 18 led3.align(lv.ALIGN.CENTER, 80, 0)
|
/lvgl-3.7.0/examples/widgets/label/ |
D | lv_example_label_1.py | 10 label1.set_style_text_align(lv.ALIGN.CENTER, 0) 11 label1.align(lv.ALIGN.CENTER, 0, -40) 18 label2.align(lv.ALIGN.CENTER, 0, 40)
|
D | lv_example_label_3.py | 20 ltr_label.align(lv.ALIGN.TOP_LEFT, 5, 5) 27 rtl_label.align(lv.ALIGN.LEFT_MID, 5, 0) 35 cz_label.align(lv.ALIGN.BOTTOM_LEFT, 5, -5)
|
D | lv_example_label_2.py | 26 main_label.align(lv.ALIGN.CENTER, 0, 0) 29 shadow_label.align_to(main_label, lv.ALIGN.TOP_LEFT, 2, 2)
|
/lvgl-3.7.0/examples/widgets/img/ |
D | lv_example_img_2.py | 55 red_slider.align(lv.ALIGN.LEFT_MID, 25, 0) 56 green_slider.align_to(red_slider, lv.ALIGN.OUT_RIGHT_MID, 25, 0) 57 blue_slider.align_to(green_slider, lv.ALIGN.OUT_RIGHT_MID, 25, 0) 58 intense_slider.align_to(blue_slider, lv.ALIGN.OUT_RIGHT_MID, 25, 0) 63 img1.align(lv.ALIGN.RIGHT_MID, -20, 0)
|
D | lv_example_img_1.py | 27 img1.align(lv.ALIGN.CENTER, 0, -20) 32 img2.align_to(img1, lv.ALIGN.OUT_BOTTOM_MID, 0, 20)
|
/lvgl-3.7.0/examples/widgets/textarea/ |
D | lv_example_textarea_2.py | 28 pwd_label.align_to(pwd_ta, lv.ALIGN.OUT_TOP_LEFT, 0, 0) 37 text_ta.align(lv.ALIGN.TOP_RIGHT, -5, 20) 42 oneline_label.align_to(text_ta, lv.ALIGN.OUT_TOP_LEFT, 0, 0)
|
D | lv_example_textarea_1.py | 18 ta.align(lv.ALIGN.TOP_MID, 0, 10) 29 btnm.align(lv.ALIGN.BOTTOM_MID, 0, -10)
|
/lvgl-3.7.0/examples/widgets/chart/ |
D | lv_example_chart_5.py | 66 chart.align(lv.ALIGN.CENTER, -30, -30) 82 slider.align_to(chart, lv.ALIGN.OUT_BOTTOM_MID, 0, 20) 88 slider.align_to(chart, lv.ALIGN.OUT_RIGHT_MID, 20, 0)
|
/lvgl-3.7.0/examples/widgets/obj/ |
D | lv_example_obj_1.py | 3 obj1.align(lv.ALIGN.CENTER, -60, -30) 13 obj2.align(lv.ALIGN.CENTER, 60, 30)
|
/lvgl-3.7.0/examples/widgets/slider/ |
D | lv_example_slider_1.py | 8 slider_label.align_to(slider, lv.ALIGN.OUT_BOTTOM_MID, 0, 10) 19 slider_label.align_to(slider, lv.ALIGN.OUT_BOTTOM_MID, 0, 10)
|
/lvgl-3.7.0/examples/libs/gif/ |
D | lv_example_gif_1.py | 21 img1.align(lv.ALIGN.RIGHT_MID, -150, 0) 27 img2.align(lv.ALIGN.RIGHT_MID, -250, 0)
|
/lvgl-3.7.0/examples/widgets/roller/ |
D | lv_example_roller_2.py | 38 roller.align(lv.ALIGN.LEFT_MID, 10, 0) 47 roller.align(lv.ALIGN.CENTER, 0, 0) 58 roller.align(lv.ALIGN.RIGHT_MID, -10, 0)
|
/lvgl-3.7.0/examples/libs/png/ |
D | lv_example_png_1.py | 20 img1.align(lv.ALIGN.RIGHT_MID, -250, 0) 37 img2.align(lv.ALIGN.RIGHT_MID, -150, 0)
|
/lvgl-3.7.0/examples/widgets/btn/ |
D | lv_example_btn_1.py | 15 btn1.align(lv.ALIGN.CENTER,0,-40) 26 btn2.align(lv.ALIGN.CENTER,0,40)
|
/lvgl-3.7.0/examples/layouts/flex/ |
D | lv_example_flex_1.py | 8 cont_row.align(lv.ALIGN.TOP_MID, 0, 5) 14 cont_col.align_to(cont_row, lv.ALIGN.OUT_BOTTOM_MID, 0, 5)
|
/lvgl-3.7.0/examples/widgets/keyboard/ |
D | lv_example_keyboard_1.py | 18 ta.align(lv.ALIGN.TOP_LEFT, 10, 10) 24 ta.align(lv.ALIGN.TOP_RIGHT, -10, 10)
|
/lvgl-3.7.0/examples/widgets/spinbox/ |
D | lv_example_spinbox_1.py | 22 btn.align_to(spinbox, lv.ALIGN.OUT_RIGHT_MID, 5, 0) 28 btn.align_to(spinbox, lv.ALIGN.OUT_LEFT_MID, -5, 0)
|
/lvgl-3.7.0/examples/styles/ |
D | lv_example_style_14.py | 29 btn.align(lv.ALIGN.TOP_MID, 0, 20) 37 btn.align(lv.ALIGN.BOTTOM_MID, 0, -20)
|
D | lv_example_style_11.py | 29 obj_base.align(lv.ALIGN.LEFT_MID, 20, 0) 39 obj_warning.align(lv.ALIGN.RIGHT_MID, -20, 0)
|
/lvgl-3.7.0/examples/scroll/ |
D | lv_example_scroll_2.py | 41 sw.align(lv.ALIGN.TOP_RIGHT, -20, 10) 45 label.align_to(sw, lv.ALIGN.OUT_BOTTOM_MID, 0, 5)
|
/lvgl-3.7.0/examples/widgets/imgbtn/ |
D | lv_example_imgbtn_1.py | 68 imgbtn1.align(lv.ALIGN.CENTER, 0, 0) 73 label.align(lv.ALIGN.CENTER, 0, -4)
|