summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/DeviceProfile.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-08-03 14:40:11 -0700
committerWinson <winsonc@google.com>2015-08-05 12:04:06 -0700
commit006ee269ba2e9946a83b42f96d4a0296254cba4a (patch)
treecd36c7d5290b2ddcb51fdd120d78b6f6a4228296 /src/com/android/launcher3/DeviceProfile.java
parent153b02a5e69c99b1154eea107da6b2fba4c6f3a3 (diff)
downloadandroid_packages_apps_Trebuchet-006ee269ba2e9946a83b42f96d4a0296254cba4a.tar.gz
android_packages_apps_Trebuchet-006ee269ba2e9946a83b42f96d4a0296254cba4a.tar.bz2
android_packages_apps_Trebuchet-006ee269ba2e9946a83b42f96d4a0296254cba4a.zip
Refactoring search bar animations.
- This refactoring ensures that LauncherStateTransition does not do its own animation on the QSB, and that all animations to the SearchDropTargetBar go through its own animators. Bug: 22515084 Change-Id: Ia7d13c44d861eac7517076b52a9651a90911ed0a
Diffstat (limited to 'src/com/android/launcher3/DeviceProfile.java')
-rw-r--r--src/com/android/launcher3/DeviceProfile.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java
index 6e90fc291..774594fe2 100644
--- a/src/com/android/launcher3/DeviceProfile.java
+++ b/src/com/android/launcher3/DeviceProfile.java
@@ -25,7 +25,6 @@ import android.graphics.Paint.FontMetrics;
import android.graphics.Point;
import android.graphics.Rect;
import android.util.DisplayMetrics;
-import android.util.Size;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
@@ -385,7 +384,7 @@ public class DeviceProfile {
final boolean isLayoutRtl = Utilities.isRtl(launcher.getResources());
// Layout the search bar space
- View searchBar = launcher.getSearchBar();
+ View searchBar = launcher.getSearchDropTargetBar();
lp = (FrameLayout.LayoutParams) searchBar.getLayoutParams();
if (hasVerticalBarLayout) {
// Vertical search bar space -- The search bar is fixed in the layout to be on the left