/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_api_example.c | 130 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()
|
D | lv_demo_high_res.h | 34 lv_subject_t hour; member
|
D | lv_demo_high_res_util.c | 298 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()
|
D | lv_demo_high_res_home.c | 304 lv_snprintf(buf, sizeof(buf), "%02"LV_PRId32, lv_subject_get_int(&c->api.subjects.hour)); in time_observer_cb()
|
D | lv_demo_high_res_top_margin.c | 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/widgets/scale/ |
D | lv_example_scale_6.c | 14 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/ |
D | lv_demo_smartwatch.h | 122 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 …
|
D | lv_demo_smartwatch_weather.h | 80 void lv_demo_smartwatch_weather_add_hourly(int hour, int id, int temp, int humidity, int wind, int …
|
D | lv_demo_smartwatch_home.h | 95 void lv_demo_smartwatch_home_set_time(int minute, int hour, const char * am_pm, int date, const cha…
|
D | lv_demo_smartwatch_weather.c | 104 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()
|
D | lv_demo_smartwatch_home.c | 174 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/ |
D | lv_example_observer_3.c | 123 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/ |
D | lodepng.h | 476 unsigned hour; /*0-23*/ member
|
D | lodepng.c | 5376 info->time.hour = data[4]; in readChunk_tIME() 6204 chunk[12] = (unsigned char)time->hour; in addChunk_tIME()
|