1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-28 16:00:12 +02:00
Commit Graph

188 Commits

Author SHA1 Message Date
vanous
a1a010b4b4 Fix average calculation when scrolling between days 2020-04-11 14:42:37 +02:00
vanous
630c58c8f4 Edit Changelog
Do not count days with 0 steps into average/goal.

Add sleep to the 0 days not calculation.

Do not count days with 0 steps into average/goal.
2020-04-09 18:31:16 +02:00
License Bot
d6fa5d0dd5 Update license headers 2020-01-09 10:44:32 +01:00
FYG_license_bot_ignore_me
8e5c4b4602 Update license headers 2019-11-23 21:53:22 +01:00
vanous
c1d024876d Add forward/backward buttons to charts 2019-11-04 20:42:59 +01:00
vanous
71b393932f Add switch to set old/new style of sleep detection range 2019-10-26 10:39:15 +02:00
vanous
31ce36e335 Add alternative color to heartrate in charts 2019-10-24 22:59:52 +02:00
vanous
5c0c5ed952 Check for non empty list of sleep sessions 2019-10-17 14:35:45 +02:00
vanous
b5e3374a9e Limit sleep charts range 2019-10-17 14:35:45 +02:00
Cre3per
81aa66c2d4 removed todo.
fixed typo.
2019-10-12 12:44:38 +02:00
Q-er
371ac276a5 Allow multiple sleep sessions per day 2019-09-22 21:34:03 +02:00
vanous
b3d1068870 Change color, refresh charts 2019-09-14 00:24:40 +02:00
vanous
132e92041e Split preferences, add chart settings activity, add button 2019-09-14 00:24:40 +02:00
vanous
957d441859 Add Status and Alarms widget
Squashed commits from #1604
2019-09-01 21:35:53 +02:00
Andreas Shimokawa
984db60c5f Fix formatted values for charts 2019-08-24 12:55:33 +02:00
Andreas Shimokawa
a69a139602 Migrate to upstream MPAndroidChart v3.1.0 2019-08-24 12:41:26 +02:00
vanous
2d233141b4 adds custom renderer for better view of many columns 2019-08-24 11:58:32 +02:00
vanous
a263059317 Modify charts range based on settings. More/Less labels density. 2019-08-13 14:30:54 +02:00
vanous
80bd31d894 Modify Charts Fragment's Titles 2019-08-13 14:30:54 +02:00
vanous
28fde846ea Modify getTitle(). Probably not visible, but done for completness. 2019-08-13 14:30:54 +02:00
vanous
5fe4ea7246 Clean commented code 2019-08-12 14:13:20 +02:00
vanous
7809655ef4 Add Average Settings. Addformat method to get average. 2019-08-12 14:13:20 +02:00
vanous
f11628b42b Add Averages to Charts 2019-08-12 14:13:20 +02:00
License Bot
beedb653e6 Update license headers 2019-02-13 20:43:31 +01:00
Daniele Gobbetti
75d3dffb14 Migrate to androidx support libraries and bump compile SDK version
"Optimize imports" has been run on all source files, there might be
unrelated changes, but these should be harmless.
2019-01-26 16:00:56 +01:00
Andreas Shimokawa
a354bdca30 try to satisfy lgtm 2018-12-18 10:26:29 +01:00
cpfeiffer
cfddba0e4d Remove unused field and redundant casts 2018-09-17 23:02:18 +02:00
cpfeiffer
934f36f45a Use ActivityUser.defaultUserStepsGoal instead of hardcoded values
ActivityUser has room for improvement, though.
2018-09-16 20:49:00 +02:00
Carsten Pfeiffer
226ae54ae6
Merge pull request #1265 from elagin/live_activity_2
Enhancement LiveActivityFragment (2)
2018-09-16 20:43:59 +02:00
Pavel
62e080d5ac
Update LiveActivityFragment.java
I'm sorry, I wanted to add entry if > min HR
2018-09-16 20:35:28 +03:00
cpfeiffer
5028458fe8 Fix some static analysis warnings 2018-09-16 13:54:56 +02:00
Pavel Elagin
e85257b545 Show current / max heart rate. Ignore heart rate < user settings. Invisible button bar into LiveActivity. Auto scale totalStepsChart. Fix time x axis history chart. Draw total and per minute steps. Set limit on per minute chart by user settings. 2018-09-13 12:51:52 +03:00
cpfeiffer
aee0e54d05 Handle possible negative steps values 2018-09-11 23:08:29 +02:00
cpfeiffer
fbcd2840ca No need to call method twice 2018-09-11 23:04:18 +02:00
cpfeiffer
88ad6cf0e0 Improve balance handling 2018-09-10 23:41:01 +02:00
Pavel Elagin
4592d35cc6 Calculation and display of weekly balance by steps and time of sleep. 2018-09-10 23:41:01 +02:00
Dikay900
64da085942 make heart rate values configurable and use singleton for heartrateutils
to listen for preference changes
2018-09-02 12:57:52 +02:00
License Bot
696653eabf Update contributors list and license headers. 2018-08-29 21:30:23 +02:00
cpfeiffer
0145013597 Add some @Nullable 2018-08-17 00:13:38 +02:00
Carsten Pfeiffer
26fcb3cbbb
Merge pull request #1212 from elagin/legend_wordwrap_center
Enable word wrap and set center horizontal alignment for legend into …
2018-08-16 23:58:00 +02:00
Pavel Elagin
354ab79285 Display start and end sleep. #164 2018-08-16 17:59:56 +03:00
Pavel Elagin
65d36d2c81 Enable word wrap and set center horizontal alignment for legend into ActivitySleepChart and WeekSleepChart 2018-08-15 18:03:32 +03:00
cpfeiffer
f2ff1991da Comment out chatty debug output 2018-07-09 22:55:20 +02:00
Andreas Shimokawa
29a05f1d8f refactor onFetchActivityData() into onFetchRecordedData(dataTypes) to make it more generic
This removes misuse of testNewFunctionality() and support fetching GPS data and debug logs
Fetching debug logs (Amazfit Bip/Cor) is now accessible in the debug activity
Fetching GPS data can be done by swiping in the list activity.
TODO: actually refresh list when fetching data is done :P

Also fix some android studio warnings on the go...
2018-03-31 16:21:25 +02:00
Andreas Shimokawa
a8fdcb50f3 fix bad merge from master 2018-03-13 21:17:14 +01:00
Andreas Shimokawa
3d3cc1f40c Merge branch 'master' into bip-wip 2018-03-13 17:27:18 +01:00
Andreas Shimokawa
0ea5c3dee1 Charts: Ignore heart rate data if sample indicates that the device was not worn
Closes #1005
2018-02-26 22:06:56 +01:00
License Bot
238bacde9f Update license headers 2018-02-26 14:27:33 +01:00
Daniele Gobbetti
331ca6a47e Merge branch 'master' into bip-wip 2017-11-01 22:12:13 +01:00
Daniele Gobbetti
e7839f1c39 Replace the Combined Charts with simple Line Charts
Fixes #808
The datasets had to be separed in order to fill the area below each line with the right color.
2017-11-01 17:35:05 +01:00