OSDN Git Service

Move grid checking into the layout algorithm.
authorJiaquan He <hejq@google.com>
Tue, 27 Dec 2016 22:44:14 +0000 (14:44 -0800)
committerJiaquan He <hejq@google.com>
Thu, 29 Dec 2016 00:07:15 +0000 (16:07 -0800)
commit26f637b5553facca5f7873c28d19af36ffccd634
tree67bf39d57ceda2f178d36fb7f18ccbadd95f027e
parent0a5e2d6b93af0638f9dccb3bad43266b8fc261ad
Move grid checking into the layout algorithm.

We move grid layout checking into the layout algorithm, so that we can
hide more computation from the views.

Bug: 32101881

Change-Id: I174fe33ef7ed3c04987771dbb42d831a4b9bdab2
packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java
packages/SystemUI/src/com/android/systemui/recents/views/RecentsView.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackAnimationHelper.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackLayoutAlgorithm.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java