commit | 23c2a024fc78f66c0e1d301b5638a11ecfcae0d6 | [log] [tgz] |
---|---|---|
author | Jon Miranda <jonmiranda@google.com> | Fri Jan 04 14:30:26 2019 -0800 |
committer | Jon Miranda <jonmiranda@google.com> | Fri Jan 04 14:30:26 2019 -0800 |
tree | 9d554b737c36799a26a24aea34a3bdd5287a9820 | |
parent | efb8b836660bd367744c406b1a3ce7f20561e000 [diff] |
Fix bug in getVisualCenter where we do not offset by the dragRegion. This bug made it hard to create folders in landscape mode because since the visual center was off, placing the drag view directly in the center of the cell caused the underlying item to move since the distance calculation placed the drag view outside of the folder creation range. Bug: 111939693 Change-Id: Id0bccb87a87ff1be188def61e697319381f725e1