Commit Graph

563 Commits

Author SHA1 Message Date
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 73ce97a63e VoiceAnnouncementUtilsTest do not store data. 2025-10-30 21:45:03 +01:00
Dennis Guse 5988ae3d3f VoiceAnnouncementUtilsTest do not use SegmentStatisticsUpdater. 2025-10-30 21:30:01 +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 3222a0c497 Rename IntervalStatistics to IntervalStatisticsUpdater. 2025-10-30 07:54:04 +01:00
Dennis Guse 005d00cfaa Cleanup: SegmentStatisticUpdaterTest. 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 5dd56892fb Cleanup: move Statistics to package models. 2025-10-30 07:54:04 +01:00
Dennis Guse e3460d94ed Statistics: used when only the data is needed (instead of passing SegmentStatisticUpdater). 2025-10-30 07:54:04 +01:00
Dennis Guse fba08fe8dd Cleanup: rename TrackStatistics to SegmentStatisticsUpdater. 2025-10-30 07:54:04 +01:00
Dennis Guse 8e36ee2e7d Cleanup: TrackRecordingServiceNotificationManager uses RecordingData. 2025-10-24 10:19:43 +02:00
Dennis Guse 4257f21cae Fixed tests.
Missed in1fa76301e23bf709402c19838efea597e7e38ca7
2025-10-22 23:24:13 +02:00
Dennis Guse 1fa76301e2 Cleanup: TrackShareSummaryGenerator (was DescriptionGenerator) now only produces plaintext (HTML was not used anymore). 2025-10-20 09:15:39 +02:00
Dennis Guse 1a1a8a851b Cleanup: use Stream.toList()
Replaces Stream.collect(Collection.toList() | Collectors.toCollection()).
2025-10-19 18:26:49 +02:00
Dennis Guse ddd1efeb58 Cleanup: use .isEmpty() (except for CharSequence and StringBuilder as it requires SDK33). 2025-10-19 18:26:48 +02:00
Dennis Guse f79b2b51c8 Cleanup: use correct order for assert in tests. 2025-10-18 21:48:45 +02:00
Dennis Guse b16e9ad964 Cleanup: UintUtilsTest was only partly executed. 2025-10-18 21:41:46 +02:00
Dennis Guse 9b48993cd0 Cleanup. 2025-10-18 21:27:31 +02:00
Dennis Guse daeb972c8a Cleanup: simplify stream by using List operations (desugar). 2025-10-18 21:10:26 +02:00
Dennis Guse e9d1080e5d Cleanup: SpeedFormatter doesn't support decimal places. 2025-10-18 09:40:54 +02:00
Dennis Guse b5180f235f Cleanup: StatisticsUtils were unused. 2025-10-15 18:10:15 +02:00
Peter Storch ec08717d01 Before codeberg migration (#2159)
Co-authored-by: Dennis Guse <dennis.guse@alumni.tu-berlin.de>
2025-08-24 08:36:08 +02:00
Dennis Guse 2e13054042 Cleanup: TrackPoint exposes Position. 2025-06-27 15:51:51 +02:00
Peter Storch af6baeab9f fix #2104 csv export altitude above 1000m 2025-05-27 22:29:57 +02:00
Dennis Guse 681b987927 Cleanup: export/import renaming. 2025-04-21 22:05:28 +02:00
Dennis Guse 3df45c54d6 GPX: export TrackPointExtension correctly (order and rest of the data under <extension> directly).
Importing old (incorrect) and new (correct) format supported.

Part of #2074.
2025-03-16 11:06:21 +01:00
Dennis Guse e7aa6f20d4 Cleanup: use Position and cleanup TrackPoint. 2025-03-01 23:05:05 +01:00
Dennis Guse 9a37591651 Position: use for Marker. 2025-03-01 23:05:05 +01:00
Dennis Guse ffcee94a07 Cleanup: remove old tests for custom EGM2008 implementation.
Part of 2e7a3b7465
2025-03-01 23:05:05 +01:00
Dennis Guse 1b33184835 Cleanup: Marker stores URI to photo (instead of String). 2025-03-01 23:05:05 +01:00
Dennis Guse b9ed5e28e0 Sensor data: separate aggregation and TTL explicitly.
Part of #1995.
2025-03-01 22:51:48 +01:00
Dennis Guse d4e9b5d3d7 Cleanup: renames in sensor data handling.
Part of #1995.
2025-03-01 22:51:48 +01:00
Dennis Guse a6d318d970 Cleanup: move GpsManager into sensors package. 2025-03-01 22:51:48 +01:00
Dennis Guse c1869236df Test: nicer error messages. 2025-02-19 22:03:38 +01:00
Dennis Guse 0e0958c5e8 Announcements: add current heartrate.
Fixes #1635.
2024-12-29 12:38:15 +01:00
Dennis Guse 43e1cbcdc6 Announcements: added current time.
DateTimeFormatter behaves differently starting from SDK34 (produces NBSP).

Part of #1683.
2024-12-29 12:18:56 +01:00
Dennis Guse 073b3d2052 Announcements: added current time.
Fixes #1683.
2024-12-28 21:07:45 +01:00
Dennis Guse 01f4359cdf Sensor data: use monotonic clock (for isRecent).
Part of #1966.
2024-12-28 17:33:53 +01:00
Dennis Guse a2a9132658 Test: use applicationId (was hardcoded).
Part of #418.
2024-12-28 13:57:40 +01:00
Dennis Guse 522d9ebe2e Public API: allow marker creation.
Fixes #2031.
2024-12-21 20:46:09 +01:00
Dennis Guse b65230bc5d Bugfix: PublicAPI StartRecording recorded no data.
Problem was that the TrackRecordingService was not started as a ForegroundService anymore.

Fixes #1904.
2024-12-05 17:50:32 +01:00
Dennis Guse 2e7a3b7465 Use AltitudeConverterCompat instead of custom solution.
Fixes #1920.
2024-09-14 16:05:32 +02:00
Peter Storch 389c4bed96 fix #1957 open MarkerEditActivity to receive external marker (#1960)
* fix #1957 add CreateMarkerActivity to receive external marker
2024-07-30 15:24:18 +02:00