Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 5 of 5) sorted by relevance

/lvgl-3.7.0/src/extra/libs/tiny_ttf/
Dstb_rect_pack.h452 stbrp_node * node, * cur; in stbrp__skyline_pack_rectangle() local
474 cur = *res.prev_link; in stbrp__skyline_pack_rectangle()
475 if(cur->x < res.x) { in stbrp__skyline_pack_rectangle()
477 stbrp_node * next = cur->next; in stbrp__skyline_pack_rectangle()
478 cur->next = node; in stbrp__skyline_pack_rectangle()
479 cur = next; in stbrp__skyline_pack_rectangle()
487 while(cur->next && cur->next->x <= res.x + width) { in stbrp__skyline_pack_rectangle()
488 stbrp_node * next = cur->next; in stbrp__skyline_pack_rectangle()
490 cur->next = context->free_head; in stbrp__skyline_pack_rectangle()
491 context->free_head = cur; in stbrp__skyline_pack_rectangle()
[all …]
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_utils.c142 int cur = 0; in lv_sdl_to_8bpp() local
167 while(cur < src_len) { in lv_sdl_to_8bpp()
169 uint8_t src_byte = src[cur * bpp / 8]; in lv_sdl_to_8bpp()
170 while(curbit >= 0 && cur < src_len) { in lv_sdl_to_8bpp()
172 dest[(cur / width * stride) + (cur % width)] = opa_table[src_bits]; in lv_sdl_to_8bpp()
174 cur++; in lv_sdl_to_8bpp()
/lvgl-3.7.0/src/extra/widgets/keyboard/
Dlv_keyboard.c344 uint16_t cur = lv_textarea_get_cursor_pos(keyboard->ta); in lv_keyboard_def_event_cb() local
350 lv_textarea_set_cursor_pos(keyboard->ta, cur); in lv_keyboard_def_event_cb()
356 lv_textarea_set_cursor_pos(keyboard->ta, cur); in lv_keyboard_def_event_cb()
361 lv_textarea_set_cursor_pos(keyboard->ta, cur + 1); in lv_keyboard_def_event_cb()
/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_gradient.c315 int32_t cur = (dsc->stops[i].frac * range) >> 8; in lv_gradient_calculate() local
316 if(frac <= cur) { in lv_gradient_calculate()
/lvgl-3.7.0/src/extra/widgets/chart/
Dlv_chart.c690 lv_chart_cursor_t * cur; in lv_chart_destructor() local
692 cur = _lv_ll_get_head(&chart->cursor_ll); in lv_chart_destructor()
693 _lv_ll_remove(&chart->cursor_ll, cur); in lv_chart_destructor()
694 lv_mem_free(cur); in lv_chart_destructor()