Commit Graph

2 Commits

Author SHA1 Message Date
Tony Wickham 52240a3aa0 Only detect swipe directions that lead to new states
This cleans up the code and ensures that the current state animation
is always initialized when we get drag events.

Also log when we pass through states.

Bug: 78017680
Change-Id: I54ab42923ed539940ea708973ad65f5793669c11
2018-05-03 14:04:25 -07:00
Tony Wickham 23972338ac Rename LandscapeStatesTouchController -> OverviewToAllAppsTouchController
I find this less confusing, as the controller is also used in portrait
mode when swipe down is disabled.

Change-Id: Ifd6b4453a1b59e1f8305c1461d89ed99de2fe7d6
2018-04-11 17:06:06 -07:00