/lvgl-latest/src/misc/ |
D | lv_bidi.c | 31 lv_base_dir_t dir; member 115 lv_base_dir_t dir; in _lv_bidi_detect_base_dir() local 116 dir = lv_bidi_get_letter_dir(letter); in _lv_bidi_detect_base_dir() 117 if(dir == LV_BASE_DIR_RTL || dir == LV_BASE_DIR_LTR) return dir; in _lv_bidi_detect_base_dir() 239 lv_base_dir_t dir = base_dir; in _lv_bidi_process_paragraph() local 248 dir = lv_bidi_get_letter_dir(letter); in _lv_bidi_process_paragraph() 249 if(dir == LV_BASE_DIR_NEUTRAL) dir = bracket_process(str_in, rd, len, letter, base_dir); in _lv_bidi_process_paragraph() 250 if(dir != LV_BASE_DIR_NEUTRAL && dir != LV_BASE_DIR_WEAK) break; in _lv_bidi_process_paragraph() 440 lv_base_dir_t dir = lv_bidi_get_letter_dir(letter); in get_next_run() local 441 if(dir == LV_BASE_DIR_NEUTRAL) dir = bracket_process(txt, 0, max_len, letter, base_dir); in get_next_run() [all …]
|
/lvgl-latest/env_support/rt-thread/ |
D | SConscript | 9 cwd = GetCurrentDir() # get current dir path 28 for dir in dirs: 29 current_path = os.path.join(root, dir) 39 for dir in dirs: 40 current_path = os.path.join(root, dir) 49 for dir in dirs: 50 current_path = os.path.join(root, dir)
|
/lvgl-latest/src/extra/widgets/tileview/ |
D | lv_tileview.c | 66 lv_obj_t * lv_tileview_add_tile(lv_obj_t * tv, uint8_t col_id, uint8_t row_id, lv_dir_t dir) in lv_tileview_add_tile() argument 69 create_dir = dir; in lv_tileview_add_tile() 87 lv_obj_set_scroll_dir(obj, tile->dir); in lv_obj_set_tile() 147 tile->dir = create_dir; in lv_tileview_tile_constructor() 177 lv_dir_t dir = LV_DIR_ALL; in tileview_event_cb() local 186 dir = tile->dir; in tileview_event_cb() 191 lv_obj_set_scroll_dir(obj, dir); in tileview_event_cb()
|
D | lv_tileview.h | 34 lv_dir_t dir; member 51 lv_obj_t * lv_tileview_add_tile(lv_obj_t * tv, uint8_t col_id, uint8_t row_id, lv_dir_t dir);
|
/lvgl-latest/src/widgets/ |
D | lv_dropdown.c | 294 void lv_dropdown_set_dir(lv_obj_t * obj, lv_dir_t dir) in lv_dropdown_set_dir() argument 299 if(dropdown->dir == dir) return; in lv_dropdown_set_dir() 301 dropdown->dir = dir; in lv_dropdown_set_dir() 446 return dropdown->dir; in lv_dropdown_get_dir() 474 (dropdown->dir == LV_DIR_TOP || dropdown->dir == LV_DIR_BOTTOM)) { in lv_dropdown_open() 486 lv_dir_t dir = dropdown->dir; in lv_dropdown_open() local 488 if(dropdown->dir == LV_DIR_BOTTOM) { in lv_dropdown_open() 492 dir = LV_DIR_TOP; in lv_dropdown_open() 501 else if(dropdown->dir == LV_DIR_TOP) { in lv_dropdown_open() 505 dir = LV_DIR_BOTTOM; in lv_dropdown_open() [all …]
|
D | lv_dropdown.h | 48 lv_dir_t dir : 4; /**< Direction in which the list should open*/ member 127 void lv_dropdown_set_dir(lv_obj_t * obj, lv_dir_t dir);
|
/lvgl-latest/env_support/rt-thread/squareline/ |
D | SConscript | 17 for dir in dirs: 18 current_path = os.path.join(root, dir)
|
/lvgl-latest/examples/porting/ |
D | lv_port_fs_template.c | 219 void * dir = NULL; 221 dir = ... /*Add your code here*/ 222 return dir;
|
/lvgl-latest/src/core/ |
D | lv_indev_scroll.h | 48 lv_coord_t lv_indev_scroll_throw_predict(lv_indev_t * indev, lv_dir_t dir);
|
D | lv_indev_scroll.c | 32 lv_dir_t dir); 220 lv_coord_t lv_indev_scroll_throw_predict(lv_indev_t * indev, lv_dir_t dir) in lv_indev_scroll_throw_predict() argument 224 switch(dir) { in lv_indev_scroll_throw_predict() 607 lv_dir_t dir) in elastic_diff() argument 613 …snap = dir == LV_DIR_HOR ? lv_obj_get_scroll_snap_x(scroll_obj) : lv_obj_get_scroll_snap_y(scroll_… in elastic_diff() 619 if(dir == LV_DIR_HOR) { in elastic_diff()
|
D | lv_obj_scroll.h | 69 void lv_obj_set_scroll_dir(struct _lv_obj_t * obj, lv_dir_t dir);
|
D | lv_obj_scroll.c | 67 void lv_obj_set_scroll_dir(lv_obj_t * obj, lv_dir_t dir) in lv_obj_set_scroll_dir() argument 71 if(dir != obj->spec_attr->scroll_dir) { in lv_obj_set_scroll_dir() 72 obj->spec_attr->scroll_dir = dir; in lv_obj_set_scroll_dir() 471 lv_dir_t dir = lv_obj_get_scroll_dir(obj); in lv_obj_get_scrollbar_area() local 474 if((dir & LV_DIR_VER) && in lv_obj_get_scrollbar_area() 482 if((dir & LV_DIR_HOR) && in lv_obj_get_scrollbar_area()
|
D | lv_obj_draw.c | 63 if(grad && grad->dir != LV_GRAD_DIR_NONE) { in lv_obj_init_draw_rect_dsc() 67 draw_dsc->bg_grad.dir = lv_obj_get_style_bg_grad_dir(obj, part); in lv_obj_init_draw_rect_dsc() 68 if(draw_dsc->bg_grad.dir != LV_GRAD_DIR_NONE) { in lv_obj_init_draw_rect_dsc()
|
/lvgl-latest/examples/styles/ |
D | lv_example_style_2.c | 16 grad.dir = LV_GRAD_DIR_VER; in lv_example_style_2()
|
/lvgl-latest/docs/widgets/extra/ |
D | tileview.md | 20 `lv_tileview_add_tile(tileview, row_id, col_id, dir)` creates a new tile on the `row_id`th row and … 21 `dir` can be `LV_DIR_LEFT/RIGHT/TOP/BOTTOM/HOR/VER/ALL` or OR-ed values to enable moving to the adj…
|
/lvgl-latest/docs/overview/ |
D | file-system.md | 87 lv_fs_dir_t dir; 89 res = lv_fs_dir_open(&dir, "S:/folder"); 94 res = lv_fs_dir_read(&dir, fn); 108 lv_fs_dir_close(&dir);
|
/lvgl-latest/src/draw/nxp/vglite/ |
D | lv_draw_vglite_rect.c | 124 if(dsc->bg_grad.dir != (lv_grad_dir_t)LV_GRAD_DIR_NONE) { in lv_gpu_nxp_vglite_draw_bg() 155 if(dsc->bg_grad.dir == (lv_grad_dir_t)LV_GRAD_DIR_VER) { in lv_gpu_nxp_vglite_draw_bg() 172 if(dsc->bg_grad.dir == (lv_grad_dir_t)LV_GRAD_DIR_NONE) { in lv_gpu_nxp_vglite_draw_bg() 188 if(dsc->bg_grad.dir != (lv_grad_dir_t)LV_GRAD_DIR_NONE) { in lv_gpu_nxp_vglite_draw_bg()
|
/lvgl-latest/src/extra/widgets/chart/ |
D | lv_chart.h | 88 lv_dir_t dir; member 328 lv_chart_cursor_t * lv_chart_add_cursor(lv_obj_t * obj, lv_color_t color, lv_dir_t dir);
|
D | lv_chart.c | 447 lv_chart_cursor_t * lv_chart_add_cursor(lv_obj_t * obj, lv_color_t color, lv_dir_t dir) in lv_chart_add_cursor() argument 461 cursor->dir = dir; in lv_chart_add_cursor() 1214 col_dsc.bg_grad.dir = LV_GRAD_DIR_NONE; in draw_series_bar() 1347 if(cursor->dir & LV_DIR_HOR) { in draw_cursors() 1348 p1.x = cursor->dir & LV_DIR_LEFT ? obj->coords.x1 : cx; in draw_cursors() 1350 p2.x = cursor->dir & LV_DIR_RIGHT ? obj->coords.x2 : cx; in draw_cursors() 1363 if(cursor->dir & LV_DIR_VER) { in draw_cursors() 1365 p1.y = cursor->dir & LV_DIR_TOP ? obj->coords.y1 : cy; in draw_cursors() 1367 p2.y = cursor->dir & LV_DIR_BOTTOM ? obj->coords.y2 : cy; in draw_cursors()
|
/lvgl-latest/examples/widgets/canvas/ |
D | lv_example_canvas_1.c | 13 rect_dsc.bg_grad.dir = LV_GRAD_DIR_HOR; in lv_example_canvas_1()
|
D | lv_example_canvas_1.py | 9 rect_dsc.bg_grad.dir = lv.GRAD_DIR.HOR
|
/lvgl-latest/src/extra/others/ime/ |
D | lv_ime_pinyin.c | 43 static void pinyin_k9_cand_page_proc(lv_obj_t * obj, uint16_t dir); 814 static void pinyin_page_proc(lv_obj_t * obj, uint16_t dir) in pinyin_page_proc() argument 820 if(dir == 0) { in pinyin_page_proc() 1124 static void pinyin_k9_cand_page_proc(lv_obj_t * obj, uint16_t dir) in pinyin_k9_cand_page_proc() argument 1144 if((NULL == ll_index) && (dir == 1)) return; in pinyin_k9_cand_page_proc() 1151 if(dir == 1) { in pinyin_k9_cand_page_proc()
|
/lvgl-latest/src/draw/sdl/ |
D | lv_draw_sdl_rect.c | 46 lv_grad_dir_t dir; member 53 lv_grad_dir_t dir; member 267 int width = grad->dir == LV_GRAD_DIR_VER ? 1 : 256; in lv_draw_sdl_rect_grad_strip_obtain() 268 int height = grad->dir == LV_GRAD_DIR_VER ? 256 : 1; in lv_draw_sdl_rect_grad_strip_obtain() 372 if(dsc->bg_grad.dir == LV_GRAD_DIR_NONE) { in draw_bg_color() 421 if(grad->dir == LV_GRAD_DIR_VER) { in draw_bg_grad_simple() 959 key.dir = grad->dir; in rect_grad_frag_key_create() 976 key.dir = grad->dir; in rect_grad_strip_key_create()
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_gradient.c | 159 lv_coord_t size = g->dir == LV_GRAD_DIR_HOR ? w : h; in allocate_item() 252 if(g->dir == LV_GRAD_DIR_NONE) return NULL; in lv_gradient_get() 262 lv_coord_t size = g->dir == LV_GRAD_DIR_HOR ? w : h; in lv_gradient_get()
|
/lvgl-latest/demos/music/ |
D | lv_demo_music_main.c | 892 static int32_t dir = 1; in spectrum_anim_cb() local 904 if(spectrum[spectrum_i][0] < 4) bar_rot += dir; in spectrum_anim_cb() 954 lv_dir_t dir = lv_indev_get_gesture_dir(lv_indev_get_act()); in album_gesture_event_cb() local 955 if(dir == LV_DIR_LEFT) _lv_demo_music_album_next(true); in album_gesture_event_cb() 956 if(dir == LV_DIR_RIGHT) _lv_demo_music_album_next(false); in album_gesture_event_cb()
|