Home
last modified time | relevance | path

Searched refs:length (Results 1 – 20 of 20) sorted by relevance

/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_line.c30 lv_coord_t length; member
47 static lv_draw_line_key_t line_key_create(const lv_draw_line_dsc_t * dsc, lv_coord_t length);
50 lv_coord_t length);
61 double length = SDL_sqrt(SDL_pow(x2 - x1, 2) + SDL_pow(y2 - y1, 2)); in lv_draw_sdl_draw_line() local
62 if(length - (long) length > 0.5) { in lv_draw_sdl_draw_line()
63 length = (long) length + 1; in lv_draw_sdl_draw_line()
67 lv_draw_line_key_t key = line_key_create(dsc, (lv_coord_t) length); in lv_draw_sdl_draw_line()
70 texture = line_texture_create(sdl_ctx, dsc, (lv_coord_t) length); in lv_draw_sdl_draw_line()
91 SDL_Rect srcrect = {0, 0, (int) length + dsc->width + 2, dsc->width + 2}, in lv_draw_sdl_draw_line()
110 static lv_draw_line_key_t line_key_create(const lv_draw_line_dsc_t * dsc, lv_coord_t length) in line_key_create() argument
[all …]
/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c1285 size_t start, backward, length; in inflateHuffmanBlock() local
1288 length = LENGTHBASE[code_ll - FIRST_LENGTH_CODE_INDEX]; in inflateHuffmanBlock()
1294 length += readBits(reader, numextrabits_l); in inflateHuffmanBlock()
1321 if(!ucvector_resize(out, out->size + length)) ERROR_BREAK(83 /*alloc fail*/); in inflateHuffmanBlock()
1322 if(distance < length) { in inflateHuffmanBlock()
1326 for(forward = distance; forward < length; ++forward) { in inflateHuffmanBlock()
1330 lodepng_memcpy(out->data + start, out->data + backward, length); in inflateHuffmanBlock()
1465 static void addLengthDistance(uivector* values, size_t length, size_t distance) { in addLengthDistance() argument
1472 unsigned length_code = (unsigned)searchCodeIndex(LENGTHBASE, 29, length); in addLengthDistance()
1473 unsigned extra_length = (unsigned)(length - LENGTHBASE[length_code]); in addLengthDistance()
[all …]
Dlodepng.h913 unsigned lodepng_chunk_create(unsigned char** out, size_t* outsize, unsigned length,
/lvgl-3.7.0/tests/unity/
Dunity.c153 void UnityPrintLen(const char* string, const UNITY_UINT32 length) in UnityPrintLen() argument
159 while (*pch && ((UNITY_UINT32)(pch - string) < length)) in UnityPrintLen()
622 const UNITY_UINT32 length) in UnityPrintExpectedAndActualStringsLen() argument
628 UnityPrintLen(expected, length); in UnityPrintExpectedAndActualStringsLen()
639 UnityPrintLen(actual, length); in UnityPrintExpectedAndActualStringsLen()
785 unsigned int length = style & 0xF; in UnityAssertEqualIntArray() local
810 switch (length) in UnityAssertEqualIntArray()
837 length = 4; in UnityAssertEqualIntArray()
843 if ((style & UNITY_DISPLAY_RANGE_UINT) && (length < (UNITY_INT_WIDTH / 8))) in UnityAssertEqualIntArray()
846 mask = (mask << 8 * length) - 1; in UnityAssertEqualIntArray()
[all …]
Dunity_internals.h533 void UnityPrintLen(const char* string, const UNITY_UINT32 length);
586 const UNITY_UINT32 length,
599 const UNITY_UINT32 length,
/lvgl-3.7.0/docs/widgets/extra/
Dspinner.md13 …`. `spin time` sets the spin time in milliseconds, `arc_length` sets the length of the spinning ar…
Dmeter.md37 …e line to a Scale. By default, the length of the line is the same as the scale's radius but `r_mod…
Dchart.md104 - `major_len` is the length of major ticks
105 - `minor_len` is the length of minor ticks
/lvgl-3.7.0/src/misc/
Dlv_txt.h112 lv_coord_t lv_txt_get_width(const char * txt, uint32_t length, const lv_font_t * font, lv_coord_t l…
Dlv_txt.c343 lv_coord_t lv_txt_get_width(const char * txt, uint32_t length, const lv_font_t * font, lv_coord_t l… in lv_txt_get_width() argument
354 if(length != 0) { in lv_txt_get_width()
355 while(i < length) { in lv_txt_get_width()
/lvgl-3.7.0/scripts/
Dcode-format.cfg14 --max-code-length=120
/lvgl-3.7.0/src/extra/libs/gif/
Dgifdec.c15 uint16_t length; member
320 add_entry(Table **tablep, uint16_t length, uint16_t prefix, uint8_t suffix) in add_entry() argument
330 table->entries[table->nentries] = (Entry) {length, prefix, suffix}; in add_entry()
439 str_len = entry.length; in read_image_data()
441 p = frm_off + entry.length - 1; in read_image_data()
/lvgl-3.7.0/docs/widgets/core/
Dswitch.md12 …y default, the knob is square (with an optional corner radius) with side length equal to the small…
Dslider.md11 …y default, the knob is square (with an optional corner radius) with side length equal to the small…
Dtextarea.md76 ### Max text length
/lvgl-3.7.0/src/font/
Dlv_font_loader.c229 uint32_t length; in read_label() local
232 if(lv_fs_read(fp, &length, 4, NULL) != LV_FS_RES_OK in read_label()
239 return length; in read_label()
/lvgl-3.7.0/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h1088 STBTT_DEF stbtt_uint32 stbtt_GetFontNameString(const stbtt_fontinfo * font, int * length, int platf…
2578 int k, length; local
2588 length = ttUSHORT(info->data, 10 + info->kern);
2589 if(table_length < length)
2590 length = table_length;
2592 for(k = 0; k < length; k++) {
2598 return length;
5222 STBTT_DEF stbtt_uint32 stbtt_GetFontNameString(const stbtt_fontinfo * font, int * length, int platf… argument
5236 *length = ttUSHORT(font->data, loc + 8);
/lvgl-3.7.0/docs/overview/
Dimage.md19 - **data_size** length of `data` in bytes
/lvgl-3.7.0/
DKconfig692 int "Line break long length"
/lvgl-3.7.0/docs/
DCHANGELOG.md543 - fix(textarea): fix max length handling [`127d8e8`](https://github.com/lvgl/lvgl/commit/127d8e82e3…