Commit graph

348 commits

Author SHA1 Message Date
Andries Smit
c5c4064c8b Wear: fix tile condig update 2022-02-12 09:30:51 +01:00
Andries Smit
ad43f57f7f Wear: add tile tt and action with config 2022-02-12 09:30:50 +01:00
Andries Smit
aab46e0f14 Wear: add action tile 2022-02-12 09:30:50 +01:00
Milos Kozak
52fda97582 Rename duplicated names 2022-02-09 11:13:38 +01:00
Andries Smit
8c347c4caf Wear: fix complication tab dagger 2022-01-18 22:25:56 +01:00
Andries Smit
90e9350f6b Wear: make rotarty input plus minus dynamic 2022-01-12 21:06:39 +01:00
Milos Kozak
9027c53c85
Merge pull request #1147 from Andries-Smit/wear-test-always-on
Wear always on simple UI
2022-01-12 10:28:58 +01:00
Andries Smit
6fd1594011 Wear: remove debug log 2022-01-10 09:39:01 +01:00
Andries Smit
5760bbe708 Wear: simple ui use dimens 2022-01-08 17:34:37 +01:00
Andries Smit
c01ff80bf6 Wear: use paint for simple UI drawing 2022-01-07 19:44:27 +01:00
Milos Kozak
fd814baa60 Wear: fix Complication injection 2022-01-07 17:57:04 +01:00
Andries Smit
b8c2693d67 Wear disable logs 2022-01-06 21:11:42 +01:00
Andries Smit
6e5d14d470 Wear: re-enable wakelock 2022-01-06 20:42:35 +01:00
Andries Smit
4dd97e75ea Wear: test optimisations always on 2022-01-06 20:42:35 +01:00
Andries Smit
06c9920177 wear: support simplify ui for ambient mode 2022-01-06 20:42:35 +01:00
Milos Kozak
c075db6f4b
Merge pull request #1125 from Andries-Smit/wear-digital-12-clock
wear: add watchface digtal support 12h clock
2022-01-05 14:35:47 +01:00
Andries Smit
ff3036a91b Wear: fix import error api 25 2022-01-04 15:56:01 +01:00
Andries Smit
8ed20eaece wear: add watchface digtal support 12h clock 2022-01-04 11:51:23 +01:00
Andries Smit
8f5d6670e4 Wear: fix charging UI registration 2022-01-01 14:34:35 +01:00
Milos Kozak
a3b8c12c27
Merge pull request #1082 from Andries-Smit/wear-charge-mode
Wear: add feature: simplified watch face during charging
2021-12-30 18:59:54 +01:00
Andries Smit
870ae58d57 Wear: clean import 2021-12-29 20:34:16 +01:00
Andries Smit
0d6a8aedf7 Wear: move simple ui to layout 2021-12-29 20:21:08 +01:00
Benjamin Ortega
aaca8f18f8 make confirmation text views scrollable using rotary control 2021-12-23 20:31:19 -06:00
Benjamin Ortega
7b1e500659 use dynamic titles for activities when they are supplied 2021-12-23 20:30:21 -06:00
Andries Smit
51a88cff6c Wear: add battery receiver home2 2021-12-21 21:38:23 +01:00
Andries Smit
30d500fa75 Wear: fix direction arrow showing as emoticon 2021-12-16 22:27:37 +01:00
Andries Smit
3a9352b825 Wear: watchface home2 add simplyfied charging ui 2021-12-16 22:25:07 +01:00
Benjamin Ortega
7ef8c35c33 Fix dialogs and remove extra CONFIRM. Fixes #1078 2021-12-16 00:48:32 -06:00
Milos Kozak
fca58029a4 Wear: tests & cleanup 2021-12-11 00:27:17 +01:00
Milos Kozak
ff91ebb994 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-12-10 15:27:13 +01:00
Milos Kozak
bca7e433d4 Aaps -> kt 2021-12-10 15:27:09 +01:00
Milos Kozak
3ee6daf832
Merge branch 'dev' into wear-title 2021-12-10 15:20:43 +01:00
Milos Kozak
17b4d6e7ed Wear: less static more injection 2021-12-10 15:19:19 +01:00
Milos Kozak
0a25fa3c9a share code between aap and wear 2021-12-10 08:58:23 +01:00
Milos Kozak
2275a44959
Merge branch 'dev' into wear-title 2021-12-10 08:45:47 +01:00
Milos Kozak
d08b018edf Wear: add dependency injection 2021-12-09 22:42:43 +01:00
Andries Smit
0969d8339f Wear curved titles 2021-12-08 21:53:15 +01:00
Andries Smit
6083bb4b89 Wear improve action menu 2021-12-06 20:45:29 +01:00
Andries Smit
bc05eaa309 Wear add title to grid layout 2021-12-01 21:13:10 +01:00
Andries Smit
d7caa39ff3 Wear improve menu navigation 2021-12-01 15:28:25 +01:00
Andries Smit
e8e0aa75e2 Wear improve menu icons 2021-12-01 14:20:10 +01:00
Andries Smit
8ae63eff29 Fix wear page indicator 2021-12-01 14:16:00 +01:00
Andries Smit
5ae7346123 Wear add menu icons and animation 2021-11-30 21:08:57 +01:00
Andries Smit
dc7a27b018 Wear set focus for rotary input 2021-11-30 21:02:10 +01:00
Milos Kozak
6095a29595 unify Handlers 2021-11-25 20:19:27 +01:00
Milos Kozak
74dfe80433 immutable flag for PendingIntent 2021-06-02 16:56:13 +02:00
Milos Kozak
b9d03e4d00 make classes static where possible 2021-02-24 13:50:35 +01:00
Milos Kozak
fdb6bcc178 @NonNull lints 2021-02-24 13:46:38 +01:00
Milos Kozak
bd0758b846 apply instead of commit 2021-02-24 13:38:06 +01:00
AdrianLxM
2f7374aca8
Merge pull request #322 from nightscout/dependabot/gradle/dev/wearableVersion-2.8.1
Bump wearableVersion from 2.4.0 to 2.8.1
2021-02-14 19:13:01 +01:00
AdrianLxM
fc2389e8c6
fix for wearableVersion update 2021-02-14 18:20:31 +01:00
Milos Kozak
ed9c8a1d05 LoopPlugin -> kt 2021-02-14 14:14:10 +01:00
AdrianLxM
98334eb541 fix re-sync lookup 2021-01-22 22:56:20 +01:00
AdrianLxM
0e48db2096 second channel for bolus progress and wear cleanups 2021-01-22 15:59:13 +01:00
AdrianLxM
cd4bed2d1a second channel for bolus progress and wear cleanups 2021-01-22 15:59:01 +01:00
Philoul
4d4e0ffab3 Add String for Bolus Progress / Cancel Button for translation 2021-01-15 00:27:05 +01:00
AdrianLxM
30689c38aa vibrate less on bolus 2021-01-13 00:23:35 +01:00
AdrianLxM
f818ae377f wear: correct upper cutoff 2021-01-09 07:00:32 +01:00
AdrianLxM
b1ac181791 wear: use correct notification channel 2021-01-09 04:17:28 +01:00
AdrianLxM
60c7a6f2e6 wear: forecast below 400 not 300 2021-01-09 03:00:45 +01:00
AdrianLxM
c7ed508392 wear: show bolusprogress again and make it cancellable 2021-01-09 00:39:33 +01:00
AdrianLxM
819a3b7d43 downgrade gradle and fix mixed localisation comparison 2021-01-08 01:18:44 +01:00
Milos Kozak
5f3aaf6b54 code cleanup 2020-12-06 15:09:32 +01:00
rICTx-T1D
d0945be521 Notice in global settings to find more settings in Watchface configuration... 2020-11-13 21:46:30 +01:00
rICTx-T1D
34ec0e92db Make watchface configuration available for each watchface... 2020-11-13 20:05:33 +01:00
rICTx-T1D
bb6c7bc1a9 Refactoring again - DigitalStyle01 -> DigitalStyle, Use @string as label in manifest 2020-10-31 21:00:46 +01:00
mh
4eda29577c Move vibrateHourly to BaseWatchFace 2020-10-26 21:31:26 +01:00
rICTx-T1D
d220a903b0 Refactoring rICTx_WF01 -> DigitalStyle01 2020-10-26 21:12:33 +01:00
rICTx-T1D
b13ab7315b Remove"created by" comment 2020-10-26 20:33:25 +01:00
rICTx-T1D
6c23ba7547 more styles and options added and amount on picture-resource-files reduced 2020-10-09 14:50:41 +02:00
rICTx-T1D
6add71230f Show week number, when turn on in watchface setting menu. 2020-10-08 22:26:13 +02:00
rICTx-T1D
6bd7bf65a8 optimize font-size of time, when date is off 2020-10-08 21:33:19 +02:00
rICTx-T1D
cd91d6a3a5 Reduce resource files as background images for shapes and use color tint method instead. Now a combination of 73 colors and 4 styles are possible. 2020-10-08 19:48:50 +02:00
rICTx-T1D
b74118bbca edit vibration pattern for vibrate hourly (if it is enabled) 2020-09-30 16:21:33 +02:00
rICTx-T1D
001591a1d6 Add function to vibrate each hour (when activated in watchface configuration) 2020-09-30 15:20:11 +02:00
rICTx-T1D
4b9351964f New styled watchface with multiple colored styles for round and rectangular WearOS watches. Settings based on watchface can make by configuration activity called by crog on watchface selektor pane.
(Import patch from old repro to new repro.)
2020-09-29 20:58:10 +02:00
Milos Kozak
f2d89ac428 lint recommendations 2020-08-24 21:54:53 +02:00
Philoul
2606e51eb1 Second Fix, send all raw values sent in mg/dl (BG values, lowline and highline)
It's hard coded in mg/dl in Wear
Minor improvement in Wear code (just increase a little bit highest BG value in graphs, 400 mg/dl is sometimes too low => updated to 450 mg/dl)
2020-06-25 17:02:18 +02:00
Milos Kozak
5c8c263c17
Textvalidator (#2343), Preference to jetpack 2020-01-08 20:20:20 +01:00
Milos Kozak
87f8f419a7
Merge pull request #2273 from Philoul/Steampunk_Auto_granularity
Steampunk watchface, add "Auto Granularity" option
2019-12-28 22:09:46 +01:00
Philoul
94cd869ec9 Missing translated string for IOB 2019-12-12 12:14:26 +01:00
Philoul
484e65530a Steampunk watchface, add "Auto Granularity" option 2019-12-12 11:10:41 +01:00
Milos Kozak
ca2259e093
Merge pull request #2269 from Philoul/Steampunk_Bug
Steampunk bug
2019-12-12 08:46:39 +01:00
Philoul
b9a9fe3a0a No modif Code tabulation 2019-12-12 00:28:08 +01:00
Philoul
5b36b312ce Correction bug Steampunk (detailed delta with , and not .) 2019-12-11 23:57:42 +01:00
Philoul
401b4c170f replacing getRessources.getString with aaps.gs in java files 2019-12-07 23:14:36 +01:00
Philoul
d50f01af3d Missing strings in FillMenuActivity 2019-12-06 09:16:20 +01:00
Philoul
bfe7a34735 Second commit with mainly java files 2019-12-05 21:00:39 +01:00
Philoul
c716ac006b Merge remote-tracking branch 'origin/dev' into watch_strings
# Conflicts:
#	wear/src/main/res/values/strings.xml
2019-12-05 18:26:57 +01:00
Philoul
c791f67892 First commit (Strings created, title in preferences.xml and BolusActivity.Java updated) 2019-12-05 18:21:48 +01:00
Dominik Dzienia
85ee3519fd (#2240) Fixed open loop notifications on wear os - support for Android O channel config 2019-12-04 09:34:59 +01:00
dlvoy
b40690d0c2 Merge branch 'dev' into feature/1806_remove_whitebar_wearos
Resolved Conflicts in:  [...]/watchfaces/Home.java  [...]/watchfaces/Home2.java [...]/watchfaces/LargeHome.java
2019-11-28 06:37:32 +01:00
dlvoy
f7b556350c [#2210][#728] Post-review refactoring (thanks @jotomo !) 2019-11-27 20:32:42 +01:00
dlvoy
1042e8aab8 [#728] Post review / test related minor improvements:
- improving mockability when Android classes are used
- POJO Pair instead Java
- old BGWatchData cleanup fix
- Persistence getDataMap fix
- minor fixes and improvements to display formating
2019-11-26 09:30:45 +01:00
Dominik Dzienia
11665a1d89 [#728] Complication support - Watch OS selection of Short, Long and Image complications with current AAPS status (SGV, trend, delta, BR, IoB, CoB, phone/uploader battery) 2019-11-15 11:23:50 +01:00
Dominik Dzienia
a7589e4758 [#1806] For WearOS app, added option to make white status bar match background of whole watchface and blend in, switchable on Settings -> Matching divider 2019-11-05 17:08:27 +01:00
Milos Kozak
84ecb92771 lint recommendations 2019-07-27 19:56:07 +02:00
Milos Kozak
9a76f3386d androidx transition 2019-05-16 13:57:37 +02:00
Milos Kozak
eee3bc4838 LINT: WakeLocks 2019-04-08 16:48:19 +02:00
Andy Rozman
6e500c1e75 On both sides changed BIND_LISTENER in manifest and added a lot of logging, some might be commented out.
On AAPS side:
- added some capabilites
- fully refactored SendToDataLayerThread (copied from xdrip)
- updated code
- all tasks are now executed on Executor (and not by itself) - main problem that some data was not sent

On Wear side:
- added capabilities and refactored code in ListenerService (by looking at xdrip code)
2019-03-06 23:38:18 +00:00
Andy Rozman
056ad650cd - changed wear versions
- added some code to listener
- added some log entries
2019-03-05 01:05:16 +00:00
Milos Kozak
b6809c9d45 fix compiler warning 2018-10-22 21:27:15 +02:00
AdrianLxM
8716f57978
timeshift can be negative on watch 2018-08-02 21:40:44 +02:00
Sebastian Lenz
971e258265 cancel TBR request notification on wearable if accepted or no longer valid 2018-07-25 23:48:54 +02:00
Sebastian Lenz
8c49119b15 processing the acceptance of the TBR request from the wearable 2018-07-25 23:47:59 +02:00
Sebastian Lenz
e2ef8f2d74 send notification about TBR request to the wearable 2018-07-25 23:46:06 +02:00
AdrianLxM
d8603f07be remove debug clause and smaller fonts 2018-06-27 20:22:19 +02:00
AdrianLxM
15d373f273 vibrate again 2018-06-27 19:03:29 +02:00
AdrianLxM
f160a49ef6 only start one confirm activity 2018-06-27 18:48:09 +02:00
AdrianLxM
815c3c17a9 cleanup. 2018-06-27 18:06:27 +02:00
AdrianLxM
a283586a3c autodismissing confirm activity. 2018-06-27 18:06:16 +02:00
AdrianLxM
0fe26fda27 confirm activity working 2018-06-27 18:06:07 +02:00
AdrianLxM
aad2b94c8e first confirm activity 2018-06-27 18:05:55 +02:00
AdrianLxM
b05b300faf ecarb duration format 2018-05-03 22:08:35 +02:00
AdrianLxM
76277d11ad ecarb hang in activity 2018-05-03 22:08:11 +02:00
AdrianLxM
71db7b60c9 ecarb first activity 2018-05-03 22:08:02 +02:00
AdrianLxM
917fcb5953 wearwizard reorder menu 2018-05-03 17:49:27 +02:00
AdrianLxM
c394c045c9 wearwizard reduced watch settings 2018-05-03 17:49:09 +02:00
AdrianLxM
bdfce784c0 wearwizard ensure watch apk is up to date 2018-05-03 17:49:05 +02:00
Johannes Mockenhaupt
c51635dba4
Watch: colored preds. 2018-05-02 16:01:40 +02:00
Milos Kozak
132400bb9e
Merge pull request #859 from MilosKozak/watchsmb
Watchsmb
2018-04-09 15:19:24 +02:00
Milos Kozak
bcb733e42c Plugins refactor 2018-03-31 00:36:03 +02:00
AdrianLxM
1738aea4de
Don't overlap time ticks with current time 2018-03-16 23:57:58 +01:00
Andrew Warrington
d8d87e1ffd BaseWatchFace.java: Update chart with bolus and prediction data. (Affects AAPSv2 and Steampunk watch faces.) 2018-03-11 21:18:03 +01:00
Johannes Mockenhaupt
7bd85c5972 Use meal color parameter. 2018-03-08 14:26:50 +01:00
AdrianLxM
0818f3b419 Merge remote-tracking branch 'swissalpineremote/patch-4' into watchsmb2 2018-03-04 20:18:43 +01:00
AdrianLxM
d7deaa15eb wear COB string better default 2018-03-04 20:14:58 +01:00
AdrianLxM
62295d001f wear COB in status 2018-03-04 20:13:16 +01:00
AdrianLxM
2f40feef65 wear empty label needed 2018-03-04 15:41:32 +01:00
AdrianLxM
d500b15947 wear carbs always colour 2018-03-04 15:40:36 +01:00
AdrianLxM
e2b829a60a wear first carbs 2018-03-04 15:37:55 +01:00
AdrianLxM
ef75e2759c wear carbonly is valid 2018-03-04 15:09:59 +01:00
AdrianLxM
b98dc5c72f wear timeframe bolus 2018-03-04 14:47:30 +01:00
AdrianLxM
a4eb82c524 wear bgGraphbuilder isValid bolus 2018-03-04 14:06:19 +01:00
AdrianLxM
acf7e36d61 wear bgGraphbuilder switch to non-deprecated methods 2018-03-04 13:56:17 +01:00
AdrianLxM
5a80215578 wear timeticks 2018-03-04 13:35:17 +01:00
AdrianLxM
a503bfaeef wear endtime in lowres 2018-03-04 12:50:06 +01:00
AdrianLxM
436e03aa03 wear only print valid boluses 2018-02-24 18:10:59 +01:00
swissalpine
20a005c899
Update NOChart.java 2018-02-21 16:55:25 +01:00
swissalpine
90ce3a524f
Update BIGChart.java 2018-02-21 16:53:31 +01:00
AdrianLxM
28c2779408 wear hour tics for predictions 2018-02-21 15:11:38 +01:00
AdrianLxM
8db4a05e1c wear high/low line fit to predictions 2018-02-21 14:32:48 +01:00
AdrianLxM
c6a3efb60e wear adaptive prediction timeframe 2018-02-21 14:23:52 +01:00
AdrianLxM
8ee7309d86 smb and bolus on wear 2018-02-21 01:56:06 +01:00
AdrianLxM
f6253284de show boluses on bigchart 2018-02-20 15:39:02 +01:00
AdrianLxM
126322053e pass bolus data to wear graph builder 2018-02-20 14:14:27 +01:00
AdrianLxM
c10468e90f small cleanup 2018-02-20 13:58:25 +01:00
AdrianLxM
6a1b777bc3 include bigchart watchface for very small watches 2018-02-20 13:51:00 +01:00
Andrew Warrington
0f9273093a BaseWatchFace: Resolve issue causing Bolus and Wizard activities to fail to complete. 2018-01-29 23:34:03 +01:00
Andrew Warrington
44e6c874c0 BaseWatchFace: Resolve issue causing Bolus and Wizard activities to fail to complete. 2018-01-29 23:31:54 +01:00