Home
last modified time | relevance | path

Searched refs:LV_BASE_DIR_RTL (Results 1 – 25 of 34) sorted by relevance

12

/lvgl-latest/src/misc/
Dlv_bidi.c117 if(dir == LV_BASE_DIR_RTL || dir == LV_BASE_DIR_LTR) return dir; in lv_bidi_detect_base_dir()
194 if(base_dir == LV_BASE_DIR_RTL) { in lv_bidi_process_paragraph()
280 if(*base_dir == LV_BASE_DIR_RTL) *align = LV_TEXT_ALIGN_RIGHT; in lv_bidi_calculate_align()
319 if(lv_bidi_letter_is_rtl(letter)) return LV_BASE_DIR_RTL; in lv_bidi_get_letter_dir()
428 if(dir == LV_BASE_DIR_LTR || dir == LV_BASE_DIR_RTL) break; in get_next_run()
453 if(run_dir == LV_BASE_DIR_RTL) { in get_next_run()
454 if(base_dir == LV_BASE_DIR_RTL) { in get_next_run()
461 if((next_dir == LV_BASE_DIR_RTL || next_dir == LV_BASE_DIR_LTR) && next_dir != run_dir) { in get_next_run()
624 if(letter_dir == LV_BASE_DIR_LTR || letter_dir == LV_BASE_DIR_RTL) { in bracket_process()
Dlv_bidi.h33 LV_BASE_DIR_RTL = 0x01, enumerator
/lvgl-latest/examples/scroll/
Dlv_example_scroll_5.c10 lv_obj_set_style_base_dir(obj, LV_BASE_DIR_RTL, 0); in lv_example_scroll_5()
/lvgl-latest/examples/layouts/flex/
Dlv_example_flex_6.c11 lv_obj_set_style_base_dir(cont, LV_BASE_DIR_RTL, 0); in lv_example_flex_6()
/lvgl-latest/examples/widgets/bar/
Dlv_example_bar_5.c21 lv_obj_set_style_base_dir(bar_rtl, LV_BASE_DIR_RTL, 0); in lv_example_bar_5()
/lvgl-latest/examples/widgets/label/
Dlv_example_label_3.c18 lv_obj_set_style_base_dir(rtl_label, LV_BASE_DIR_RTL, 0); in lv_example_label_3()
/lvgl-latest/examples/layouts/grid/
Dlv_example_grid_6.c17 lv_obj_set_style_base_dir(cont, LV_BASE_DIR_RTL, 0); in lv_example_grid_6()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_checkbox.c116 lv_obj_set_style_base_dir(test_checkbox, LV_BASE_DIR_RTL, 0); in test_checkbox_rtl()
Dtest_bar.c120 lv_obj_set_style_base_dir(g_bar, LV_BASE_DIR_RTL, 0); in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
180 lv_obj_set_style_base_dir(test_bar, LV_BASE_DIR_RTL, 0); in test_bar_normal()
Dtest_label.c586 lv_obj_set_style_base_dir(test_label, LV_BASE_DIR_RTL, 0); in test_label_rtl_dot_long_mode()
/lvgl-latest/src/widgets/switch/
Dlv_switch.c228 if(LV_BASE_DIR_RTL == lv_obj_get_style_base_dir(obj, LV_PART_MAIN)) { in draw_main()
248 if(LV_BASE_DIR_RTL == lv_obj_get_style_base_dir(obj, LV_PART_MAIN)) { in draw_main()
/lvgl-latest/src/core/
Dlv_obj_scroll.c170 if(lv_obj_get_style_base_dir(obj, LV_PART_MAIN) != LV_BASE_DIR_RTL) { in lv_obj_get_scroll_left()
213 if(lv_obj_get_style_base_dir(obj, LV_PART_MAIN) == LV_BASE_DIR_RTL) { in lv_obj_get_scroll_right()
269 if(lv_obj_get_style_base_dir(obj, LV_PART_MAIN) != LV_BASE_DIR_RTL) { in lv_obj_scroll_by_bounded()
506 bool rtl = lv_obj_get_style_base_dir(obj, LV_PART_SCROLLBAR) == LV_BASE_DIR_RTL; in lv_obj_get_scrollbar_area()
665 if(lv_obj_get_style_base_dir(obj, LV_PART_MAIN) != LV_BASE_DIR_RTL) { in lv_obj_readjust_scroll()
Dlv_obj_pos.c185 if(lv_obj_get_style_base_dir(obj, LV_PART_MAIN) == LV_BASE_DIR_RTL) { in lv_obj_refr_size()
351 … 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()
466 if(lv_obj_get_style_base_dir(parent, LV_PART_MAIN) == LV_BASE_DIR_RTL) { in lv_obj_align_to()
654 … if(lv_obj_get_style_base_dir(parent, LV_PART_MAIN) == LV_BASE_DIR_RTL) align = LV_ALIGN_TOP_RIGHT; in lv_obj_refr_pos()
1098 if(lv_obj_get_style_base_dir(obj, LV_PART_MAIN) == LV_BASE_DIR_RTL) { in calc_content_width()
/lvgl-latest/src/widgets/tabview/
Dlv_tabview.c131 if(lv_obj_get_style_base_dir(obj, LV_PART_MAIN) != LV_BASE_DIR_RTL) { in lv_tabview_set_active()
333 … if(lv_obj_get_style_base_dir(tv, LV_PART_MAIN) == LV_BASE_DIR_RTL) t = -(p.x - w / 2) / w; in cont_scroll_end_event_cb()
/lvgl-latest/src/others/xml/
Dlv_xml_base_types.c107 if(lv_streq("rtl", txt)) return LV_BASE_DIR_RTL; in lv_xml_base_dir_to_enum()
/lvgl-latest/src/
Dlv_conf_kconfig.h233 # define CONFIG_LV_BIDI_BASE_DIR_DEF LV_BASE_DIR_RTL
/lvgl-latest/src/widgets/slider/
Dlv_slider.c374 const bool is_rtl = LV_BASE_DIR_RTL == lv_obj_get_style_base_dir(obj, LV_PART_MAIN); in draw_knob()
480 const bool is_rtl = LV_BASE_DIR_RTL == lv_obj_get_style_base_dir(obj, LV_PART_MAIN); in drag_start()
563 const bool is_rtl = LV_BASE_DIR_RTL == lv_obj_get_style_base_dir(obj, LV_PART_MAIN); in update_knob_pos()
/lvgl-latest/demos/ebike/
Dlv_demo_ebike_settings.c217 lv_obj_set_style_base_dir(right_cont, LV_BASE_DIR_RTL, 0); in right_cont_create()
/lvgl-latest/src/layouts/flex/
Dlv_flex.c140 bool rtl = lv_obj_get_style_base_dir(cont, LV_PART_MAIN) == LV_BASE_DIR_RTL; in flex_update()
381 bool rtl = lv_obj_get_style_base_dir(cont, LV_PART_MAIN) == LV_BASE_DIR_RTL; in children_repos()
/lvgl-latest/src/layouts/grid/
Dlv_grid.c246 bool rev = lv_obj_get_style_base_dir(cont, LV_PART_MAIN) == LV_BASE_DIR_RTL; in calc()
485 if(lv_obj_get_style_base_dir(item, LV_PART_MAIN) == LV_BASE_DIR_RTL) { in item_repos()
/lvgl-latest/src/widgets/checkbox/
Dlv_checkbox.c222 const bool is_rtl = LV_BASE_DIR_RTL == lv_obj_get_style_base_dir(obj, LV_PART_MAIN); in lv_checkbox_draw()
/lvgl-latest/src/widgets/label/
Dlv_label.c376 visual_byte_pos = base_dir == LV_BASE_DIR_RTL ? 0 : byte_id - line_start; in lv_label_get_letter_pos()
982 if(base_dir == LV_BASE_DIR_RTL) { in lv_label_refr_text()
1095 if(base_dir == LV_BASE_DIR_RTL) { in lv_label_refr_text()
/lvgl-latest/src/widgets/table/
Dlv_table.c718 bool rtl = lv_obj_get_style_base_dir(obj, LV_PART_MAIN) == LV_BASE_DIR_RTL; in draw_main()
1016 if(lv_obj_get_style_base_dir(obj, LV_PART_MAIN) == LV_BASE_DIR_RTL) { in get_pressed_cell()
1095 bool rtl = lv_obj_get_style_base_dir(obj, LV_PART_MAIN) == LV_BASE_DIR_RTL; in get_cell_area()
/lvgl-latest/docs/details/base-widget/layouts/
Dgrid.rst193 If the base direction of the container is set to :cpp:enumerator:`LV_BASE_DIR_RTL`,
Dflex.rst186 :cpp:enumerator:`LV_BASE_DIR_RTL` the meaning of

12