Refactor SwipeDetector to track both axes

Existing clients now use the SingleAxisSwipeDetector subclass. A
followup CL will add BothAxesSwipeDetector, whose first client will be
the quick switch from home controller.

Bug: 126596417
Change-Id: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d
This commit is contained in:
Tony Wickham committed 2019-10-24 10:38:17 -07:00
1 parent f6d504d4cb
commit 5aeb3b84b8
15 files changed
+343 -260

No files matched your search

@@ -34,7 +34,7 @@ public class AllAppsSwipeController extends AbstractStateChangeTouchController {
private MotionEvent mTouchDownEvent;
public AllAppsSwipeController(Launcher l) {
super(l, SwipeDetector.VERTICAL);
super(l, SingleAxisSwipeDetector.VERTICAL);
}
@Override