Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 218) sorted by relevance

123456789

/lvgl-latest/src/core/
Dlv_obj_event.c57 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 …]
/lvgl-latest/src/libs/thorvg/
DtvgCompressor.cpp257 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()
315 static bool outputByte(int code, uint8_t*& output, int outputSizeBytes, int& bytesDecodedSoFar) in outputByte() argument
318 *output++ = static_cast<uint8_t>(code); in outputByte()
324 static bool outputSequence(const Dictionary& dict, int code, uint8_t*& output, int outputSizeBytes,… in outputSequence() argument
[all …]
/lvgl-latest/examples/widgets/list/
Dlv_example_list_2.c11 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/src/libs/thorvg/rapidjson/error/
Derror.h113 ParseResult(ParseErrorCode code, size_t offset) : code_(code), offset_(offset) {} in ParseResult()
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; }
136 void Set(ParseErrorCode code, size_t offset = 0) { code_ = code; offset_ = offset; }
/lvgl-latest/examples/widgets/spinbox/
Dlv_example_spinbox_1.c8 lv_event_code_t code = lv_event_get_code(e); in lv_spinbox_increment_event_cb() local
9 if(code == LV_EVENT_SHORT_CLICKED || code == LV_EVENT_LONG_PRESSED_REPEAT) { in lv_spinbox_increment_event_cb()
16 lv_event_code_t code = lv_event_get_code(e); in lv_spinbox_decrement_event_cb() local
17 if(code == LV_EVENT_SHORT_CLICKED || code == LV_EVENT_LONG_PRESSED_REPEAT) { in lv_spinbox_decrement_event_cb()
/lvgl-latest/src/libs/barcode/
Dcode128.c167 signed char code; // What code should be written for this step member
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()
334 step->code = code128b_ascii_to_code(value); in code128_do_b_step()
335 if(step->code < 0) in code128_do_b_step()
[all …]
/lvgl-latest/docs/
DREADME.md59 …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…
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.
196code-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…
198 * For syntax highlighting appropriate to the language in the code block, specify the language after…
[all …]
DCODING_STYLE.rst84 .. 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 …]
/lvgl-latest/docs/details/integration/os/buildroot/
Dquick_setup.rst11 .. code-block:: bash
17 .. code-block:: bash
25 .. code-block:: bash
34 .. code-block:: bash
44 .. code-block:: bash
50 .. code-block:: bash
Dlvgl_app.rst14 .. code-block:: bash
35 .. code-block:: bash
49 .. code-block:: bash
57 .. code-block:: bash
65 .. code-block:: bash
72 .. code-block:: bash
103 .. code-block:: bash
112 .. code-block:: bash
120 .. code-block:: bash
142 .. code-block:: bash
[all …]
/lvgl-latest/src/others/gridnav/
Dlv_gridnav.c135 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()
278code == 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 …]
/lvgl-latest/examples/others/file_explorer/
Dlv_example_file_explorer_2.c11 lv_event_code_t code = lv_event_get_code(e); in file_explorer_event_handler() local
14 if(code == LV_EVENT_VALUE_CHANGED) { in file_explorer_event_handler()
25 lv_event_code_t code = lv_event_get_code(e); in btn_event_handler() local
29 if(code == LV_EVENT_VALUE_CHANGED) { in btn_event_handler()
39 lv_event_code_t code = lv_event_get_code(e); in dd_event_handler() local
43 if(code == LV_EVENT_VALUE_CHANGED) { in dd_event_handler()
/lvgl-latest/examples/widgets/textarea/
Dlv_example_textarea_2.c54 lv_event_code_t code = lv_event_get_code(e); in ta_event_cb() local
56 if(code == LV_EVENT_CLICKED || code == LV_EVENT_FOCUSED) { in ta_event_cb()
61 else if(code == LV_EVENT_READY) { in ta_event_cb()
/lvgl-latest/docs/details/other-components/
Dobserver.rst22 .. 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/libs/
Dqrcode.rst4 QR code
7 QR code generation with LVGL. Uses
19 :cpp:func:`lv_qrcode_update` to generate a QR code.
24 call :cpp:func:`lv_qrcode_update` again to regenerate the QR code.
/lvgl-latest/examples/widgets/chart/
Dlv_example_chart_3.c6 lv_event_code_t code = lv_event_get_code(e); in event_cb() local
9 if(code == LV_EVENT_VALUE_CHANGED) { in event_cb()
12 if(code == LV_EVENT_REFR_EXT_DRAW_SIZE) { in event_cb()
16 else if(code == LV_EVENT_DRAW_POST_END) { in event_cb()
65 else if(code == LV_EVENT_RELEASED) { in event_cb()
/lvgl-latest/examples/widgets/button/
Dlv_example_button_1.c6 lv_event_code_t code = lv_event_get_code(e); in event_handler() local
8 if(code == LV_EVENT_CLICKED) { in event_handler()
11 else if(code == LV_EVENT_VALUE_CHANGED) { in event_handler()
/lvgl-latest/docs/details/integration/os/
Dzephyr.rst45 .. 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 …]
Dqnx.rst43 .. code-block:: c
49 .. code-block:: c
55 .. code-block:: c
70 .. code-block:: shell
79 .. code-block:: shell
95 To create a LVGL application for QNX, follow these steps in your code:
103 Steps 2, 3 and 5 use QNX-specific calls, but the rest of the code should be
106 The following code shows how to create a "Hello World" application:
108 .. code-block:: c
146 .. code-block:: makefile
/lvgl-latest/docs/intro/add-lvgl-to-your-project/
Dtimer_handler.rst20 .. code-block:: c
31 .. code-block:: c
41 .. code-block:: c
52 .. code-block:: c
/lvgl-latest/examples/widgets/keyboard/
Dlv_example_keyboard_1.c6 lv_event_code_t code = lv_event_get_code(e); in ta_event_cb() local
9 if(code == LV_EVENT_FOCUSED) { in ta_event_cb()
14 if(code == LV_EVENT_DEFOCUSED) { in ta_event_cb()
/lvgl-latest/src/drivers/evdev/
Dlv_evdev.c84 static int _evdev_process_key(uint16_t code) in _evdev_process_key() argument
86 switch(code) { in _evdev_process_key()
159 if(in.code == REL_X) dsc->root_x += in.value; in _evdev_read()
160 else if(in.code == REL_Y) dsc->root_y += in.value; in _evdev_read()
163 if(in.code == ABS_X || in.code == ABS_MT_POSITION_X) dsc->root_x = in.value; in _evdev_read()
164 else if(in.code == ABS_Y || in.code == ABS_MT_POSITION_Y) dsc->root_y = in.value; in _evdev_read()
165 else if(in.code == ABS_MT_TRACKING_ID) { in _evdev_read()
171 if(in.code == BTN_MOUSE || in.code == BTN_TOUCH) { in _evdev_read()
176 dsc->key = _evdev_process_key(in.code); in _evdev_read()
/lvgl-latest/examples/others/ime/
Dlv_example_ime_pinyin_1.c6 lv_event_code_t code = lv_event_get_code(e); in ta_event_cb() local
10 if(code == LV_EVENT_FOCUSED) { in ta_event_cb()
16 else if(code == LV_EVENT_CANCEL) { in ta_event_cb()
Dlv_example_ime_pinyin_2.c6 lv_event_code_t code = lv_event_get_code(e); in ta_event_cb() local
10 if(code == LV_EVENT_FOCUSED) { in ta_event_cb()
16 else if(code == LV_EVENT_READY) { in ta_event_cb()
/lvgl-latest/docs/details/integration/bindings/
Dpikascript.rst11 It's lighter, requiring only 32k of code space and 4k of RAM, which means it can run on stm32f103c8…
31 …is means that you can continue to use already written code from MicroPython, and then use less cod…
32 - Enjoy detailed code hints down to the parameter type for a better programming experience
45 .. code-block:: python
62 .. code-block:: python
78 .. code-block:: python
108 .. code-block:: python
142 .. code-block:: python
154 .. code-block:: c
174 .. code-block:: shell

123456789