summaryrefslogtreecommitdiffstats
path: root/quickstep/recents_ui_overrides/src/com/android/quickstep
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2019-10-30 16:25:03 -0700
committerSunny Goyal <sunnygoyal@google.com>2019-11-06 22:36:34 +0000
commita5020007e386012225754a367fcf20d2d269e502 (patch)
tree21651d5de79bfd8c1cdfbd2e6bcd16c5f689ab77 /quickstep/recents_ui_overrides/src/com/android/quickstep
parentea09b9c96326234b76ee6d096fa31b3de66442c4 (diff)
downloadandroid_packages_apps_Trebuchet-a5020007e386012225754a367fcf20d2d269e502.tar.gz
android_packages_apps_Trebuchet-a5020007e386012225754a367fcf20d2d269e502.tar.bz2
android_packages_apps_Trebuchet-a5020007e386012225754a367fcf20d2d269e502.zip
Scaling down hotseat to match prediction row size when going to overview
Bug: 141265005 Change-Id: I3b11146881af334508f553e4ca3a36b9291511d9
Diffstat (limited to 'quickstep/recents_ui_overrides/src/com/android/quickstep')
-rw-r--r--quickstep/recents_ui_overrides/src/com/android/quickstep/QuickstepTestInformationHandler.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/QuickstepTestInformationHandler.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/QuickstepTestInformationHandler.java
index 2161591bf..3c78dd8af 100644
--- a/quickstep/recents_ui_overrides/src/com/android/quickstep/QuickstepTestInformationHandler.java
+++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/QuickstepTestInformationHandler.java
@@ -7,7 +7,6 @@ import android.os.Bundle;
import com.android.launcher3.testing.TestInformationHandler;
import com.android.launcher3.testing.TestProtocol;
-import com.android.launcher3.uioverrides.states.OverviewState;
import com.android.launcher3.uioverrides.touchcontrollers.PortraitStatesTouchController;
import com.android.quickstep.util.LayoutUtils;
import com.android.quickstep.views.RecentsView;
@@ -25,7 +24,7 @@ public class QuickstepTestInformationHandler extends TestInformationHandler {
switch (method) {
case TestProtocol.REQUEST_HOME_TO_OVERVIEW_SWIPE_HEIGHT: {
final float swipeHeight =
- OverviewState.getDefaultSwipeHeight(mContext, mDeviceProfile);
+ LayoutUtils.getDefaultSwipeHeight(mContext, mDeviceProfile);
response.putInt(TestProtocol.TEST_INFO_RESPONSE_FIELD, (int) swipeHeight);
return response;
}