Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 38) sorted by relevance

12

/lvgl-3.7.0/src/misc/
Dlv_area.c406 void lv_area_align(const lv_area_t * base, lv_area_t * to_align, lv_align_t align, lv_coord_t ofs_x… in lv_area_align() argument
413 x = lv_area_get_width(base) / 2 - lv_area_get_width(to_align) / 2; in lv_area_align()
414 y = lv_area_get_height(base) / 2 - lv_area_get_height(to_align) / 2; in lv_area_align()
422 x = lv_area_get_width(base) / 2 - lv_area_get_width(to_align) / 2; in lv_area_align()
427 x = lv_area_get_width(base) - lv_area_get_width(to_align); in lv_area_align()
433 y = lv_area_get_height(base) - lv_area_get_height(to_align); in lv_area_align()
436 x = lv_area_get_width(base) / 2 - lv_area_get_width(to_align) / 2; in lv_area_align()
437 y = lv_area_get_height(base) - lv_area_get_height(to_align); in lv_area_align()
441 x = lv_area_get_width(base) - lv_area_get_width(to_align); in lv_area_align()
442 y = lv_area_get_height(base) - lv_area_get_height(to_align); in lv_area_align()
[all …]
Dlv_utils.c54 void * _lv_utils_bsearch(const void * key, const void * base, uint32_t n, uint32_t size, in _lv_utils_bsearch() argument
60 for(middle = base; n != 0;) { in _lv_utils_bsearch()
64 base = (middle += size); in _lv_utils_bsearch()
68 middle = base; in _lv_utils_bsearch()
Dlv_printf.c198 … bool negative, unsigned int base, unsigned int prec, unsigned int width, unsigned int flags) in _ntoa_format() argument
217 if(len && (base == 16U)) { in _ntoa_format()
221 if((base == 16U) && !(flags & FLAGS_UPPERCASE) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
224 else if((base == 16U) && (flags & FLAGS_UPPERCASE) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
227 else if((base == 2U) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
252 … unsigned long base, unsigned int prec, unsigned int width, unsigned int flags) in _ntoa_long() argument
265 const char digit = (char)(value % base); in _ntoa_long()
267 value /= base; in _ntoa_long()
271 …return _ntoa_format(out, buffer, idx, maxlen, buf, len, negative, (unsigned int)base, prec, width,… in _ntoa_long()
277 … bool negative, unsigned long long base, unsigned int prec, unsigned int width, unsigned int flags) in _ntoa_long_long() argument
[all …]
Dlv_math.c214 int64_t lv_pow(int64_t base, int8_t exp) in lv_pow() argument
219 result *= base; in lv_pow()
221 base *= base; in lv_pow()
Dlv_utils.h47 void * _lv_utils_bsearch(const void * key, const void * base, uint32_t n, uint32_t size,
Dlv_math.h97 int64_t lv_pow(int64_t base, int8_t exp);
Dlv_area.h245 void lv_area_align(const lv_area_t * base, lv_area_t * to_align, lv_align_t align, lv_coord_t ofs_x…
/lvgl-3.7.0/src/core/
Dlv_obj_class.c196 const lv_obj_class_t * base = class_p; in get_instance_size() local
197 while(base && base->instance_size == 0) base = base->base_class; in get_instance_size()
199 if(base == NULL) return 0; /*Never happens: set at least in `lv_obj` class*/ in get_instance_size()
201 return base->instance_size; in get_instance_size()
Dlv_obj_pos.c345 void lv_obj_align_to(lv_obj_t * obj, const lv_obj_t * base, lv_align_t align, lv_coord_t x_ofs, lv_… in lv_obj_align_to() argument
350 if(base == NULL) base = lv_obj_get_parent(obj); in lv_obj_align_to()
352 LV_ASSERT_OBJ(base, MY_CLASS); in lv_obj_align_to()
362 lv_coord_t bborder = lv_obj_get_style_border_width(base, LV_PART_MAIN); in lv_obj_align_to()
363 lv_coord_t bleft = lv_obj_get_style_pad_left(base, LV_PART_MAIN) + bborder; in lv_obj_align_to()
364 lv_coord_t btop = lv_obj_get_style_pad_top(base, LV_PART_MAIN) + bborder; in lv_obj_align_to()
367 … if(lv_obj_get_style_base_dir(base, LV_PART_MAIN) == LV_BASE_DIR_RTL) align = LV_ALIGN_TOP_RIGHT; in lv_obj_align_to()
373 x = lv_obj_get_content_width(base) / 2 - lv_obj_get_width(obj) / 2 + bleft; in lv_obj_align_to()
374 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
381 x = lv_obj_get_content_width(base) / 2 - lv_obj_get_width(obj) / 2 + bleft; in lv_obj_align_to()
[all …]
Dlv_event.c84 const lv_obj_class_t * base; in lv_obj_event_base() local
85 if(class_p == NULL) base = e->current_target->class_p; in lv_obj_event_base()
86 else base = class_p->base_class; in lv_obj_event_base()
89 while(base && base->event_cb == NULL) base = base->base_class; in lv_obj_event_base()
91 if(base == NULL) return LV_RES_OK; in lv_obj_event_base()
92 if(base->event_cb == NULL) return LV_RES_OK; in lv_obj_event_base()
96 base->event_cb(base, e); in lv_obj_event_base()
Dlv_theme.c64 void lv_theme_set_parent(lv_theme_t * new_theme, lv_theme_t * base) in lv_theme_set_parent() argument
66 new_theme->parent = base; in lv_theme_set_parent()
Dlv_obj_pos.h191 void lv_obj_align_to(struct _lv_obj_t * obj, const struct _lv_obj_t * base, lv_align_t align, lv_co…
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_img.h35 lv_img_header_t base; member
Dlv_draw_sdl_layer.h26 lv_draw_layer_ctx_t base; member
Dlv_draw_sdl_rect.h35 lv_img_header_t base; member
/lvgl-3.7.0/docs/overview/
Dfont.md95 All texts have a base direction (LTR or RTL) which determines some rendering rules and the default …
96 However, in LVGL, the base direction is not only applied to labels. It's a general property which c…
98 This means it's enough to set the base direction of a screen and every object will inherit it.
100 The default base direction for screens can be set by `LV_BIDI_BASE_DIR_DEF` in *lv_conf.h* and othe…
102 To set an object's base direction use `lv_obj_set_style_base_dir(obj, base_dir,selector)`. The pos…
103 - `LV_BASE_DIR_LTR`: Left to Right base direction
104 - `LV_BASE_DIR_RTL`: Right to Left base direction
105 - `LV_BASE_DIR_AUTO`: Auto detect base direction
109 This list summarizes the effect of RTL base direction on objects:
Dscroll.md46 If the base direction of the `LV_PART_SCROLLBAR` is RTL (`LV_BASE_DIR_RTL`) the vertical scrollbar …
48 or on the object's or any parent's main part to make a scrollbar inherit the base direction.
/lvgl-3.7.0/examples/widgets/bar/
Dindex.rst25 Bar with LTR and RTL base direction
/lvgl-3.7.0/examples/layouts/flex/
Dindex.rst31 RTL base direction changes order of the items
/lvgl-3.7.0/examples/others/fragment/
Dlv_example_fragment_1.c18 lv_fragment_t base; member
Dlv_example_fragment_2.c22 lv_fragment_t base; member
/lvgl-3.7.0/docs/widgets/extra/
Dled.md24 …AW_PART_RECTANGLE` The main rectangle. `LV_OBJ_DRAW_PART_RECTANGLE` is not sent by the base object.
/lvgl-3.7.0/docs/others/
Dfragment.md26 lv_fragment_t base;
/lvgl-3.7.0/docs/libs/
Drlottie.md4 Allows to use Lottie animations in LVGL. Taken from this [base repository](https://github.com/Valen…
/lvgl-3.7.0/docs/widgets/
Dobj.md12 In object-oriented thinking, it is the base class from which all other objects in LVGL are inherite…
97 The base objects use `LV_PART_MAIN` style properties and `LV_PART_SCROLLBAR` with the typical backg…

12