/lvgl-latest/src/core/ |
D | lv_obj_event.c | 57 e.code = event_code; in lv_obj_send_event() 89 LV_PROFILER_EVENT_BEGIN_TAG(lv_event_code_get_name(e->code)); in lv_obj_event_base() 91 LV_PROFILER_EVENT_END_TAG(lv_event_code_get_name(e->code)); in lv_obj_event_base() 186 if(e->code == LV_EVENT_PRESSED || in lv_event_get_indev() 187 e->code == LV_EVENT_PRESSING || in lv_event_get_indev() 188 e->code == LV_EVENT_PRESS_LOST || in lv_event_get_indev() 189 e->code == LV_EVENT_SHORT_CLICKED || in lv_event_get_indev() 190 e->code == LV_EVENT_LONG_PRESSED || in lv_event_get_indev() 191 e->code == LV_EVENT_LONG_PRESSED_REPEAT || in lv_event_get_indev() 192 e->code == LV_EVENT_CLICKED || in lv_event_get_indev() [all …]
|
D | lv_obj.c | 555 lv_event_code_t code = lv_event_get_code(e); in lv_obj_draw() local 557 if(code == LV_EVENT_COVER_CHECK) { in lv_obj_draw() 606 else if(code == LV_EVENT_DRAW_MAIN) { in lv_obj_draw() 626 else if(code == LV_EVENT_DRAW_POST) { in lv_obj_draw() 734 lv_event_code_t code = lv_event_get_code(e); in lv_obj_event() local 736 if(code == LV_EVENT_PRESSED) { in lv_obj_event() 739 else if(code == LV_EVENT_RELEASED) { in lv_obj_event() 751 else if(code == LV_EVENT_PRESS_LOST) { in lv_obj_event() 754 else if(code == LV_EVENT_STYLE_CHANGED) { in lv_obj_event() 761 else if(code == LV_EVENT_KEY) { in lv_obj_event() [all …]
|
/lvgl-latest/src/libs/qrcode/ |
D | qrcodegen.h | 2 * QR Code generator library (C) 5 * https://www.nayuki.io/page/qr-code-generator-library 40 * This library creates QR Code symbols, which is a type of two-dimension barcode. 42 * A QR Code structure is an immutable square grid of black and white cells. 43 * The library provides functions to create a QR Code from text or binary data. 44 * The library covers the QR Code Model 2 specification, supporting all versions (sizes) 47 * Ways to create a QR Code object: 58 * The error correction level in a QR Code symbol. 63 qrcodegen_Ecc_LOW = 0, // The QR Code can tolerate about 7% erroneous codewords 64 qrcodegen_Ecc_MEDIUM, // The QR Code can tolerate about 15% erroneous codewords [all …]
|
D | lv_qrcode.h | 39 * Create an empty QR code (an `lv_canvas`) object. 40 * @param parent point to an object where to create the QR code 41 * @return pointer to the created QR code object 46 * Set QR code size. 47 * @param obj pointer to a QR code object 48 * @param size width and height of the QR code 53 * Set QR code dark color. 54 * @param obj pointer to a QR code object 55 * @param color dark color of the QR code 60 * Set QR code light color. [all …]
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgCompressor.cpp | 31 * are not stored in the output and the max code length in bits is 12, vs 16 in compress. 43 * The output code length is variable. It starts with the minimum number of bits 46 * code 512 is added, then 11-bits when 1024 is added, and so on). If the dictionary 257 int code; member 273 entries[i].code = Nil; in Dictionary() 278 int findIndex(const int code, const int value) const in findIndex() 280 if (code == Nil) return value; in findIndex() 285 if (entries[i].code == code && entries[i].value == value) return i; in findIndex() 290 bool add(const int code, const int value) in add() 293 entries[size].code = code; in add() [all …]
|
/lvgl-latest/docs/ |
D | README.md | 59 …es this with code-element names found by Doxygen. If a match is found, then it appends hyperlinks… 61 …ating, ensure the stem of the file name matches the beginning part of the code-element name you wa… 63 …ile you are creating, ensure the stem of the file name DOES NOT match any code-element names found… 70 …nts to be nicely word-wrapped so that they are more readable in text- and code-editors that do not… 190 ### Code Blocks 192 * Do not use tab characters in code blocks. 194 * Include at least 1 empty line after a code block. 195 * There must be one empty line between the code block directive and the code. 196 …code-block::` is the only directive that should be used. Note carefully that unlike the **link ta… 197 * If you want to separate code into easier-to-understand sections you can do so with a single empty… [all …]
|
D | CODING_STYLE.rst | 84 .. code-block:: c 97 The normal comment prefix ``/**`` causes the comment to document the code member 98 *after* the comment. When documenting a code member that is *before* the 101 .. code-block:: c 113 - When commenting code, use block comments like this ``/* Description */``, 118 - Write readable code to avoid descriptive comments like: ``x++; /* Add 1 to x */``. 120 - The code should show clearly what you are doing. 124 - Short "code summaries" of a few lines are accepted: ``/* Calculate new coordinates */`` 126 - In comments use back-quotes (\`...\`) when referring to a code element, such as a variable, type, 137 - Remember, when you are writing source code, you are not just teaching the computer [all …]
|
D | README_zh.rst | 182 <summary>C code</summary> 184 .. code-block:: c 202 …<summary>MicroPython code | <a href="https://sim.lvgl.io/v8.3/micropython/ports/javascript/index.h… 204 .. code-block:: python 230 <summary>C code</summary> 232 .. code-block:: c 256 …<summary>MicroPython code | <a href="https://sim.lvgl.io/v8.3/micropython/ports/javascript/index.h… 258 .. code-block:: python 287 <summary>C code</summary> 289 .. code-block:: c [all …]
|
D | README_jp.rst | 174 C code 180 .. code-block:: c 209 MicroPython code \| Online Simulator :gb: 215 .. code-block:: python 250 C code 256 .. code-block:: c 294 MicroPython code \| Online Simulator :gb: 300 .. code-block:: python 303 code = e.get_code() 305 if code == lv.EVENT.VALUE_CHANGED: [all …]
|
/lvgl-latest/docs/details/integration/os/yocto/ |
D | lvgl_recipe.rst | 16 .. code-block:: 36 .. code-block:: none 51 .. code-block:: 57 .. code-block:: 70 .. code-block:: none 81 .. code-block:: none 100 .. code-block:: 109 .. code-block:: bash 149 .. code-block:: 156 .. code-block:: bash [all …]
|
/lvgl-latest/docs/details/integration/driver/display/ |
D | lcd_stm32_guide.rst | 10 …code has been tested on the STM32F746-based Nucleo-F746ZG board with an ST7789-based LCD panel con… 29 You can find the source code snippets of this guide in the `lv_port_lcd_stm32_template.c <https://g… 83 .. code-block:: dosbatch 91 .. code-block:: c 98 .. code-block:: c 104 .. code-block:: c 107 /* USER CODE BEGIN Includes */ 109 /* USER CODE END Includes */ 113 .. code-block:: c 117 /* USER CODE BEGIN TIM2_IRQn 0 */ [all …]
|
/lvgl-latest/src/libs/thorvg/rapidjson/error/ |
D | error.h | 60 //! Error code of parsing. 95 \code 100 GetParseError_En(ok.Code()), ok.Offset()); 113 ParseResult(ParseErrorCode code, size_t offset) : code_(code), offset_(offset) {} in ParseResult() 115 //! Get the error code. 116 ParseErrorCode Code() const { return code_; } in Code() function 126 bool operator==(ParseErrorCode code) const { return code_ == code; } 127 … friend bool operator==(ParseErrorCode code, const ParseResult & err) { return code == err.code_; } 130 bool operator!=(ParseErrorCode code) const { return !(*this == code); } 131 friend bool operator!=(ParseErrorCode code, const ParseResult & err) { return err != code; } [all …]
|
/lvgl-latest/examples/widgets/list/ |
D | lv_example_list_2.c | 11 lv_event_code_t code = lv_event_get_code(e); in event_handler() local 13 if(code == LV_EVENT_CLICKED) { in event_handler() 38 lv_event_code_t code = lv_event_get_code(e); in event_handler_top() local 39 if(code == LV_EVENT_CLICKED) { in event_handler_top() 48 lv_event_code_t code = lv_event_get_code(e); in event_handler_up() local 49 if((code == LV_EVENT_CLICKED) || (code == LV_EVENT_LONG_PRESSED_REPEAT)) { in event_handler_up() 60 const lv_event_code_t code = lv_event_get_code(e); in event_handler_center() local 61 if((code == LV_EVENT_CLICKED) || (code == LV_EVENT_LONG_PRESSED_REPEAT)) { in event_handler_center() 75 const lv_event_code_t code = lv_event_get_code(e); in event_handler_dn() local 76 if((code == LV_EVENT_CLICKED) || (code == LV_EVENT_LONG_PRESSED_REPEAT)) { in event_handler_dn() [all …]
|
/lvgl-latest/docs/details/integration/chip/ |
D | alif.rst | 22 based on the `Alif VS Code Template <https://github.com/alifsemi/alif_vscode-template>`__ 35 Install Visual Studio Code 38 Install Visual Studio code. There are different ways of installing it depending on your platform. 39 `See here <https://code.visualstudio.com/docs/setup/setup-overview>`__. 44 as a VS Code remote dev container. 51 …Install the "Dev Containers" VS Code extension. Select your container from the "Remote Explorer" o… 58 Make sure these are installed in your environment. The VS Code extensions rely on these being prese… 73 .. code-block:: shell 93 .. code-block:: shell 97 Open ``alif_m55-lvgl`` in VS Code [all …]
|
D | stm32.rst | 37 .. code-block:: c 53 .. code-block:: c 64 .. code-block:: c 78 .. code-block:: c 91 .. code-block:: c 95 /* USER CODE BEGIN SysTick_IRQn 0 */ 103 /* USER CODE END SysTick_IRQn 0 */ 105 /* USER CODE BEGIN SysTick_IRQn 1 */ 107 /* USER CODE END SysTick_IRQn 1 */ 114 .. code-block:: c [all …]
|
/lvgl-latest/docs/details/base-widget/ |
D | coord.rst | 146 .. code-block:: c 152 .. code-block:: c 160 .. code-block:: c 184 .. code-block:: c 192 pixels of padding on every side the above code will place ``obj`` at 197 .. code-block:: c 217 .. code-block:: c 242 .. code-block:: c 257 .. code-block:: c 278 .. code-block:: c [all …]
|
/lvgl-latest/src/libs/barcode/ |
D | code128.c | 7 // Redistributions of source code must retain the above copyright notice, this 167 signed char code; // What code should be written for this step member 183 + CODE128_CHAR_LEN // start code in code128_estimate_len() 202 static int code128_append_code(int code, char * out) in code128_append_code() argument 204 CODE128_ASSERT(code >= 0 && code < (int)(sizeof(code128_pattern) / sizeof(code128_pattern[0]))); in code128_append_code() 205 code128_append_pattern(code128_pattern[code], CODE128_CHAR_LEN, out); in code128_append_code() 293 char code = 10 * (values[0] - '0') + (values[1] - '0'); in code128c_ascii_to_code() local 294 return code; in code128c_ascii_to_code() 310 step->code = code128a_ascii_to_code(value); in code128_do_a_step() 311 if(step->code < 0) in code128_do_a_step() [all …]
|
/lvgl-latest/docs/intro/ |
D | basics.rst | 167 .. code-block:: c 182 .. code-block:: c 195 .. code-block:: c 200 :ref:`widgets` or study its related header file in the source code, e.g. 230 .. code-block:: c 247 current event code and other event-related information. The current event code can 250 .. code-block:: c 252 lv_event_code_t code = lv_event_get_code(e); 256 .. code-block:: c 306 .. code-block:: c [all …]
|
/lvgl-latest/docs/details/other-components/ |
D | observer.rst | 22 .. code-block:: c 136 .. code-block:: c 143 .. code-block:: c 156 .. code-block:: c 163 .. code-block:: c 172 .. code-block:: c 179 .. code-block:: c 202 .. code-block:: c 212 .. code-block:: c 256 .. code-block:: c [all …]
|
/lvgl-latest/docs/details/integration/os/ |
D | zephyr.rst | 45 .. code-block:: shell 49 After you chose a board you can build one of the LVGL demos for it. Here we are using the :code:`na… 52 .. code-block:: shell 58 .. code-block:: shell 64 .. code-block:: shell 78 :code:`CONFIG_SHELL` and :code:`CONFIG_LV_Z_SHELL` (the demos from above have it enabled by default… 82 .. code-block:: shell 93 .. code-block:: shell 111 Essentially those buffer the :code:`input_event` generated by the device pointed to by the :code:`i… 113 they are created at application start up before :code:`main()` is executed. [all …]
|
/lvgl-latest/docs/details/main-components/ |
D | font.rst | 20 .. code-block:: c 50 be configured to save your code/text as UTF-8 (usually this the default) 56 .. code-block:: c 135 .. code-block:: c 152 .. code-block:: c 158 .. code-block:: c 164 .. code-block:: c 314 declare and use the font in your code. 317 5. Convert the font and copy the generated source code to your project. 351 .. code-block:: c [all …]
|
/lvgl-latest/src/libs/lodepng/ |
D | lodepng.c | 54 This source file is divided into the following large parts. The code sections 56 -Tools for C and common code for PNG and Zlib 57 -C Code for Zlib (huffman, deflate, ...) 58 -C Code for PNG (file format chunks, adam7, PNG filters, color conversions, ...) 64 /* // Tools for C, and common code for PNG and Zlib. // */ 70 platform if needed. Everything else in the code calls these. Pass 74 lodepng source code. Don't forget to remove "static" if you copypaste them 154 behavior, compiler removing the code, etc...) and output result. */ 164 behavior, compiler removing the code, etc...) and output result. */ 186 It makes the error handling code shorter and more readable. [all …]
|
D | lodepng.h | 39 The following #defines are used to create code sections. They can be disabled 40 to disable code sections, which can give faster compile time and smaller binary. 101 The default built-in CRC code comes with 8KB of lookup tables, so for memory constrained environmen… 154 Return value: LodePNG error code (0 means no error). 211 Return value: LodePNG error code (0 means no error). 313 /*Returns an English description of the numerical error code.*/ 314 const char * lodepng_error_text(unsigned code); 435 /*return value is error code (0 means no error)*/ 700 /*return value is error code (0 means no error)*/ 720 return value = LodePNG error code (0 if all went ok, an error if the conversion isn't supported) [all …]
|
/lvgl-latest/src/widgets/roller/ |
D | lv_roller.c | 366 const lv_event_code_t code = lv_event_get_code(e); in lv_roller_event() local 370 if(code == LV_EVENT_GET_SELF_SIZE) { in lv_roller_event() 374 else if(code == LV_EVENT_STYLE_CHANGED) { in lv_roller_event() 381 else if(code == LV_EVENT_SIZE_CHANGED) { in lv_roller_event() 384 else if(code == LV_EVENT_PRESSED) { in lv_roller_event() 390 else if(code == LV_EVENT_PRESSING) { in lv_roller_event() 403 else if(code == LV_EVENT_RELEASED || code == LV_EVENT_PRESS_LOST) { in lv_roller_event() 408 else if(code == LV_EVENT_FOCUSED) { in lv_roller_event() 433 else if(code == LV_EVENT_DEFOCUSED) { in lv_roller_event() 440 else if(code == LV_EVENT_KEY) { in lv_roller_event() [all …]
|
/lvgl-latest/src/others/gridnav/ |
D | lv_gridnav.c | 135 lv_event_code_t code = lv_event_get_code(e); in gridnav_event_cb() local 137 if(code == LV_EVENT_KEY) { in gridnav_event_cb() 240 else if(code == LV_EVENT_FOCUSED) { in gridnav_event_cb() 248 else if(code == LV_EVENT_DEFOCUSED) { in gridnav_event_cb() 253 else if(code == LV_EVENT_CHILD_CREATED) { in gridnav_event_cb() 265 else if(code == LV_EVENT_CHILD_DELETED) { in gridnav_event_cb() 274 else if(code == LV_EVENT_DELETE) { in gridnav_event_cb() 277 else if(code == LV_EVENT_PRESSED || code == LV_EVENT_PRESSING || code == LV_EVENT_PRESS_LOST || in gridnav_event_cb() 278 …code == LV_EVENT_SHORT_CLICKED || code == LV_EVENT_LONG_PRESSED || code == LV_EVENT_LONG_PRESSED_R… in gridnav_event_cb() 279 code == LV_EVENT_CLICKED || code == LV_EVENT_RELEASED) { in gridnav_event_cb() [all …]
|