[Android] Medialibrary: rename MediaWrapper

Geoffrey Métais git at videolan.org
Thu Dec 19 16:46:41 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Dec 18 16:46:21 2019 +0100| [6ad44dbf9c04b200a64c0900ff592e24119d7393] | committer: Geoffrey Métais

Medialibrary: rename MediaWrapper

> https://code.videolan.org/videolan/vlc-android/commit/6ad44dbf9c04b200a64c0900ff592e24119d7393
---

 medialibrary/jni/medialibrary.cpp                  |  78 +++++------
 .../videolan/medialibrary/MLServiceLocator.java    |  48 +++----
 .../org/videolan/medialibrary/Medialibrary.java    |  98 ++++++-------
 .../src/org/videolan/medialibrary/Tools.java       |  12 +-
 .../interfaces/AbstractMedialibrary.java           |  56 ++++----
 .../interfaces/media/AbstractAlbum.java            |   8 +-
 .../interfaces/media/AbstractArtist.java           |   8 +-
 .../interfaces/media/AbstractFolder.java           |   8 +-
 .../interfaces/media/AbstractGenre.java            |  12 +-
 .../interfaces/media/AbstractPlaylist.java         |   6 +-
 .../interfaces/media/AbstractVideoGroup.java       |   8 +-
 ...AbstractMediaWrapper.java => MediaWrapper.java} |  65 ++++++---
 .../src/org/videolan/medialibrary/media/Album.java |  14 +-
 .../org/videolan/medialibrary/media/Artist.java    |  14 +-
 .../org/videolan/medialibrary/media/DummyItem.java |   4 +-
 .../org/videolan/medialibrary/media/Folder.java    |  12 +-
 .../src/org/videolan/medialibrary/media/Genre.java |  14 +-
 .../videolan/medialibrary/media/HistoryItem.java   |  12 +-
 .../medialibrary/media/MediaLibraryItem.java       |   6 +-
 .../{MediaWrapper.java => MediaWrapperImpl.java}   |  31 ++---
 .../org/videolan/medialibrary/media/Playlist.java  |  14 +-
 .../medialibrary/media/SearchAggregate.java        |  16 +--
 .../org/videolan/medialibrary/media/Storage.java   |   4 +-
 .../videolan/medialibrary/media/VideoGroup.java    |  10 +-
 .../org/videolan/medialibrary/stubs/StubAlbum.java |  22 +--
 .../videolan/medialibrary/stubs/StubArtist.java    |  27 ++--
 .../medialibrary/stubs/StubDataSource.java         |  46 +++----
 .../videolan/medialibrary/stubs/StubFolder.java    |  30 ++--
 .../org/videolan/medialibrary/stubs/StubGenre.java |  32 ++---
 .../medialibrary/stubs/StubMediaWrapper.java       |   5 +-
 .../medialibrary/stubs/StubMedialibrary.java       | 151 ++++++++++-----------
 .../videolan/medialibrary/stubs/StubPlaylist.java  |  28 ++--
 .../medialibrary/stubs/StubVideoGroup.java         |  10 +-
 .../org/videolan/vlc/UtilAdapterMatcher.kt         |   4 +-
 .../org/videolan/vlc/UtilViewMatchers.kt           |   4 +-
 .../vlc/gui/browser/FileBrowserFragmentUITest.kt   |  22 +--
 .../res/layout/activity_media_list_tv_item.xml     |   4 +-
 vlc-android/res/layout/history_item.xml            |   4 +-
 vlc-android/res/layout/playlist_item.xml           |   2 +-
 vlc-android/res/layout/tv_playlist_item.xml        |   2 +-
 .../src/org/videolan/vlc/MediaSessionCallback.kt   |   4 +-
 .../src/org/videolan/vlc/PlaybackService.kt        |  32 ++---
 .../src/org/videolan/vlc/RecommendationsService.kt |   6 +-
 .../src/org/videolan/vlc/TVSearchProvider.kt       |   4 +-
 .../videolan/vlc/database/models/MediaMetadata.kt  |   4 +-
 .../vlc/extensions/ExtensionManagerService.java    |   4 +-
 .../src/org/videolan/vlc/extensions/Utils.java     |   6 +-
 .../src/org/videolan/vlc/gui/DialogActivity.kt     |   4 +-
 .../src/org/videolan/vlc/gui/HistoryAdapter.kt     |  10 +-
 .../src/org/videolan/vlc/gui/HistoryFragment.kt    |  15 +-
 .../src/org/videolan/vlc/gui/InfoActivity.kt       |  20 +--
 .../src/org/videolan/vlc/gui/MoviepediaActivity.kt |   4 +-
 .../src/org/videolan/vlc/gui/PlaylistActivity.kt   |  18 +--
 .../src/org/videolan/vlc/gui/PlaylistFragment.kt   |   4 +-
 .../vlc/gui/audio/AudioAlbumsSongsFragment.kt      |   4 +-
 .../videolan/vlc/gui/audio/AudioBrowserFragment.kt |   6 +-
 .../src/org/videolan/vlc/gui/audio/AudioPlayer.kt  |  10 +-
 .../org/videolan/vlc/gui/audio/BaseAudioBrowser.kt |  10 +-
 .../org/videolan/vlc/gui/audio/PlaylistAdapter.kt  |  14 +-
 .../videolan/vlc/gui/browser/BaseBrowserAdapter.kt |  23 ++--
 .../vlc/gui/browser/BaseBrowserFragment.kt         |  63 ++++-----
 .../videolan/vlc/gui/browser/ExtensionAdapter.kt   |  14 +-
 .../videolan/vlc/gui/browser/ExtensionBrowser.kt   |   6 +-
 .../vlc/gui/browser/FileBrowserFragment.kt         |   8 +-
 .../videolan/vlc/gui/browser/FilePickerAdapter.kt  |   4 +-
 .../videolan/vlc/gui/browser/FilePickerFragment.kt |   8 +-
 .../vlc/gui/browser/MediaBrowserFragment.kt        |  10 +-
 .../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      |   6 +-
 .../vlc/gui/dialogs/NetworkServerDialog.kt         |   4 +-
 .../videolan/vlc/gui/dialogs/SavePlaylistDialog.kt |  12 +-
 .../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    |  20 +--
 .../videolan/vlc/gui/helpers/MediaComparators.kt   |   4 +-
 .../src/org/videolan/vlc/gui/helpers/UiTools.kt    |  12 +-
 .../org/videolan/vlc/gui/helpers/hf/OtgAccess.kt   |  12 +-
 .../src/org/videolan/vlc/gui/network/MRLAdapter.kt |  10 +-
 .../videolan/vlc/gui/network/MRLPanelFragment.kt   |   8 +-
 .../src/org/videolan/vlc/gui/tv/CardPresenter.kt   |  24 ++--
 .../org/videolan/vlc/gui/tv/FileTvItemAdapter.kt   |  18 +--
 .../src/org/videolan/vlc/gui/tv/MainTvFragment.kt  |   9 +-
 .../vlc/gui/tv/MediaItemDetailsFragment.kt         |  16 +--
 .../org/videolan/vlc/gui/tv/MediaTvItemAdapter.kt  |   6 +-
 .../videolan/vlc/gui/tv/MoviepediaTvActivity.kt    |   4 +-
 .../videolan/vlc/gui/tv/MoviepediaTvFragment.kt    |   4 +-
 .../videolan/vlc/gui/tv/MoviepediaTvItemAdapter.kt |   4 +-
 .../src/org/videolan/vlc/gui/tv/SearchFragment.kt  |   4 +-
 vlc-android/src/org/videolan/vlc/gui/tv/TvUtil.kt  |  71 +++++-----
 .../vlc/gui/tv/audioplayer/AudioPlayerActivity.kt  |   8 +-
 .../vlc/gui/tv/audioplayer/PlaylistAdapter.kt      |   4 +-
 .../vlc/gui/tv/browser/BaseBrowserTvFragment.kt    |   4 +-
 .../vlc/gui/tv/browser/FileBrowserTvFragment.kt    |  20 +--
 .../vlc/gui/tv/browser/MediaBrowserTvFragment.kt   |  14 +-
 .../vlc/gui/tv/details/MediaListAdapter.kt         |   8 +-
 .../src/org/videolan/vlc/gui/video/PopupManager.kt |   5 +-
 .../videolan/vlc/gui/video/VideoGridFragment.kt    |  18 +--
 .../org/videolan/vlc/gui/video/VideoListAdapter.kt |  20 ++-
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  |  43 +++---
 .../videolan/vlc/media/MediaSessionBrowser.java    |   8 +-
 .../src/org/videolan/vlc/media/MediaUtils.kt       |  64 ++++-----
 .../src/org/videolan/vlc/media/MediaWrapperList.kt |  24 ++--
 .../src/org/videolan/vlc/media/PlayerController.kt |   6 +-
 .../src/org/videolan/vlc/media/PlaylistManager.kt  |  78 +++++------
 .../videolan/vlc/moviepedia/MoviepediaIndexer.kt   |   8 +-
 .../org/videolan/vlc/providers/BrowserProvider.kt  |  24 ++--
 .../videolan/vlc/providers/FileBrowserProvider.kt  |   8 +-
 .../videolan/vlc/providers/FilePickerProvider.kt   |   4 +-
 .../vlc/providers/MoviepediaTvshowProvider.kt      |  14 +-
 .../org/videolan/vlc/providers/NetworkProvider.kt  |   8 +-
 .../vlc/providers/medialibrary/TracksProvider.kt   |   6 +-
 .../vlc/providers/medialibrary/VideosProvider.kt   |   8 +-
 .../vlc/repository/BrowserFavRepository.kt         |   8 +-
 .../videolan/vlc/repository/DirectoryRepository.kt |   6 +-
 .../org/videolan/vlc/repository/SlaveRepository.kt |   5 +-
 .../src/org/videolan/vlc/util/Browserutils.kt      |   4 +-
 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       |  16 +--
 .../src/org/videolan/vlc/util/ModelsHelper.kt      |  36 ++---
 .../org/videolan/vlc/util/ThumbnailsProvider.kt    |  13 +-
 .../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        |  11 +-
 .../org/videolan/vlc/viewmodels/HistoryModel.kt    |   6 +-
 .../org/videolan/vlc/viewmodels/PlaylistModel.kt   |  16 +--
 .../org/videolan/vlc/viewmodels/StreamsModel.kt    |   4 +-
 .../vlc/viewmodels/browser/BrowserModel.kt         |  22 +--
 .../viewmodels/browser/PathOperationDelegate.kt    |  12 +-
 .../vlc/viewmodels/mobile/VideosViewModel.kt       |  12 +-
 .../org/videolan/vlc/viewmodels/tv/MainTvModel.kt  |  12 +-
 .../vlc/repository/BrowserFavRepositoryTest.kt     |   2 +-
 .../videolan/vlc/viewmodels/HistoryModelTest.kt    |   4 +-
 .../videolan/vlc/viewmodels/StreamsModelTest.kt    |   9 +-
 .../vlc/viewmodels/browser/FileBrowserModelTest.kt |   8 +-
 .../vlc/viewmodels/browser/NetworkModelTest.kt     |  12 +-
 .../viewmodels/mobile/AlbumSongsViewModelTest.kt   |   4 +-
 .../viewmodels/mobile/AudioBrowserViewModelTest.kt |   4 +-
 .../vlc/viewmodels/mobile/PlaylistViewModelTest.kt |   4 +-
 141 files changed, 1108 insertions(+), 1104 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/6ad44dbf9c04b200a64c0900ff592e24119d7393


More information about the Android mailing list