Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 49) sorted by relevance

12

/lvgl-latest/src/misc/
Dlv_gc.h35 #define LV_DISPATCH(f, t, n) f(t, n) argument
36 #define LV_DISPATCH_COND(f, t, n, m, v) LV_CONCAT3(LV_DISPATCH, m, v)(f, t, n) argument
38 #define LV_DISPATCH00(f, t, n) LV_DISPATCH(f, t, n) argument
39 #define LV_DISPATCH01(f, t, n) argument
40 #define LV_DISPATCH10(f, t, n) argument
41 #define LV_DISPATCH11(f, t, n) LV_DISPATCH(f, t, n) argument
43 #define LV_ITERATE_ROOTS(f) … argument
44 …LV_DISPATCH(f, lv_ll_t, _lv_timer_ll) /*Linked list to store the lv_timers*/ …
45 …LV_DISPATCH(f, lv_ll_t, _lv_disp_ll) /*Linked list of display device*/ …
46 …LV_DISPATCH(f, lv_ll_t, _lv_indev_ll) /*Linked list of input device*/ …
[all …]
/lvgl-latest/scripts/
Dlv_conf_internal_gen.py114 f'{indent}#ifndef {name}\n'
115 f'{indent} #ifdef _LV_KCONFIG_PRESENT\n'
116 f'{indent} #ifdef CONFIG_{name.upper()}\n'
117 f'{indent} #define {name} CONFIG_{name.upper()}\n'
118 f'{indent} #else\n'
119 f'{indent} #define {name} 0\n'
120 f'{indent} #endif\n'
121 f'{indent} #else\n'
122 f'{indent} {line}\n'
123 f'{indent} #endif\n'
[all …]
Djpg_to_sjpg.py63 f = open(str(i)+".jpg", "rb") variable
64 a = f.read()
65 f.close()
103 f = open(OUTPUT_FILE_NAME+".sjpg","wb"); variable
104 f.write(sjpeg)
105 f.close()
126 f = open(OUTPUT_FILE_NAME + '.c', 'w') variable
127 f.write(c_code)
128 f.close()
/lvgl-latest/src/extra/layouts/flex/
Dlv_flex.c56 static int32_t find_track_end(lv_obj_t * cont, flex_t * f, int32_t item_start_id, lv_coord_t max_ma…
58 static void children_repos(lv_obj_t * cont, flex_t * f, int32_t item_first_id, int32_t item_last_id…
211 flex_t f; in flex_update() local
213 f.row = flow & _LV_FLEX_COLUMN ? 0 : 1; in flex_update()
214 f.wrap = flow & _LV_FLEX_WRAP ? 1 : 0; in flex_update()
215 f.rev = flow & _LV_FLEX_REVERSE ? 1 : 0; in flex_update()
216 f.main_place = lv_obj_get_style_flex_main_place(cont, LV_PART_MAIN); in flex_update()
217 f.cross_place = lv_obj_get_style_flex_cross_place(cont, LV_PART_MAIN); in flex_update()
218 f.track_place = lv_obj_get_style_flex_track_place(cont, LV_PART_MAIN); in flex_update()
221 …lv_coord_t track_gap = !f.row ? lv_obj_get_style_pad_column(cont, LV_PART_MAIN) : lv_obj_get_style… in flex_update()
[all …]
/lvgl-latest/src/font/
Dlv_font.c75 const lv_font_t * f = font_p; in lv_font_get_glyph_dsc() local
79 while(f) { in lv_font_get_glyph_dsc()
80 bool found = f->get_glyph_dsc(f, dsc_out, letter, letter_next); in lv_font_get_glyph_dsc()
83 dsc_out->resolved_font = f; in lv_font_get_glyph_dsc()
88 placeholder_font = f; in lv_font_get_glyph_dsc()
92 f = f->fallback; in lv_font_get_glyph_dsc()
/lvgl-latest/docs/_ext/
Dlv_example.py33 …return f"https://github.com/lvgl/lvgl/blob/{env.config.repo_commit_hash}/examples/{example_path}.{…
39 with open(example_file) as f:
40 contents = f.read()
46 …paragraph_node = nodes.raw(text=f"<p>{self.human_language_name(language)} code &nbsp;</p>", format…
48 …paragraph_node.append(nodes.raw(text=f"<a class='lv-example-link-button' onclick=\"event.stopPropa…
69 …'<i class="fa fa-play"></i>&nbsp;Simulator': f"https://sim.lvgl.io/v{env.config.version}/micropyth…
74 …iframe_html = f"<div class='lv-example' data-real-src='/{env.config.version}/_static/built_lv_exam…
76 …description_html = f"<div class='lv-example-description'>{self.options.get('description', '')}</di…
77 …layout_node = nodes.raw(text=f"<div class='lv-example-container'>{iframe_html}{description_html}</…
85 trailing_node = nodes.raw(text=f"<hr/>", format='html')
/lvgl-latest/examples/widgets/animimg/
Dlv_example_animimg_1.py11 with open('../../assets/animimg001.png','rb') as f:
12 anim001_data = f.read()
23 with open('../../assets/animimg002.png','rb') as f:
24 anim002_data = f.read()
35 with open('../../assets/animimg003.png','rb') as f:
36 anim003_data = f.read()
/lvgl-latest/scripts/release/
Dcom.py25 f = open(fn, "r")
26 for i in f.read().splitlines():
33 f.close()
35 f = open(fn, "w")
36 f.write(new_content)
37 f.close()
49 f = open("./lvgl.h", "r")
52 for i in f.read().splitlines():
68 f.close()
/lvgl-latest/examples/widgets/imgbtn/
Dlv_example_imgbtn_1.py10 with open('../../assets/imgbtn_left.png','rb') as f:
11 imgbtn_left_data = f.read()
22 with open('../../assets/imgbtn_mid.png','rb') as f:
23 imgbtn_mid_data = f.read()
34 with open('../../assets/imgbtn_right.png','rb') as f:
35 imgbtn_right_data = f.read()
/lvgl-latest/src/extra/libs/bmp/
Dlv_bmp.c23 lv_fs_file_t f; member
83 lv_fs_file_t f; in decoder_info() local
84 lv_fs_res_t res = lv_fs_open(&f, src, LV_FS_MODE_RD); in decoder_info()
88 lv_fs_read(&f, headers, 54, NULL); in decoder_info()
96 lv_fs_close(&f); in decoder_info()
137 lv_fs_res_t res = lv_fs_open(&b.f, dsc->src, LV_FS_MODE_RD); in decoder_open()
141 lv_fs_read(&b.f, header, 54, NULL); in decoder_open()
144 lv_fs_close(&b.f); in decoder_open()
170 lv_fs_close(&b.f); in decoder_open()
200 lv_fs_seek(&b->f, p, LV_FS_SEEK_SET); in decoder_read_line()
[all …]
/lvgl-latest/src/draw/
Dlv_img_decoder.c26 lv_fs_file_t f; member
290 lv_fs_file_t f; in lv_img_decoder_built_in_info() local
291 lv_fs_res_t res = lv_fs_open(&f, src, LV_FS_MODE_RD); in lv_img_decoder_built_in_info()
294 res = lv_fs_read(&f, header, sizeof(lv_img_header_t), &rn); in lv_img_decoder_built_in_info()
295 lv_fs_close(&f); in lv_img_decoder_built_in_info()
333 lv_fs_file_t f; in lv_img_decoder_built_in_open() local
334 lv_fs_res_t res = lv_fs_open(&f, dsc->src, LV_FS_MODE_RD); in lv_img_decoder_built_in_open()
346 lv_fs_close(&f); in lv_img_decoder_built_in_open()
353 lv_memcpy_small(&user_data->f, &f, sizeof(f)); in lv_img_decoder_built_in_open()
379 lv_fs_seek(&user_data->f, 4, LV_FS_SEEK_SET); /*+4 to skip the header*/ in lv_img_decoder_built_in_open()
[all …]
/lvgl-latest/demos/music/assets/
Dspectrum.py22 for f in [8, 45, 300, 600]:
24 for i in range(f_prev, f): v += S[i][t]
27 f_prev = f
/lvgl-latest/examples/porting/
Dlv_port_fs_template.c110 void * f = NULL;
114 f = ... /*Add your code here*/
118 f = ... /*Add your code here*/
122 f = ... /*Add your code here*/
125 return f;
/lvgl-latest/examples/widgets/meter/
Dlv_example_meter_3.py14 with open('../../assets/img_hand_min.png','rb') as f:
15 img_hand_min_data = f.read()
27 with open('../../assets/img_hand_hour.png','rb') as f:
28 img_hand_hour_data = f.read()
/lvgl-latest/src/extra/libs/fsdrv/
Dlv_fs_fatfs.c113 FIL * f = lv_mem_alloc(sizeof(FIL)); in fs_open() local
114 if(f == NULL) return NULL; in fs_open()
116 FRESULT res = f_open(f, path, flags); in fs_open()
118 return f; in fs_open()
121 lv_mem_free(f); in fs_open()
/lvgl-latest/docs/
Dexample_list.py82 fout.write(f".. lv_example:: {k}\n")
93 for f in files:
95 filelist.append(os.path.join(root,f))
/lvgl-latest/src/core/
Dlv_obj.h235 void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
242 void lv_obj_clear_flag(lv_obj_t * obj, lv_obj_flag_t f);
282 bool lv_obj_has_flag(const lv_obj_t * obj, lv_obj_flag_t f);
290 bool lv_obj_has_flag_any(const lv_obj_t * obj, lv_obj_flag_t f);
Dlv_obj.c229 void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f) in lv_obj_add_flag() argument
236 if(f & LV_OBJ_FLAG_HIDDEN) lv_obj_invalidate(obj); in lv_obj_add_flag()
238 obj->flags |= f; in lv_obj_add_flag()
240 if(f & LV_OBJ_FLAG_HIDDEN) { in lv_obj_add_flag()
253 …if((was_on_layout != lv_obj_is_layout_positioned(obj)) || (f & (LV_OBJ_FLAG_LAYOUT_1 | LV_OBJ_FLA… in lv_obj_add_flag()
258 if(f & LV_OBJ_FLAG_SCROLLABLE) { in lv_obj_add_flag()
266 void lv_obj_clear_flag(lv_obj_t * obj, lv_obj_flag_t f) in lv_obj_clear_flag() argument
271 if(f & LV_OBJ_FLAG_SCROLLABLE) { in lv_obj_clear_flag()
278 obj->flags &= (~f); in lv_obj_clear_flag()
280 if(f & LV_OBJ_FLAG_HIDDEN) { in lv_obj_clear_flag()
[all …]
/lvgl-latest/examples/widgets/img/
Dlv_example_img_1.py14 with open('../../assets/img_cogwheel_argb.png','rb') as f:
15 png_data = f.read()
Dlv_example_img_4.py14 with open('../../assets/img_skew_strip.png','rb') as f:
15 png_data = f.read()
/lvgl-latest/examples/libs/png/
Dlv_example_png_1.py24 with open('wink.png','rb') as f:
25 png_data = f.read()
/lvgl-latest/examples/widgets/dropdown/
Dlv_example_dropdown_3.py10 with open('../../assets/img_caret_down.png','rb') as f:
11 png_data = f.read()
/lvgl-latest/examples/styles/
Dlv_example_style_6.py9 with open('../assets/img_cogwheel_argb.png', 'rb') as f:
10 png_data = f.read()
/lvgl-latest/examples/widgets/bar/
Dlv_example_bar_4.py8 with open(sdl_filename,'rb') as f:
9 icon_data = f.read()
/lvgl-latest/src/extra/libs/png/
Dlv_png.c80 lv_fs_file_t f; in decoder_info() local
81 lv_fs_res_t res = lv_fs_open(&f, fn, LV_FS_MODE_RD); in decoder_info()
84 lv_fs_seek(&f, 16, LV_FS_SEEK_SET); in decoder_info()
87 lv_fs_read(&f, &size, 8, &rn); in decoder_info()
88 lv_fs_close(&f); in decoder_info()

12