/lvgl-latest/src/libs/thorvg/ |
D | tvgLottieParser.cpp | 24 #if LV_USE_THORVG_INTERNAL 42 if (!comp->expressions) comp->expressions = true; in _expression() 75 if (!mode) return CompositeMethod::None; in getMaskMethod() 79 if (inversed) return CompositeMethod::InvAlphaMask; in getMaskMethod() 96 if (!str) return color; in getColor() 101 if (len != 7 || str[0] != '#') return color; in getColor() 165 if (KEY_AS("s")) doc.size = getFloat() * 0.01f; in getValue() 166 else if (KEY_AS("f")) doc.name = getStringCopy(); in getValue() 167 else if (KEY_AS("t")) doc.text = getStringCopy(); in getValue() 168 else if (KEY_AS("j")) doc.justify = getInt(); in getValue() [all …]
|
D | tvgSvgLoader.cpp | 24 #if LV_USE_THORVG_INTERNAL 51 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 94 if (!str) return nullptr; in _copyId() 95 if (strlen(str) == 0) return nullptr; in _copyId() 104 if (*content == ',') return content + 1; in _skipComma() 114 //If the start of string is not number in _parseNumber() 115 if ((*content) == _end) { in _parseNumber() 116 if (end) *end = _end; in _parseNumber() 119 //Skip comma if any in _parseNumber() 121 if (end) *end = _end; in _parseNumber() [all …]
|
D | tvgSwRasterTexmap.h | 24 #if LV_USE_THORVG_INTERNAL 62 if (region) { in _arrange() 70 if (yStart >= regionBottom) return false; in _arrange() 72 if (yStart < regionTop) yStart = regionTop; in _arrange() 73 if (yEnd > regionBottom) yEnd = regionBottom; in _arrange() 83 #if 0 //Enable it when GRAYSCALE image is supported 98 if (!_arrange(image, region, yStart, yEnd)) return false; 103 if (region) { 120 if (!region) { 125 if (minx > span->x) minx = span->x; [all …]
|
/lvgl-latest/src/indev/ |
D | lv_indev.c | 54 #if LV_INDEV_DEF_SCROLL_THROW <= 0 91 if(indev) { in indev_scroll_throw_anim_reset() 105 #if LV_USE_LOG && LV_LOG_TRACE_INDEV 118 if(disp == NULL) { in lv_indev_create() 124 if(indev == NULL) { in lv_indev_create() 155 if(indev->read_timer) lv_timer_delete(indev->read_timer); in lv_indev_delete() 165 if(indev == NULL) in lv_indev_get_next() 178 if(indev->type == LV_INDEV_TYPE_POINTER) { in indev_read_core() 183 else if(indev->type == LV_INDEV_TYPE_KEYPAD) { in indev_read_core() 187 else if(indev->type == LV_INDEV_TYPE_ENCODER) { in indev_read_core() [all …]
|
D | lv_indev_scroll.c | 49 if(indev->pointer.vect.x == 0 && indev->pointer.vect.y == 0) { in lv_indev_scroll_handler() 54 /*If there is no scroll object yet try to find one*/ in lv_indev_scroll_handler() 55 if(scroll_obj == NULL) { in lv_indev_scroll_handler() 57 if(scroll_obj == NULL) return; in lv_indev_scroll_handler() 63 if(indev->reset_query) return; in lv_indev_scroll_handler() 66 /*Set new position or scroll if the vector is not zero*/ in lv_indev_scroll_handler() 80 if(scale_x == 0) { in lv_indev_scroll_handler() 84 if(scale_y == 0) { in lv_indev_scroll_handler() 88 if(angle != 0 || scale_x != LV_SCALE_NONE || scale_y != LV_SCALE_NONE) { in lv_indev_scroll_handler() 98 if(indev->pointer.scroll_dir == LV_DIR_HOR) { in lv_indev_scroll_handler() [all …]
|
/lvgl-latest/src/libs/expat/ |
D | xmlparse.c | 66 #if LV_USE_XML 72 #if ! defined(XML_GE) || (1 - XML_GE - 1 == 2) || (XML_GE < 0) || (XML_GE > 1) 76 #if defined(XML_DTD) && XML_GE == 0 80 #if ! defined(XML_CONTEXT_BYTES) || (1 - XML_CONTEXT_BYTES - 1 == 2) \ 85 #if defined(HAVE_SYSCALL_GETRANDOM) 86 # if ! defined(_GNU_SOURCE) 93 # if ! defined(_CRT_RAND_S) 126 #if defined(HAVE_GETRANDOM) || defined(HAVE_SYSCALL_GETRANDOM) 127 # if defined(HAVE_GETRANDOM) 133 # if ! defined(GRND_NONBLOCK) [all …]
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_mask.c | 13 #if LV_DRAW_SW_COMPLEX 103 if(res == LV_DRAW_SW_MASK_RES_TRANSP) return LV_DRAW_SW_MASK_RES_TRANSP; in lv_draw_sw_mask_apply() 104 else if(res == LV_DRAW_SW_MASK_RES_CHANGED) changed = true; in lv_draw_sw_mask_apply() 114 if(pdsc->type == LV_DRAW_SW_MASK_TYPE_RADIUS) { in lv_draw_sw_mask_free_param() 116 if(radius_p->circle) { in lv_draw_sw_mask_free_param() 117 if(radius_p->circle->life < 0) { in lv_draw_sw_mask_free_param() 134 if(_circle_cache[i].buf) { in lv_draw_sw_mask_cleanup() 147 if(p1y == p2y && side == LV_DRAW_SW_MASK_LINE_SIDE_BOTTOM) { in lv_draw_sw_mask_line_points_init() 152 if(p1y > p2y) { in lv_draw_sw_mask_line_points_init() 177 if(param->flat) { in lv_draw_sw_mask_line_points_init() [all …]
|
/lvgl-latest/src/libs/lodepng/ |
D | lodepng.c | 15 claim that you wrote the original software. If you use this software 32 #if LV_USE_LODEPNG 46 #if defined(_MSC_VER) && (_MSC_VER >= 1310) /*Visual Studio: A few warning types are not desired he… 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 81 if(size > LODEPNG_MAX_ALLOC) return 0; in lodepng_malloc() 90 if(new_size > LODEPNG_MAX_ALLOC) return 0; in lodepng_realloc() 108 #if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) || (defined(__cplusplus) && (__cpl… 115 #if (defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))) ||\ 152 #if defined(LODEPNG_COMPILE_PNG) || defined(LODEPNG_COMPILE_DECODER) [all …]
|
/lvgl-latest/src/drivers/wayland/ |
D | lv_wayland.c | 23 #if LV_USE_WAYLAND 45 #if !LV_WAYLAND_WL_SHELL 62 #if LV_WAYLAND_WINDOW_DECORATIONS 76 #if (LV_COLOR_DEPTH == 8 || LV_COLOR_DEPTH == 1) 87 #if LV_WAYLAND_XDG_SHELL 119 #if LV_USE_GESTURE_RECOGNITION 165 #if LV_WAYLAND_WL_SHELL 169 #if LV_WAYLAND_XDG_SHELL 209 #if LV_WAYLAND_WL_SHELL 213 #if LV_WAYLAND_XDG_SHELL [all …]
|
/lvgl-latest/src/libs/thorvg/rapidjson/ |
D | schema.h | 25 #if !defined(RAPIDJSON_SCHEMA_USE_INTERNALREGEX) 31 #if !RAPIDJSON_SCHEMA_USE_INTERNALREGEX && defined(RAPIDJSON_SCHEMA_USE_STDREGEX) && (__cplusplus >… 37 #if RAPIDJSON_SCHEMA_USE_INTERNALREGEX 43 #if RAPIDJSON_SCHEMA_USE_INTERNALREGEX || RAPIDJSON_SCHEMA_USE_STDREGEX 55 #if defined(__GNUC__) 73 #if RAPIDJSON_SCHEMA_VERBOSE 150 #if RAPIDJSON_SCHEMA_VERBOSE 221 if (oapi == kVersion20) draft = kDraft04; in Specification() 222 else if (oapi == kVersion30) draft = kDraft05; in Specification() 223 else if (oapi == kVersion31) draft = kDraft2020_12; in Specification() [all …]
|
/lvgl-latest/src/core/ |
D | lv_obj_style.c | 92 if(_style_custom_prop_flag_lookup_table != NULL) { in lv_obj_style_deinit() 106 if(style && part == LV_PART_MAIN && style_has_flag(style, LV_STYLE_PROP_FLAG_TRANSFORM)) { in lv_obj_add_style() 116 if(obj->styles[i].is_trans) continue; in lv_obj_add_style() 117 if(obj->styles[i].is_local) continue; in lv_obj_add_style() 138 #if LV_OBJ_STYLE_CACHE in lv_obj_add_style() 140 if(lv_style_is_const(style)) { in lv_obj_add_style() 164 if(!obj || !old_style || !new_style || (old_style == new_style)) { in lv_obj_replace_style() 178 if(obj->styles[i].is_local || obj->styles[i].is_trans) { in lv_obj_replace_style() 183 if((state != LV_STATE_ANY && state_act != state) || in lv_obj_replace_style() 196 if(replaced) { in lv_obj_replace_style() [all …]
|
D | lv_refr.c | 62 #if LV_USE_LOG && LV_LOG_TRACE_DISP_REFR 87 if(disp) { in lv_refr_now() 88 if(disp->refr_timer) lv_display_refr_timer(disp->refr_timer); in lv_refr_now() 94 if(d->refr_timer) lv_display_refr_timer(d->refr_timer); in lv_refr_now() 112 if(!lv_area_intersect(&clip_coords_for_obj, &clip_area_ori, &obj_coords_ext)) { in lv_obj_redraw() 116 /*If the object is visible on the current clip area*/ in lv_obj_redraw() 122 #if LV_USE_REFR_DEBUG in lv_obj_redraw() 135 if(lv_obj_has_flag(obj, LV_OBJ_FLAG_OVERFLOW_VISIBLE)) { in lv_obj_redraw() 143 if(!lv_area_intersect(&clip_coords_for_children, &clip_area_ori, obj_coords)) { in lv_obj_redraw() 147 if(refr_children) { in lv_obj_redraw() [all …]
|
D | lv_obj.c | 55 #if LV_USE_OBJ_PROPERTY 63 #if LV_USE_OBJ_PROPERTY 191 #if LV_USE_OBJ_PROPERTY 197 #if LV_USE_OBJ_PROPERTY_NAME 218 if(obj == NULL) return NULL; in lv_obj_create() 234 if(lv_obj_has_flag(obj, f)) /*Check if all flags are set*/ in lv_obj_add_flag() 240 if(f & LV_OBJ_FLAG_HIDDEN) lv_obj_invalidate(obj); in lv_obj_add_flag() 244 if(f & LV_OBJ_FLAG_HIDDEN) { in lv_obj_add_flag() 245 if(lv_obj_has_state(obj, LV_STATE_FOCUSED)) { in lv_obj_add_flag() 247 if(group != NULL) { in lv_obj_add_flag() [all …]
|
D | lv_obj_pos.c | 68 if((res_x == LV_STYLE_RES_FOUND && v_x.num != x) || res_x == LV_STYLE_RES_NOT_FOUND) { in lv_obj_set_x() 82 if((res_y == LV_STYLE_RES_FOUND && v_y.num != y) || res_y == LV_STYLE_RES_NOT_FOUND) { in lv_obj_set_y() 91 /*If the width or height is set by a layout do not modify them*/ in lv_obj_refr_size() 92 if(obj->w_layout && obj->h_layout) return false; in lv_obj_refr_size() 95 if(parent == NULL) return false; in lv_obj_refr_size() 101 if(obj->w_layout) { in lv_obj_refr_size() 110 if(w_is_content) { in lv_obj_refr_size() 113 else if(w_is_pct) { in lv_obj_refr_size() 114 /*If parent has content size and the child has pct size in lv_obj_refr_size() 116 if(parent->w_layout == 0 && lv_obj_get_style_width(parent, 0) == LV_SIZE_CONTENT) { in lv_obj_refr_size() [all …]
|
/lvgl-latest/tests/unity/ |
D | unity.c | 6 #if LV_BUILD_TEST 13 /* If omitted from header, declare overridable prototypes here so they're ready for use */ 21 #define RETURN_IF_FAIL_OR_IGNORE do { if (Unity.CurrentTestFailed || Unity.CurrentTestIgnored) {… 80 if ((*pch <= 126) && (*pch >= 32)) in UnityPrintChar() 85 else if (*pch == 13) in UnityPrintChar() 91 else if (*pch == 10) in UnityPrintChar() 131 if (pch != NULL) in UnityPrint() 137 if ((*pch == 27) && (*(pch + 1) == '[')) in UnityPrint() 153 if (pch != NULL) in UnityPrintLen() 158 if ((*pch <= 126) && (*pch >= 32)) in UnityPrintLen() [all …]
|
/lvgl-latest/src/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 66 // 1.22 (2019-08-11) minimize missing-glyph duplication; fix kerning if both 'GPOS' and 'kern' ar… 136 // coverage. Thus, anti-aliasing of intersecting shapes may look wrong. If 179 // If that sounds good enough, skip the next paragraph. 206 // that the worst-case character could extend above the baseline, so if 220 // relative to <current_point, baseline>. I.e. if it returns x0,y0,x1,y1, 237 // - Kerning is now supported, and if you're supporting subpixel rendering 243 // if you don't do this, stb_truetype is forced to do the conversion on 278 #if 0 309 if(*text >= 32 && *text < 128) { 332 #if 0 [all …]
|
/lvgl-latest/docs/ |
D | doc_builder.py | 148 if EMIT_WARNINGS: 151 if warning_type is None: 162 if element.tag == 'parameterlist': 165 if element.text: 170 if ds: 171 if docstring: 176 if element.tag == 'para': 177 if docstring: 180 if element.tag == 'ref': 183 if element.tail: [all …]
|
D | Doxyfile | 38 # could be handy for archiving the generated documentation or if some version 57 # into which the generated documentation will be written. If a relative path is 58 # entered, it will be relative to the location where doxygen was started. If 63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- 73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII 74 # characters to appear in the names of generated files. If set to NO, non-ASCII 96 # If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member 103 # If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief 106 # Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the 113 # used to form the text in various listings. Each string in this list, if found [all …]
|
/lvgl-latest/scripts/gen_json/ |
D | pycparser_monkeypatch.py | 80 if hasattr(n, 'coord') and n.coord is not None: 81 if 'fake_libc_include' in n.coord.file: 83 if FILTER_PRIVATE and '_private.h' not in n.coord.file: 112 if filter_node(self): 115 if self.dim is None: 120 if isinstance(self.type, TypeDecl): 156 if filter_node(self): 186 if filter_node(self): 189 if self.name and self.name == '_silence_gcc_warning': 192 if not self.name: [all …]
|
/lvgl-latest/src/widgets/label/ |
D | lv_label.c | 14 #if LV_USE_LABEL != 0 65 #if LV_USE_OBJ_PROPERTY 99 #if LV_USE_OBJ_PROPERTY 105 #if LV_USE_OBJ_PROPERTY_NAME 138 /*If text is NULL then just refresh with the current text*/ in lv_label_set_text() 139 if(text == NULL) text = label->text; in lv_label_set_text() 144 /*If set its own text then reallocate it (maybe its size changed)*/ in lv_label_set_text() 145 if(label->text == text && label->static_txt == 0) { in lv_label_set_text() 148 if(label->text == NULL) return; in lv_label_set_text() 150 #if LV_USE_ARABIC_PERSIAN_CHARS in lv_label_set_text() [all …]
|
/lvgl-latest/src/display/ |
D | lv_display.c | 22 #if LV_USE_DRAW_SW 66 if(!disp) return NULL; in lv_display_create() 81 #if defined(LV_DRAW_SW_DRAW_UNIT_CNT) && (LV_DRAW_SW_DRAW_UNIT_CNT != 0) in lv_display_create() 89 if(disp->layer_head == NULL) return NULL; in lv_display_create() 92 if(disp->layer_init) disp->layer_init(disp, disp->layer_head); in lv_display_create() 110 if(disp->refr_timer == NULL) { in lv_display_create() 115 #if LV_USE_THEME_DEFAULT in lv_display_create() 116 if(lv_theme_default_is_inited() == false) { in lv_display_create() 124 if(lv_theme_simple_is_inited() == false) { in lv_display_create() 149 if(disp_def == NULL) disp_def = disp; /*Initialize the default display*/ in lv_display_create() [all …]
|
/lvgl-latest/src/libs/lz4/ |
D | lz4.c | 28 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 #if LV_USE_LZ4_INTERNAL 73 …* This method is safe if your compiler supports it, and *generally* as fast or faster t… 81 # if defined(__GNUC__) && \ 92 * Define this parameter if your target system or compiler does not support hardware bit count 94 #if defined(_MSC_VER) && defined(_WIN32_WCE) /* Visual Studio for WinCE doesn't support Hardware … 128 #if defined(_MSC_VER) && (_MSC_VER >= 1400) /* Visual Studio 2005+ */ 138 # if defined (__cplusplus) || defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99… 164 #if defined(__PPC64__) && defined(__LITTLE_ENDIAN__) && defined(__GNUC__) && !defined(__clang__) 172 #if (defined(__GNUC__) && (__GNUC__ >= 3)) || (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 80… [all …]
|
/lvgl-latest/src/libs/bin_decoder/ |
D | lv_bin_decoder.c | 18 #if LV_USE_LZ4_EXTERNAL 22 #if LV_USE_LZ4_INTERNAL 68 #if LV_BIN_DECODER_RAM_LOAD 101 if(decoder == NULL) { in lv_bin_decoder_init() 121 if(src_type == LV_IMAGE_SRC_VARIABLE) { in lv_bin_decoder_info() 125 else if(src_type == LV_IMAGE_SRC_FILE) { in lv_bin_decoder_info() 127 if(lv_strcmp(lv_fs_get_ext(src), "bin")) return LV_RESULT_INVALID; in lv_bin_decoder_info() 133 if(res != LV_FS_RES_OK || rn != sizeof(lv_image_header_t)) { in lv_bin_decoder_info() 143 if(header->magic != LV_IMAGE_HEADER_MAGIC) { in lv_bin_decoder_info() 152 else if(src_type == LV_IMAGE_SRC_SYMBOL) { in lv_bin_decoder_info() [all …]
|
/lvgl-latest/src/widgets/textarea/ |
D | lv_textarea.c | 12 #if LV_USE_TEXTAREA != 0 70 #if LV_USE_OBJ_PROPERTY 161 #if LV_USE_OBJ_PROPERTY 167 #if LV_USE_OBJ_PROPERTY_NAME 203 if(ta->one_line && (c == '\n' || c == '\r')) { in lv_textarea_add_char() 215 #if LV_BIG_ENDIAN_SYSTEM in lv_textarea_add_char() 216 if(c != 0) while(*letter_buf == 0) ++letter_buf; in lv_textarea_add_char() 220 Assume swapping is needed if MSB is zero. May not be foolproof. */ in lv_textarea_add_char() 221 if((c != 0) && ((c & 0xff000000) == 0)) { in lv_textarea_add_char() 230 if(res != LV_RESULT_OK) return; in lv_textarea_add_char() [all …]
|
/lvgl-latest/src/widgets/dropdown/ |
D | lv_dropdown.c | 13 #if LV_USE_DROPDOWN != 0 65 #if LV_USE_OBJ_PROPERTY 126 #if LV_USE_OBJ_PROPERTY 132 #if LV_USE_OBJ_PROPERTY_NAME 172 if(dropdown->text == txt) return; in lv_dropdown_set_text() 190 if(options[i] == '\n') dropdown->option_cnt++; in lv_dropdown_set_options() 197 #if LV_USE_ARABIC_PERSIAN_CHARS == 0 in lv_dropdown_set_options() 203 if(dropdown->options != NULL && dropdown->static_txt == 0) { in lv_dropdown_set_options() 211 if(dropdown->options == NULL) return; in lv_dropdown_set_options() 213 #if LV_USE_ARABIC_PERSIAN_CHARS == 0 in lv_dropdown_set_options() [all …]
|