Home
last modified time | relevance | path

Searched refs:system_time (Results 1 – 3 of 3) sorted by relevance

/GUIX-v6.2.1/samples/demo_guix_smart_watch/
Dpage_2_home_screen.c4 extern TIME system_time;
66 if (system_time.second & 0x1) in screen_time_update()
77 if (system_time.hour < 12) in screen_time_update()
86 if (screen_time_record.hour != system_time.hour) in screen_time_update()
88 gx_numeric_prompt_value_set(&home_screen.home_screen_time_hour, system_time.hour); in screen_time_update()
91 if (screen_time_record.minute != system_time.minute) in screen_time_update()
93 gx_numeric_prompt_value_set(&home_screen.home_screen_time_minute, system_time.minute); in screen_time_update()
101 if (screen_time_record.day_of_week != system_time.day_of_week) in screen_time_update()
103 …gx_prompt_text_id_set(&home_screen.home_screen_day_of_week, day_name_ids[system_time.day_of_week]); in screen_time_update()
106 …if ((screen_time_record.month != system_time.month) || (screen_time_record.day != system_time.day)) in screen_time_update()
[all …]
Ddemo_guix_smart_watch.c22 TIME system_time = {12, 9, 4, 15, 35, 0}; variable
348 system_time.month = local_time.wMonth; in system_clock_update()
349 system_time.day = local_time.wDay; in system_clock_update()
350 system_time.day_of_week = local_time.wDayOfWeek; in system_clock_update()
351 system_time.hour = local_time.wHour; in system_clock_update()
352 system_time.minute = local_time.wMinute; in system_clock_update()
353 system_time.second = local_time.wSecond; in system_clock_update()
355 system_time.second++; in system_clock_update()
356 if (system_time.second >= 60) in system_clock_update()
358 system_time.second = 0; in system_clock_update()
[all …]
Dpage_2_clock_screen_template.c4 extern TIME system_time;
19 minute_angle = system_time.minute * 6; in clock_gauge_update()
27 hour_angle = system_time.hour * 30 + system_time.minute / 2; in clock_gauge_update()
35 gx_circular_gauge_angle_set(&template->clock_screen_template_gauge, system_time.second * 6); in clock_gauge_update()