From a756362c7e4775b4d6953e4c855b18272061e0ba Mon Sep 17 00:00:00 2001 From: tavo Date: Mon, 3 Aug 2020 09:40:54 +0300 Subject: [PATCH] Move namespace --- app/build.gradle | 2 +- .../sportsapp/ExampleInstrumentedTest.kt | 2 +- app/src/main/AndroidManifest.xml | 14 +++--- .../sportsapp/db/repository/IRepository.kt | 5 -- .../{iti0213 => kilpkonn}/sportsapp/C.kt | 2 +- .../sportsapp/activity/DetailActivity.kt | 20 ++++---- .../sportsapp/activity/HistoryActivity.kt | 34 ++++++------- .../sportsapp/activity/MapsActivity.kt | 48 +++++++++---------- .../sportsapp/activity/OverviewActivity.kt | 22 ++++----- .../sportsapp/activity/SettingsActivity.kt | 30 +++++------- .../sportsapp/api/WebApiHandler.kt | 2 +- .../api/controller/AccountController.kt | 12 ++--- .../api/controller/TrackSyncController.kt | 10 ++-- .../api/dto/BulkUploadResponseDto.kt | 2 +- .../sportsapp/api/dto/GpsLocationDto.kt | 8 ++-- .../sportsapp/api/dto/GpsSessionDto.kt | 2 +- .../sportsapp/api/dto/LoginDto.kt | 2 +- .../sportsapp/api/dto/LoginResponseDto.kt | 2 +- .../sportsapp/api/dto/RegisterDto.kt | 2 +- .../component/imageview/TrackTypeIcons.kt | 6 +-- .../component/spinner/CompassMode.kt | 2 +- .../component/spinner/DisplayMode.kt | 2 +- .../component/spinner/OverviewMode.kt | 2 +- .../component/spinner/ReplaySpinnerItems.kt | 2 +- .../component/spinner/RotationMode.kt | 2 +- .../spinner/adapter/HistorySpinnerAdapter.kt | 6 +-- .../adapter/OverviewTypeSpinnerAdapter.kt | 8 ++-- .../adapter/TrackTypeSpinnerAdapter.kt | 6 +-- .../component/view/TrackIconImageView.kt | 6 +-- .../sportsapp/db/DatabaseHelper.kt | 2 +- .../sportsapp/db/ReadDatabaseTask.kt | 2 +- .../sportsapp/db/domain/OfflineSession.kt | 2 +- .../sportsapp/db/domain/TrackSummary.kt | 2 +- .../sportsapp/db/domain/User.kt | 4 +- .../db/repository/CheckpointsRepository.kt | 6 +-- .../sportsapp/db/repository/IRepository.kt | 5 ++ .../repository/OfflineSessionsRepository.kt | 6 +-- .../db/repository/TrackLocationsRepository.kt | 6 +-- .../db/repository/TrackSummaryRepository.kt | 10 ++-- .../sportsapp/db/repository/UserRepository.kt | 8 ++-- .../db/repository/WayPointsRepository.kt | 6 +-- .../sportsapp/detector/FlingDetector.kt | 2 +- .../provider/FakeLocationProvider.kt | 4 +- .../sportsapp/service/LocationService.kt | 36 +++++++------- .../sportsapp/track/Track.kt | 24 +++++----- .../sportsapp/track/TrackType.kt | 2 +- .../sportsapp/track/converters/Converter.kt | 2 +- .../track/pracelable/DetailedTrackData.kt | 2 +- .../sportsapp/track/pracelable/TrackData.kt | 2 +- .../track/pracelable/TrackSyncData.kt | 8 ++-- .../track/pracelable/loaction/Checkpoint.kt | 2 +- .../pracelable/loaction/TrackLocation.kt | 3 +- .../track/pracelable/loaction/WayPoint.kt | 2 +- .../sportsapp/util/HashUtils.kt | 2 +- .../sportsapp/util/TrackUtils.kt | 22 ++++----- .../sportsapp/util/datatype/Vector2D.kt | 2 +- .../sportsapp/util/filter/IFilter.kt | 2 +- .../util/filter/KalmanTrackLocationFilter.kt | 4 +- .../sportsapp/util/filter/SimpleFilter.kt | 2 +- .../sportsapp/util/filter/SimpleFilter2D.kt | 4 +- .../util/serializer/TrackSerializer.kt | 2 +- .../main/res/layout/track_history_item.xml | 2 +- .../sportsapp/ExampleUnitTest.kt | 2 +- 63 files changed, 223 insertions(+), 232 deletions(-) rename app/src/androidTest/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/ExampleInstrumentedTest.kt (94%) delete mode 100644 app/src/main/java/ee/taltech/iti0213/sportsapp/db/repository/IRepository.kt rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/C.kt (99%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/activity/DetailActivity.kt (94%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/activity/HistoryActivity.kt (92%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/activity/MapsActivity.kt (96%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/activity/OverviewActivity.kt (86%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/activity/SettingsActivity.kt (93%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/api/WebApiHandler.kt (99%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/api/controller/AccountController.kt (88%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/api/controller/TrackSyncController.kt (93%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/api/dto/BulkUploadResponseDto.kt (86%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/api/dto/GpsLocationDto.kt (91%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/api/dto/GpsSessionDto.kt (96%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/api/dto/LoginDto.kt (85%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/api/dto/LoginResponseDto.kt (86%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/api/dto/RegisterDto.kt (89%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/component/imageview/TrackTypeIcons.kt (92%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/component/spinner/CompassMode.kt (80%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/component/spinner/DisplayMode.kt (78%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/component/spinner/OverviewMode.kt (93%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/component/spinner/ReplaySpinnerItems.kt (95%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/component/spinner/RotationMode.kt (84%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/component/spinner/adapter/HistorySpinnerAdapter.kt (86%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/component/spinner/adapter/OverviewTypeSpinnerAdapter.kt (77%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/component/spinner/adapter/TrackTypeSpinnerAdapter.kt (86%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/component/view/TrackIconImageView.kt (92%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/db/DatabaseHelper.kt (99%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/db/ReadDatabaseTask.kt (91%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/db/domain/OfflineSession.kt (57%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/db/domain/TrackSummary.kt (97%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/db/domain/User.kt (76%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/db/repository/CheckpointsRepository.kt (94%) create mode 100644 app/src/main/java/ee/taltech/kilpkonn/sportsapp/db/repository/IRepository.kt rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/db/repository/OfflineSessionsRepository.kt (92%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/db/repository/TrackLocationsRepository.kt (94%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/db/repository/TrackSummaryRepository.kt (96%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/db/repository/UserRepository.kt (94%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/db/repository/WayPointsRepository.kt (92%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/detector/FlingDetector.kt (97%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/provider/FakeLocationProvider.kt (86%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/service/LocationService.kt (94%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/track/Track.kt (90%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/track/TrackType.kt (86%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/track/converters/Converter.kt (94%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/track/pracelable/DetailedTrackData.kt (96%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/track/pracelable/TrackData.kt (97%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/track/pracelable/TrackSyncData.kt (80%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/track/pracelable/loaction/Checkpoint.kt (98%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/track/pracelable/loaction/TrackLocation.kt (97%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/track/pracelable/loaction/WayPoint.kt (96%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/util/HashUtils.kt (95%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/util/TrackUtils.kt (91%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/util/datatype/Vector2D.kt (88%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/util/filter/IFilter.kt (52%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/util/filter/KalmanTrackLocationFilter.kt (93%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/util/filter/SimpleFilter.kt (88%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/util/filter/SimpleFilter2D.kt (80%) rename app/src/main/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/util/serializer/TrackSerializer.kt (96%) rename app/src/test/java/ee/taltech/{iti0213 => kilpkonn}/sportsapp/ExampleUnitTest.kt (89%) diff --git a/app/build.gradle b/app/build.gradle index 7d86109..fda14d8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,7 +15,7 @@ android { } defaultConfig { - applicationId "ee.taltech.iti0213.sportsapp" + applicationId 'ee.taltech.kilpkonn.sportsapp' minSdkVersion 21 targetSdkVersion 30 versionCode 1 diff --git a/app/src/androidTest/java/ee/taltech/iti0213/sportsapp/ExampleInstrumentedTest.kt b/app/src/androidTest/java/ee/taltech/kilpkonn/sportsapp/ExampleInstrumentedTest.kt similarity index 94% rename from app/src/androidTest/java/ee/taltech/iti0213/sportsapp/ExampleInstrumentedTest.kt rename to app/src/androidTest/java/ee/taltech/kilpkonn/sportsapp/ExampleInstrumentedTest.kt index 21d1ef1..c0b49ee 100644 --- a/app/src/androidTest/java/ee/taltech/iti0213/sportsapp/ExampleInstrumentedTest.kt +++ b/app/src/androidTest/java/ee/taltech/kilpkonn/sportsapp/ExampleInstrumentedTest.kt @@ -1,4 +1,4 @@ -package ee.taltech.iti0213.sportsapp +package ee.taltech.kilpkonn.sportsapp import androidx.test.platform.app.InstrumentationRegistry import androidx.test.ext.junit.runners.AndroidJUnit4 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 1400ddc..7a69e3f 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="ee.taltech.kilpkonn.sportsapp"> @@ -59,7 +59,7 @@ Requires buildTools SDK >= 29 --> , val wayPoints: List, val checkpoints: List, val pauses: List): Parcelable { constructor(parcel: Parcel) : this( diff --git a/app/src/main/java/ee/taltech/iti0213/sportsapp/track/pracelable/loaction/Checkpoint.kt b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/track/pracelable/loaction/Checkpoint.kt similarity index 98% rename from app/src/main/java/ee/taltech/iti0213/sportsapp/track/pracelable/loaction/Checkpoint.kt rename to app/src/main/java/ee/taltech/kilpkonn/sportsapp/track/pracelable/loaction/Checkpoint.kt index a5bc8f1..3f26eb3 100644 --- a/app/src/main/java/ee/taltech/iti0213/sportsapp/track/pracelable/loaction/Checkpoint.kt +++ b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/track/pracelable/loaction/Checkpoint.kt @@ -1,4 +1,4 @@ -package ee.taltech.iti0213.sportsapp.track.pracelable.loaction +package ee.taltech.kilpkonn.sportsapp.track.pracelable.loaction import android.os.Parcel import android.os.Parcelable diff --git a/app/src/main/java/ee/taltech/iti0213/sportsapp/track/pracelable/loaction/TrackLocation.kt b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/track/pracelable/loaction/TrackLocation.kt similarity index 97% rename from app/src/main/java/ee/taltech/iti0213/sportsapp/track/pracelable/loaction/TrackLocation.kt rename to app/src/main/java/ee/taltech/kilpkonn/sportsapp/track/pracelable/loaction/TrackLocation.kt index 91265c7..668af6d 100644 --- a/app/src/main/java/ee/taltech/iti0213/sportsapp/track/pracelable/loaction/TrackLocation.kt +++ b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/track/pracelable/loaction/TrackLocation.kt @@ -1,11 +1,10 @@ -package ee.taltech.iti0213.sportsapp.track.pracelable.loaction +package ee.taltech.kilpkonn.sportsapp.track.pracelable.loaction import android.location.Location import android.os.Build import android.os.Parcel import android.os.Parcelable import java.io.Serializable -import java.sql.Timestamp class TrackLocation( val latitude: Double, diff --git a/app/src/main/java/ee/taltech/iti0213/sportsapp/track/pracelable/loaction/WayPoint.kt b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/track/pracelable/loaction/WayPoint.kt similarity index 96% rename from app/src/main/java/ee/taltech/iti0213/sportsapp/track/pracelable/loaction/WayPoint.kt rename to app/src/main/java/ee/taltech/kilpkonn/sportsapp/track/pracelable/loaction/WayPoint.kt index 9be49da..49818ae 100644 --- a/app/src/main/java/ee/taltech/iti0213/sportsapp/track/pracelable/loaction/WayPoint.kt +++ b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/track/pracelable/loaction/WayPoint.kt @@ -1,4 +1,4 @@ -package ee.taltech.iti0213.sportsapp.track.pracelable.loaction +package ee.taltech.kilpkonn.sportsapp.track.pracelable.loaction import android.os.Parcel import android.os.Parcelable diff --git a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/HashUtils.kt b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/HashUtils.kt similarity index 95% rename from app/src/main/java/ee/taltech/iti0213/sportsapp/util/HashUtils.kt rename to app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/HashUtils.kt index 71dcfe4..903582d 100644 --- a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/HashUtils.kt +++ b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/HashUtils.kt @@ -1,4 +1,4 @@ -package ee.taltech.iti0213.sportsapp.util +package ee.taltech.kilpkonn.sportsapp.util import java.security.MessageDigest import java.util.* diff --git a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/TrackUtils.kt b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/TrackUtils.kt similarity index 91% rename from app/src/main/java/ee/taltech/iti0213/sportsapp/util/TrackUtils.kt rename to app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/TrackUtils.kt index 5350a1e..03f284c 100644 --- a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/TrackUtils.kt +++ b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/TrackUtils.kt @@ -1,17 +1,17 @@ -package ee.taltech.iti0213.sportsapp.util +package ee.taltech.kilpkonn.sportsapp.util import android.content.Context import android.widget.Toast -import ee.taltech.iti0213.sportsapp.api.controller.TrackSyncController -import ee.taltech.iti0213.sportsapp.api.dto.GpsLocationDto -import ee.taltech.iti0213.sportsapp.api.dto.GpsSessionDto -import ee.taltech.iti0213.sportsapp.component.imageview.TrackTypeIcons -import ee.taltech.iti0213.sportsapp.db.repository.* -import ee.taltech.iti0213.sportsapp.track.Track -import ee.taltech.iti0213.sportsapp.track.TrackType -import ee.taltech.iti0213.sportsapp.track.pracelable.loaction.Checkpoint -import ee.taltech.iti0213.sportsapp.track.pracelable.loaction.TrackLocation -import ee.taltech.iti0213.sportsapp.track.pracelable.loaction.WayPoint +import ee.taltech.kilpkonn.sportsapp.api.controller.TrackSyncController +import ee.taltech.kilpkonn.sportsapp.api.dto.GpsLocationDto +import ee.taltech.kilpkonn.sportsapp.api.dto.GpsSessionDto +import ee.taltech.kilpkonn.sportsapp.component.imageview.TrackTypeIcons +import ee.taltech.kilpkonn.sportsapp.db.repository.* +import ee.taltech.kilpkonn.sportsapp.track.Track +import ee.taltech.kilpkonn.sportsapp.track.TrackType +import ee.taltech.kilpkonn.sportsapp.track.pracelable.loaction.Checkpoint +import ee.taltech.kilpkonn.sportsapp.track.pracelable.loaction.TrackLocation +import ee.taltech.kilpkonn.sportsapp.track.pracelable.loaction.WayPoint import io.jenetics.jpx.GPX import java.text.SimpleDateFormat diff --git a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/datatype/Vector2D.kt b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/datatype/Vector2D.kt similarity index 88% rename from app/src/main/java/ee/taltech/iti0213/sportsapp/util/datatype/Vector2D.kt rename to app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/datatype/Vector2D.kt index 3773f69..b4ab46d 100644 --- a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/datatype/Vector2D.kt +++ b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/datatype/Vector2D.kt @@ -1,4 +1,4 @@ -package ee.taltech.iti0213.sportsapp.util.datatype +package ee.taltech.kilpkonn.sportsapp.util.datatype import kotlin.math.sqrt diff --git a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/IFilter.kt b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/IFilter.kt similarity index 52% rename from app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/IFilter.kt rename to app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/IFilter.kt index 2eccc2d..4d1044a 100644 --- a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/IFilter.kt +++ b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/IFilter.kt @@ -1,4 +1,4 @@ -package ee.taltech.iti0213.sportsapp.util.filter +package ee.taltech.kilpkonn.sportsapp.util.filter interface IFilter { diff --git a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/KalmanTrackLocationFilter.kt b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/KalmanTrackLocationFilter.kt similarity index 93% rename from app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/KalmanTrackLocationFilter.kt rename to app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/KalmanTrackLocationFilter.kt index af10606..8703317 100644 --- a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/KalmanTrackLocationFilter.kt +++ b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/KalmanTrackLocationFilter.kt @@ -1,6 +1,6 @@ -package ee.taltech.iti0213.sportsapp.util.filter +package ee.taltech.kilpkonn.sportsapp.util.filter -import ee.taltech.iti0213.sportsapp.track.pracelable.loaction.TrackLocation +import ee.taltech.kilpkonn.sportsapp.track.pracelable.loaction.TrackLocation class KalmanTrackLocationFilter(private val qMetersPerSecond: Double) : IFilter { diff --git a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/SimpleFilter.kt b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/SimpleFilter.kt similarity index 88% rename from app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/SimpleFilter.kt rename to app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/SimpleFilter.kt index 33c8b65..482ef01 100644 --- a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/SimpleFilter.kt +++ b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/SimpleFilter.kt @@ -1,4 +1,4 @@ -package ee.taltech.iti0213.sportsapp.util.filter +package ee.taltech.kilpkonn.sportsapp.util.filter class SimpleFilter(val length: Int): IFilter { diff --git a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/SimpleFilter2D.kt b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/SimpleFilter2D.kt similarity index 80% rename from app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/SimpleFilter2D.kt rename to app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/SimpleFilter2D.kt index f59dcec..baa691f 100644 --- a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/filter/SimpleFilter2D.kt +++ b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/filter/SimpleFilter2D.kt @@ -1,6 +1,6 @@ -package ee.taltech.iti0213.sportsapp.util.filter +package ee.taltech.kilpkonn.sportsapp.util.filter -import ee.taltech.iti0213.sportsapp.util.datatype.Vector2D +import ee.taltech.kilpkonn.sportsapp.util.datatype.Vector2D class SimpleFilter2D(private val length: Int): IFilter { diff --git a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/serializer/TrackSerializer.kt b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/serializer/TrackSerializer.kt similarity index 96% rename from app/src/main/java/ee/taltech/iti0213/sportsapp/util/serializer/TrackSerializer.kt rename to app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/serializer/TrackSerializer.kt index 1053fb4..3ad4129 100644 --- a/app/src/main/java/ee/taltech/iti0213/sportsapp/util/serializer/TrackSerializer.kt +++ b/app/src/main/java/ee/taltech/kilpkonn/sportsapp/util/serializer/TrackSerializer.kt @@ -1,4 +1,4 @@ -package ee.taltech.iti0213.sportsapp.util.serializer +package ee.taltech.kilpkonn.sportsapp.util.serializer import android.content.Context import android.os.Environment diff --git a/app/src/main/res/layout/track_history_item.xml b/app/src/main/res/layout/track_history_item.xml index b70068a..447e3ea 100644 --- a/app/src/main/res/layout/track_history_item.xml +++ b/app/src/main/res/layout/track_history_item.xml @@ -15,7 +15,7 @@ android:background="@drawable/rounded_corners"> -