Removing animated caret drawable

> Both landscape and portrait UI will show a static drag handle
> In landscape the handle is drawn below the all-apps scrim,
  while in portrait it moves with the hotseat

Change-Id: Ia6964c6f98feb8ba90517e23667d8c68bc2f6d35
This commit is contained in:
Sunny Goyal committed 2017-10-27 02:44:49 +00:00
1 parent 4fc994c988
commit 4d49f9a8ac
11 files changed
+108 -355

No files matched your search

@@ -81,8 +81,6 @@ public class AllAppsTransitionController implements TouchController, SwipeDetect
private Workspace mWorkspace;
private Hotseat mHotseat;
private AllAppsCaretController mCaretController;
private final Launcher mLauncher;
private final SwipeDetector mDetector;
private final boolean mIsDarkTheme;
@@ -193,7 +191,6 @@ public class AllAppsTransitionController implements TouchController, SwipeDetect
@Override
public void onDragStart(boolean start) {
mCaretController.onDragStart();
mLauncher.getStateManager().cancelAnimation();
cancelDiscoveryAnimation();
mShiftStart = mAppsView.getTranslationY();
@@ -349,7 +346,6 @@ public class AllAppsTransitionController implements TouchController, SwipeDetect
System.currentTimeMillis());
}
mCaretController.updateCaret(progress, mContainerVelocity, mDetector.isDraggingState());
updateLightStatusBar(shiftCurrent);
}
@@ -479,8 +475,6 @@ public class AllAppsTransitionController implements TouchController, SwipeDetect
mHotseat = hotseat;
mWorkspace = workspace;
mHotseat.bringToFront();
mCaretController = new AllAppsCaretController(
mWorkspace.getPageIndicator().getCaretDrawable(), mLauncher);
mAppsView.getSearchUiManager().addOnScrollRangeChangeListener(this);
mSpringAnimationHandler = mAppsView.getSpringAnimationHandler();
mSearchSpring = mAppsView.getSearchUiManager().getSpringForFling();