/lvgl-latest/src/misc/ |
D | lv_bidi.h | 114 void lv_bidi_calculate_align(lv_text_align_t * align, lv_base_dir_t * base_dir, const char * txt); 128 static inline void lv_bidi_calculate_align(lv_text_align_t * align, lv_base_dir_t * base_dir, const… in lv_bidi_calculate_align() argument 132 if(*align == LV_TEXT_ALIGN_AUTO) * align = LV_TEXT_ALIGN_LEFT; in lv_bidi_calculate_align()
|
D | lv_tlsf.c | 484 static size_t align_up(size_t x, size_t align) in align_up() argument 486 tlsf_assert(0 == (align & (align - 1)) && "must align to a power of two"); in align_up() 487 return (x + (align - 1)) & ~(align - 1); in align_up() 490 static size_t align_down(size_t x, size_t align) in align_down() argument 492 tlsf_assert(0 == (align & (align - 1)) && "must align to a power of two"); in align_down() 493 return x - (x & (align - 1)); in align_down() 496 static void * align_ptr(const void * ptr, size_t align) in align_ptr() argument 499 (tlsf_cast(tlsfptr_t, ptr) + (align - 1)) & ~(align - 1); in align_ptr() 500 tlsf_assert(0 == (align & (align - 1)) && "must align to a power of two"); in align_ptr() 508 static size_t adjust_request_size(size_t size, size_t align) in adjust_request_size() argument [all …]
|
/lvgl-latest/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-latest/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-latest/examples/widgets/label/ |
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_1.py | 11 label1.align(lv.ALIGN.CENTER, 0, -40) 18 label2.align(lv.ALIGN.CENTER, 0, 40)
|
D | lv_example_label_5.py | 9 label1.align(lv.ALIGN.CENTER, 0, 40)
|
/lvgl-latest/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-latest/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-latest/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-latest/examples/widgets/bar/ |
D | lv_example_bar_5.py | 8 bar_ltr.align(lv.ALIGN.CENTER, 0, -30) 18 bar_rtl.align(lv.ALIGN.CENTER, 0, 30)
|
/lvgl-latest/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-latest/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-latest/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-latest/src/draw/ |
D | lv_draw_label.c | 104 lv_text_align_t align = dsc->align; in lv_draw_label() local 107 lv_bidi_calculate_align(&align, &base_dir, txt); in lv_draw_label() 174 if(align == LV_TEXT_ALIGN_CENTER) { in lv_draw_label() 181 else if(align == LV_TEXT_ALIGN_RIGHT) { in lv_draw_label() 341 if(align == LV_TEXT_ALIGN_CENTER) { in lv_draw_label() 349 else if(align == LV_TEXT_ALIGN_RIGHT) { in lv_draw_label()
|
/lvgl-latest/examples/widgets/textarea/ |
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-latest/src/core/ |
D | lv_obj_pos.c | 334 void lv_obj_set_align(lv_obj_t * obj, lv_align_t align) in lv_obj_set_align() argument 336 lv_obj_set_style_align(obj, align, 0); in lv_obj_set_align() 339 void lv_obj_align(lv_obj_t * obj, lv_align_t align, lv_coord_t x_ofs, lv_coord_t y_ofs) in lv_obj_align() argument 341 lv_obj_set_style_align(obj, align, 0); in lv_obj_align() 345 void lv_obj_align_to(lv_obj_t * obj, const lv_obj_t * base, lv_align_t align, lv_coord_t x_ofs, lv_… in lv_obj_align_to() argument 366 if(align == LV_ALIGN_DEFAULT) { in lv_obj_align_to() 367 … if(lv_obj_get_style_base_dir(base, LV_PART_MAIN) == LV_BASE_DIR_RTL) align = LV_ALIGN_TOP_RIGHT; in lv_obj_align_to() 368 else align = LV_ALIGN_TOP_LEFT; in lv_obj_align_to() 371 switch(align) { in lv_obj_align_to() 659 lv_align_t align = lv_obj_get_style_align(obj, LV_PART_MAIN); in lv_obj_refr_pos() local [all …]
|
D | lv_obj_pos.h | 168 void lv_obj_set_align(struct _lv_obj_t * obj, lv_align_t align); 180 void lv_obj_align(struct _lv_obj_t * obj, lv_align_t align, lv_coord_t x_ofs, lv_coord_t y_ofs); 191 void lv_obj_align_to(struct _lv_obj_t * obj, const struct _lv_obj_t * base, lv_align_t align, lv_co…
|
D | lv_obj_scroll.h | 76 void lv_obj_set_scroll_snap_x(struct _lv_obj_t * obj, lv_scroll_snap_t align); 83 void lv_obj_set_scroll_snap_y(struct _lv_obj_t * obj, lv_scroll_snap_t align);
|
/lvgl-latest/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-latest/examples/widgets/table/ |
D | lv_example_table_1.c | 15 dsc->label_dsc->align = LV_TEXT_ALIGN_CENTER; in draw_part_event_cb() 21 dsc->label_dsc->align = LV_TEXT_ALIGN_RIGHT; in draw_part_event_cb()
|
/lvgl-latest/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)
|
/lvgl-latest/scripts/ |
D | code-format.cfg | 11 --align-pointer=middle 12 --align-reference=middle
|
/lvgl-latest/src/extra/libs/tiny_ttf/ |
D | stb_rect_pack.h | 188 int align; member 250 context->align = 1; in stbrp_setup_allow_out_of_mem() 259 context->align = (context->width + context->num_nodes - 1) / context->num_nodes; in stbrp_setup_allow_out_of_mem() 352 width = (width + c->align - 1); in stbrp__skyline_find_best_pos() 353 width -= width % c->align; in stbrp__skyline_find_best_pos() 354 STBRP_ASSERT(width % c->align == 0); in stbrp__skyline_find_best_pos()
|