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
Daniele Gobbetti
98b04dd2fc
Allow disabling left/right swipe on the graphs
...
Fixes #860
Added preference to control this option
Swiping down will still toggle a sync of the data from the device (if connected) in any case
2017-11-01 09:07:01 +01:00
cpfeiffer
eac8f5f8c7
Extract isValidHeartRate() method to HeartRateUtils
2017-10-31 23:16:39 +01:00
Andreas Shimokawa
1ff8fbac55
switch speed zones and live activity tabs
...
(makes it easier, since live activity is not for all devices9
2017-08-27 22:00:28 +02:00
Daniele Gobbetti
41feb008a7
Various style fixes
...
The top axis had the default color and was not visible with dark theme.
Enabled granularity of 1 to avoid fractions of steps being shown on the axis.
2017-08-27 17:26:24 +02:00
Andreas Shimokawa
b4639b9062
Speed Zones Chart: remove unused legend code
2017-08-27 00:04:08 +02:00
Andreas Shimokawa
6fb0a977fc
rename StatsChartFragment to SpeedZonesFragment
2017-08-26 23:55:11 +02:00
Vebryn
ea6457c359
fix building error
2017-08-26 23:36:59 +02:00
Vebryn
a61cbddb5d
simplifying speed zones and re-enabling
2017-08-26 23:35:16 +02:00
License Bot
15f4ce2869
Update license headers
2017-08-25 11:25:01 +02:00
cpfeiffer
c1925a4e64
Properly handle and distribute language change #733
...
Also centralize QUIT handling in GBActivity
2017-07-31 22:49:05 +02:00
Andreas Shimokawa
23d12f7289
Charts: various visual improvements
...
Thanks @girlwithnoname
2017-07-23 17:56:32 +02:00
Andreas Shimokawa
a4e35b49b2
Only show realtime chart on device supporting it
2017-06-02 21:59:46 +02:00
Translation Bot
fb8f866031
disable "Speed Zones" graph
...
It is not ready yet and full of bugs
2017-06-02 21:42:41 +02:00
cpfeiffer
1d79c9d93d
Dark theme: set some text colors for the speed zone tab
2017-05-18 23:26:04 +02:00
Andreas Shimokawa
7cce2aeb8b
Cleanup Speed zones chart code
...
- Remove unused stuff
- rename "pie" and "sleed" (there is no sleep and no pie here :)
2017-05-15 22:19:50 +02:00
Vebryn
7dc9c28c74
initial version of speed zones tab ( #674 )
...
* #673 initial version of speed zones tab
* #673 fix copyrights and initial step speed length
2017-05-14 23:09:27 +02:00
License Bot
8af9054f2d
Update license headers
2017-04-26 00:14:25 +02:00
cpfeiffer
4a4a1e25df
Properly format the sleep goal as a duration, not as a time
...
Also suppress trailing zeros, e.g. display
8h instead of 8h 0m
2017-04-08 23:16:33 +02:00
Alberto
155ce5be02
Font size bar chart ( #645 )
...
Increas font size bar chart
small fix that improves the readability of the values on bar charts
2017-04-08 22:58:58 +02:00
cpfeiffer
2feb3bed47
Reduce animation time from 350ms to 250ms
...
(seemed a bit laggy to me)
2017-04-08 22:52:22 +02:00
Daniele Gobbetti
dd5ee03932
Set the right color for the Pie charts entry labels.
...
Closes #647 by showing the text also on the light theme, instead of hiding it everywhere.
2017-04-08 15:50:13 +02:00
Daniele Gobbetti
5a019c238a
Hide the dateBar but don't set it as gone, this prevents charts from changing size when swiping.
2017-04-08 15:16:35 +02:00
cpfeiffer
60ed9ca373
Remove default intent actions out of if-condition
2017-04-07 21:55:47 +02:00
Andreas Shimokawa
3675386c13
Fix spider arms haging out of pie slices
...
Also make the Pie in week sleep chart look as the other pie chart in "Your Sleep"
2017-04-05 22:42:54 +02:00
cpfeiffer
f48729cc64
Pie Charts: some improvements wrt the labels
...
Still room for optimization.
Thanks to Alberto!
2017-04-05 00:08:17 +02:00
walkjivefly
f0d81818b3
Swap deep and light sleep colours in charts
...
This partially "fixes" issue #442 . The effect of the change is
purely cosmetic: deep sleep is (once again) dark blue, light sleep
is (once again) light blue.
2017-04-02 19:49:55 +02:00
Daniele Gobbetti
e89ba529c3
Apply some Material design guidelines to the charts
...
- replace the PagerTabStrip with a TabLayout (moved to top and scrollable)
- move the date selection to the bottom
- do not update the activity title as the tab name is much more visible now
2017-04-01 17:47:54 +02:00
Andreas Shimokawa
173b4fbbe6
Add legend ans labels to weekly sleep charts
...
Also remove the "missing sleep" gray entry to avoid confusion
2017-03-31 23:42:25 +02:00
cpfeiffer
14552a1a80
Disable live activity tracking when activity is paused
...
Fixes #496
2017-03-20 23:01:28 +01:00
Andreas Shimokawa
5d042cf3c8
Fix weekly charts to display the same value for every day Android < 7
...
Closes #604
2017-03-18 17:13:35 +01:00
Andreas Shimokawa
fe870ebc77
Move step goal generic, show proper sleep goal in weekly sleep goal
...
It is now also accessible via "About You" but still remains in the Mi Band Settings
(because it has to be setup initially by a "wizard")
2017-03-11 11:34:03 +01:00
License Bot
e392fbfd80
Add license header to all java files.
2017-03-10 14:53:19 +01:00
Andreas Shimokawa
a90e0074fc
Change weekly sleep charts to display sleep from 12:00-12:00 instead of 0:00-0:00
2017-03-03 17:33:00 +01:00
Andreas Shimokawa
9b2f47d10a
Improvements to week sleep chart
...
Time to close #557
2017-03-03 14:21:59 +01:00
Andreas Shimokawa
ac1875eea0
Charts: In "Sleep a week" chart display light and deep sleep as stacked bars
2017-02-26 21:41:27 +01:00
Andreas Shimokawa
8b39ef3a52
Speedup for charts by caching aggregated sleep amounts and steps for maximum 32 days
2017-02-26 00:40:50 +01:00
cpfeiffer
49e1b55ad8
Format center-text for week-sleep-pie
2017-02-23 21:15:57 +01:00