Removing some synthetic method creation

Change-Id: Icb6b38f78aa56ad2c11e2ccc8005994ac4b86a91
This commit is contained in:
Sunny Goyal
2015-08-05 12:32:47 -07:00
parent 7ca3250a10
commit d1ea63f24a
2 changed files with 6 additions and 4 deletions
@@ -792,7 +792,7 @@ public class LauncherStateTransitionAnimation {
} }
} }
private void cleanupAnimation() { @Thunk void cleanupAnimation() {
mCurrentAnimation = null; mCurrentAnimation = null;
} }
} }
@@ -26,6 +26,8 @@ import android.view.accessibility.AccessibilityManager;
import android.view.animation.AccelerateInterpolator; import android.view.animation.AccelerateInterpolator;
import android.widget.FrameLayout; 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 * 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. * 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(); new AccelerateInterpolator();
private State mState = State.SEARCH_BAR; private State mState = State.SEARCH_BAR;
private View mQSB; @Thunk View mQSB;
private View mDropTargetBar; @Thunk View mDropTargetBar;
private boolean mDeferOnDragEnd = false; private boolean mDeferOnDragEnd = false;
private boolean mAccessibilityEnabled = false; @Thunk boolean mAccessibilityEnabled = false;
// Drop targets // Drop targets
private ButtonDropTarget mInfoDropTarget; private ButtonDropTarget mInfoDropTarget;