Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 30) sorted by relevance

12

/lvgl-3.7.0/src/misc/
Dlv_style_gen.c6 .num = (int32_t)value in lv_style_set_width()
14 .num = (int32_t)value in lv_style_set_min_width()
22 .num = (int32_t)value in lv_style_set_max_width()
30 .num = (int32_t)value in lv_style_set_height()
38 .num = (int32_t)value in lv_style_set_min_height()
46 .num = (int32_t)value in lv_style_set_max_height()
54 .num = (int32_t)value in lv_style_set_x()
62 .num = (int32_t)value in lv_style_set_y()
70 .num = (int32_t)value in lv_style_set_align()
78 .num = (int32_t)value in lv_style_set_transform_width()
[all …]
Dlv_style_gen.h89 .prop = LV_STYLE_WIDTH, .value = { .num = (int32_t)val } \
94 .prop = LV_STYLE_MIN_WIDTH, .value = { .num = (int32_t)val } \
99 .prop = LV_STYLE_MAX_WIDTH, .value = { .num = (int32_t)val } \
104 .prop = LV_STYLE_HEIGHT, .value = { .num = (int32_t)val } \
109 .prop = LV_STYLE_MIN_HEIGHT, .value = { .num = (int32_t)val } \
114 .prop = LV_STYLE_MAX_HEIGHT, .value = { .num = (int32_t)val } \
119 .prop = LV_STYLE_X, .value = { .num = (int32_t)val } \
124 .prop = LV_STYLE_Y, .value = { .num = (int32_t)val } \
129 .prop = LV_STYLE_ALIGN, .value = { .num = (int32_t)val } \
134 .prop = LV_STYLE_TRANSFORM_WIDTH, .value = { .num = (int32_t)val } \
[all …]
Dlv_style.c141 static const lv_style_value_t null_style_value = { .num = 0 };
318 value.num = LV_IMG_ZOOM_NONE; in lv_style_prop_get_default()
343 value.num = LV_OPA_COVER; in lv_style_prop_get_default()
346 value.num = 255; in lv_style_prop_get_default()
349 value.num = LV_BORDER_SIDE_FULL; in lv_style_prop_get_default()
356 value.num = LV_COORD_MAX; in lv_style_prop_get_default()
360 value.num = 0; in lv_style_prop_get_default()
Dlv_style.h168 int32_t num; /**< Number integer number (opacity, enums, booleans or "normal" numbers)*/ member
/lvgl-3.7.0/src/core/
Dlv_obj_style_gen.c6 .num = (int32_t)value in lv_obj_set_style_width()
14 .num = (int32_t)value in lv_obj_set_style_min_width()
22 .num = (int32_t)value in lv_obj_set_style_max_width()
30 .num = (int32_t)value in lv_obj_set_style_height()
38 .num = (int32_t)value in lv_obj_set_style_min_height()
46 .num = (int32_t)value in lv_obj_set_style_max_height()
54 .num = (int32_t)value in lv_obj_set_style_x()
62 .num = (int32_t)value in lv_obj_set_style_y()
70 .num = (int32_t)value in lv_obj_set_style_align()
78 .num = (int32_t)value in lv_obj_set_style_transform_width()
[all …]
Dlv_obj_style_gen.h4 return (lv_coord_t)v.num; in lv_obj_get_style_width()
10 return (lv_coord_t)v.num; in lv_obj_get_style_min_width()
16 return (lv_coord_t)v.num; in lv_obj_get_style_max_width()
22 return (lv_coord_t)v.num; in lv_obj_get_style_height()
28 return (lv_coord_t)v.num; in lv_obj_get_style_min_height()
34 return (lv_coord_t)v.num; in lv_obj_get_style_max_height()
40 return (lv_coord_t)v.num; in lv_obj_get_style_x()
46 return (lv_coord_t)v.num; in lv_obj_get_style_y()
52 return (lv_align_t)v.num; in lv_obj_get_style_align()
58 return (lv_coord_t)v.num; in lv_obj_get_style_transform_width()
[all …]
Dlv_obj_style.c257 value_act.num = prop == LV_STYLE_WIDTH ? cls->width_def : cls->height_def; in lv_obj_get_style_prop()
260 value_act.num = 0; in lv_obj_get_style_prop()
337 if(v1.ptr == v2.ptr && v1.num == v2.num && v1.color.full == v2.color.full) return; in _lv_obj_style_create_transition()
346 if(v1.num == LV_RADIUS_CIRCLE || v2.num == LV_RADIUS_CIRCLE) { in _lv_obj_style_create_transition()
349 if(v1.num == LV_RADIUS_CIRCLE) v1.num = LV_MIN(whalf + 1, hhalf + 1); in _lv_obj_style_create_transition()
350 if(v2.num == LV_RADIUS_CIRCLE) v2.num = LV_MIN(whalf + 1, hhalf + 1); in _lv_obj_style_create_transition()
766 if(v < 255) value_final.num = tr->start_value.num; in trans_anim_cb()
767 else value_final.num = tr->end_value.num; in trans_anim_cb()
793 if(v == 0) value_final.num = tr->start_value.num; in trans_anim_cb()
794 else if(v == 255) value_final.num = tr->end_value.num; in trans_anim_cb()
[all …]
Dlv_obj_pos.c61 if((res_x == LV_RES_OK && v_x.num != x) || res_x == LV_RES_INV) { in lv_obj_set_x()
75 if((res_y == LV_RES_OK && v_y.num != y) || res_y == LV_RES_INV) { in lv_obj_set_y()
231 if((res_w == LV_RES_OK && v_w.num != w) || res_w == LV_RES_INV) { in lv_obj_set_width()
244 if((res_h == LV_RES_OK && v_h.num != h) || res_h == LV_RES_INV) { in lv_obj_set_height()
/lvgl-3.7.0/src/extra/layouts/grid/
Dlv_grid.h136 return (lv_grid_align_t)v.num; in lv_obj_get_style_grid_row_align()
142 return (lv_grid_align_t)v.num; in lv_obj_get_style_grid_column_align()
148 return (lv_coord_t)v.num; in lv_obj_get_style_grid_cell_column_pos()
154 return (lv_coord_t)v.num; in lv_obj_get_style_grid_cell_column_span()
160 return (lv_coord_t)v.num; in lv_obj_get_style_grid_cell_row_pos()
166 return (lv_coord_t)v.num; in lv_obj_get_style_grid_cell_row_span()
172 return (lv_coord_t)v.num; in lv_obj_get_style_grid_cell_x_align()
178 return (lv_coord_t)v.num; in lv_obj_get_style_grid_cell_y_align()
Dlv_grid.c192 .num = (lv_grid_align_t)value in lv_style_set_grid_row_align()
200 .num = (lv_grid_align_t)value in lv_style_set_grid_column_align()
208 .num = value in lv_style_set_grid_cell_column_pos()
216 .num = value in lv_style_set_grid_cell_column_span()
224 .num = value in lv_style_set_grid_cell_row_pos()
232 .num = value in lv_style_set_grid_cell_row_span()
240 .num = value in lv_style_set_grid_cell_x_align()
248 .num = value in lv_style_set_grid_cell_y_align()
272 .num = (int32_t) value in lv_obj_set_style_grid_row_align()
280 .num = (int32_t) value in lv_obj_set_style_grid_column_align()
[all …]
/lvgl-3.7.0/src/extra/layouts/flex/
Dlv_flex.h115 return (lv_flex_flow_t)v.num; in lv_obj_get_style_flex_flow()
121 return (lv_flex_align_t)v.num; in lv_obj_get_style_flex_main_place()
127 return (lv_flex_align_t)v.num; in lv_obj_get_style_flex_cross_place()
133 return (lv_flex_align_t)v.num; in lv_obj_get_style_flex_track_place()
139 return (uint8_t)v.num; in lv_obj_get_style_flex_grow()
Dlv_flex.c125 .num = (int32_t)value in lv_style_set_flex_flow()
133 .num = (int32_t)value in lv_style_set_flex_main_place()
141 .num = (int32_t)value in lv_style_set_flex_cross_place()
149 .num = (int32_t)value in lv_style_set_flex_track_place()
157 .num = (int32_t)value in lv_style_set_flex_grow()
165 .num = (int32_t) value in lv_obj_set_style_flex_flow()
173 .num = (int32_t) value in lv_obj_set_style_flex_main_place()
181 .num = (int32_t) value in lv_obj_set_style_flex_cross_place()
189 .num = (int32_t) value in lv_obj_set_style_flex_track_place()
197 .num = (int32_t) value in lv_obj_set_style_flex_grow()
/lvgl-3.7.0/demos/music/
Dlv_demo_music.c248 lv_obj_t * num = lv_label_create(bg); in auto_step_cb() local
249 lv_obj_set_style_text_font(num, font_large, 0); in auto_step_cb()
251 lv_label_set_text_fmt(num, "%d", lv_refr_get_fps_avg()); in auto_step_cb()
253 lv_obj_align(num, LV_ALIGN_TOP_MID, 0, 120); in auto_step_cb()
/lvgl-3.7.0/src/extra/widgets/animimg/
Dlv_animimg.c67 void lv_animimg_set_src(lv_obj_t * obj, const void * dsc[], uint8_t num) in lv_animimg_set_src() argument
72 animimg->pic_count = num; in lv_animimg_set_src()
73 lv_anim_set_values(&animimg->anim, 0, num); in lv_animimg_set_src()
Dlv_animimg.h71 void lv_animimg_set_src(lv_obj_t * img, const void * dsc[], uint8_t num);
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_composite.c39 static lv_coord_t next_pow_of_2(lv_coord_t num);
237 static lv_coord_t next_pow_of_2(lv_coord_t num) in next_pow_of_2() argument
240 while(n < num && n < 16384) { in next_pow_of_2()
/lvgl-3.7.0/tests/unity/
Dunity.c1585 UNITY_INTERNAL_PTR UnityNumToPtr(const UNITY_INT num, const UNITY_UINT8 size) in UnityNumToPtr() argument
1590 UnityQuickCompare.i8 = (UNITY_INT8)num; in UnityNumToPtr()
1594 UnityQuickCompare.i16 = (UNITY_INT16)num; in UnityNumToPtr()
1599 UnityQuickCompare.i64 = (UNITY_INT64)num; in UnityNumToPtr()
1604 UnityQuickCompare.i32 = (UNITY_INT32)num; in UnityNumToPtr()
1611 UNITY_INTERNAL_PTR UnityFloatToPtr(const float num) in UnityFloatToPtr() argument
1613 UnityQuickCompare.f = num; in UnityFloatToPtr()
1620 UNITY_INTERNAL_PTR UnityDoubleToPtr(const double num) in UnityDoubleToPtr() argument
1622 UnityQuickCompare.d = num; in UnityDoubleToPtr()
Dunity_internals.h675 UNITY_INTERNAL_PTR UnityNumToPtr(const UNITY_INT num, const UNITY_UINT8 size);
677 UNITY_INTERNAL_PTR UnityFloatToPtr(const float num);
680 UNITY_INTERNAL_PTR UnityDoubleToPtr(const double num);
725 #define RUN_TEST(func, num) UnityDefaultTestRun(func, #func, num) argument
/lvgl-3.7.0/docs/widgets/extra/
Danimimg.md17 To set the image in a state, use the `lv_animimg_set_src(imgbtn, dsc[], num)`.
/lvgl-3.7.0/src/extra/libs/sjpg/
Dtjpgd.c200 unsigned int i, j, b, cls, num; in create_huffman_tbl() local
211 cls = d >> 4; num = d & 0x0F; /* class = dc(0)/ac(1), table number = 0/1 */ in create_huffman_tbl()
214 jd->huffbits[num][cls] = pb; in create_huffman_tbl()
220 jd->huffcode[num][cls] = ph; in create_huffman_tbl()
232 jd->huffdata[num][cls] = pd; in create_huffman_tbl()
247 jd->hufflut_ac[num] = tbl_ac; in create_huffman_tbl()
252 jd->hufflut_dc[num] = tbl_dc; in create_huffman_tbl()
267 jd->longofs[num][cls] = i; /* Code table offset for long code */ in create_huffman_tbl()
/lvgl-3.7.0/src/widgets/
Dlv_textarea.h184 void lv_textarea_set_max_length(lv_obj_t * obj, uint32_t num);
/lvgl-3.7.0/docs/widgets/core/
Droller.md29 The number of visible rows can be adjusted with `lv_roller_set_visible_row_count(roller, num)`.
/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c126 int value, size_t num) { in lodepng_memset() argument
127 lv_memset(dst, value, num); in lodepng_memset()
606 static unsigned reverseBits(unsigned bits, unsigned num) { in reverseBits() argument
609 for(i = 0; i < num; i++) result |= ((bits >> (num - i - 1u)) & 1u) << i; in reverseBits()
746 unsigned num = 1u << (FIRSTBITS - l); in HuffmanTree_makeTable() local
748 for(j = 0; j < num; ++j) { in HuffmanTree_makeTable()
763 …unsigned num = 1u << (tablelen - (l - FIRSTBITS)); /*amount of entries of this symbol in secondary… in HuffmanTree_makeTable() local
766 for(j = 0; j < num; ++j) { in HuffmanTree_makeTable()
918 static void bpmnode_sort(BPMNode* leaves, size_t num) { in bpmnode_sort() argument
919 BPMNode* mem = (BPMNode*)lodepng_malloc(sizeof(*leaves) * num); in bpmnode_sort()
[all …]
/lvgl-3.7.0/src/extra/widgets/span/
Dlv_span.c669 letter_space = (lv_coord_t)value.num; in lv_span_get_style_text_letter_space()
693 opa = (lv_opa_t)value.num; in lv_span_get_style_text_opa()
707 mode = (lv_blend_mode_t)value.num; in lv_span_get_style_text_blend_mode()
721 decor = (int32_t)value.num; in lv_span_get_style_text_decor()
/lvgl-3.7.0/src/extra/libs/ffmpeg/
Dlv_ffmpeg.c621 int avg_frame_rate_num = ffmpeg_ctx->video_stream->avg_frame_rate.num; in ffmpeg_get_frame_refr_period()

12