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
Dennis Guse
696939112a
Cleanup: Statistics doesn't need isIdle.
...
isIdle is only used by SegmentStatisticsUpdater.
2025-10-30 21:52:00 +01:00
Dennis Guse
58655814b2
VoiceAnnouncementManager should close TrackPointIterator to avoid memory leaks.
2025-10-30 07:54:05 +01:00
Dennis Guse
11f1b6e72d
Cleanup: TrackPointIterator is now package private.
2025-10-30 07:54:05 +01:00
Dennis Guse
8f537f33a7
Cleanup: removed Track.setTrackStatistics(SegmentStatisticsUpdater).
2025-10-30 07:54:05 +01:00
Dennis Guse
4db72230ff
Refactored VoiceAnnouncementUtilsTest.
2025-10-30 07:54:05 +01:00
Dennis Guse
fd92793c2a
Test: IntervalStatisticsUpdaterTest doesn't store data anymore.
2025-10-30 07:54:05 +01:00
Dennis Guse
05e45b6870
TrackStatisticsUpdater now provides Statistics.
...
Used for non-testing code.
2025-10-30 07:54:04 +01:00
Dennis Guse
7521f906ed
IntervalStatisticsUpdater now uses Statistics.
2025-10-30 07:54:04 +01:00
Dennis Guse
3222a0c497
Rename IntervalStatistics to IntervalStatisticsUpdater.
2025-10-30 07:54:04 +01:00
Dennis Guse
caf3d957cd
Cleanup: SegmentStatisticUpdaterTest uses Statistic.
2025-10-30 07:54:04 +01:00
Dennis Guse
005d00cfaa
Cleanup: SegmentStatisticUpdaterTest.
2025-10-30 07:54:04 +01:00
Dennis Guse
c227d54f26
Cleanup: SegmentStatisticUpdater and Track do not need equal().
2025-10-30 07:54:04 +01:00
Dennis Guse
bc62320b9f
Track only has Statistics (instead of SegmentStatisticsUpdater).
2025-10-30 07:54:04 +01:00
Dennis Guse
0ad32f676c
Create SegmentStatisticUpdater by passing Statistics (2/2).
2025-10-30 07:54:04 +01:00
Dennis Guse
fff5f2d406
Create SegmentStatisticUpdater by passing Statistics (1/2).
2025-10-30 07:54:04 +01:00
Dennis Guse
be653b73ee
Added value object: AltitudeExtremities.
2025-10-30 07:54:04 +01:00
Dennis Guse
4580f2a7bb
ContentProviderUtils use Statistics for saving.
2025-10-30 07:54:04 +01:00
Dennis Guse
5dd56892fb
Cleanup: move Statistics to package models.
2025-10-30 07:54:04 +01:00