Home
last modified time | relevance | path

Searched refs:k (Results 1 – 24 of 24) sorted by relevance

/lvgl-3.7.0/src/draw/
Dlv_draw_mask.c627 int32_t k = - abs_x; in lv_draw_mask_line() local
628 if(k < 0) return LV_DRAW_MASK_RES_TRANSP; in lv_draw_mask_line()
629 if(k >= 0 && k < len) lv_memset_00(&mask_buf[k], len - k); in lv_draw_mask_line()
636 int32_t k = - abs_x; in lv_draw_mask_line() local
637 if(k < 0) k = 0; in lv_draw_mask_line()
638 if(k >= len) return LV_DRAW_MASK_RES_TRANSP; in lv_draw_mask_line()
639 else if(k >= 0 && k < len) lv_memset_00(&mask_buf[0], k); in lv_draw_mask_line()
720 int32_t k = xei - abs_x; in line_mask_flat() local
724 if(k >= 0 && k < len) { in line_mask_flat()
727 mask_buf[k] = mask_mix(mask_buf[k], m); in line_mask_flat()
[all …]
/lvgl-3.7.0/src/extra/libs/gif/
Dgifdec.c29 static int f_gif_seek(gd_GIF * gif, size_t pos, int k);
493 int i, j, k; in render_frame_rect() local
497 for (k = 0; k < gif->fw; k++) { in render_frame_rect()
498 index = gif->frame[(gif->fy + j) * gif->width + gif->fx + k]; in render_frame_rect()
502 buffer[(i+k)*4 + 0] = *(color + 2); in render_frame_rect()
503 buffer[(i+k)*4 + 1] = *(color + 1); in render_frame_rect()
504 buffer[(i+k)*4 + 2] = *(color + 0); in render_frame_rect()
505 buffer[(i+k)*4 + 3] = 0xFF; in render_frame_rect()
508 buffer[(i+k)*3 + 0] = c.full & 0xff; in render_frame_rect()
509 buffer[(i+k)*3 + 1] = (c.full >> 8) & 0xff; in render_frame_rect()
[all …]
/lvgl-3.7.0/tests/src/
Dlv_test_indev.c67 void lv_test_key_press(uint32_t k) in lv_test_key_press() argument
69 key_act = k; in lv_test_key_press()
78 void lv_test_key_hit(uint32_t k) in lv_test_key_hit() argument
82 lv_test_key_press(k); in lv_test_key_hit()
Dlv_test_indev.h22 void lv_test_key_press(uint32_t k);
24 void lv_test_key_hit(uint32_t k);
/lvgl-3.7.0/docs/
Dexample_list.py77 for k in d:
78 v = d[k]
79 if k.startswith(path + "/lv_example_"):
DCONTRIBUTING.md249 We collect the optional features (a.k.a. plugins) in [lvgl/src/extra](https://github.com/lvgl/lvgl/…
DCHANGELOG.md890 - ci add 5k stack limit [`4122dda`](https://github.com/littlevgl/lvgl/commit/4122dda399679baa3b8bbd…
/lvgl-3.7.0/examples/others/gridnav/
Dlv_example_gridnav_3.c6 uint32_t k = lv_event_get_key(e); in cont_sub_event_cb() local
8 if(k == LV_KEY_ENTER) { in cont_sub_event_cb()
11 else if(k == LV_KEY_ESC) { in cont_sub_event_cb()
/lvgl-3.7.0/src/misc/
Dlv_lru.c274 uint32_t k = *(uint32_t *) data; in lv_lru_hash() local
275 k *= m; in lv_lru_hash()
276 k ^= k >> r; in lv_lru_hash()
277 k *= m; in lv_lru_hash()
279 h ^= k; in lv_lru_hash()
/lvgl-3.7.0/src/extra/libs/qrcode/
Dqrcodegen.c310 for (int j = 0, k = i; j < datLen; j++, k += numBlocks) { // Copy data in addEccAndInterleave() local
312 k -= numShortBlocks; in addEccAndInterleave()
313 result[k] = dat[j]; in addEccAndInterleave()
315 for (int j = 0, k = dataLen + i; j < blockEccLen; j++, k += numBlocks) // Copy ECC in addEccAndInterleave() local
316 result[k] = ecc[j]; in addEccAndInterleave()
498 int k = qrsize - 11 + j; in drawWhiteFunctionModules() local
499 setModule(qrcode, k, i, (bits & 1) != 0); in drawWhiteFunctionModules()
500 setModule(qrcode, i, k, (bits & 1) != 0); in drawWhiteFunctionModules()
709 int k = (int)((labs(black * 20L - total * 10L) + total - 1) / total) - 1; in getPenaltyScore() local
710 result += k * PENALTY_N4; in getPenaltyScore()
/lvgl-3.7.0/src/extra/libs/tiny_ttf/
Dlv_tiny_ttf.c115 int k = stbtt_GetGlyphKernAdvance(&dsc->info, g1, g2); in ttf_get_glyph_dsc_cb() local
116 dsc_out->adv_w = (uint16_t)floor((((float)advw + (float)k) * dsc->scale) + in ttf_get_glyph_dsc_cb()
119 dsc_out->adv_w = (uint16_t)floor((((float)advw + (float)k) * dsc->scale) + in ttf_get_glyph_dsc_cb()
Dstb_truetype_htcw.h2578 int k, length; local
2592 for(k = 0; k < length; k++) {
2593 table[k].glyph1 = ttUSHORT(info->data, 18 + (k * 6) + info->kern);
2594 table[k].glyph2 = ttUSHORT(info->data, 20 + (k * 6) + info->kern);
2595 table[k].advance = ttSHORT(info->data, 22 + (k * 6) + info->kern);
3649 float k; local
3652 k = scanline[i] + sum;
3653 k = (float)STBTT_fabs(k) * 255 + 0.5f;
3654 m = (int)k;
3778 int n, i, j, k, m; local
[all …]
/lvgl-3.7.0/src/font/
Dlv_font_loader.c450 for(int k = 0; k < bmp_size - 1; ++k) { in load_glyph() local
451 glyph_bmp[cur_bmp_size + k] = read_bits(&bit_it, 8, &res); in load_glyph()
/lvgl-3.7.0/src/core/
Dlv_event.c329 uint32_t * k = lv_event_get_param(e); in lv_event_get_key() local
330 if(k) return *k; in lv_event_get_key()
/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_gradient.c152 uint32_t * k = (uint32_t *)ctx; in find_item() local
153 if(c->key == *k) return LV_RES_OK; in find_item()
/lvgl-3.7.0/docs/get-started/bindings/
Dmicropython.md10 - **Compact** - Fits and runs within just 256k of code space and 16k of RAM. No OS is needed, altho…
/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c928 size_t i = p, j = q, k; in bpmnode_sort() local
929 for(k = p; k < r; k++) { in bpmnode_sort()
930 if(i < q && (j >= r || a[i].weight <= a[j].weight)) b[k] = a[i++]; in bpmnode_sort()
931 else b[k] = a[j++]; in bpmnode_sort()
1925 size_t k; in deflateDynamic() local
1928 for(k = 0; k < num; ++k) { in deflateDynamic()
6027 const char* k = info.text_keys[i]; in lodepng_encode() local
6029 if(k[0] == 'L' && k[1] == 'o' && k[2] == 'd' && k[3] == 'e' && in lodepng_encode()
6030 k[4] == 'P' && k[5] == 'N' && k[6] == 'G' && k[7] == '\0') { in lodepng_encode()
/lvgl-3.7.0/docs/widgets/core/
Dtextarea.md81 If there is a very long text in the Text area (e.g. > 20k characters), scrolling and drawing might …
Dlabel.md57 LVGL can efficiently handle very long (e.g. > 40k characters) labels by saving some extra data (~12…
/lvgl-3.7.0/demos/music/
Dlv_demo_music_main.c833 uint32_t k = (i + bar_rot + rnd_array[(bar_ofs + 1) % 10]) % BAR_CNT; in spectrum_draw_event_cb() local
835 uint32_t v = (r[k] * animv + r[j] * (amax - animv)) / amax; in spectrum_draw_event_cb()
/lvgl-3.7.0/
DKconfig488 …bool "Extend the default -32k..32k coordinate range to -4M..4M by using int32_t for coordinates in…
/lvgl-3.7.0/docs/overview/
Dfont.md89 LVGL not only supports RTL texts but supports mixed (a.k.a. bidirectional, BiDi) text rendering too…
/lvgl-3.7.0/docs/porting/
Ddisplay.md214 Normally the dirty (a.k.a invalid) areas are checked and redrawn in every `LV_DISP_DEF_REFR_PERIOD`…
/lvgl-3.7.0/docs/_static/css/
Dfontawesome.min.css5 …fore{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3b…