Dennis Guse
78dad95ef6
Altitude: show always in m/ft.
...
Fixes #1319 .
2022-08-21 22:02:49 +02:00
Dennis Guse
78aa5d51c6
Intervals: if gain/loss is not available show "-" instead of null.
...
Fixes #1338 .
2022-07-26 22:30:08 +02:00
Dennis Guse
a5b44175a3
Convert metricUnits boolean into an enum.
...
Fixes #1199 .
2022-04-28 22:35:38 +02:00
Dennis Guse
db5c9479df
Implement SpeedFormatter.
2022-04-28 22:35:38 +02:00
Dennis Guse
f2ac1edc4b
Create DistanceFormatter.
...
Fixes #1197
2022-04-23 20:12:43 +02:00
Dennis Guse
3815ee6c59
Voice announcements and Interval: add sub km/miles options.
...
Fixes #1195 .
2022-04-23 14:16:00 +02:00
Dennis Guse
0eda1eed1d
Introduced value objects for heartrate, cadence, and power.
...
Fixes #896 .
2022-01-16 15:30:08 +01:00
Dennis Guse
7484ab03ce
Package structure: moved UI utils
...
Part of #963 .
2022-01-15 22:40:03 +01:00
Dennis Guse
0645628d7e
Package structure: moved models and database.
...
Part of #963 .
2022-01-15 22:24:59 +01:00
Román Ginés
5cd6992c90
Proper handling of timezone data on UI. Fixes #301 .
...
Details:
- Date and time handled by OffsetDateTime Java class.
- Track default name with offset (for date local and ISO 8601 options).
- TrackListActivity: shows relative today's date (like Today, Yesterday, 22 Dec, 22 Dec 2021, etc).
- StatisticsRecordedFragment: always shows the original date and time. For example, if you record an activity at 20h then it always will show 20h regardless the zone are where you are.
- Added new tests.
2022-01-03 16:27:40 +01:00
Dennis Guse
6d04659370
Timezone support: store timezone offset per Track.
...
When a recording is started the offset of the phone is used.
Timezone is exported to KML and GPX.
Fixes #301 .
2021-12-28 15:42:38 +01:00
Román Ginés
b4ce99440a
AggregatedStatisticsActivity: added filter option (by category, start and/or end date).
...
Fixes #1039 .
2021-12-24 11:50:32 +01:00
Dennis Guse
900910e9f7
While recording: show cadence and speed from different sensor types correctly.
...
Fixes #970 .
2021-10-19 17:53:08 +02:00
Dennis Guse
8c5c9d7947
Cleanup: extract preference functionality from StringUtils to PreferenceHelper.
...
Part of #963 .
2021-10-12 22:24:51 +02:00
Román Martínez
d69a726e0e
Renaming variables.
2021-09-18 16:17:29 +02:00
Román Martínez
e0111c2ffd
Gain and loss are integers.
2021-09-18 16:17:29 +02:00
Román Martínez
40aab9444a
Time interval setting is in minutes.
2021-09-06 22:06:48 +02:00
Dennis Guse
8f2d1722ad
Announcements: can be triggered by time and distance (instead of either).
...
Fixes #921 .
2021-08-30 17:24:51 +02:00
Román Martínez
9c4c8131f5
Recording stats layout customizable.
...
Users can select the order, visibility and importance (primary or secondary) of all stats for recording layout from the Settings.
Also, users can select the number of columns per row in the recording layout: 1, 2 or 3.
Finally, show altitude/coordinate from settings have been removed (not needed anymore).
Fixes #659 .
Fixes #302 .
Fixes #820 .
2021-08-21 19:40:31 +02:00
Dennis Guse
c68a52b5fb
UI: show altitude with one decimal digit.
...
Part of #850 .
2021-07-05 18:47:33 +02:00
Dennis Guse
af8d9c08ab
IntervalStatistics: format gain/loss like on StatisticsRecordingFragment.
2021-07-04 16:53:10 +02:00
Dennis Guse
40188774b1
Bugfix: cycling sensors report wheel count as UINT32.
...
Garmin Speed Sensor 2 actually counts forward: it was an UINT16 overflow problem (removed workaround).
Fixes #810 .
2021-06-11 19:25:40 +02:00
Dennis Guse
21376cd3da
Speed and distance each only use one formatting rule.
...
Fixes #648 .
2021-06-08 17:10:23 +02:00
Dennis Guse
6f9c788965
Value objects distance and speed.
...
#679
2021-04-13 19:18:18 +02:00
Dennis Guse
bc1b4e3cd2
Rename elevation to altitude (without translations).
...
Fixes #678 .
2021-04-04 17:45:38 +02:00
Dennis Guse
e990b413cd
Replace long time_ms with Instant and Duration, respectively.
...
Fixes #561 .
2021-01-24 22:21:36 +01:00
Dennis Guse
a429fbe4df
Interval list: RTL and localized formatting (only default strings.xml).
2020-11-28 15:05:49 +01:00
Dennis Guse
0d493c410e
Merge branch 'barometer#10' into main
2020-09-06 22:34:54 +02:00
Dennis Guse
e956cf14c4
Present speed only with one fractional digit.
2020-09-05 20:53:55 +02:00
Dennis Guse
5099118dd7
Elevation gain: make it optional as Float - and if null, then the UI just shows "-".
...
In TrackStatistics the elevation gain is now nullable.
2020-09-05 12:39:23 +02:00
Dennis Guse
b2e8713db0
Desugar: removed manual date parsing on API26.
2020-08-21 07:01:16 +02:00
Dennis Guse
04f146c641
Bugfix: formatting of pace was not formatted correctly (e.g., 4:60).
...
Fixes #370 .
2020-08-15 20:19:46 +02:00
Román
bae3373fe9
Aggregated statistics by activity type. Fixes #112 .
2020-06-14 19:57:07 +02:00
Dennis Guse
ed6ab9c53c
Import: be lenient with missing timezone information.
...
Fixes #249 .
2020-06-06 22:58:02 +02:00
Dennis Guse
32070a0bd6
Use java.time instead of custom code for parsing (requires API 26+).
...
This is a functional change on API26+ as a timezone identifier is required.
2020-01-11 19:31:58 +01:00
Dennis Guse
35cb924a17
StatsFragment: show elevation without decimal digits.
2019-12-22 20:39:43 +01:00
Dennis Guse
e8c6801a32
Refactor StatsFragment.
2019-12-03 19:19:19 +01:00
Dennis Guse
2940bf20d8
Settings: remove all defaults from code.
2019-11-12 21:33:04 +01:00
Dennis Guse
5483212b06
Fixed StringUtils.formatDecimal to work with decimals of 0.
2019-10-30 23:02:02 +01:00
Dennis Guse
e9d5718495
Cleanup.
2019-10-23 18:47:32 +02:00
Dennis Guse
42b3a5dfc9
Refactored stats_content layout to contain all content (not use include).
2019-09-12 17:57:28 +02:00
Dennis Guse
6bfd8c8db8
Cleanup: Use Pair instead of String[2].
2019-09-10 21:16:58 +02:00
Dennis Guse
df2865456e
Removed obsolete workaround for DateUtils.formatElapsedTime().
2019-09-10 21:16:38 +02:00
Dennis Guse
87d92d25f9
Cleanup: mainly code formatting and made LocationIterator implement autoclosable.
2019-09-08 12:39:40 +02:00
Dennis Guse
233522a5e6
Rebranding to OpenTracks (code).
2019-07-26 18:39:35 +02:00