Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 169) sorted by relevance

1234567

/lvgl-latest/docs/details/integration/
Dindex.rst10 bindings/index
11 building/index
12 chip/index
13 driver/index
14 renderers/index
15 framework/index
16 ide/index
17 os/index
18 boards/index
/lvgl-latest/docs/details/
Dindex.rst10 base-widget/index
11 widgets/index
12 main-components/index
13 other-components/index
15 debugging/index
16 integration/index
17 libs/index
/lvgl-latest/docs/
Dindex.rst19 …<a href="intro/add-lvgl-to-your-project/index.html"><img class="home-img" src="_static/img/home_4.…
20 …<a href="details/widgets/index.html"><img class="home-img" src="_static/img/home_5.png" alt="Learn…
33 intro/add-lvgl-to-your-project/index
42 details/base-widget/index
43 details/widgets/index
44 details/main-components/index
45 details/other-components/index
47 details/debugging/index
48 details/integration/index
49 details/libs/index
[all …]
/lvgl-latest/src/others/ime/
Dlv_ime_pinyin.c634 for(int index = 0; index < (pinyin_ime->ta_count + tmp_button_str_len); index++) { in lv_ime_pinyin_kb_event() local
767 uint16_t index = 0; in lv_ime_pinyin_cand_panel_event() local
768 for(index = 0; index < pinyin_ime->ta_count; index++) in lv_ime_pinyin_cand_panel_event()
896 uint8_t index, len = 0, offset; in pinyin_search_matching() local
912 for(index = 0; index < len; index++) { in pinyin_search_matching()
913 if(*(py_str + index) != *((cpHZ->py) + index)) { in pinyin_search_matching()
919 if(len == 1 || index == len) { in pinyin_search_matching()
1004 int index = 0; in pinyin_k9_get_legal_py() local
1014 while(index != -1) { in pinyin_k9_get_legal_py()
1015 if(index == len) { in pinyin_k9_get_legal_py()
[all …]
/lvgl-latest/src/drivers/uefi/
Dlv_uefi_display.c126 UINTN index; in lv_uefi_display_get_active() local
136 for(index = 0; index < no_handles; index++) { in lv_uefi_display_get_active()
137 if(!lv_uefi_protocol_test(handles[index], &_uefi_guid_edid_active)) continue; in lv_uefi_display_get_active()
138 if(!lv_uefi_protocol_test(handles[index], &_uefi_guid_graphics_output)) continue; in lv_uefi_display_get_active()
139 active_handle = handles[index]; in lv_uefi_display_get_active()
163 UINTN index; in lv_uefi_display_get_any() local
173 for(index = 0; index < no_handles; index++) { in lv_uefi_display_get_any()
174 if(!lv_uefi_protocol_test(handles[index], &_uefi_guid_graphics_output)) continue; in lv_uefi_display_get_any()
175 active_handle = handles[index]; in lv_uefi_display_get_any()
/lvgl-latest/src/widgets/calendar/
Dlv_calendar_chinese.c190 uint8_t index; in lv_calendar_gregorian_to_chinese() local
215 index = 1; in lv_calendar_gregorian_to_chinese()
218 if((calendar_chinese_table[year - 1901] & (0x80000 >> (index - 1))) == 0) in lv_calendar_gregorian_to_chinese()
225 index++; in lv_calendar_gregorian_to_chinese()
235 if((calendar_chinese_table[year - 1901] & (0x80000 >> (index - 1))) == 0) in lv_calendar_gregorian_to_chinese()
247 index = 12; in lv_calendar_gregorian_to_chinese()
249 index = 13; in lv_calendar_gregorian_to_chinese()
252 if((calendar_chinese_table[year - 1901] & (0x80000 >> (index - 1))) == 0) in lv_calendar_gregorian_to_chinese()
259 index--; in lv_calendar_gregorian_to_chinese()
267 if((calendar_chinese_table[year - 1901] & (0x80000 >> (index - 1))) == 0) in lv_calendar_gregorian_to_chinese()
/lvgl-latest/docs/details/libs/
Drle.rst40 index = 0
43 while index < data_len:
46 memview[index:], blksize)
52 memview[index:], blksize, threshold)
56 memview[index: index + nonrepeat_cnt * blksize])
57 index += nonrepeat_cnt * blksize
61 compressed_data.append(memview[index: index + blksize])
62 index += repeat_cnt * blksize
/lvgl-latest/src/core/
Dlv_obj_property.c113 uint32_t index = LV_PROPERTY_ID_INDEX(value->id); in lv_obj_set_property() local
114 if(value->id == LV_PROPERTY_ID_INVALID || index > LV_PROPERTY_ID_ANY) { in lv_obj_set_property()
119 if(index < LV_PROPERTY_ID_START) { in lv_obj_set_property()
120 lv_obj_set_local_style_prop(obj, index, value->style, value->selector); in lv_obj_set_property()
144 uint32_t index = LV_PROPERTY_ID_INDEX(id); in lv_obj_get_property() local
145 if(id == LV_PROPERTY_ID_INVALID || index > LV_PROPERTY_ID_ANY) { in lv_obj_get_property()
152 if(index < LV_PROPERTY_ID_START) { in lv_obj_get_property()
153 lv_obj_get_local_style_prop(obj, index, &value.style, 0); in lv_obj_get_property()
169 uint32_t index = LV_PROPERTY_ID_INDEX(id); in lv_obj_get_style_property() local
171 if(index == LV_PROPERTY_ID_INVALID || index >= LV_PROPERTY_ID_START) { in lv_obj_get_style_property()
[all …]
Dlv_obj_property.h41 …e LV_PROPERTY_ID(clz, name, type, index) LV_PROPERTY_## clz ##_##name = (LV_PROPERTY_## c… argument
42 #define LV_PROPERTY_ID2(clz, name, type, type2, index) LV_PROPERTY_ID(clz, name, type, index) | ((… argument
/lvgl-latest/demos/smartwatch/
Dlv_demo_smartwatch_list.c38 static void add_external_app(const char * app_name, int index, const void * img);
39 static void add_app_list(const char * app_name, int index, const void * img);
118 uint32_t index = (uint32_t)(intptr_t)lv_event_get_user_data(e); in app_list_clicked_external_event_cb() local
126 if(index >= num_apps) { in app_list_clicked_external_event_cb()
131 if(*apps[index].main == NULL) { in app_list_clicked_external_event_cb()
136 lv_screen_load_anim(*apps[index].main, LV_SCR_LOAD_ANIM_MOVE_LEFT, 500, 0, false); in app_list_clicked_external_event_cb()
147 int index = (int)(intptr_t)lv_event_get_user_data(e); in app_list_clicked_event_cb() local
149 switch(index) { in app_list_clicked_event_cb()
165 static void add_external_app(const char * app_name, int index, const void * img) in add_external_app() argument
203 …add_event_cb(panel, app_list_clicked_external_event_cb, LV_EVENT_CLICKED, (void *)(intptr_t)index); in add_external_app()
[all …]
Dlv_demo_smartwatch_home.c41 …ic void lv_demo_smartwatch_add_watchface(const char * name, const lv_image_dsc_t * src, int index);
155 uint32_t index = (uint32_t)(intptr_t)lv_event_get_user_data(e); in lv_demo_smartwatch_face_selected_cb() local
157 if(index >= num_faces) { in lv_demo_smartwatch_face_selected_cb()
162 lv_obj_scroll_to_view(lv_obj_get_child(face_select, index), LV_ANIM_OFF); in lv_demo_smartwatch_face_selected_cb()
164 lv_demo_smartwatch_face_load(index); in lv_demo_smartwatch_face_selected_cb()
206 bool lv_demo_smartwatch_face_load(uint16_t index) in lv_demo_smartwatch_face_load() argument
208 LV_LOG_WARN("Loading watchface at index %d", index); in lv_demo_smartwatch_face_load()
210 if(index >= num_faces) { in lv_demo_smartwatch_face_load()
215 if(*faces[index].watchface == NULL) { in lv_demo_smartwatch_face_load()
219 lv_obj_scroll_to_view(lv_obj_get_child(face_select, index), LV_ANIM_OFF); in lv_demo_smartwatch_face_load()
[all …]
/lvgl-latest/src/misc/
Dlv_array.c89 lv_result_t lv_array_remove(lv_array_t * array, uint32_t index) in lv_array_remove() argument
91 if(index >= array->size) { in lv_array_remove()
96 if(index == array->size - 1) { in lv_array_remove()
102 uint8_t * start = lv_array_at(array, index); in lv_array_remove()
104 uint32_t remaining_size = (array->size - index - 1) * array->element_size; in lv_array_remove()
196 void * lv_array_at(const lv_array_t * array, uint32_t index) in lv_array_at() argument
198 if(index >= array->size) { in lv_array_at()
203 return array->data + index * array->element_size; in lv_array_at()
206 lv_result_t lv_array_assign(lv_array_t * array, uint32_t index, const void * value) in lv_array_assign() argument
208 uint8_t * data = lv_array_at(array, index); in lv_array_assign()
Dlv_array.h135 lv_result_t lv_array_remove(lv_array_t * array, uint32_t index);
174 lv_result_t lv_array_assign(lv_array_t * array, uint32_t index, const void * value);
182 void * lv_array_at(const lv_array_t * array, uint32_t index);
Dlv_event.c37 static lv_event_dsc_t ** event_array_at(lv_event_list_t * list, uint32_t index);
163 lv_event_dsc_t * lv_event_get_dsc(lv_event_list_t * list, uint32_t index) in lv_event_get_dsc() argument
166 lv_event_dsc_t ** dsc = event_array_at(list, index); in lv_event_get_dsc()
183 bool lv_event_remove(lv_event_list_t * list, uint32_t index) in lv_event_remove() argument
186 lv_event_dsc_t * dsc = lv_event_get_dsc(list, index); in lv_event_remove()
400 static lv_event_dsc_t ** event_array_at(lv_event_list_t * list, uint32_t index) in event_array_at() argument
402 return lv_array_at(&list->array, index); in event_array_at()
/lvgl-latest/src/libs/thorvg/rapidjson/internal/
Ddiyfp.h165 inline DiyFp GetCachedPowerByIndex(size_t index) { in GetCachedPowerByIndex() argument
224 RAPIDJSON_ASSERT(index < 87); in GetCachedPowerByIndex()
225 return DiyFp(kCachedPowers_F[index], kCachedPowers_E[index]); in GetCachedPowerByIndex()
236 unsigned index = static_cast<unsigned>((k >> 3) + 1); in GetCachedPower() local
237 *K = -(-348 + static_cast<int>(index << 3)); // decimal exponent no need lookup table in GetCachedPower()
239 return GetCachedPowerByIndex(index); in GetCachedPower()
244 unsigned index = static_cast<unsigned>(exp + 348) / 8u; in GetCachedPower10() local
245 *outExp = -348 + static_cast<int>(index) * 8; in GetCachedPower10()
246 return GetCachedPowerByIndex(index); in GetCachedPower10()
Dregex.h169 State& GetState(SizeType index) { in RAPIDJSON_DIAG_OFF()
170 RAPIDJSON_ASSERT(index < stateCount_); in RAPIDJSON_DIAG_OFF()
171 return states_.template Bottom<State>()[index]; in RAPIDJSON_DIAG_OFF()
174 const State& GetState(SizeType index) const { in RAPIDJSON_DIAG_OFF()
175 RAPIDJSON_ASSERT(index < stateCount_); in RAPIDJSON_DIAG_OFF()
176 return states_.template Bottom<State>()[index]; in RAPIDJSON_DIAG_OFF()
179 Range& GetRange(SizeType index) { in RAPIDJSON_DIAG_OFF()
180 RAPIDJSON_ASSERT(index < rangeCount_); in RAPIDJSON_DIAG_OFF()
181 return ranges_.template Bottom<Range>()[index]; in RAPIDJSON_DIAG_OFF()
184 const Range& GetRange(SizeType index) const { in RAPIDJSON_DIAG_OFF()
[all …]
/lvgl-latest/.devcontainer/
D__CMakeLists.txt__12 add_executable(index ${SOURCES} ${INCLUDES})
20 target_link_libraries(index
27 set_target_properties(index PROPERTIES LINK_FLAGS "--shell-file ${PROJECT_SOURCE_DIR}/lvgl/.devcont…
D__build_all.sh__4 echo "Built succesfully, opening index.html"
5 code index.html
/lvgl-latest/docs/details/integration/driver/
Dindex.rst10 display/index
13 touchpad/index
/lvgl-latest/docs/details/integration/os/
Dindex.rst13 yocto/index
14 buildroot/index
/lvgl-latest/docs/details/base-widget/
Dindex.rst15 styles/index
17 layouts/index
/lvgl-latest/examples/widgets/list/
Dlv_example_list_2.c51 uint32_t index = lv_obj_get_index(currentButton); in event_handler_up() local
52 if(index <= 0) return; in event_handler_up()
53 lv_obj_move_to_index(currentButton, index - 1); in event_handler_up()
78 const uint32_t index = lv_obj_get_index(currentButton); in event_handler_dn() local
80 lv_obj_move_to_index(currentButton, index + 1); in event_handler_dn()
/lvgl-latest/src/others/file_explorer/
Dlv_file_explorer.c554 uint16_t index = 0; in show_dir() local
564 …lv_table_set_cell_value(explorer->file_table, index++, 0, LV_SYMBOL_LEFT " " LV_FILE_NAVIGATION_P… in show_dir()
585 lv_table_set_cell_value_fmt(explorer->file_table, index, 0, LV_SYMBOL_IMAGE " %s", fn); in show_dir()
586 lv_table_set_cell_value(explorer->file_table, index, 1, "1"); in show_dir()
590 lv_table_set_cell_value_fmt(explorer->file_table, index, 0, LV_SYMBOL_AUDIO " %s", fn); in show_dir()
591 lv_table_set_cell_value(explorer->file_table, index, 1, "2"); in show_dir()
594 lv_table_set_cell_value_fmt(explorer->file_table, index, 0, LV_SYMBOL_VIDEO " %s", fn); in show_dir()
595 lv_table_set_cell_value(explorer->file_table, index, 1, "3"); in show_dir()
602 … lv_table_set_cell_value_fmt(explorer->file_table, index, 0, LV_SYMBOL_DIRECTORY " %s", fn + 1); in show_dir()
603 lv_table_set_cell_value(explorer->file_table, index, 1, "0"); in show_dir()
[all …]
/lvgl-latest/docs/details/widgets/
Dcanvas.rst52 :cpp:expr:`lv_canvas_set_palette(canvas, index, color)`. For example, the following
53 sets pixels with *index==3* to red.
64 (``LV_COLOR_FORMAT_I1/2/4/8``) pass the color index as the ``color`` argument by using
65 the *blue* channel in the ``color`` value, e.g. :cpp:expr:`lv_color_make(0, 0, index)`.
118 .. include:: ../../examples/widgets/canvas/index.rst
/lvgl-latest/src/libs/thorvg/rapidjson/
Dpointer.h91 … SizeType index; //!< A valid array index, if it is not equal to kPointerInvalidIndex. member
242 r.tokens_[tokenCount_].index = token.index;
288 GenericPointer Append(SizeType index, Allocator* allocator = 0) const {
290 …char* end = sizeof(SizeType) == 4 ? internal::u32toa(index, buffer) : internal::u64toa(index, buff…
295 Token token = { reinterpret_cast<Ch*>(buffer), length, index };
302 Token token = { name, length, index };
363 if (tokens_[i].index != rhs.tokens_[i].index ||
394 if (tokens_[i].index != rhs.tokens_[i].index)
395 return tokens_[i].index < rhs.tokens_[i].index;
463 if (t->index == kPointerInvalidIndex) { // must be object name
[all …]

1234567