Home
last modified time | relevance | path

Searched refs:lv_label_set_text_fmt (Results 1 – 25 of 53) sorted by relevance

123

/lvgl-latest/examples/others/gridnav/
Dlv_example_gridnav_1.c24 lv_label_set_text_fmt(label, "No rollover"); in lv_example_gridnav_1()
34 lv_label_set_text_fmt(label, "%"LV_PRIu32"", i); in lv_example_gridnav_1()
48 lv_label_set_text_fmt(label, "Rollover\nUse tab to focus the other container"); in lv_example_gridnav_1()
/lvgl-latest/examples/layouts/flex/
Dlv_example_flex_1.c31 lv_label_set_text_fmt(label, "Item: %"LV_PRIu32"", i); in lv_example_flex_1()
39 lv_label_set_text_fmt(label, "Item: %"LV_PRIu32, i); in lv_example_flex_1()
Dlv_example_flex_4.c21 lv_label_set_text_fmt(label, "Item: %"LV_PRIu32, i); in lv_example_flex_4()
Dlv_example_flex_6.c22 lv_label_set_text_fmt(label, "%"LV_PRIu32, i); in lv_example_flex_6()
Dlv_example_flex_2.c27 lv_label_set_text_fmt(label, "%"LV_PRIu32, i); in lv_example_flex_2()
Dlv_example_flex_5.c30 lv_label_set_text_fmt(label, "%"LV_PRIu32, i); in lv_example_flex_5()
/lvgl-latest/examples/porting/osal/
Dlv_example_osal.c81 lv_label_set_text_fmt(counter_label, "Pressed %" LV_PRIu32 " times", press_count); in increment_thread_entry()
91 lv_label_set_text_fmt(counter_label, "Pressed %" LV_PRIu32 " times", press_count); in increment_thread_entry()
/lvgl-latest/examples/scroll/
Dlv_example_scroll_2.c35 lv_label_set_text_fmt(label, "Panel %"LV_PRIu32"\nno snap", i); in lv_example_scroll_2()
39 lv_label_set_text_fmt(label, "Panel %"LV_PRIu32, i); in lv_example_scroll_2()
Dlv_example_scroll_7.c15 lv_label_set_text_fmt(label, "%"PRId32, num); in load_item()
68 lv_label_set_text_fmt(high_label, "current largest\nloaded value:\n%"PRId32, top_num); in update_scroll()
71 lv_label_set_text_fmt(low_label, "current smallest\nloaded value:\n%"PRId32, bottom_num); in update_scroll()
/lvgl-latest/examples/widgets/menu/
Dlv_example_menu_4.c21 lv_label_set_text_fmt(label, "Hello, I am hiding inside %"LV_PRIu32"", btn_cnt); in float_button_event_cb()
25 lv_label_set_text_fmt(label, "Item %"LV_PRIu32"", btn_cnt); in float_button_event_cb()
/lvgl-latest/demos/smartwatch/
Dlv_demo_smartwatch_weather.c107 lv_label_set_text_fmt(weather_update_time, "Updated at\n%02d:%02d", hour, minute); in lv_demo_smartwatch_set_weather()
108 lv_label_set_text_fmt(weather_current_temp, "%d°C", temp); in lv_demo_smartwatch_set_weather()
175 lv_label_set_text_fmt(label, "%d°C", temp); in lv_demo_smartwatch_weather_add_daily()
200 lv_label_set_text_fmt(hour_label, info ? "Hour" : "%02d:00", hour); in lv_demo_smartwatch_weather_add_hourly()
221 lv_label_set_text_fmt(temp_label, info ? "Temperature" : "%d°C", temp); in lv_demo_smartwatch_weather_add_hourly()
228 lv_label_set_text_fmt(humidity_label, info ? "Humidity" : "%d%%", humidity); in lv_demo_smartwatch_weather_add_hourly()
235 lv_label_set_text_fmt(wind_label, info ? "Wind Speed" : "%d km/h", wind); in lv_demo_smartwatch_weather_add_hourly()
242 lv_label_set_text_fmt(uv_label, info ? "UV" : "%d", uv); in lv_demo_smartwatch_weather_add_hourly()
/lvgl-latest/examples/others/fragment/
Dlv_example_fragment_2.c86 lv_label_set_text_fmt(depth, "Depth: %d", fragment->depth); in sample_fragment_create_obj()
89 lv_label_set_text_fmt(label, "The button has been pressed %d times", fragment->counter); in sample_fragment_create_obj()
123lv_label_set_text_fmt(fragment->label, "The button has been pressed %d times", fragment->counter); in sample_fragment_inc_click()
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_top_margin.c209 lv_label_set_text_fmt(label, "%s: %s", ssid_ip, ssid_ip_value); in wifi_ssid_ip_observer_cb()
212 lv_label_set_text_fmt(label, "%s: (offline)", ssid_ip); in wifi_ssid_ip_observer_cb()
302lv_label_set_text_fmt(lab1, "%"PRIu32" FPS, %"PRIu32"%% CPU", perf->calculated.fps, perf->calculat… in perfmon_data_cb()
303lv_label_set_text_fmt(lab2, "Refresh: %"PRIu32"ms", perf->calculated.render_avg_time + perf->calcu… in perfmon_data_cb()
304lv_label_set_text_fmt(lab3, "Render / Flush: %"PRIu32"ms / %"PRIu32"ms", perf->calculated.render_a… in perfmon_data_cb()
380 lv_label_set_text_fmt(date_label, "%s, %"PRId32" %s", in date_observer_cb()
392 lv_label_set_text_fmt(time_label, "%02d:%02d", lv_subject_get_int(&c->api.subjects.hour), in time_observer_cb()
/lvgl-latest/examples/event/
Dlv_example_event_click.c11 lv_label_set_text_fmt(label, "%"LV_PRIu32, cnt); in event_cb()
Dlv_example_event_bubble.c37 lv_label_set_text_fmt(label, "%"LV_PRIu32, i); in lv_example_event_bubble()
Dlv_example_event_streak.c11 lv_label_set_text_fmt(info_label, "Short click streak: %u", cnt); in short_click_event_cb()
/lvgl-latest/examples/get_started/
Dlv_example_get_started_4.c11 lv_label_set_text_fmt(label, "%"LV_PRId32, lv_slider_get_value(slider)); in slider_event_cb()
Dlv_example_get_started_2.c14 lv_label_set_text_fmt(label, "Button: %d", cnt); in btn_event_cb()
/lvgl-latest/src/widgets/calendar/
Dlv_calendar_header_arrow.c142 lv_label_set_text_fmt(label, "%d %s", newd.year, month_names_def[newd.month - 1]); in month_event_cb()
155 lv_label_set_text_fmt(label, "%d %s", date->year, month_names_def[date->month - 1]); in value_changed_event_cb()
/lvgl-latest/examples/widgets/arc/
Dlv_example_arc_1.c29 lv_label_set_text_fmt(label, "%" LV_PRId32 "%%", lv_arc_get_value(arc)); in value_changed_event_cb()
/lvgl-latest/examples/layouts/grid/
Dlv_example_grid_1.c35 lv_label_set_text_fmt(label, "c%d, r%d", col, row); in lv_example_grid_1()
Dlv_example_grid_3.c39 lv_label_set_text_fmt(label, "%d,%d", col, row); in lv_example_grid_3()
Dlv_example_grid_4.c35 lv_label_set_text_fmt(label, "%d,%d", col, row); in lv_example_grid_4()
Dlv_example_grid_6.c34 lv_label_set_text_fmt(label, "%d,%d", col, row); in lv_example_grid_6()
/lvgl-latest/examples/others/observer/
Dlv_example_observer_3.c131 lv_label_set_text_fmt(label, "%" LV_PRId32 ":%02" LV_PRId32, hour, minute); in time_observer_cb()
134lv_label_set_text_fmt(label, "%"LV_PRId32":%02"LV_PRId32" %s", hour + 1, minute, am_pm == TIME_AM … in time_observer_cb()

123