diff --git a/app/src/main/assets/licenses.html b/app/src/main/assets/licenses.html index 77a3ba9a..6928c350 100644 --- a/app/src/main/assets/licenses.html +++ b/app/src/main/assets/licenses.html @@ -8,6 +8,7 @@ + diff --git a/app/src/main/java/com/andrew/apollo/MediaCallback.java b/app/src/main/java/com/andrew/apollo/MediaButtonCallback.java similarity index 87% rename from app/src/main/java/com/andrew/apollo/MediaCallback.java rename to app/src/main/java/com/andrew/apollo/MediaButtonCallback.java index dcaa2df5..b90161c3 100644 --- a/app/src/main/java/com/andrew/apollo/MediaCallback.java +++ b/app/src/main/java/com/andrew/apollo/MediaButtonCallback.java @@ -10,11 +10,11 @@ * * @author nuclearfog */ -public class MediaCallback extends MediaSessionCompat.Callback { +public class MediaButtonCallback extends MediaSessionCompat.Callback { private MusicPlaybackService service; - public MediaCallback(MusicPlaybackService service) { + public MediaButtonCallback(MusicPlaybackService service) { this.service = service; } diff --git a/app/src/main/java/com/andrew/apollo/MusicPlaybackService.java b/app/src/main/java/com/andrew/apollo/MusicPlaybackService.java index 92a2e75e..6a188887 100644 --- a/app/src/main/java/com/andrew/apollo/MusicPlaybackService.java +++ b/app/src/main/java/com/andrew/apollo/MusicPlaybackService.java @@ -498,7 +498,7 @@ public void onCreate() { // Initialize the handler mPlayerHandler = new MusicPlayerHandler(this, thread.getLooper()); mSession = new MediaSessionCompat(getApplicationContext(), TAG); - mSession.setCallback(new MediaCallback(this), mPlayerHandler); + mSession.setCallback(new MediaButtonCallback(this), mPlayerHandler); mSession.setPlaybackState(state); mSession.setActive(true); diff --git a/app/src/main/java/com/andrew/apollo/adapters/SearchAdapter.java b/app/src/main/java/com/andrew/apollo/adapters/SearchAdapter.java index 1455bd77..004d5499 100644 --- a/app/src/main/java/com/andrew/apollo/adapters/SearchAdapter.java +++ b/app/src/main/java/com/andrew/apollo/adapters/SearchAdapter.java @@ -13,13 +13,13 @@ import com.andrew.apollo.R; import com.andrew.apollo.cache.ImageFetcher; -import com.andrew.apollo.utils.PrefixHighlighter; import com.andrew.apollo.model.Album; import com.andrew.apollo.model.Artist; import com.andrew.apollo.model.Music; import com.andrew.apollo.model.Song; import com.andrew.apollo.utils.ApolloUtils; import com.andrew.apollo.utils.MusicUtils; +import com.andrew.apollo.utils.PrefixHighlighter; import java.util.Locale; diff --git a/app/src/main/java/com/andrew/apollo/cache/ImageWorker.java b/app/src/main/java/com/andrew/apollo/cache/ImageWorker.java index a7c7b58f..15b4074a 100644 --- a/app/src/main/java/com/andrew/apollo/cache/ImageWorker.java +++ b/app/src/main/java/com/andrew/apollo/cache/ImageWorker.java @@ -119,11 +119,17 @@ public void addBitmapToCache(String key, Bitmap bitmap) { } } + /** + * @return reference to the image cache + */ @Nullable public ImageCache getImageCache() { return mImageCache; } + /** + * @return application context + */ public Context getContext() { return mContext; } diff --git a/app/src/main/java/com/andrew/apollo/ui/views/ColorSchemeDialog.java b/app/src/main/java/com/andrew/apollo/menu/ColorSchemeDialog.java similarity index 98% rename from app/src/main/java/com/andrew/apollo/ui/views/ColorSchemeDialog.java rename to app/src/main/java/com/andrew/apollo/menu/ColorSchemeDialog.java index a46e64ab..fe9a7fcf 100644 --- a/app/src/main/java/com/andrew/apollo/ui/views/ColorSchemeDialog.java +++ b/app/src/main/java/com/andrew/apollo/menu/ColorSchemeDialog.java @@ -9,7 +9,7 @@ * governing permissions and limitations under the License. */ -package com.andrew.apollo.ui.views; +package com.andrew.apollo.menu; import android.content.Context; import android.graphics.Color; @@ -24,9 +24,10 @@ import androidx.appcompat.app.AlertDialog; import com.andrew.apollo.R; +import com.andrew.apollo.ui.views.ColorPickerView; +import com.andrew.apollo.ui.views.ColorPickerView.OnColorChangedListener; import com.andrew.apollo.utils.ApolloUtils; import com.andrew.apollo.utils.PreferenceUtils; -import com.andrew.apollo.ui.views.ColorPickerView.OnColorChangedListener; import java.util.Locale; diff --git a/app/src/main/java/com/andrew/apollo/ui/activities/ActivityBase.java b/app/src/main/java/com/andrew/apollo/ui/activities/ActivityBase.java index b80fd362..a73338bb 100644 --- a/app/src/main/java/com/andrew/apollo/ui/activities/ActivityBase.java +++ b/app/src/main/java/com/andrew/apollo/ui/activities/ActivityBase.java @@ -37,14 +37,14 @@ import com.andrew.apollo.R; import com.andrew.apollo.receiver.PlaybackStatus; import com.andrew.apollo.receiver.PlaybackStatus.PlayStatusListener; -import com.andrew.apollo.utils.ApolloUtils; -import com.andrew.apollo.utils.MusicUtils; -import com.andrew.apollo.utils.MusicUtils.ServiceToken; -import com.andrew.apollo.utils.NavUtils; import com.andrew.apollo.ui.views.PlayPauseButton; import com.andrew.apollo.ui.views.RepeatButton; import com.andrew.apollo.ui.views.ShuffleButton; import com.andrew.apollo.ui.views.theme.HoloSelector; +import com.andrew.apollo.utils.ApolloUtils; +import com.andrew.apollo.utils.MusicUtils; +import com.andrew.apollo.utils.MusicUtils.ServiceToken; +import com.andrew.apollo.utils.NavUtils; import java.util.LinkedList; import java.util.List; diff --git a/app/src/main/java/com/andrew/apollo/ui/activities/AudioPlayerActivity.java b/app/src/main/java/com/andrew/apollo/ui/activities/AudioPlayerActivity.java index e0389ac8..642de695 100644 --- a/app/src/main/java/com/andrew/apollo/ui/activities/AudioPlayerActivity.java +++ b/app/src/main/java/com/andrew/apollo/ui/activities/AudioPlayerActivity.java @@ -67,17 +67,17 @@ import com.andrew.apollo.receiver.PlaybackStatus.PlayStatusListener; import com.andrew.apollo.ui.fragments.FragmentCallback; import com.andrew.apollo.ui.fragments.QueueFragment; +import com.andrew.apollo.ui.views.PlayPauseButton; +import com.andrew.apollo.ui.views.RepeatButton; +import com.andrew.apollo.ui.views.RepeatingImageButton; +import com.andrew.apollo.ui.views.RepeatingImageButton.RepeatListener; +import com.andrew.apollo.ui.views.ShuffleButton; import com.andrew.apollo.utils.ApolloUtils; import com.andrew.apollo.utils.MusicUtils; import com.andrew.apollo.utils.MusicUtils.ServiceToken; import com.andrew.apollo.utils.NavUtils; import com.andrew.apollo.utils.PreferenceUtils; import com.andrew.apollo.utils.ThemeUtils; -import com.andrew.apollo.ui.views.PlayPauseButton; -import com.andrew.apollo.ui.views.RepeatButton; -import com.andrew.apollo.ui.views.RepeatingImageButton; -import com.andrew.apollo.ui.views.RepeatingImageButton.RepeatListener; -import com.andrew.apollo.ui.views.ShuffleButton; import java.io.File; import java.lang.ref.WeakReference; diff --git a/app/src/main/java/com/andrew/apollo/ui/activities/ProfileActivity.java b/app/src/main/java/com/andrew/apollo/ui/activities/ProfileActivity.java index 5c6c3287..fd593368 100644 --- a/app/src/main/java/com/andrew/apollo/ui/activities/ProfileActivity.java +++ b/app/src/main/java/com/andrew/apollo/ui/activities/ProfileActivity.java @@ -58,14 +58,14 @@ import com.andrew.apollo.ui.fragments.profile.LastAddedFragment; import com.andrew.apollo.ui.fragments.profile.PlaylistSongFragment; import com.andrew.apollo.ui.fragments.profile.PopularSongFragment; +import com.andrew.apollo.ui.views.ProfileTabCarousel; +import com.andrew.apollo.ui.views.ProfileTabCarousel.Listener; import com.andrew.apollo.utils.ApolloUtils; import com.andrew.apollo.utils.MusicUtils; import com.andrew.apollo.utils.NavUtils; import com.andrew.apollo.utils.PreferenceUtils; import com.andrew.apollo.utils.SortOrder; import com.andrew.apollo.utils.ThemeUtils; -import com.andrew.apollo.ui.views.ProfileTabCarousel; -import com.andrew.apollo.ui.views.ProfileTabCarousel.Listener; import java.util.Random; diff --git a/app/src/main/java/com/andrew/apollo/ui/activities/SearchActivity.java b/app/src/main/java/com/andrew/apollo/ui/activities/SearchActivity.java index 71677e22..b77d8a1c 100644 --- a/app/src/main/java/com/andrew/apollo/ui/activities/SearchActivity.java +++ b/app/src/main/java/com/andrew/apollo/ui/activities/SearchActivity.java @@ -35,12 +35,12 @@ import com.andrew.apollo.R; import com.andrew.apollo.adapters.SearchAdapter; +import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.loaders.MusicSearchLoader; import com.andrew.apollo.model.Album; import com.andrew.apollo.model.Artist; import com.andrew.apollo.model.Music; import com.andrew.apollo.model.Song; -import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.utils.ApolloUtils; import com.andrew.apollo.utils.MusicUtils; import com.andrew.apollo.utils.MusicUtils.ServiceToken; diff --git a/app/src/main/java/com/andrew/apollo/ui/activities/ShortcutActivity.java b/app/src/main/java/com/andrew/apollo/ui/activities/ShortcutActivity.java index 2ee8909e..aee39328 100644 --- a/app/src/main/java/com/andrew/apollo/ui/activities/ShortcutActivity.java +++ b/app/src/main/java/com/andrew/apollo/ui/activities/ShortcutActivity.java @@ -32,10 +32,10 @@ import androidx.loader.content.Loader; import com.andrew.apollo.R; -import com.andrew.apollo.utils.Capitalize; import com.andrew.apollo.loaders.SearchLoader; import com.andrew.apollo.model.Song; import com.andrew.apollo.utils.ApolloUtils; +import com.andrew.apollo.utils.Capitalize; import com.andrew.apollo.utils.MusicUtils; import com.andrew.apollo.utils.MusicUtils.ServiceToken; diff --git a/app/src/main/java/com/andrew/apollo/ui/drawables/AsyncDrawable.java b/app/src/main/java/com/andrew/apollo/ui/drawables/AsyncDrawable.java index 42ec2d48..3befd0ff 100644 --- a/app/src/main/java/com/andrew/apollo/ui/drawables/AsyncDrawable.java +++ b/app/src/main/java/com/andrew/apollo/ui/drawables/AsyncDrawable.java @@ -78,15 +78,15 @@ public static class BitmapWorkerTask extends AsyncTask /** * Constructor of BitmapWorkerTask * - * @param imageView The {@link ImageView} to use. - * @param imageType The type of image URL to fetch for. + * @param imageView The {@link ImageView} to use. + * @param mImageType The type of image URL to fetch for. */ - public BitmapWorkerTask(ImageWorker imageWorker, String tag, ImageWorker.ImageType imageType, ImageView... imageView) { + public BitmapWorkerTask(ImageWorker imageWorker, String tag, ImageWorker.ImageType mImageType, ImageView[] imageView) { super(); callback = new WeakReference<>(imageWorker); mImageReference = new WeakReference<>(imageView); imageView[0].setBackgroundResource(R.drawable.default_artwork); - mImageType = imageType; + this.mImageType = mImageType; this.tag = tag; } diff --git a/app/src/main/java/com/andrew/apollo/ui/fragments/AlbumFragment.java b/app/src/main/java/com/andrew/apollo/ui/fragments/AlbumFragment.java index 33667cbe..2a355380 100644 --- a/app/src/main/java/com/andrew/apollo/ui/fragments/AlbumFragment.java +++ b/app/src/main/java/com/andrew/apollo/ui/fragments/AlbumFragment.java @@ -40,11 +40,11 @@ import com.andrew.apollo.R; import com.andrew.apollo.adapters.AlbumAdapter; +import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.loaders.AlbumLoader; import com.andrew.apollo.menu.CreateNewPlaylist; import com.andrew.apollo.menu.FragmentMenuItems; import com.andrew.apollo.model.Album; -import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.ui.activities.ActivityBase; import com.andrew.apollo.ui.activities.ActivityBase.MusicStateListener; import com.andrew.apollo.utils.ApolloUtils; diff --git a/app/src/main/java/com/andrew/apollo/ui/fragments/ArtistFragment.java b/app/src/main/java/com/andrew/apollo/ui/fragments/ArtistFragment.java index 36110d43..c7121416 100644 --- a/app/src/main/java/com/andrew/apollo/ui/fragments/ArtistFragment.java +++ b/app/src/main/java/com/andrew/apollo/ui/fragments/ArtistFragment.java @@ -40,11 +40,11 @@ import com.andrew.apollo.R; import com.andrew.apollo.adapters.ArtistAdapter; +import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.loaders.ArtistLoader; import com.andrew.apollo.menu.CreateNewPlaylist; import com.andrew.apollo.menu.FragmentMenuItems; import com.andrew.apollo.model.Artist; -import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.ui.activities.ActivityBase; import com.andrew.apollo.ui.activities.ActivityBase.MusicStateListener; import com.andrew.apollo.utils.ApolloUtils; diff --git a/app/src/main/java/com/andrew/apollo/ui/fragments/FolderFragment.java b/app/src/main/java/com/andrew/apollo/ui/fragments/FolderFragment.java index e87b8d4a..11078516 100644 --- a/app/src/main/java/com/andrew/apollo/ui/fragments/FolderFragment.java +++ b/app/src/main/java/com/andrew/apollo/ui/fragments/FolderFragment.java @@ -30,8 +30,8 @@ import com.andrew.apollo.R; import com.andrew.apollo.adapters.FolderAdapter; -import com.andrew.apollo.loaders.FolderLoader; import com.andrew.apollo.adapters.recycler.RecycleHolder; +import com.andrew.apollo.loaders.FolderLoader; import com.andrew.apollo.ui.activities.ProfileActivity; import com.andrew.apollo.utils.MusicUtils; diff --git a/app/src/main/java/com/andrew/apollo/ui/fragments/GenreFragment.java b/app/src/main/java/com/andrew/apollo/ui/fragments/GenreFragment.java index dd14b612..8db47360 100644 --- a/app/src/main/java/com/andrew/apollo/ui/fragments/GenreFragment.java +++ b/app/src/main/java/com/andrew/apollo/ui/fragments/GenreFragment.java @@ -37,10 +37,10 @@ import com.andrew.apollo.Config; import com.andrew.apollo.R; import com.andrew.apollo.adapters.GenreAdapter; +import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.loaders.GenreLoader; import com.andrew.apollo.menu.FragmentMenuItems; import com.andrew.apollo.model.Genre; -import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.ui.activities.ProfileActivity; import com.andrew.apollo.utils.ApolloUtils; import com.andrew.apollo.utils.MusicUtils; diff --git a/app/src/main/java/com/andrew/apollo/ui/fragments/PlaylistFragment.java b/app/src/main/java/com/andrew/apollo/ui/fragments/PlaylistFragment.java index 57ba6072..9313fa25 100644 --- a/app/src/main/java/com/andrew/apollo/ui/fragments/PlaylistFragment.java +++ b/app/src/main/java/com/andrew/apollo/ui/fragments/PlaylistFragment.java @@ -47,11 +47,11 @@ import com.andrew.apollo.Config; import com.andrew.apollo.R; import com.andrew.apollo.adapters.PlaylistAdapter; +import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.loaders.PlaylistLoader; import com.andrew.apollo.menu.FragmentMenuItems; import com.andrew.apollo.menu.RenamePlaylist; import com.andrew.apollo.model.Playlist; -import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.ui.activities.ActivityBase; import com.andrew.apollo.ui.activities.ActivityBase.MusicStateListener; import com.andrew.apollo.ui.activities.ProfileActivity; diff --git a/app/src/main/java/com/andrew/apollo/ui/fragments/QueueFragment.java b/app/src/main/java/com/andrew/apollo/ui/fragments/QueueFragment.java index 94a16e4e..af703774 100644 --- a/app/src/main/java/com/andrew/apollo/ui/fragments/QueueFragment.java +++ b/app/src/main/java/com/andrew/apollo/ui/fragments/QueueFragment.java @@ -36,17 +36,17 @@ import com.andrew.apollo.Config; import com.andrew.apollo.R; import com.andrew.apollo.adapters.SongAdapter; -import com.andrew.apollo.ui.views.dragdrop.DragSortListView; -import com.andrew.apollo.ui.views.dragdrop.DragSortListView.DragScrollProfile; -import com.andrew.apollo.ui.views.dragdrop.DragSortListView.DropListener; -import com.andrew.apollo.ui.views.dragdrop.DragSortListView.RemoveListener; +import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.loaders.NowPlayingCursor; import com.andrew.apollo.loaders.QueueLoader; import com.andrew.apollo.menu.CreateNewPlaylist; import com.andrew.apollo.menu.FragmentMenuItems; import com.andrew.apollo.model.Song; import com.andrew.apollo.provider.FavoritesStore; -import com.andrew.apollo.adapters.recycler.RecycleHolder; +import com.andrew.apollo.ui.views.dragdrop.DragSortListView; +import com.andrew.apollo.ui.views.dragdrop.DragSortListView.DragScrollProfile; +import com.andrew.apollo.ui.views.dragdrop.DragSortListView.DropListener; +import com.andrew.apollo.ui.views.dragdrop.DragSortListView.RemoveListener; import com.andrew.apollo.utils.MusicUtils; import com.andrew.apollo.utils.NavUtils; diff --git a/app/src/main/java/com/andrew/apollo/ui/fragments/RecentFragment.java b/app/src/main/java/com/andrew/apollo/ui/fragments/RecentFragment.java index 71bcb989..571d04ed 100644 --- a/app/src/main/java/com/andrew/apollo/ui/fragments/RecentFragment.java +++ b/app/src/main/java/com/andrew/apollo/ui/fragments/RecentFragment.java @@ -40,12 +40,12 @@ import com.andrew.apollo.R; import com.andrew.apollo.adapters.AlbumAdapter; +import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.loaders.RecentLoader; import com.andrew.apollo.menu.CreateNewPlaylist; import com.andrew.apollo.menu.FragmentMenuItems; import com.andrew.apollo.model.Album; import com.andrew.apollo.provider.RecentStore; -import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.ui.activities.ActivityBase; import com.andrew.apollo.ui.activities.ActivityBase.MusicStateListener; import com.andrew.apollo.utils.ApolloUtils; diff --git a/app/src/main/java/com/andrew/apollo/ui/fragments/SongFragment.java b/app/src/main/java/com/andrew/apollo/ui/fragments/SongFragment.java index 71eb5452..8761b841 100644 --- a/app/src/main/java/com/andrew/apollo/ui/fragments/SongFragment.java +++ b/app/src/main/java/com/andrew/apollo/ui/fragments/SongFragment.java @@ -35,12 +35,12 @@ import com.andrew.apollo.R; import com.andrew.apollo.adapters.SongAdapter; +import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.loaders.SongLoader; import com.andrew.apollo.menu.CreateNewPlaylist; import com.andrew.apollo.menu.FragmentMenuItems; import com.andrew.apollo.model.Song; import com.andrew.apollo.provider.FavoritesStore; -import com.andrew.apollo.adapters.recycler.RecycleHolder; import com.andrew.apollo.ui.activities.ActivityBase; import com.andrew.apollo.ui.activities.ActivityBase.MusicStateListener; import com.andrew.apollo.utils.MusicUtils; diff --git a/app/src/main/java/com/andrew/apollo/ui/fragments/profile/ArtistAlbumFragment.java b/app/src/main/java/com/andrew/apollo/ui/fragments/profile/ArtistAlbumFragment.java index e73a610b..95efef28 100644 --- a/app/src/main/java/com/andrew/apollo/ui/fragments/profile/ArtistAlbumFragment.java +++ b/app/src/main/java/com/andrew/apollo/ui/fragments/profile/ArtistAlbumFragment.java @@ -34,9 +34,9 @@ import com.andrew.apollo.menu.CreateNewPlaylist; import com.andrew.apollo.menu.FragmentMenuItems; import com.andrew.apollo.model.Album; +import com.andrew.apollo.ui.views.dragdrop.VerticalScrollListener.ScrollableHeader; import com.andrew.apollo.utils.MusicUtils; import com.andrew.apollo.utils.NavUtils; -import com.andrew.apollo.ui.views.dragdrop.VerticalScrollListener.ScrollableHeader; import java.util.List; diff --git a/app/src/main/java/com/andrew/apollo/ui/fragments/profile/PlaylistSongFragment.java b/app/src/main/java/com/andrew/apollo/ui/fragments/profile/PlaylistSongFragment.java index 530a6990..947609f5 100644 --- a/app/src/main/java/com/andrew/apollo/ui/fragments/profile/PlaylistSongFragment.java +++ b/app/src/main/java/com/andrew/apollo/ui/fragments/profile/PlaylistSongFragment.java @@ -32,13 +32,13 @@ import com.andrew.apollo.Config; import com.andrew.apollo.R; import com.andrew.apollo.adapters.ProfileSongAdapter; -import com.andrew.apollo.ui.views.dragdrop.DragSortListView.DropListener; -import com.andrew.apollo.ui.views.dragdrop.DragSortListView.RemoveListener; import com.andrew.apollo.loaders.PlaylistSongLoader; import com.andrew.apollo.menu.CreateNewPlaylist; import com.andrew.apollo.menu.FragmentMenuItems; import com.andrew.apollo.model.Song; import com.andrew.apollo.provider.FavoritesStore; +import com.andrew.apollo.ui.views.dragdrop.DragSortListView.DropListener; +import com.andrew.apollo.ui.views.dragdrop.DragSortListView.RemoveListener; import com.andrew.apollo.utils.MusicUtils; import com.andrew.apollo.utils.NavUtils; diff --git a/app/src/main/java/com/andrew/apollo/ui/fragments/profile/ProfileFragment.java b/app/src/main/java/com/andrew/apollo/ui/fragments/profile/ProfileFragment.java index 4bcbef46..8a7b7244 100644 --- a/app/src/main/java/com/andrew/apollo/ui/fragments/profile/ProfileFragment.java +++ b/app/src/main/java/com/andrew/apollo/ui/fragments/profile/ProfileFragment.java @@ -19,13 +19,13 @@ import com.andrew.apollo.Config; import com.andrew.apollo.R; +import com.andrew.apollo.adapters.recycler.RecycleHolder; +import com.andrew.apollo.ui.activities.ProfileActivity.FragmentCallback; +import com.andrew.apollo.ui.views.ProfileTabCarousel; import com.andrew.apollo.ui.views.dragdrop.DragSortListView; import com.andrew.apollo.ui.views.dragdrop.DragSortListView.DragScrollProfile; import com.andrew.apollo.ui.views.dragdrop.DragSortListView.DropListener; import com.andrew.apollo.ui.views.dragdrop.DragSortListView.RemoveListener; -import com.andrew.apollo.adapters.recycler.RecycleHolder; -import com.andrew.apollo.ui.activities.ProfileActivity.FragmentCallback; -import com.andrew.apollo.ui.views.ProfileTabCarousel; import com.andrew.apollo.ui.views.dragdrop.VerticalScrollListener; /** diff --git a/app/src/main/java/com/andrew/apollo/ui/views/PlayPauseButton.java b/app/src/main/java/com/andrew/apollo/ui/views/PlayPauseButton.java index 2856965d..2d086931 100644 --- a/app/src/main/java/com/andrew/apollo/ui/views/PlayPauseButton.java +++ b/app/src/main/java/com/andrew/apollo/ui/views/PlayPauseButton.java @@ -22,9 +22,9 @@ import androidx.appcompat.widget.AppCompatImageButton; import com.andrew.apollo.R; +import com.andrew.apollo.ui.views.theme.HoloSelector; import com.andrew.apollo.utils.ApolloUtils; import com.andrew.apollo.utils.MusicUtils; -import com.andrew.apollo.ui.views.theme.HoloSelector; /** * A custom {@link ImageButton} that represents the "play and pause" button. diff --git a/app/src/main/java/com/andrew/apollo/ui/views/RepeatButton.java b/app/src/main/java/com/andrew/apollo/ui/views/RepeatButton.java index 2511cf34..ec0c7e5e 100644 --- a/app/src/main/java/com/andrew/apollo/ui/views/RepeatButton.java +++ b/app/src/main/java/com/andrew/apollo/ui/views/RepeatButton.java @@ -29,9 +29,9 @@ import com.andrew.apollo.MusicPlaybackService; import com.andrew.apollo.R; +import com.andrew.apollo.ui.views.theme.HoloSelector; import com.andrew.apollo.utils.ApolloUtils; import com.andrew.apollo.utils.MusicUtils; -import com.andrew.apollo.ui.views.theme.HoloSelector; /** * A custom {@link AppCompatImageButton} that represents the "repeat" button. diff --git a/app/src/main/java/com/andrew/apollo/ui/views/RepeatingImageButton.java b/app/src/main/java/com/andrew/apollo/ui/views/RepeatingImageButton.java index 3bcf7424..cf31e086 100644 --- a/app/src/main/java/com/andrew/apollo/ui/views/RepeatingImageButton.java +++ b/app/src/main/java/com/andrew/apollo/ui/views/RepeatingImageButton.java @@ -23,9 +23,9 @@ import androidx.appcompat.widget.AppCompatImageButton; import com.andrew.apollo.R; +import com.andrew.apollo.ui.views.theme.HoloSelector; import com.andrew.apollo.utils.ApolloUtils; import com.andrew.apollo.utils.MusicUtils; -import com.andrew.apollo.ui.views.theme.HoloSelector; import java.lang.ref.WeakReference; diff --git a/app/src/main/java/com/andrew/apollo/ui/views/ShuffleButton.java b/app/src/main/java/com/andrew/apollo/ui/views/ShuffleButton.java index 215bfcbf..470cc76f 100644 --- a/app/src/main/java/com/andrew/apollo/ui/views/ShuffleButton.java +++ b/app/src/main/java/com/andrew/apollo/ui/views/ShuffleButton.java @@ -27,9 +27,9 @@ import com.andrew.apollo.MusicPlaybackService; import com.andrew.apollo.R; +import com.andrew.apollo.ui.views.theme.HoloSelector; import com.andrew.apollo.utils.ApolloUtils; import com.andrew.apollo.utils.MusicUtils; -import com.andrew.apollo.ui.views.theme.HoloSelector; /** * @author Andrew Neal (andrewdneal@gmail.com) diff --git a/app/src/main/java/com/andrew/apollo/utils/ApolloUtils.java b/app/src/main/java/com/andrew/apollo/utils/ApolloUtils.java index b0c0215a..ee68fa5b 100644 --- a/app/src/main/java/com/andrew/apollo/utils/ApolloUtils.java +++ b/app/src/main/java/com/andrew/apollo/utils/ApolloUtils.java @@ -43,10 +43,10 @@ import com.andrew.apollo.R; import com.andrew.apollo.cache.ImageCache; import com.andrew.apollo.cache.ImageFetcher; +import com.andrew.apollo.menu.ColorSchemeDialog; import com.andrew.apollo.ui.activities.HomeActivity; import com.andrew.apollo.ui.activities.ShortcutActivity; import com.andrew.apollo.ui.views.ColorPickerView; -import com.andrew.apollo.ui.views.ColorSchemeDialog; import com.devspark.appmsg.AppMsg; import java.io.File;