[Android] Migrate utils to kotlin
Nicolas Pomepuy
git at videolan.org
Fri Apr 26 12:45:53 CEST 2019
vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Apr 18 12:06:59 2019 +0200| [b061227dbb23dbb6a2fe026830f94c60db5adf9d] | committer: Geoffrey Métais
Migrate utils to kotlin
> https://code.videolan.org/videolan/vlc-android/commit/b061227dbb23dbb6a2fe026830f94c60db5adf9d
---
.../src/org/videolan/vlc/DebugLogService.java | 6 +-
.../src/org/videolan/vlc/MediaSessionCallback.kt | 2 +-
.../src/org/videolan/vlc/PlaybackService.kt | 4 +-
.../src/org/videolan/vlc/StartActivity.java | 2 +-
.../src/org/videolan/vlc/VLCApplication.java | 6 +-
.../src/org/videolan/vlc/VLCCrashHandler.java | 6 +-
.../src/org/videolan/vlc/gui/DebugLogActivity.kt | 2 +-
.../src/org/videolan/vlc/gui/PlaylistActivity.kt | 2 +-
.../videolan/vlc/gui/audio/EqualizerFragment.kt | 66 +--
.../org/videolan/vlc/gui/audio/PlaylistAdapter.kt | 2 +-
.../videolan/vlc/gui/browser/ExtensionBrowser.kt | 6 +-
.../vlc/gui/browser/MediaBrowserFragment.kt | 4 +-
.../org/videolan/vlc/gui/helpers/AudioUtil.java | 18 +-
.../vlc/gui/helpers/NotificationHelper.java | 4 +-
.../src/org/videolan/vlc/gui/helpers/UiTools.java | 4 +-
.../vlc/gui/preferences/PreferencesAdvanced.kt | 2 +-
.../videolan/vlc/gui/video/VideoPlayerActivity.kt | 2 +-
.../vlc/repository/OpenSubtitleRepository.kt | 6 +-
.../src/org/videolan/vlc/util/AndroidDevices.java | 4 +-
.../src/org/videolan/vlc/util/FileUtils.java | 512 ---------------------
vlc-android/src/org/videolan/vlc/util/FileUtils.kt | 512 +++++++++++++++++++++
.../src/org/videolan/vlc/util/HttpImageLoader.java | 61 ---
.../src/org/videolan/vlc/util/HttpImageLoader.kt | 60 +++
vlc-android/src/org/videolan/vlc/util/Logcat.java | 166 -------
vlc-android/src/org/videolan/vlc/util/Logcat.kt | 170 +++++++
.../videolan/vlc/util/MediaItemDiffCallback.java | 31 --
.../org/videolan/vlc/util/MediaItemDiffCallback.kt | 34 ++
.../src/org/videolan/vlc/util/MediaItemFilter.java | 38 --
.../src/org/videolan/vlc/util/Permissions.java | 250 ----------
.../src/org/videolan/vlc/util/Permissions.kt | 231 ++++++++++
.../src/org/videolan/vlc/util/Preferences.java | 59 ---
.../src/org/videolan/vlc/util/Preferences.kt | 61 +++
vlc-android/src/org/videolan/vlc/util/Util.java | 236 ----------
vlc-android/src/org/videolan/vlc/util/Util.kt | 153 ++++++
.../src/org/videolan/vlc/util/VLCInstance.java | 75 ---
.../src/org/videolan/vlc/util/VLCInstance.kt | 80 ++++
.../src/org/videolan/vlc/util/VLCOptions.java | 342 --------------
.../src/org/videolan/vlc/util/VLCOptions.kt | 340 ++++++++++++++
.../src/org/videolan/vlc/util/VLCRunnable.java | 39 --
.../org/videolan/vlc/util/VoiceSearchParams.java | 99 ----
.../src/org/videolan/vlc/util/VoiceSearchParams.kt | 98 ++++
.../vlc/util/{WeakHandler.java => WeakHandler.kt} | 22 +-
.../org/videolan/vlc/viewmodels/SubtitlesModel.kt | 2 +-
43 files changed, 1824 insertions(+), 1995 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/b061227dbb23dbb6a2fe026830f94c60db5adf9d
More information about the Android
mailing list