Commit Graph

1512 Commits

Author SHA1 Message Date
Dennis Guse 990c91f978 Track is now a record. 2025-11-27 19:35:05 +01:00
Dennis Guse 6a262426a5 Delete all tracks (trackpoints and markers) works via cascade. 2025-11-27 17:14:11 +01:00
Dennis Guse 1b2998f423 CustomContentProvider: limit URIs for updates. 2025-11-27 17:14:11 +01:00
Dennis Guse d24dd2b005 Cleanup. 2025-11-27 17:14:11 +01:00
Dennis Guse 341fd02f9a Cleanup. 2025-11-26 22:48:00 +01:00
Dennis Guse 6833ea7282 Use MarkerIterator for TrackDataHub. 2025-11-26 22:46:39 +01:00
Dennis Guse a1da53864e Use MarkerIterator for MarkerDetailActivity. 2025-11-26 22:10:53 +01:00
Dennis Guse 28d49de047 Cleanup: removed ContentProviderUtils.getMarkers(). 2025-11-26 21:51:07 +01:00
Dennis Guse 4ae9d24960 Implemented MarkerIterator. 2025-11-26 21:42:11 +01:00
Dennis Guse 0b0b1a0d8d Cleanup. 2025-11-26 20:07:39 +01:00
Dennis Guse 090cdbf712 Cleanup: ContentProviderUtils.getMarkerCursor() has an optional parameter. 2025-11-26 20:05:27 +01:00
Dennis Guse 8258d607c3 Cleanup: ContentProviderUtils.getMarkerCursor() had an unused parameter. 2025-11-26 19:56:32 +01:00
Dennis Guse 686a2a9b8f Cleanup: removed method that was only used for testing in ContentProviderUtils. 2025-11-25 19:34:41 +01:00
Dennis Guse 7ddb6b32bb Cleanup: TrackDataHub doesn't need to query the id of the last TrackPoint. 2025-11-25 18:46:20 +01:00
Dennis Guse 5cd639c852 Cleanup: TrackDataHub only needs in-sample. 2025-11-25 18:42:02 +01:00
Dennis Guse ae9906fb18 Cleanup. 2025-11-25 07:40:01 +01:00
Dennis Guse 96bcac397b Cleanup. 2025-11-25 07:31:49 +01:00
Dennis Guse d7b207afac Cleanup: trackStatistics were already updated. 2025-11-25 07:31:49 +01:00
Dennis Guse 1672ba99ad Cleanup: in TrackImporter create Track object when all data got loaded. 2025-11-25 07:31:49 +01:00
Dennis Guse a6d4a05839 Statistics requires startTime and stopTime.
This is now enforced for import as wells.
2025-11-25 07:31:48 +01:00
Dennis Guse 46d7385d25 Cleanup RecordingData. 2025-11-22 18:22:00 +01:00
Dennis Guse 25fbd9490c Cleanup RecordingData. 2025-11-22 18:06:48 +01:00
Dennis Guse 6d33adffce Move temp functionality into TrackStatisticsUpdater. 2025-11-22 17:49:35 +01:00
Dennis Guse 92cecb6f3a For TrackStatisticsUpdater there may no pre-existing Statistics. 2025-11-22 13:14:50 +01:00
Dennis Guse e6bdc9a41d Altitude extremities is now null instead of (0,0) if no altitude was received (yet). 2025-11-22 13:03:52 +01:00
Dennis Guse 73d6ca6ca6 Cleanup: SegmentStatisticUpdater is always initialized. 2025-11-21 16:30:29 +01:00
Dennis Guse 1ef7a6ecc4 Move .merge() from SegmentStatisticUpdater to Statistics.
This is a functional change as maxSpeed is now determined by Segment (rather than the joined Segment).
2025-11-21 16:15:18 +01:00
Dennis Guse 94a0b57362 Simplify construction of TrackStatisticsUpdater. 2025-11-21 13:37:14 +01:00
Dennis Guse 4ebaf366d6 TrackStatisticsUpdater only needs one SegmentStatisticUpdater. 2025-11-21 13:37:14 +01:00
Dennis Guse 911f2c525f Move isIdle to TrackStatisticsUpdater. 2025-11-21 13:37:14 +01:00
Dennis Guse 8a247e5b38 Cleanup: TrackStatisticsUpdater. 2025-11-17 22:22:44 +01:00
Dennis Guse 4307dceb70 Cleanup: rename to totalDuration and movingDuration. 2025-11-17 22:22:44 +01:00
Dennis Guse 59ea50b96f Cleanup: SegmentStatisticUpdater. 2025-11-17 22:22:44 +01:00
Dennis Guse 8d015fee6c Cleanup: SegmentStatisticUpdater. 2025-11-17 22:22:44 +01:00
Dennis Guse 653352255e Cleanup: SegmentStatisticUpdater. 2025-11-17 22:22:44 +01:00
Dennis Guse ebcdd87481 Cleanup: use Duration.ZERO. 2025-11-17 22:22:44 +01:00
Dennis Guse 221b61c7f1 Aggregate statistics are now computed in the database. 2025-11-06 21:54:30 +01:00
Dennis Guse ca64f2c749 Tracks table: remove unused columns and rename existing columns. 2025-11-06 21:54:30 +01:00
Dennis Guse 3d083928eb Cleanup. 2025-11-06 21:54:30 +01:00
Dennis Guse 6e4d46a14d Distance.ZERO as constant. 2025-11-06 21:54:30 +01:00
Dennis Guse fffeb40200 Speed.ZERO as constant. 2025-11-06 21:54:30 +01:00
Dennis Guse a5e5d0ca51 AggregatedStatistics: compute without SegmentStatisticUpdater. 2025-11-06 21:54:30 +01:00
Dennis Guse 7791ff8659 Cleanup: Track simplify constructors. 2025-11-06 21:54:30 +01:00
Dennis Guse 044e84154c Bugfix: crash in settings.
Introduced in 696939112a
2025-11-05 21:31:40 +01:00
Dennis Guse 28da32f573 Fixed TrackRecordingServiceRecordingTest: disable the real GPS (finally). 2025-11-01 10:13:52 +01:00
Dennis Guse c687308d97 Move WakeLock to SensorManager (was TrackRecordingService). 2025-11-01 09:56:31 +01:00
Dennis Guse 65c8e8542e Cleanup: pass RecordingData to VoiceAnnouncementManager. 2025-11-01 09:30:47 +01:00
Dennis Guse ca4cb648e7 Predictive back: shown also for TrackRecordedActivity.
However: the shared element animation needed to be removed. ActivityOptions.makeSceneTransitionAnimation() seems to overwrite the predictive back animation.
2025-11-01 08:49:08 +01:00
Dennis Guse 53240c3d1a IntervalStatisticsUpdater exposes Statistics (instead of Interval). 2025-10-31 19:00:32 +01:00
Dennis Guse f31e146cda Cleanup: TrackPoint uses AltitudeGainLoss. 2025-10-30 22:33:00 +01:00