From 39f4ad6d7e663778d74a47c8b25768c4f221fbdc Mon Sep 17 00:00:00 2001 From: nicolasroard Date: Thu, 27 Jun 2013 14:41:58 -0700 Subject: Refactor HistoryAdapter - Remove the adapter part - Rename into HistoryManager Change-Id: I58de5661770f8796882ff4a633aec700bd8bc1a5 --- src/com/android/gallery3d/filtershow/imageshow/MasterImage.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/com/android/gallery3d/filtershow/imageshow/MasterImage.java') diff --git a/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java b/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java index 53e38f4d9..56c4a62b8 100644 --- a/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java +++ b/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java @@ -25,7 +25,7 @@ import android.os.Handler; import android.os.Message; import com.android.gallery3d.filtershow.FilterShowActivity; -import com.android.gallery3d.filtershow.history.HistoryAdapter; +import com.android.gallery3d.filtershow.history.HistoryManager; import com.android.gallery3d.filtershow.history.HistoryItem; import com.android.gallery3d.filtershow.cache.FilteringPipeline; import com.android.gallery3d.filtershow.cache.ImageLoader; @@ -64,7 +64,7 @@ public class MasterImage implements RenderingRequestCaller { private Bitmap mHighresBitmap = null; private ImageLoader mLoader = null; - private HistoryAdapter mHistory = null; + private HistoryManager mHistory = null; private StateAdapter mState = null; private FilterShowActivity mActivity = null; @@ -198,7 +198,7 @@ public class MasterImage implements RenderingRequestCaller { mHistory.setCurrentPreset(position); } - public HistoryAdapter getHistory() { + public HistoryManager getHistory() { return mHistory; } @@ -206,7 +206,7 @@ public class MasterImage implements RenderingRequestCaller { return mState; } - public void setHistoryAdapter(HistoryAdapter adapter) { + public void setHistoryManager(HistoryManager adapter) { mHistory = adapter; } -- cgit v1.2.3