commit | 73769f0a88c44ffa4f3212a612e5018085591ceb | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Thu Jun 20 13:02:10 2019 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu Jun 20 20:06:24 2019 +0000 |
tree | f5b087d040ed841bfded6106c062fce339944dea | |
parent | 04414bba47eb4f223e37724028e274b9099ddc73 [diff] |
Fixing rounding error when computing bottom clip - In TaskThumbnailView.updateThumbnailMatrix() we compare the rounded scaled bitmap height with the height of the task/thumbnail view. Since the position is also non-integer, the rounding of the sum is not equivalent to the rounding of the individual components, which causes the check to fail. Bug: 135150767 Test: Quickswitch on sargo Change-Id: I849b4732569e5b8699f00f5ff210f41fb505f1e7