[Android] [PATCH 0/8] potential enhancement for responsiveness
Yu Lin
yu.lin.86 at gmail.com
Tue Mar 4 23:33:38 CET 2014
My original post and a detail description is in the issue tracker:
https://trac.videolan.org/vlc/ticket/10829
In general, I move database access or bitmap decoding into AsyncTask,
since they are relatively long operations and might affect the responsiveness
of the UI thread.
Yu Lin (8):
extract database access to AsyncTask
extract database access to AsyncTask
extract database access to AsyncTask
extract bitmap decoding to AsyncTask
extract bitmap decoding to AsyncTask
extract bitmap decoding to AsyncTask
extract database access to AsyncTask and avoid races on mLocation
extract database access to AsyncTask
.../src/org/videolan/vlc/VLCApplication.java | 14 +++-
.../src/org/videolan/vlc/gui/BrowserAdapter.java | 64 +++++++++++++------
.../org/videolan/vlc/gui/PreferencesActivity.java | 26 ++++++--
.../src/org/videolan/vlc/gui/SearchFragment.java | 28 +++++++--
.../vlc/gui/audio/AudioBrowserListAdapter.java | 21 +++++-
.../vlc/gui/audio/widget/CoverMediaSwitcher.java | 24 +++++--
.../videolan/vlc/gui/video/VideoListAdapter.java | 67 +++++++++++++-------
.../vlc/gui/video/VideoPlayerActivity.java | 57 +++++++++++++----
8 files changed, 218 insertions(+), 83 deletions(-)
--
1.7.4.4
More information about the Android
mailing list