[Android] Medialibrary: rename AClasses into AbstractClasses
Duncan McNamara
git at videolan.org
Fri Jun 28 09:26:28 CEST 2019
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Wed Jun 26 18:30:50 2019 +0200| [9a4e78448ef963775ca7bd714ea74aac81e267f3] | committer: Geoffrey Métais
Medialibrary: rename AClasses into AbstractClasses
> https://code.videolan.org/videolan/vlc-android/commit/9a4e78448ef963775ca7bd714ea74aac81e267f3
---
medialibrary/jni/medialibrary.cpp | 192 +++++++-------
.../videolan/medialibrary/MLServiceLocator.java | 110 ++++----
.../org/videolan/medialibrary/Medialibrary.java | 241 +++++++++--------
.../src/org/videolan/medialibrary/Tools.java | 12 +-
...Medialibrary.java => AbstractMedialibrary.java} | 126 ++++-----
.../medialibrary/interfaces/media/AGenre.java | 54 ----
.../media/{AAlbum.java => AbstractAlbum.java} | 38 +--
.../media/{AArtist.java => AbstractArtist.java} | 44 ++--
.../media/{AFolder.java => AbstractFolder.java} | 26 +-
.../interfaces/media/AbstractGenre.java | 54 ++++
...MediaWrapper.java => AbstractMediaWrapper.java} | 46 ++--
.../{APlaylist.java => AbstractPlaylist.java} | 24 +-
.../src/org/videolan/medialibrary/media/Album.java | 44 ++--
.../org/videolan/medialibrary/media/Artist.java | 74 +++---
.../org/videolan/medialibrary/media/DummyItem.java | 8 +-
.../org/videolan/medialibrary/media/Folder.java | 44 ++--
.../src/org/videolan/medialibrary/media/Genre.java | 90 +++----
.../videolan/medialibrary/media/HistoryItem.java | 12 +-
.../medialibrary/media/MediaLibraryItem.java | 6 +-
.../videolan/medialibrary/media/MediaWrapper.java | 36 ++-
.../org/videolan/medialibrary/media/Playlist.java | 66 ++---
.../medialibrary/media/SearchAggregate.java | 48 ++--
.../org/videolan/medialibrary/media/Storage.java | 8 +-
.../org/videolan/medialibrary/stubs/StubAlbum.java | 34 +--
.../videolan/medialibrary/stubs/StubArtist.java | 52 ++--
.../medialibrary/stubs/StubDataSource.java | 148 +++++------
.../videolan/medialibrary/stubs/StubFolder.java | 44 ++--
.../org/videolan/medialibrary/stubs/StubGenre.java | 70 ++---
.../medialibrary/stubs/StubMediaWrapper.java | 4 +-
.../medialibrary/stubs/StubMedialibrary.java | 286 ++++++++++-----------
.../videolan/medialibrary/stubs/StubPlaylist.java | 32 +--
vlc-android/res/layout/folder_item.xml | 2 +-
vlc-android/res/layout/history_item.xml | 4 +-
vlc-android/res/layout/playlist_item.xml | 2 +-
vlc-android/res/layout/tv_simple_list_item.xml | 2 +-
vlc-android/res/layout/video_grid_card.xml | 2 +-
vlc-android/res/layout/video_list_card.xml | 2 +-
.../src/org/videolan/vlc/MediaParsingService.kt | 24 +-
.../src/org/videolan/vlc/MediaSessionCallback.kt | 4 +-
.../src/org/videolan/vlc/PlaybackService.kt | 37 ++-
.../src/org/videolan/vlc/RecommendationsService.kt | 6 +-
.../src/org/videolan/vlc/StoragesMonitor.kt | 4 +-
vlc-android/src/org/videolan/vlc/VLCApplication.kt | 6 +-
.../vlc/extensions/ExtensionManagerService.java | 4 +-
.../src/org/videolan/vlc/extensions/Utils.java | 6 +-
.../vlc/gui/AudioPlayerContainerActivity.kt | 8 +-
.../src/org/videolan/vlc/gui/DialogActivity.kt | 4 +-
.../src/org/videolan/vlc/gui/HistoryAdapter.kt | 6 +-
.../src/org/videolan/vlc/gui/HistoryFragment.kt | 10 +-
.../src/org/videolan/vlc/gui/InfoActivity.kt | 22 +-
.../src/org/videolan/vlc/gui/MainActivity.kt | 4 +-
.../src/org/videolan/vlc/gui/PlaylistActivity.kt | 27 +-
.../src/org/videolan/vlc/gui/PlaylistFragment.kt | 4 +-
.../src/org/videolan/vlc/gui/SearchActivity.kt | 4 +-
.../vlc/gui/audio/AudioAlbumsSongsFragment.kt | 8 +-
.../videolan/vlc/gui/audio/AudioBrowserFragment.kt | 6 +-
.../src/org/videolan/vlc/gui/audio/AudioPlayer.kt | 10 +-
.../org/videolan/vlc/gui/audio/BaseAudioBrowser.kt | 8 +-
.../org/videolan/vlc/gui/audio/PlaylistAdapter.kt | 14 +-
.../videolan/vlc/gui/browser/BaseBrowserAdapter.kt | 22 +-
.../vlc/gui/browser/BaseBrowserFragment.kt | 61 ++---
.../videolan/vlc/gui/browser/ExtensionAdapter.kt | 16 +-
.../videolan/vlc/gui/browser/ExtensionBrowser.kt | 6 +-
.../vlc/gui/browser/FileBrowserFragment.kt | 10 +-
.../videolan/vlc/gui/browser/FilePickerAdapter.kt | 4 +-
.../videolan/vlc/gui/browser/FilePickerFragment.kt | 10 +-
.../vlc/gui/browser/MediaBrowserFragment.kt | 34 +--
.../vlc/gui/browser/NetworkBrowserFragment.kt | 6 +-
.../org/videolan/vlc/gui/browser/PathAdapter.kt | 4 +-
.../vlc/gui/browser/StorageBrowserAdapter.kt | 4 +-
.../vlc/gui/browser/StorageBrowserFragment.kt | 8 +-
.../vlc/gui/dialogs/NetworkServerDialog.kt | 4 +-
.../videolan/vlc/gui/dialogs/SavePlaylistDialog.kt | 20 +-
.../org/videolan/vlc/gui/folders/FoldersAdapter.kt | 16 +-
.../videolan/vlc/gui/folders/FoldersFragment.kt | 8 +-
.../src/org/videolan/vlc/gui/helpers/AudioUtil.kt | 20 +-
.../src/org/videolan/vlc/gui/helpers/BitmapUtil.kt | 8 +-
.../org/videolan/vlc/gui/helpers/ImageLoader.kt | 14 +-
.../videolan/vlc/gui/helpers/MediaComparators.kt | 4 +-
.../vlc/gui/helpers/PlayerOptionsDelegate.kt | 2 +-
.../src/org/videolan/vlc/gui/helpers/UiTools.kt | 48 ++--
.../org/videolan/vlc/gui/helpers/hf/OtgAccess.kt | 14 +-
.../src/org/videolan/vlc/gui/network/MRLAdapter.kt | 10 +-
.../videolan/vlc/gui/network/MRLPanelFragment.kt | 10 +-
.../vlc/gui/preferences/PreferencesAdvanced.kt | 6 +-
.../src/org/videolan/vlc/gui/tv/CardPresenter.kt | 24 +-
.../org/videolan/vlc/gui/tv/FileTvItemAdapter.kt | 14 +-
.../src/org/videolan/vlc/gui/tv/MainTvActivity.kt | 6 +-
.../src/org/videolan/vlc/gui/tv/MainTvFragment.kt | 13 +-
.../org/videolan/vlc/gui/tv/MediaHeaderAdapter.kt | 10 +-
.../vlc/gui/tv/MediaItemDetailsFragment.kt | 14 +-
.../org/videolan/vlc/gui/tv/MediaTvItemAdapter.kt | 6 +-
.../src/org/videolan/vlc/gui/tv/SearchFragment.kt | 16 +-
vlc-android/src/org/videolan/vlc/gui/tv/TvUtil.kt | 68 ++---
.../vlc/gui/tv/audioplayer/AudioPlayerActivity.kt | 10 +-
.../vlc/gui/tv/audioplayer/PlaylistAdapter.kt | 4 +-
.../vlc/gui/tv/browser/BaseBrowserTvFragment.kt | 24 +-
.../videolan/vlc/gui/tv/browser/BaseTvActivity.kt | 6 +-
.../vlc/gui/tv/browser/CategoriesFragment.kt | 8 +-
.../vlc/gui/tv/browser/DirectoryBrowserFragment.kt | 4 +-
.../vlc/gui/tv/browser/FileBrowserTvFragment.kt | 16 +-
.../vlc/gui/tv/browser/MediaBrowserTvFragment.kt | 8 +-
.../vlc/gui/tv/browser/NetworkBrowserFragment.kt | 4 +-
.../vlc/gui/tv/browser/VerticalGridActivity.kt | 4 +-
.../src/org/videolan/vlc/gui/video/PopupManager.kt | 4 +-
.../videolan/vlc/gui/video/VideoGridFragment.kt | 38 +--
.../org/videolan/vlc/gui/video/VideoListAdapter.kt | 30 +--
.../videolan/vlc/gui/video/VideoPlayerActivity.kt | 50 ++--
.../src/org/videolan/vlc/interfaces/Sortable.kt | 12 +-
.../videolan/vlc/media/MediaSessionBrowser.java | 26 +-
.../src/org/videolan/vlc/media/MediaUtils.kt | 74 +++---
.../src/org/videolan/vlc/media/MediaWrapperList.kt | 30 +--
.../src/org/videolan/vlc/media/PlayerController.kt | 7 +-
.../src/org/videolan/vlc/media/PlaylistManager.kt | 90 +++----
.../org/videolan/vlc/providers/BrowserProvider.kt | 30 +--
.../videolan/vlc/providers/FileBrowserProvider.kt | 14 +-
.../videolan/vlc/providers/FilePickerProvider.kt | 4 +-
.../org/videolan/vlc/providers/NetworkProvider.kt | 8 +-
.../org/videolan/vlc/providers/StorageProvider.kt | 4 +-
.../vlc/providers/medialibrary/AlbumsProvider.kt | 36 +--
.../vlc/providers/medialibrary/ArtistsProvider.kt | 8 +-
.../vlc/providers/medialibrary/FoldersProvider.kt | 8 +-
.../vlc/providers/medialibrary/GenresProvider.kt | 8 +-
.../providers/medialibrary/MedialibraryProvider.kt | 8 +-
.../providers/medialibrary/PlaylistsProvider.kt | 8 +-
.../vlc/providers/medialibrary/TracksProvider.kt | 52 ++--
.../vlc/providers/medialibrary/VideosProvider.kt | 20 +-
.../vlc/repository/BrowserFavRepository.kt | 8 +-
.../videolan/vlc/repository/DirectoryRepository.kt | 8 +-
.../org/videolan/vlc/repository/SlaveRepository.kt | 4 +-
.../src/org/videolan/vlc/util/Browserutils.kt | 6 +-
vlc-android/src/org/videolan/vlc/util/FileUtils.kt | 4 +-
.../src/org/videolan/vlc/util/FilterDelegate.kt | 8 +-
.../src/org/videolan/vlc/util/Kextensions.kt | 26 +-
.../src/org/videolan/vlc/util/ModelsHelper.kt | 116 ++++-----
.../org/videolan/vlc/util/ThumbnailsProvider.kt | 37 ++-
.../src/org/videolan/vlc/util/TvChannels.kt | 6 +-
vlc-android/src/org/videolan/vlc/util/Util.kt | 4 +-
.../src/org/videolan/vlc/util/VLCOptions.kt | 10 +-
.../org/videolan/vlc/viewmodels/HistoryModel.kt | 6 +-
.../videolan/vlc/viewmodels/MedialibraryModel.kt | 6 +-
.../vlc/viewmodels/MedialibraryViewModel.kt | 6 +-
.../org/videolan/vlc/viewmodels/PlaylistModel.kt | 20 +-
.../org/videolan/vlc/viewmodels/SortableModel.kt | 6 +-
.../org/videolan/vlc/viewmodels/StreamsModel.kt | 4 +-
.../vlc/viewmodels/browser/BrowserModel.kt | 22 +-
.../vlc/viewmodels/mobile/AlbumSongsViewModel.kt | 20 +-
.../vlc/viewmodels/mobile/AudioBrowserViewModel.kt | 10 +-
.../vlc/viewmodels/mobile/FoldersViewModel.kt | 8 +-
.../vlc/viewmodels/mobile/PlaylistViewModel.kt | 20 +-
.../vlc/viewmodels/mobile/VideosViewModel.kt | 8 +-
.../org/videolan/vlc/viewmodels/tv/MainTvModel.kt | 24 +-
.../test-common/org/videolan/vlc/util/TestUtil.kt | 2 +-
153 files changed, 1951 insertions(+), 1958 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/9a4e78448ef963775ca7bd714ea74aac81e267f3
More information about the Android
mailing list