OSDN Git Service

Removing some synthetic method creation
authorSunny Goyal <sunnygoyal@google.com>
Wed, 5 Aug 2015 19:32:47 +0000 (12:32 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Wed, 5 Aug 2015 19:33:05 +0000 (12:33 -0700)
Change-Id: Icb6b38f78aa56ad2c11e2ccc8005994ac4b86a91

src/com/android/launcher3/LauncherStateTransitionAnimation.java
src/com/android/launcher3/SearchDropTargetBar.java

index acace82..5a3f3dc 100644 (file)
@@ -792,7 +792,7 @@ public class LauncherStateTransitionAnimation {
         }
     }
 
-    private void cleanupAnimation() {
+    @Thunk void cleanupAnimation() {
         mCurrentAnimation = null;
     }
 }
index fe89c15..1efdfb6 100644 (file)
@@ -26,6 +26,8 @@ import android.view.accessibility.AccessibilityManager;
 import android.view.animation.AccelerateInterpolator;
 import android.widget.FrameLayout;
 
+import com.android.launcher3.util.Thunk;
+
 /*
  * Ths bar will manage the transition between the QSB search bar and the delete drop
  * targets so that each of the individual IconDropTargets don't have to.
@@ -63,10 +65,10 @@ public class SearchDropTargetBar extends FrameLayout implements DragController.D
             new AccelerateInterpolator();
 
     private State mState = State.SEARCH_BAR;
-    private View mQSB;
-    private View mDropTargetBar;
+    @Thunk View mQSB;
+    @Thunk View mDropTargetBar;
     private boolean mDeferOnDragEnd = false;
-    private boolean mAccessibilityEnabled = false;
+    @Thunk boolean mAccessibilityEnabled = false;
 
     // Drop targets
     private ButtonDropTarget mInfoDropTarget;