[Android] Rename ThumbnailerManager to Thumbnailer
Jean-Baptiste Kempf
git at videolan.org
Thu Apr 4 11:05:25 CEST 2013
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Apr 4 11:05:09 2013 +0200| [d4efb4b437b5ec0cfed8108537b797363af19962] | committer: Jean-Baptiste Kempf
Rename ThumbnailerManager to Thumbnailer
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=d4efb4b437b5ec0cfed8108537b797363af19962
---
.../videolan/vlc/{ThumbnailerManager.java => Thumbnailer.java} | 4 ++--
.../src/org/videolan/vlc/gui/video/VideoGridFragment.java | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/ThumbnailerManager.java b/vlc-android/src/org/videolan/vlc/Thumbnailer.java
similarity index 98%
rename from vlc-android/src/org/videolan/vlc/ThumbnailerManager.java
rename to vlc-android/src/org/videolan/vlc/Thumbnailer.java
index fe332ee..abc4aec 100644
--- a/vlc-android/src/org/videolan/vlc/ThumbnailerManager.java
+++ b/vlc-android/src/org/videolan/vlc/Thumbnailer.java
@@ -39,7 +39,7 @@ import android.util.DisplayMetrics;
import android.util.Log;
import android.view.Display;
-public class ThumbnailerManager implements Runnable {
+public class Thumbnailer implements Runnable {
public final static String TAG = "VLC/ThumbnailerManager";
private VideoGridFragment mVideoGridFragment;
@@ -57,7 +57,7 @@ public class ThumbnailerManager implements Runnable {
private final float mDensity;
private final String mPrefix;
- public ThumbnailerManager(Context context, Display display) {
+ public Thumbnailer(Context context, Display display) {
mContext = context;
DisplayMetrics metrics = new DisplayMetrics();
display.getMetrics(metrics);
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
index 593fa43..68362e6 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -31,7 +31,7 @@ import org.videolan.vlc.DatabaseManager;
import org.videolan.vlc.Media;
import org.videolan.vlc.MediaLibrary;
import org.videolan.vlc.R;
-import org.videolan.vlc.ThumbnailerManager;
+import org.videolan.vlc.Thumbnailer;
import org.videolan.vlc.Util;
import org.videolan.vlc.VlcRunnable;
import org.videolan.vlc.WeakHandler;
@@ -94,7 +94,7 @@ public class VideoGridFragment extends SherlockGridFragment implements ISortable
private VideoListAdapter mVideoAdapter;
private MediaLibrary mMediaLibrary;
- private ThumbnailerManager mThumbnailerManager;
+ private Thumbnailer mThumbnailerManager;
private VideoGridAnimator mAnimator;
/* All subclasses of Fragment must include a public empty constructor. */
@@ -110,7 +110,7 @@ public class VideoGridFragment extends SherlockGridFragment implements ISortable
/* Load the thumbnailer */
FragmentActivity activity = getActivity();
if (activity != null)
- mThumbnailerManager = new ThumbnailerManager(activity, activity.getWindowManager().getDefaultDisplay());
+ mThumbnailerManager = new Thumbnailer(activity, activity.getWindowManager().getDefaultDisplay());
}
@Override
More information about the Android
mailing list