From f77b79629d741edcccdbf8017b86ab78c1999a6a Mon Sep 17 00:00:00 2001 From: Jonathan Malessa <13995942+Xyolyp@users.noreply.github.com> Date: Mon, 31 Aug 2026 22:51:07 +0200 Subject: [PATCH 1/3] Make blue-light behavior user-configurable (off / hourly / always) Co-Authored-By: Claude Fable 5 --- README.md | 4 ++-- watchface/src/main/res/raw/watchface.xml | 17 ++++++++++++++--- watchface/src/main/res/values-de/strings.xml | 7 +++++++ watchface/src/main/res/values/strings.xml | 4 ++++ watchface/src/main/res/xml/watch_face_info.xml | 2 +- 5 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 watchface/src/main/res/values-de/strings.xml diff --git a/README.md b/README.md index ff76568..dae1b8c 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ A Watch Face Format (WFF) v1 watch face featuring a fire-service aerial ladder t - Fire engine seen from above = hour hand - Turntable = center - Extended aerial ladder + rescue basket = minute hand -- At the top of the hour (`MINUTE == 0`) the two blue emergency lights flash alternately for 60 seconds +- The two blue emergency lights flash alternately; when they do is configurable in the watch face editor on the watch (long-press the watch face → edit): "Off", "On the hour" (default, active during minute 00) or "Always on" - The blue lights are disabled in ambient / always-on display mode - The subtle dial reacts slightly to the watch's tilt; the actual hands stay geometrically fixed to the center so the time remains accurate @@ -61,5 +61,5 @@ Updates install the same way as a first install; since all releases are signed w ## Notes - The project targets Wear OS API 33+, which makes it suitable for the Pixel Watch 1. -- The blue lights flash intentionally instead of staying lit. The logic lives directly in `watchface.xml` and can easily be changed to a steady light. +- The blue lights flash intentionally instead of staying lit. The logic lives directly in `watchface.xml`; the off/hourly/always behavior is a WFF `ListConfiguration` user setting. Note that "Always on" costs noticeably more battery while the display is active. - The geometry is built entirely from WFF vector primitives; the watch face itself has no bitmap dependency. diff --git a/watchface/src/main/res/raw/watchface.xml b/watchface/src/main/res/raw/watchface.xml index 71ca94c..04dece1 100644 --- a/watchface/src/main/res/raw/watchface.xml +++ b/watchface/src/main/res/raw/watchface.xml @@ -3,6 +3,17 @@ + + + + + + + + @@ -77,13 +88,13 @@ - + diff --git a/watchface/src/main/res/values-de/strings.xml b/watchface/src/main/res/values-de/strings.xml new file mode 100644 index 0000000..22afacc --- /dev/null +++ b/watchface/src/main/res/values-de/strings.xml @@ -0,0 +1,7 @@ + + + Blaulicht + Aus + Zur vollen Stunde + Immer an + diff --git a/watchface/src/main/res/values/strings.xml b/watchface/src/main/res/values/strings.xml index 580e775..0398640 100644 --- a/watchface/src/main/res/values/strings.xml +++ b/watchface/src/main/res/values/strings.xml @@ -1,4 +1,8 @@ Drehleiter + Blue lights + Off + On the hour + Always on diff --git a/watchface/src/main/res/xml/watch_face_info.xml b/watchface/src/main/res/xml/watch_face_info.xml index 34ce8bc..8d4e649 100644 --- a/watchface/src/main/res/xml/watch_face_info.xml +++ b/watchface/src/main/res/xml/watch_face_info.xml @@ -1,5 +1,5 @@ - + From 11e6ff8ace077b33eae71b41aeceef8d0406fc01 Mon Sep 17 00:00:00 2001 From: Jonathan Malessa <13995942+Xyolyp@users.noreply.github.com> Date: Mon, 31 Aug 2026 22:53:04 +0200 Subject: [PATCH 2/3] Mark watch face name as non-translatable to satisfy lint Co-Authored-By: Claude Fable 5 --- watchface/src/main/res/values/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watchface/src/main/res/values/strings.xml b/watchface/src/main/res/values/strings.xml index 0398640..09f4653 100644 --- a/watchface/src/main/res/values/strings.xml +++ b/watchface/src/main/res/values/strings.xml @@ -1,6 +1,6 @@ - Drehleiter + Drehleiter Blue lights Off On the hour From 19ae4e638e4d0e0d86b4c96283d8aad9427a3dd6 Mon Sep 17 00:00:00 2001 From: Jonathan Malessa <13995942+Xyolyp@users.noreply.github.com> Date: Mon, 31 Aug 2026 23:06:46 +0200 Subject: [PATCH 3/3] Localize watch face name (Aerial Ladder / Drehleiter) Co-Authored-By: Claude Fable 5 --- README.md | 4 ++-- watchface/src/main/res/values-de/strings.xml | 1 + watchface/src/main/res/values/strings.xml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dae1b8c..4d90bbc 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Preparation on the watch (needed for either route — Wear OS only allows sidelo 1. Enable developer options: Settings → System → About → tap "Build number" seven times. 2. Enable Settings → Developer options → Wireless debugging. The watch must be on the same Wi-Fi network as the phone or computer. -Updates install the same way as a first install; since all releases are signed with the same key, no uninstall is needed. After installing, long-press the current watch face on the watch and select `Drehleiter` from the picker. +Updates install the same way as a first install; since all releases are signed with the same key, no uninstall is needed. After installing, long-press the current watch face on the watch and select `Aerial Ladder` (German: `Drehleiter`) from the picker. ### With an Android phone (no computer, no adb) @@ -56,7 +56,7 @@ Updates install the same way as a first install; since all releases are signed w `gradle wrapper --gradle-version 9.2.1` 4. Connect the Pixel Watch to Android Studio via wireless debugging / ADB. 5. Launch the run configuration for the `watchface` module. -6. Select the `Drehleiter` watch face on the watch. +6. Select the `Aerial Ladder` (German: `Drehleiter`) watch face on the watch. ## Notes diff --git a/watchface/src/main/res/values-de/strings.xml b/watchface/src/main/res/values-de/strings.xml index 22afacc..f90524c 100644 --- a/watchface/src/main/res/values-de/strings.xml +++ b/watchface/src/main/res/values-de/strings.xml @@ -1,5 +1,6 @@ + Drehleiter Blaulicht Aus Zur vollen Stunde diff --git a/watchface/src/main/res/values/strings.xml b/watchface/src/main/res/values/strings.xml index 09f4653..eb11afd 100644 --- a/watchface/src/main/res/values/strings.xml +++ b/watchface/src/main/res/values/strings.xml @@ -1,6 +1,6 @@ - Drehleiter + Aerial Ladder Blue lights Off On the hour