Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 53) sorted by relevance

123

/lvgl-3.5.0/src/widgets/
Dlv_arc.h91 void lv_arc_set_start_angle(lv_obj_t * obj, uint16_t start);
106 void lv_arc_set_angles(lv_obj_t * obj, uint16_t start, uint16_t end);
113 void lv_arc_set_bg_start_angle(lv_obj_t * obj, uint16_t start);
128 void lv_arc_set_bg_angles(lv_obj_t * obj, uint16_t start, uint16_t end);
Dlv_arc.c83 void lv_arc_set_start_angle(lv_obj_t * obj, uint16_t start) in lv_arc_set_start_angle() argument
88 if(start > 360) start -= 360; in lv_arc_set_start_angle()
91 int16_t new_delta = arc->indic_angle_end - start; in lv_arc_set_start_angle()
97 …else if(new_delta < old_delta) inv_arc_area(obj, arc->indic_angle_start, start, LV_PART_INDICATOR); in lv_arc_set_start_angle()
98 …else if(old_delta < new_delta) inv_arc_area(obj, start, arc->indic_angle_start, LV_PART_INDICATOR); in lv_arc_set_start_angle()
102 arc->indic_angle_start = start; in lv_arc_set_start_angle()
130 void lv_arc_set_angles(lv_obj_t * obj, uint16_t start, uint16_t end) in lv_arc_set_angles() argument
133 lv_arc_set_start_angle(obj, start); in lv_arc_set_angles()
136 void lv_arc_set_bg_start_angle(lv_obj_t * obj, uint16_t start) in lv_arc_set_bg_start_angle() argument
141 if(start > 360) start -= 360; in lv_arc_set_bg_start_angle()
[all …]
Dlv_dropdown.c406 const char * start = opts; in lv_dropdown_get_option_index() local
408 while(start[char_i] != '\0') { in lv_dropdown_get_option_index()
409 for(char_i = 0; (start[char_i] != '\n') && (start[char_i] != '\0'); char_i++); in lv_dropdown_get_option_index()
411 if(memcmp(start, option, LV_MIN(strlen(option), char_i)) == 0) return opt_i; in lv_dropdown_get_option_index()
412 start = &start[char_i]; in lv_dropdown_get_option_index()
413 if(start[0] == '\n') start++; in lv_dropdown_get_option_index()
/lvgl-3.5.0/docs/overview/
Danimation.md3 You can automatically change the value of a variable between a start and an end value using animati…
36 /*Set start and end values. E.g. 0, 150*/
37 lv_anim_set_values(&a, start, end);
69 /*true (default): apply the start value immediately, false: apply start value after delay when the …
83 …ation. The most simple case is linear, meaning the current value between *start* and *end* is chan…
98 …nim_speed_to_time(speed, start, end)` function calculates the required time in milliseconds to rea…
112 …y calling `lv_anim_timeline_add(at, start_time, &a)`. `start_time` is the start time of the animat…
114 Finally, call `lv_anim_timeline_start(at)` to start the animation timeline.
/lvgl-3.5.0/src/misc/
Dlv_fs.c98 file_p->cache->start = UINT32_MAX; /*Set an invalid range by default*/ in lv_fs_open()
136 uint32_t start = file_p->cache->start; in lv_fs_read_cached() local
141 if(start <= file_position && file_position < end) { in lv_fs_read_cached()
143 uint16_t buffer_offset = file_position - start; in lv_fs_read_cached()
164 file_p->cache->start = file_p->cache->end; in lv_fs_read_cached()
165 file_p->cache->end = file_p->cache->start + bytes_read_to_buffer; in lv_fs_read_cached()
189 file_p->cache->start = file_position; in lv_fs_read_cached()
190 file_p->cache->end = file_p->cache->start + bytes_read_to_buffer; in lv_fs_read_cached()
262 …if(file_p->cache->file_position < file_p->cache->start || file_p->cache->file_position > file_p->c… in lv_fs_seek()
272 …if(file_p->cache->file_position < file_p->cache->start || file_p->cache->file_position > file_p->c… in lv_fs_seek()
Dlv_anim.h169 static inline void lv_anim_set_values(lv_anim_t * a, int32_t start, int32_t end) in lv_anim_set_values() argument
171 a->start_value = start; in lv_anim_set_values()
172 a->current_value = start; in lv_anim_set_values()
412 uint32_t lv_anim_speed_to_time(uint32_t speed, int32_t start, int32_t end);
/lvgl-3.5.0/examples/widgets/meter/
Dlv_example_meter_2.py42 lv.anim_t.start(a1)
54 lv.anim_t.start(a2)
66 lv.anim_t.start(a3)
Dlv_example_meter_3.py74 lv.anim_t.start(a1)
82 lv.anim_t.start(a2)
Dlv_example_meter_1.py57 lv.anim_t.start(a)
/lvgl-3.5.0/docs/widgets/core/
Dbar.md9 Not only the end, but also the start value of the bar can be set, which changes the start position …
29 …R_MODE_RANGE` Allows setting the start value too by `lv_bar_set_start_value(bar, new_value, LV_ANI…
/lvgl-3.5.0/examples/layouts/flex/
Dlv_example_flex_5.py34 lv.anim_t.start(a_row)
46 lv.anim_t.start(a_col)
/lvgl-3.5.0/examples/anim/
Dlv_example_anim_1.py15 lv.anim_t.start(a)
24 lv.anim_t.start(a)
Dlv_example_anim_2.py28 lv.anim_t.start(a1)
41 lv.anim_t.start(a2)
/lvgl-3.5.0/examples/widgets/img/
Dlv_example_img_3.py49 lv.anim_t.start(a1)
59 lv.anim_t.start(a2)
Dlv_example_img_4.py50 lv.anim_t.start(a)
/lvgl-3.5.0/examples/layouts/grid/
Dlv_example_grid_5.py40 lv.anim_t.start(a_row)
50 lv.anim_t.start(a_col)
/lvgl-3.5.0/src/font/
Dlv_font_loader.c68 …2_t load_kern(lv_fs_file_t * fp, lv_font_fmt_txt_dsc_t * font_dsc, uint8_t format, uint32_t start);
225 static int read_label(lv_fs_file_t * fp, int start, const char * label) in read_label() argument
227 lv_fs_seek(fp, start, LV_FS_SEEK_SET); in read_label()
339 … uint32_t start, uint32_t * glyph_offset, uint32_t loca_count, font_header_bin_t * header) in load_glyph() argument
341 int32_t glyph_length = read_label(fp, start, "glyf"); in load_glyph()
358 lv_fs_res_t res = lv_fs_seek(fp, start + glyph_offset[i], LV_FS_SEEK_SET); in load_glyph()
424 lv_fs_res_t res = lv_fs_seek(fp, start + glyph_offset[i], LV_FS_SEEK_SET); in load_glyph()
587 …32_t load_kern(lv_fs_file_t * fp, lv_font_fmt_txt_dsc_t * font_dsc, uint8_t format, uint32_t start) in load_kern() argument
589 int32_t kern_length = read_label(fp, start, "kern"); in load_kern()
/lvgl-3.5.0/demos/music/
DREADME.md20 …andom offset to the position of the bars. E.g. start from 63° instead of 0°. (bars greater than 18…
/lvgl-3.5.0/examples/widgets/animimg/
Dlv_example_animimg_1.py51 animimg0.start()
/lvgl-3.5.0/src/extra/libs/png/
Dlodepng.c491 size_t start = reader->bp >> 3u; in ensureBits9() local
493 if(start + 1u < size) { in ensureBits9()
494 reader->buffer = (unsigned)reader->data[start + 0] | ((unsigned)reader->data[start + 1] << 8u); in ensureBits9()
499 if(start + 0u < size) reader->buffer |= reader->data[start + 0]; in ensureBits9()
507 size_t start = reader->bp >> 3u; in ensureBits17() local
509 if(start + 2u < size) { in ensureBits17()
510 reader->buffer = (unsigned)reader->data[start + 0] | ((unsigned)reader->data[start + 1] << 8u) | in ensureBits17()
511 ((unsigned)reader->data[start + 2] << 16u); in ensureBits17()
516 if(start + 0u < size) reader->buffer |= reader->data[start + 0]; in ensureBits17()
517 if(start + 1u < size) reader->buffer |= ((unsigned)reader->data[start + 1] << 8u); in ensureBits17()
[all …]
/lvgl-3.5.0/examples/widgets/bar/
Dlv_example_bar_3.py31 lv.anim_t.start(a)
Dlv_example_bar_6.py53 lv.anim_t.start(a)
/lvgl-3.5.0/docs/get-started/platforms/
Dtasmota-berry.md57 lv.start() # start LVGL
67 You can start in less than 10 minutes on a M5Stack or equivalent device in less than 10 minutes in …
/lvgl-3.5.0/docs/widgets/extra/
Dmeter.md55 …color will be faded from `color_start` to `color_end` in the indicator's start and end value rang…
56 …l be mapped to the start and end value of the scale and only a "slice" of that color gradient will…
/lvgl-3.5.0/docs/
DCODING_STYLE.md11 * start with *lv*
30 * Declare variables where needed (not all at function start)
78 if(text == ext->txt || text == NULL) { /*Bracket of statements start inline*/

123