Home
last modified time | relevance | path

Searched refs:hour (Results 1 – 14 of 14) sorted by relevance

/lvgl-latest/demos/high_res/
Dlv_demo_high_res_api_example.c130 int32_t hour = lv_subject_get_int(&api->subjects.hour); in clock_timer_cb() local
131 hour += 1; in clock_timer_cb()
132 if(hour > 12) { in clock_timer_cb()
133 hour = 1; in clock_timer_cb()
135 lv_subject_set_int(&api->subjects.hour, hour); in clock_timer_cb()
Dlv_demo_high_res.h34 lv_subject_t hour; member
Dlv_demo_high_res_util.c298 lv_subject_init_int(&c->api.subjects.hour, 9); in lv_demo_high_res_base_obj_create()
322 c->subject_groups.time.members[0] = &c->api.subjects.hour; in lv_demo_high_res_base_obj_create()
Dlv_demo_high_res_home.c304 lv_snprintf(buf, sizeof(buf), "%02"LV_PRId32, lv_subject_get_int(&c->api.subjects.hour)); in time_observer_cb()
Dlv_demo_high_res_top_margin.c392 lv_label_set_text_fmt(time_label, "%02d:%02d", lv_subject_get_int(&c->api.subjects.hour), in time_observer_cb()
/lvgl-latest/examples/widgets/scale/
Dlv_example_scale_6.c14 static int32_t hour; variable
24 hour++; in timer_cb()
25 if(hour > 11) { in timer_cb()
26 hour = 0; in timer_cb()
48 lv_scale_set_line_needle_value(scale, hour_hand, 40, hour * 5 + (minute / 12)); in timer_cb()
120 hour = 11; in lv_example_scale_6()
/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…
233 void lv_demo_smartwatch_weather_add_hourly(int hour, int id, int temp, int humidity, int wind, int …
Dlv_demo_smartwatch_weather.h80 void lv_demo_smartwatch_weather_add_hourly(int hour, int id, int temp, int humidity, int wind, int …
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()
181 void lv_demo_smartwatch_weather_add_hourly(int hour, int id, int temp, int humidity, int wind, int … in lv_demo_smartwatch_weather_add_hourly() argument
200 lv_label_set_text_fmt(hour_label, info ? "Hour" : "%02d:00", hour); in lv_demo_smartwatch_weather_add_hourly()
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
177 lv_label_set_text_fmt(hour_label, "%02d", hour); in lv_demo_smartwatch_home_set_time()
/lvgl-latest/examples/others/observer/
Dlv_example_observer_3.c123 int32_t hour = lv_subject_get_int(lv_subject_get_group_element(subject, 0)); 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/src/libs/lodepng/
Dlodepng.h476 unsigned hour; /*0-23*/ member
Dlodepng.c5376 info->time.hour = data[4]; in readChunk_tIME()
6204 chunk[12] = (unsigned char)time->hour; in addChunk_tIME()