/lvgl-latest/src/misc/ |
D | lv_tlsf.c | 44 ** Detect whether or not we are building for a 32- or 64-bit (LP/LLP) 242 ** We support allocations of sizes up to (1 << FL_INDEX_MAX) bits. 243 ** However, because we linearly subdivide the second-level lists, and 246 ** or (1 << (SL_INDEX_COUNT_LOG2 + 2)) bytes, as there we will be 247 ** trying to split size ranges into more slots than we have available. 248 ** Instead, we calculate the minimum threshold size, and place all 256 ** TODO: We can increase this to support larger sizes, at the expense 304 /* Ensure we've properly tuned our sizes. */ 514 /* aligned sized must not exceed block_size_max or we'll go out of bounds on sl_bitmap */ in adjust_request_size() 730 /* If the next block is free, we must coalesce. */ in block_trim_used() [all …]
|
D | lv_printf.c | 469 // now we want to compute 10^expval but we want to be sure it won't overflow in _etoa() 487 // do we want to fall-back to "%f" mode? in _etoa() 501 // we use one sigfig for the whole part in _etoa() 511 // we didn't fall-back so subtract the characters required for the exponent in _etoa() 519 // if we're padding on the right, DON'T pad the floating part in _etoa()
|
D | lv_fs.c | 152 /*First part of data is in cache buffer, but we need to read rest of data from FS*/ in lv_fs_read_cached() 279 …/*Because we don't know the file size, we do a little trick: do a FS seek, then get new file posit… in lv_fs_seek()
|
D | lv_lru.c | 194 // loop until we find the item, or hit the end of a chain in lv_lru_get() 217 // loop until we find the item, or hit the end of a chain in lv_lru_remove()
|
/lvgl-latest/src/extra/libs/tiny_ttf/ |
D | stb_rect_pack.h | 194 …stbrp_node extra[2]; // we allocate two extra nodes so optimal user-node-count is 'width' not 'wid… 249 // quantize once we've hit OOM, then we could get rid of this parameter. in stbrp_setup_allow_out_of_mem() 300 // skip in case we're past the node in stbrp__skyline_find_min_y() 304 STBRP_ASSERT(node->next->x > x0); // we ended up handling this in the caller for efficiency in stbrp__skyline_find_min_y() 315 // we've accounted for all waste up to min_y, in stbrp__skyline_find_min_y() 316 // but we'll now add more waste for everything we've visited in stbrp__skyline_find_min_y() 392 // if doing best-fit (BF), we also have to try aligning right edge to each node position in stbrp__skyline_find_best_pos() 456 // 2. the best node doesn't fit (we don't always check this) in stbrp__skyline_pack_rectangle() 457 // 3. we're out of memory in stbrp__skyline_pack_rectangle() 485 // from here, traverse cur and free the nodes, until we get to one in stbrp__skyline_pack_rectangle() [all …]
|
D | stb_truetype_htcw.h | 246 // - There are a lot of memory allocations. We should modify it to take 863 // (we share this with other code at RAD) 1367 // on platforms that don't allow misaligned reads, if we want to allow 1446 if(stbtt_tag(font, "typ1")) return 1; // TrueType with type 1 font -- we don't support this! in stbtt__isfont() 1618 // but we just use the first one. 1631 // we only support Type 2 charstrings 1655 // find a cmap encoding table we understand *now* to avoid searching 1662 // find an encoding we understand: 1675 // all the encodingIDs are unicode, so we don't bother to check it 1908 m = n + 2 * numberOfContours; // a loose bound on how many vertices we might need [all …]
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_dither.c | 50 Then we compute a complete row of ordered dither and store it in out. */ in lv_dither_ordered_hor() 73 Then we compute a complete row of ordered dither and store it in out. */ in lv_dither_ordered_ver() 158 so we'll get this instead (from top to bottom): in lv_dither_err_diff_ver() 169 …If we consider that we are generating the error diffused gradient map from top to bottom, we can r… in lv_dither_err_diff_ver() 170 …line (N, NW) in the term above. Also, we remember the (W) term too since we are computing the grad… in lv_dither_err_diff_ver() 171 …However, the SW term is painful for us, we can't support it (since to get it, we need its own SW t… in lv_dither_err_diff_ver()
|
/lvgl-latest/docs/ |
D | CONTRIBUTING.md | 122 To ensure all licensing criteria are met for every repository of the LVGL project, we apply a proce… 167 Below we have collected some opportunities about the ways you can contribute to LVGL. 249 We collect the optional features (a.k.a. plugins) in [lvgl/src/extra](https://github.com/lvgl/lvgl/… 271 - Your input has higher impact when we are making decisions 284 If you ported LVGL to a new platform we can host it under the LVGL organization among the other rep… 289 If we agree that your port fit well into the LVGL organization, we will open a repository for your … 293 - We expect to maintain the repo to some extent:
|
/lvgl-latest/examples/others/gridnav/ |
D | lv_example_gridnav_1.c | 31 lv_group_remove_obj(obj); /*Not needed, we use the gridnav instead*/ in lv_example_gridnav_1() 57 lv_group_remove_obj(ta); /*Not needed, we use the gridnav instead*/ in lv_example_gridnav_1() 61 lv_group_remove_obj(cb); /*Not needed, we use the gridnav instead*/ in lv_example_gridnav_1() 65 lv_group_remove_obj(sw1); /*Not needed, we use the gridnav instead*/ in lv_example_gridnav_1() 69 lv_group_remove_obj(sw2); /*Not needed, we use the gridnav instead*/ in lv_example_gridnav_1()
|
/lvgl-latest/src/extra/widgets/colorwheel/ |
D | lv_colorwheel.c | 286 …uint16_t angle_trigo = (uint16_t)(a >> 8); /*i * 360 / 256 is the scale to apply, but we can skip … in draw_disc_grad() 603 …* Here we want to compute an approximate RGB value from a HSV input color space. We don't want to … 604 * (for that, there's lv_color_hsv_to_rgb), but we want to be fast. 609 …* We fold all symmetry by swapping the R, G, B pointers so that the code is the same for all sexta… 610 * We replace division by 255 by a division by 256, a.k.a a shift right by 8 bits.
|
/lvgl-latest/tests/unity/ |
D | unity_internals.h | 55 * We cannot use sizeof(int), because it is not yet defined 227 /* unlike float, we DON'T include by default */ 267 /* If defined as something else, make sure we declare it here so it's ready for use */ 275 /* We want to use the stdout flush utility */ 279 /* We've specified nothing, therefore flush should just be ignored */ 283 /* If defined as something else, make sure we declare it here so it's ready for use */ 684 * Error Strings We Might Need 722 /* If we can't do the tricky version, we'll just have to require them to always include the line nu…
|
D | unity.c | 406 * In this range, we can split off the integer part before in UnityPrintFloat() 1826 /* If we have not defined our own test runner, then include our default test runner to make life ea… 1998 /* We're done if we match the entire string or up to a wildcard */ in IsStringInBiggerString() 2013 /* Otherwise we start in the long pointer 1 character further and try again */ in IsStringInBiggerString() 2080 /* we couldn't find a match for any substrings */ in UnityStringArgumentMatches()
|
/lvgl-latest/.github/workflows/ |
D | close_old_issues.yml | 17 We need some feedback on this issue. 19 Now we mark this as "stale" because there was no activity here for 14 days. 23 …As there was no activity here for a while we close this issue. But don't worry, the conversation i…
|
/lvgl-latest/src/extra/libs/png/ |
D | lodepng.c | 957 /*in the end we are only interested in the chain of the last list, so no in boundaryPM() 958 need to recurse if we're at the last one (this gives measurable speedup)*/ in boundaryPM() 1026 … /*each boundaryPM call adds one chain to the last list, and we need 2 * numpresent - 2 chains.*/ in lodepng_huffman_code_lengths() 1172 /*now we can use this tree to read the lengths for the tree that this function will return*/ in getTreeInflateDynamic() 1179 …/*i is the current symbol we're reading in the part that contains the code lengths of lit/len and … in getTreeInflateDynamic() 1245 /*now we've finally got HLIT and HDIST, so generate the code trees, and the function is done*/ in getTreeInflateDynamic() 1428 …/*the custom inflate is allowed to have its own error codes, however, we translate it to code 110*/ in inflatev() 1835 …If we could call "bitlen_cl" the the code length code lengths ("clcl"), that is the bit lengths of… in deflateDynamic() 2129 …/*the custom deflate is allowed to have its own error codes, however, we translate it to code 111*/ in deflate() 2231 … /*the custom zlib is allowed to have its own error codes, however, we translate it to code 110*/ in zlib_decompress() [all …]
|
/lvgl-latest/src/widgets/ |
D | lv_arc.c | 484 …/* If we click near the bg_angle_start the angle will be close to 360° instead of an small angle */ in lv_arc_event() 903 * outside of the arc background we need to check if the angle (of the clicked point) 913 * and we click a bit to the left, angle is 10, not the expected 40. 1001 * Here we can assume background is not near 0° because of the first two initial checks */ in lv_arc_angle_within_bg_bounds()
|
/lvgl-latest/examples/widgets/win/ |
D | lv_example_win_1.py | 28 We need 30 and we will
|
/lvgl-latest/src/draw/sdl/ |
D | README.md | 4 we should perform drawing operations on GPU if possible. 16 Performance of this implementation still has room to improve. Or we should use more powerful APIs
|
D | lv_draw_sdl_composite.c | 99 /* SDL_RenderClear is not working properly, so we overwrite the target with solid color */ in lv_draw_sdl_composite_begin() 230 /* VERY IMPORTANT! Padding between members is uninitialized, so we have to wipe them manually */ in mask_key_create()
|
D | lv_draw_sdl_img.c | 316 /*Image needs to be rotated, so we have to use clip rect which is slower*/ in draw_img_simple() 416 /* SDL_RenderClear is not working properly, so we overwrite the target with solid color */ in img_rounded_frag_obtain()
|
/lvgl-latest/docs/get-started/platforms/ |
D | cmake.md | 17 …igure time from e.g. [GitHub](https://github.com/). Here is an example how we might include LVGL i… 41 …/lvgl/lvgl/blob/master/lv_conf_template.h) to be includable by its sources we also set the option …
|
/lvgl-latest/tests/src/test_cases/ |
D | test_bar.c | 187 /* Set bar in RANGE mode so we can edit the start value */ in test_bar_start_value_should_only_change_when_in_range_mode() 196 /* Set bar in RANGE mode so we can edit the start value */ in test_bar_start_value_should_be_smaller_than_current_value_in_range_mode()
|
/lvgl-latest/docs/porting/ |
D | gpu.md | 91 /*We don't add new fields, so just for clarity add new type*/ 122 This way when LVGL calls `blend` it will call `my_draw_blend` and we can do custom GPU operations. …
|
/lvgl-latest/docs/intro/ |
D | index.md | 53 It's not mandatory, but we highly appreciate it if you write a few words about your project in the … 116 We use [GitHub issues](https://github.com/lvgl/lvgl/issues) for development related discussion.
|
/lvgl-latest/src/extra/others/gridnav/ |
D | lv_gridnav.c | 243 *As we don't know which object was deleted we can't make the next focused. in gridnav_event_cb()
|
/lvgl-latest/src/core/ |
D | lv_group.c | 427 /*Give up if we walked the entire list and haven't found another visible object*/ in focus_next_core() 446 /*If we got her a good candidate is found*/ in focus_next_core()
|