Home
last modified time | relevance | path

Searched refs:minute (Results 1 – 13 of 13) sorted by relevance

/lvgl-latest/examples/widgets/scale/
Dlv_example_scale_6.c15 static int32_t minute; variable
21 minute++; in timer_cb()
22 if(minute > 59) { in timer_cb()
23 minute = 0; in timer_cb()
37 lv_scale_set_line_needle_value(scale, minute_hand, 60, minute); in timer_cb()
48 lv_scale_set_line_needle_value(scale, hour_hand, 40, hour * 5 + (minute / 12)); in timer_cb()
121 minute = 5; in lv_example_scale_6()
/lvgl-latest/examples/others/observer/
Dlv_example_observer_3.c124 int32_t minute = lv_subject_get_int(lv_subject_get_group_element(subject, 1)); in time_observer_cb() local
131 lv_label_set_text_fmt(label, "%" LV_PRId32 ":%02" LV_PRId32, hour, minute); in time_observer_cb()
134 …lv_label_set_text_fmt(label, "%"LV_PRId32":%02"LV_PRId32" %s", hour + 1, minute, am_pm == TIME_AM … in time_observer_cb()
/lvgl-latest/demos/smartwatch/
Dlv_demo_smartwatch.h122 void lv_demo_smartwatch_home_set_time(int minute, int hour, const char * am_pm, int date, const cha…
203 void lv_demo_smartwatch_set_weather(int temp, uint8_t icon, bool day, int hour, int minute, const c…
Dlv_demo_smartwatch_home.h95 void lv_demo_smartwatch_home_set_time(int minute, int hour, const char * am_pm, int date, const cha…
Dlv_demo_smartwatch_weather.c104 void lv_demo_smartwatch_set_weather(int temp, uint8_t icon, bool day, int hour, int minute, const c… in lv_demo_smartwatch_set_weather() argument
107 lv_label_set_text_fmt(weather_update_time, "Updated at\n%02d:%02d", hour, minute); in lv_demo_smartwatch_set_weather()
Dlv_demo_smartwatch_home.c174 void lv_demo_smartwatch_home_set_time(int minute, int hour, const char * am_pm, int date, const cha… in lv_demo_smartwatch_home_set_time() argument
179 lv_label_set_text_fmt(minute_label, "%02d", minute); in lv_demo_smartwatch_home_set_time()
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_api_example.c126 int32_t minutes = lv_subject_get_int(&api->subjects.minute); in clock_timer_cb()
137 lv_subject_set_int(&api->subjects.minute, minutes); in clock_timer_cb()
Dlv_demo_high_res.h36 lv_subject_t minute; member
Dlv_demo_high_res_home.c103 lv_span_t * minute = lv_spangroup_new_span(time); in lv_demo_high_res_home() local
104 lv_subject_add_observer_obj(&c->th, theme_observer_accent_span_cb, time, minute); in lv_demo_high_res_home()
307 lv_snprintf(buf, sizeof(buf), ":%02"LV_PRId32, lv_subject_get_int(&c->api.subjects.minute)); in time_observer_cb()
Dlv_demo_high_res_util.c299 lv_subject_init_int(&c->api.subjects.minute, 36); in lv_demo_high_res_base_obj_create()
323 c->subject_groups.time.members[1] = &c->api.subjects.minute; in lv_demo_high_res_base_obj_create()
Dlv_demo_high_res_top_margin.c393 lv_subject_get_int(&c->api.subjects.minute)); in time_observer_cb()
/lvgl-latest/src/libs/lodepng/
Dlodepng.h477 unsigned minute; /*0-59*/ member
Dlodepng.c5377 info->time.minute = data[5]; in readChunk_tIME()
6205 chunk[13] = (unsigned char)time->minute; in addChunk_tIME()