summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-08-05 19:32:47 (GMT)
committerSunny Goyal <sunnygoyal@google.com>2015-08-05 19:33:05 (GMT)
commitd1ea63f24a751521e6c35cc06be0e548e0b04f23 (patch)
treef0d257a6dcd62f900e2f26ed87fe7f96b581ec72
parent7ca3250a10d608c06a733a92cd61a2feadb9007f (diff)
downloadandroid_packages_apps_Trebuchet-d1ea63f24a751521e6c35cc06be0e548e0b04f23.zip
android_packages_apps_Trebuchet-d1ea63f24a751521e6c35cc06be0e548e0b04f23.tar.gz
android_packages_apps_Trebuchet-d1ea63f24a751521e6c35cc06be0e548e0b04f23.tar.bz2
Removing some synthetic method creation
Change-Id: Icb6b38f78aa56ad2c11e2ccc8005994ac4b86a91
-rw-r--r--src/com/android/launcher3/LauncherStateTransitionAnimation.java2
-rw-r--r--src/com/android/launcher3/SearchDropTargetBar.java8
2 files changed, 6 insertions, 4 deletions
diff --git a/src/com/android/launcher3/LauncherStateTransitionAnimation.java b/src/com/android/launcher3/LauncherStateTransitionAnimation.java
index acace82..5a3f3dc 100644
--- a/src/com/android/launcher3/LauncherStateTransitionAnimation.java
+++ b/src/com/android/launcher3/LauncherStateTransitionAnimation.java
@@ -792,7 +792,7 @@ public class LauncherStateTransitionAnimation {
}
}
- private void cleanupAnimation() {
+ @Thunk void cleanupAnimation() {
mCurrentAnimation = null;
}
}
diff --git a/src/com/android/launcher3/SearchDropTargetBar.java b/src/com/android/launcher3/SearchDropTargetBar.java
index fe89c15..1efdfb6 100644
--- a/src/com/android/launcher3/SearchDropTargetBar.java
+++ b/src/com/android/launcher3/SearchDropTargetBar.java
@@ -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;