commit | 92e432c30e2304272c2f5b1b33366f32c3d763cf | [log] [tgz] |
---|---|---|
author | Filip Gruszczynski <gruszczy@google.com> | Tue Dec 15 19:17:09 2015 -0800 |
committer | Filip Gruszczynski <gruszczy@google.com> | Thu Dec 17 08:55:50 2015 -0800 |
tree | cdd2df74f6544368f6f75e47c5ed802279953c55 | |
parent | ad217b68f8bfc993984fb0ceea4bae149bc46157 [diff] |
Refactor and improve window layering. This CL moves layer calculation into a separate class, so the whole logic can be encapsulated. It also extracts special cases from the general loop and instead applies them at the end. This simplifies the logic in the main algorithm and makes it clearer what needs to happen for special cases. Bug: 26144888 Change-Id: I87347bf0198bd0d3cd09e4231b4652ab979f2456