/lvgl-3.7.0/tests/src/test_cases/ |
D | test_fs.c | 35 uint32_t cnt = 0; in test_read() local 40 TEST_ASSERT_TRUE(memcmp(buf, read_exp + cnt, br) == 0); in test_read() 44 TEST_ASSERT_TRUE(memcmp(buf, read_exp + cnt, br) == 0); in test_read() 45 cnt += br; in test_read()
|
/lvgl-3.7.0/examples/event/ |
D | lv_example_event_1.c | 8 static uint32_t cnt = 1; in event_cb() local 11 lv_label_set_text_fmt(label, "%"LV_PRIu32, cnt); in event_cb() 12 cnt++; in event_cb()
|
D | lv_example_event_1.py | 3 self.cnt = 1 22 label.set_text(str(self.cnt)) 23 self.cnt += 1
|
/lvgl-3.7.0/examples/get_started/ |
D | lv_example_get_started_1.c | 9 static uint8_t cnt = 0; in btn_event_cb() local 10 cnt++; in btn_event_cb() 14 lv_label_set_text_fmt(label, "Button: %d", cnt); in btn_event_cb()
|
D | lv_example_get_started_1.py | 3 self.cnt = 0 21 self.cnt += 1 25 label.set_text("Button: " + str(self.cnt))
|
/lvgl-3.7.0/examples/widgets/chart/ |
D | lv_example_chart_7.c | 10 uint32_t cnt = lv_chart_get_point_count(obj); in draw_event_cb() local 12 dsc->rect_dsc->bg_opa = (LV_OPA_COVER * dsc->id) / (cnt - 1); in draw_event_cb() 19 …uint32_t p_act = (start_point + dsc->id) % cnt; /*Consider start point to get the index of the arr… in draw_event_cb()
|
D | lv_example_chart_7.py | 11 cnt = obj.get_point_count() 14 dsc.rect_dsc.bg_opa = (lv.OPA.COVER * dsc.id) // (cnt - 1) 22 p_act = (start_point + dsc.id) % cnt # Consider start point to get the index of the array
|
D | lv_example_chart_2.py | 47 cnt = 0 50 if cnt % 4 == 0: 53 cnt +=1
|
D | lv_example_chart_2.c | 93 static uint32_t cnt = 0; in add_data() local 96 if(cnt % 4 == 0) lv_chart_set_next_value(chart1, ser2, lv_rand(40, 60)); in add_data() 98 cnt++; in add_data()
|
/lvgl-3.7.0/examples/widgets/list/ |
D | lv_example_list_2.c | 102 uint32_t cnt = lv_obj_get_child_cnt(list1); in event_handler_swap() local 104 if(cnt > 1) { in event_handler_swap() 105 lv_obj_t * obj = lv_obj_get_child(list1, rand() % cnt); in event_handler_swap() 106 lv_obj_move_to_index(obj, rand() % cnt); in event_handler_swap()
|
D | lv_example_list_2.py | 85 cnt = list1.get_child_cnt() 87 if cnt > 1: 88 obj = list1.get_child(urandom.getrandbits(32) % cnt ) 89 obj.move_to_index(urandom.getrandbits(32) % cnt)
|
/lvgl-3.7.0/src/extra/others/msg/ |
D | lv_msg.c | 99 uint32_t cnt = 0; in lv_msg_unsubscribe_obj() local 107 cnt++; in lv_msg_unsubscribe_obj() 113 return cnt; in lv_msg_unsubscribe_obj()
|
/lvgl-3.7.0/src/misc/ |
D | lv_anim.h | 267 static inline void lv_anim_set_repeat_count(lv_anim_t * a, uint16_t cnt) in lv_anim_set_repeat_count() argument 269 a->repeat_cnt = cnt; in lv_anim_set_repeat_count()
|
D | lv_anim.c | 187 uint16_t cnt = 0; in lv_anim_count_running() local 189 _LV_LL_READ(&LV_GC_ROOT(_lv_anim_ll), a) cnt++; in lv_anim_count_running() 191 return cnt; in lv_anim_count_running()
|
D | lv_txt.c | 669 uint8_t cnt = 0; in lv_txt_utf8_prev() local 674 if(cnt >= 4) return 0; /*No UTF-8 char found before the initial*/ in lv_txt_utf8_prev() 683 cnt++; in lv_txt_utf8_prev()
|
/lvgl-3.7.0/src/extra/libs/freetype/ |
D | lv_freetype.c | 33 int32_t cnt; /* reference count */ member 629 refer->cnt += 1; in name_refer_find() 645 refer->cnt -= 1; in name_refer_del() 646 if(refer->cnt <= 0) { in name_refer_del() 677 refer->cnt = 1; in name_refer_save()
|
/lvgl-3.7.0/src/extra/widgets/chart/ |
D | lv_chart.c | 43 static void new_points_alloc(lv_obj_t * obj, lv_chart_series_t * ser, uint32_t cnt, lv_coord_t ** a… 104 void lv_chart_set_point_count(lv_obj_t * obj, uint16_t cnt) in lv_chart_set_point_count() argument 109 if(chart->point_cnt == cnt) return; in lv_chart_set_point_count() 113 if(cnt < 1) cnt = 1; in lv_chart_set_point_count() 117 if(!ser->x_ext_buf_assigned) new_points_alloc(obj, ser, cnt, &ser->x_points); in lv_chart_set_point_count() 119 if(!ser->y_ext_buf_assigned) new_points_alloc(obj, ser, cnt, &ser->y_points); in lv_chart_set_point_count() 123 chart->point_cnt = cnt; in lv_chart_set_point_count() 1743 static void new_points_alloc(lv_obj_t * obj, lv_chart_series_t * ser, uint32_t cnt, lv_coord_t ** a) in new_points_alloc() argument 1752 lv_coord_t * new_points = lv_mem_alloc(sizeof(lv_coord_t) * cnt); in new_points_alloc() 1756 if(cnt >= point_cnt_old) { in new_points_alloc() [all …]
|
D | lv_chart.h | 158 void lv_chart_set_point_count(lv_obj_t * obj, uint16_t cnt);
|
/lvgl-3.7.0/src/widgets/ |
D | lv_label.h | 234 void lv_label_cut_text(lv_obj_t * obj, uint32_t pos, uint32_t cnt);
|
D | lv_roller.c | 109 uint32_t cnt; in lv_roller_set_options() local 110 for(cnt = 0; options[cnt] != '\0'; cnt++) { in lv_roller_set_options() 111 if(options[cnt] == '\n') roller->option_cnt++; in lv_roller_set_options()
|
/lvgl-3.7.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite_rect.c | 130 uint8_t cnt = LV_MAX(dsc->bg_grad.stops_count, 2); in lv_gpu_nxp_vglite_draw_bg() local 131 for(uint8_t i = 0; i < cnt; i++) { in lv_gpu_nxp_vglite_draw_bg() 145 err = vg_lite_set_grad(&gradient, cnt, colors, stops); in lv_gpu_nxp_vglite_draw_bg()
|
/lvgl-3.7.0/src/extra/widgets/meter/ |
D | lv_meter.h | 144 void lv_meter_set_scale_ticks(lv_obj_t * obj, lv_meter_scale_t * scale, uint16_t cnt, uint16_t widt…
|
D | lv_meter.c | 87 void lv_meter_set_scale_ticks(lv_obj_t * obj, lv_meter_scale_t * scale, uint16_t cnt, uint16_t widt… in lv_meter_set_scale_ticks() argument 90 scale->tick_cnt = cnt; in lv_meter_set_scale_ticks()
|
/lvgl-3.7.0/docs/overview/ |
D | animation.md | 64 lv_anim_set_repeat_count(&a, cnt);
|
/lvgl-3.7.0/src/draw/ |
D | lv_draw_mask.c | 249 uint8_t cnt = 0; in lv_draw_mask_get_cnt() local 252 if(LV_GC_ROOT(_lv_draw_mask_list[i]).param) cnt++; in lv_draw_mask_get_cnt() 254 return cnt; in lv_draw_mask_get_cnt()
|