/lvgl-3.5.0/src/misc/ |
D | lv_printf.c | 169 unsigned int width, unsigned int flags) in _out_rev() argument 174 if(!(flags & FLAGS_LEFT) && !(flags & FLAGS_ZEROPAD)) { in _out_rev() 187 if(flags & FLAGS_LEFT) { in _out_rev() 198 … bool negative, unsigned int base, unsigned int prec, unsigned int width, unsigned int flags) in _ntoa_format() argument 201 if(!(flags & FLAGS_LEFT)) { in _ntoa_format() 202 if(width && (flags & FLAGS_ZEROPAD) && (negative || (flags & (FLAGS_PLUS | FLAGS_SPACE)))) { in _ntoa_format() 208 while((flags & FLAGS_ZEROPAD) && (len < width) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format() 214 if(flags & FLAGS_HASH) { in _ntoa_format() 215 if(!(flags & FLAGS_PRECISION) && len && ((len == prec) || (len == width))) { in _ntoa_format() 221 if((base == 16U) && !(flags & FLAGS_UPPERCASE) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format() [all …]
|
/lvgl-3.5.0/src/draw/sw/ |
D | lv_draw_sw_layer.c | 44 lv_draw_layer_flags_t flags) in lv_draw_sw_layer_create() argument 46 if(LV_COLOR_SCREEN_TRANSP == 0 && (flags & LV_DRAW_LAYER_FLAG_HAS_ALPHA)) { in lv_draw_sw_layer_create() 52 …uint32_t px_size = flags & LV_DRAW_LAYER_FLAG_HAS_ALPHA ? LV_IMG_PX_SIZE_ALPHA_BYTE : sizeof(lv_co… in lv_draw_sw_layer_create() 53 if(flags & LV_DRAW_LAYER_FLAG_CAN_SUBDIVIDE) { in lv_draw_sw_layer_create() 78 layer_sw_ctx->has_alpha = flags & LV_DRAW_LAYER_FLAG_HAS_ALPHA ? 1 : 0; in lv_draw_sw_layer_create() 88 disp_refr->driver->screen_transp = flags & LV_DRAW_LAYER_FLAG_HAS_ALPHA ? 1 : 0; in lv_draw_sw_layer_create() 95 lv_draw_layer_flags_t flags) in lv_draw_sw_layer_adjust() argument 100 if(flags & LV_DRAW_LAYER_FLAG_HAS_ALPHA) { in lv_draw_sw_layer_adjust()
|
D | lv_draw_sw.h | 82 lv_draw_layer_flags_t flags); 85 lv_draw_layer_flags_t flags);
|
/lvgl-3.5.0/src/draw/ |
D | lv_draw_layer.c | 38 lv_draw_layer_flags_t flags) in lv_draw_layer_create() argument 58 lv_draw_layer_ctx_t * init_layer_ctx = draw_ctx->layer_init(draw_ctx, layer_ctx, flags); in lv_draw_layer_create() 66 lv_draw_layer_flags_t flags) in lv_draw_layer_adjust() argument 68 if(draw_ctx->layer_adjust) draw_ctx->layer_adjust(draw_ctx, layer_ctx, flags); in lv_draw_layer_adjust()
|
D | lv_draw_layer.h | 47 lv_draw_layer_flags_t flags); 57 lv_draw_layer_flags_t flags);
|
D | lv_draw.h | 154 lv_draw_layer_flags_t flags); 164 lv_draw_layer_flags_t flags);
|
/lvgl-3.5.0/src/draw/sdl/ |
D | lv_draw_sdl_texture_cache.c | 30 lv_draw_sdl_cache_flag_t flags; member 91 lv_draw_sdl_cache_flag_t flags) in lv_draw_sdl_texture_cache_put_advanced() argument 98 value->flags = flags; in lv_draw_sdl_texture_cache_put_advanced() 103 if(flags & LV_DRAW_SDL_CACHE_FLAG_MANAGED) { in lv_draw_sdl_texture_cache_put_advanced() 149 if(value->texture && !(value->flags & LV_DRAW_SDL_CACHE_FLAG_MANAGED)) { in draw_cache_free_value()
|
D | lv_draw_sdl_layer.h | 31 lv_draw_layer_flags_t flags; member 38 lv_draw_layer_flags_t flags);
|
D | lv_draw_sdl_layer.c | 46 lv_draw_layer_flags_t flags) in lv_draw_sdl_layer_init() argument 53 transform_ctx->flags = flags; in lv_draw_sdl_layer_init() 97 if(transform_ctx->flags & LV_DRAW_LAYER_FLAG_CAN_SUBDIVIDE) { in lv_draw_sdl_layer_blend()
|
D | lv_draw_sdl_texture_cache.h | 89 lv_draw_sdl_cache_flag_t flags);
|
/lvgl-3.5.0/src/extra/libs/fsdrv/ |
D | lv_fs_fatfs.c | 107 uint8_t flags = 0; in fs_open() local 109 if(mode == LV_FS_MODE_WR) flags = FA_WRITE | FA_OPEN_ALWAYS; in fs_open() 110 else if(mode == LV_FS_MODE_RD) flags = FA_READ; in fs_open() 111 else if(mode == (LV_FS_MODE_WR | LV_FS_MODE_RD)) flags = FA_READ | FA_WRITE | FA_OPEN_ALWAYS; in fs_open() 116 FRESULT res = f_open(f, path, flags); in fs_open()
|
D | lv_fs_posix.c | 106 uint32_t flags = 0; in fs_open() local 107 if(mode == LV_FS_MODE_WR) flags = O_WRONLY | O_CREAT; in fs_open() 108 else if(mode == LV_FS_MODE_RD) flags = O_RDONLY; in fs_open() 109 else if(mode == (LV_FS_MODE_WR | LV_FS_MODE_RD)) flags = O_RDWR | O_CREAT; in fs_open() 115 int f = open(buf, flags, 0666); in fs_open()
|
D | lv_fs_stdio.c | 109 const char * flags = ""; in fs_open() local 111 if(mode == LV_FS_MODE_WR) flags = "wb"; in fs_open() 112 else if(mode == LV_FS_MODE_RD) flags = "rb"; in fs_open() 113 else if(mode == (LV_FS_MODE_WR | LV_FS_MODE_RD)) flags = "rb+"; in fs_open() 120 return fopen(buf, flags); in fs_open()
|
/lvgl-3.5.0/src/core/ |
D | lv_obj.c | 228 obj->flags |= f; in lv_obj_add_flag() 259 obj->flags &= (~f); in lv_obj_clear_flag() 303 return (obj->flags & f) == f ? true : false; in lv_obj_has_flag() 310 return (obj->flags & f) ? true : false; in lv_obj_has_flag_any() 417 obj->flags = LV_OBJ_FLAG_CLICKABLE; in lv_obj_constructor() 418 obj->flags |= LV_OBJ_FLAG_SNAPPABLE; in lv_obj_constructor() 419 if(parent) obj->flags |= LV_OBJ_FLAG_PRESS_LOCK; in lv_obj_constructor() 420 if(parent) obj->flags |= LV_OBJ_FLAG_SCROLL_CHAIN; in lv_obj_constructor() 421 obj->flags |= LV_OBJ_FLAG_CLICK_FOCUSABLE; in lv_obj_constructor() 422 obj->flags |= LV_OBJ_FLAG_SCROLLABLE; in lv_obj_constructor() [all …]
|
D | lv_theme.h | 41 uint32_t flags; /*Any custom flag used by the theme*/ member
|
D | lv_refr.c | 853 lv_draw_layer_flags_t flags) in layer_alpha_test() argument 858 if(flags & LV_DRAW_LAYER_FLAG_HAS_ALPHA) { in layer_alpha_test() 898 lv_draw_layer_flags_t flags = LV_DRAW_LAYER_FLAG_HAS_ALPHA; in refr_obj() local 905 if(info.res == LV_COVER_RES_COVER) flags &= ~LV_DRAW_LAYER_FLAG_HAS_ALPHA; in refr_obj() 908 if(layer_type == LV_LAYER_TYPE_SIMPLE) flags |= LV_DRAW_LAYER_FLAG_CAN_SUBDIVIDE; in refr_obj() 910 lv_draw_layer_ctx_t * layer_ctx = lv_draw_layer_create(draw_ctx, &layer_area_full, flags); in refr_obj() 938 if(flags & LV_DRAW_LAYER_FLAG_CAN_SUBDIVIDE) { in refr_obj() 945 if(flags & LV_DRAW_LAYER_FLAG_CAN_SUBDIVIDE) { in refr_obj() 946 layer_alpha_test(obj, draw_ctx, layer_ctx, flags); in refr_obj() 957 if((flags & LV_DRAW_LAYER_FLAG_CAN_SUBDIVIDE) == 0) break; in refr_obj()
|
D | lv_obj.h | 183 lv_obj_flag_t flags; member
|
/lvgl-3.5.0/tests/unity/ |
D | unity.c | 782 const UNITY_FLAGS_T flags) in UnityAssertEqualIntArray() argument 861 if (flags == UNITY_ARRAY_TO_ARRAY) in UnityAssertEqualIntArray() 911 const UNITY_FLAGS_T flags) in UnityAssertEqualFloatArray() argument 945 if (flags == UNITY_ARRAY_TO_ARRAY) in UnityAssertEqualFloatArray() 1052 const UNITY_FLAGS_T flags) in UnityAssertEqualDoubleArray() argument 1086 if (flags == UNITY_ARRAY_TO_ARRAY) in UnityAssertEqualDoubleArray() 1233 const UNITY_FLAGS_T flags) in UnityAssertNumbersArrayWithin() argument 1337 if (flags == UNITY_ARRAY_TO_ARRAY) in UnityAssertNumbersArrayWithin() 1430 const UNITY_FLAGS_T flags) in UnityAssertEqualStringArray() argument 1455 if (flags != UNITY_ARRAY_TO_ARRAY) in UnityAssertEqualStringArray() [all …]
|
D | unity_internals.h | 571 const UNITY_FLAGS_T flags); 595 const UNITY_FLAGS_T flags); 603 const UNITY_FLAGS_T flags); 619 const UNITY_FLAGS_T flags); 643 const UNITY_FLAGS_T flags); 663 const UNITY_FLAGS_T flags);
|
/lvgl-3.5.0/docs/others/ |
D | gridnav.md | 24 To add the gridnav feature to an object use `lv_gridnav_add(cont, flags)`. 26 `flags` control the behavior of gridnav:
|
/lvgl-3.5.0/src/extra/themes/default/ |
D | lv_theme_default.c | 201 …if(theme.flags & MODE_DARK) return lv_color_mix(lv_palette_darken(LV_PALETTE_GREY, 2), color, opa); in grey_filter_cb() 216 color_scr = theme.flags & MODE_DARK ? DARK_COLOR_SCR : LIGHT_COLOR_SCR; in style_init() 217 color_text = theme.flags & MODE_DARK ? DARK_COLOR_TEXT : LIGHT_COLOR_TEXT; in style_init() 218 color_card = theme.flags & MODE_DARK ? DARK_COLOR_CARD : LIGHT_COLOR_CARD; in style_init() 219 color_grey = theme.flags & MODE_DARK ? DARK_COLOR_GREY : LIGHT_COLOR_GREY; in style_init() 236 lv_color_t sb_color = (theme.flags & MODE_DARK) ? lv_palette_darken(LV_PALETTE_GREY, in style_init() 288 if(!(theme.flags & MODE_DARK)) { in style_init() 558 …lv_style_set_text_color(&styles->ta_placeholder, (theme.flags & MODE_DARK) ? lv_palette_darken(LV_… in style_init() 672 theme.flags = dark ? MODE_DARK : 0; in lv_theme_default_init()
|
/lvgl-3.5.0/src/extra/libs/ffmpeg/ |
D | lv_ffmpeg.c | 372 return (desc->flags & AV_PIX_FMT_FLAG_ALPHA) ? true : false; in ffmpeg_pix_fmt_has_alpha() 383 return !(desc->flags & AV_PIX_FMT_FLAG_RGB) && desc->nb_components >= 2; in ffmpeg_pix_fmt_is_yuv()
|
/lvgl-3.5.0/docs/widgets/extra/ |
D | calendar.md | 18 - `LV_PART_ITEMS` Refers to the dates and day names. Button matrix control flags are set to differe…
|
/lvgl-3.5.0/docs/widgets/core/ |
D | btnmatrix.md | 42 By default, all flags are disabled.
|
/lvgl-3.5.0/docs/overview/ |
D | coords.md | 320 There are some flags that can be used on objects to affect how they behave with layouts: 325 These flags can be added/removed with `lv_obj_add/clear_flag(obj, FLAG);`
|