Commit Graph

136 Commits

Author SHA1 Message Date
Dennis Guse 11f1b6e72d Cleanup: TrackPointIterator is now package private. 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 0ad32f676c Create SegmentStatisticUpdater by passing Statistics (2/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 920ad5129a Introduced Statistics as a value object. 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 4b59660ea1 Revert "Allow adding newly developed UI Components to existing custom layouts."
This reverts commit daa4689f44.
2025-10-29 22:14:12 +01:00
Jeff Shelley daa4689f44 Allow adding newly developed UI Components to existing custom layouts.
Fixes #2176.
2025-10-28 09:51:51 -05:00
Jeff Shelley 94595f2a1f Added support for average pace of the current segment 2025-10-21 19:34:19 -05: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 21fe59f32c Cleanup: SDK_INT is always >= Android O. 2025-10-19 17:48:23 +02:00
Dennis Guse 65f8ba16b3 Cleanup: RecyclerViewSwipeDeleteCallback.onChildDraw() should only call super once. 2025-10-18 21:28:49 +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 d6617f61b7 Cleanup: use PreferenceUtils.isKey(List). 2025-10-15 18:10:35 +02:00
Dennis Guse 93eefe5cf2 Bugfix: track list should show description.
Fixes #2127.
2025-07-12 16:50:08 +02:00
Dennis Guse 792e88acaa Revert "Cleanup: remove unused code for track list."
This reverts commit 9b5ef0707e.
2025-07-12 16:42:37 +02:00
Dennis Guse 5bea48096c TrackList: swipe to delete. 2025-07-04 20:53:08 +02:00
Dennis Guse edac784b1e ChartView should get colors from Material library (for Dynamic colors).
Part of #2123.
2025-07-04 16:49:35 +02:00
Dennis Guse 4999b54a97 Reworked MarkerDetail UI. 2025-06-27 15:51:51 +02:00
Dennis Guse 0dca1461e1 Cleanup: list adapters. 2025-06-27 15:51:51 +02:00
Dennis Guse 2e13054042 Cleanup: TrackPoint exposes Position. 2025-06-27 15:51:51 +02:00
Dennis Guse 3eba204b9d MarkerDetail page shows name in title. 2025-06-27 15:51:51 +02:00
Dennis Guse 8b8eaa5ea9 MarkerDetailActivity must call onDestroy(). 2025-06-27 15:51:51 +02:00
Dennis Guse fca4206c86 Migrated MarkerDetailActivity to ViewPager2. 2025-06-25 19:44:38 +02:00
Dennis Guse a2531c8651 Cleanup: MarkerDetailFragment uses MenuProvider. 2025-06-25 19:44:38 +02:00
Dennis Guse 7b4ab81f5c Marker: replaced orange pushpin. 2025-06-25 19:44:38 +02:00
Dennis Guse 8744724c0f Enable to edit timezone offset for recorded tracks.
Fixes #2014.
2025-06-25 19:44:38 +02:00
Dennis Guse 6e42857023 Cleanup: properly name method (has side effect). 2025-06-20 19:13:05 +02:00
Dennis Guse 9b5ef0707e Cleanup: remove unused code for track list. 2025-06-19 17:54:45 +02:00
Dennis Guse e7aa6f20d4 Cleanup: use Position and cleanup TrackPoint. 2025-03-01 23:05:05 +01:00
Dennis Guse 1d5f65be48 Position: use for 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 1b33184835 Cleanup: Marker stores URI to photo (instead of String). 2025-03-01 23:05:05 +01:00
Dennis Guse e5a60a8141 Bugfix: UI for adding photos to marker was invisible.
Introduced in 00258fd93e

Fixes #1996.
2024-10-12 20:41:33 +02:00
Dennis Guse 7925455011 Aggregated stats: start of the week uses regional preferences (Android14+).
Implemented using Material3's DatePicker.

Fixes #1681.
2024-09-08 12:20:11 +02:00
Dennis Guse d04e75c457 Bugfix: Track list not updating recording status correctly.
Fixes #1934.
Fixes #1982.
2024-09-08 12:10:04 +02:00
Dennis Guse 00258fd93e Track edit and Marker edit do not need bottom bar. 2024-09-07 12:50:49 +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
Dennis Guse d8eed2ccc9 Cleanup using AndroidStudio analyze. 2024-07-11 07:38:45 +02:00
Dennis Guse 151c3a79de Predictive back: for everything except import/export.
Fixes #1708.
2024-05-25 23:46:24 +02:00
Dennis Guse f595bc4d1e Bugfix: delete markers from list was broken.
Fixes #1915.
2024-05-25 21:50:05 +02:00
Peter Hercek 6cfc05af82 support for lap cycling power in the announcer
Implements #1806
2024-05-12 15:32:23 +02:00
Dennis Guse 4bfd65bb6d Bugfix: handle missing permissions properly.
Affected only SDK >= 33.

Fixes #1781.
2024-04-01 17:41:25 +02:00