1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-08-03 12:31:56 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
cpfeiffer
802f48011d Refactoring of database access
- the db is now exclusively locked for one thread
- the charts read from the db and analyze data in a background thread

+ some small cleanups
2015-08-03 01:21:44 +02:00
cpfeiffer
858c962dd0 Refactoring #45
- add some device and db independent model interfaces for activity samples
- use these model interfaces where possible
- chart activity does not do device dependent rendering anymore and uses
  normalized values for all devices
- initial interface for daily summaries
2015-07-28 00:05:05 +02:00
Andreas Shimokawa
dbbcf20bbc reformat code 2015-07-25 21:52:52 +02:00
cpfeiffer
1f2b0329c5 Misc improvelets (#45) 2015-07-21 21:24:35 +02:00
cpfeiffer
184e0f2dea New dependency to format durations (and use that where applicable) 2015-07-20 23:14:08 +02:00
cpfeiffer
d498bd976a Work in progress #45
Comparison between Light Sleep and Deep Sleep.
(Currently wrong, needs more analysis)
2015-07-14 00:29:32 +02:00
cpfeiffer
04e628b2d1 Separate fragments for all activity kinds and just sleep #45 2015-07-13 21:54:46 +02:00
cpfeiffer
8b44f90bb6 Some more refactorings to support different charts 2015-07-12 23:42:23 +02:00
cpfeiffer
a6e26e5ddc Cleanup, use fragment based charts (WIP #45)
Known issue: scrolling a zoomed-in chart interferes with swiping to the
next/previous chart (so far there's just one, but...)
Workaround: Swipe down and then left or right in one go, this will let
you scroll the zoomed chart
2015-07-11 00:03:41 +02:00
cpfeiffer
4b241ca9eb Initial work on supporting multiple charts.
- one fragment per chart screen
- common chart code should move to fragment baseclass and the host
  Activity (ChartsActivity)

Currently it's not used, change ControlCenter to invoke ChartsActivity
instead of SleepChartActivity to test it.

WIP for #79
2015-06-23 23:03:05 +02:00