commit | 98d3f0a8202cf90941737ec60be728a53b567582 | [log] [tgz] |
---|---|---|
author | Abodunrinwa Toki <toki@google.com> | Fri Oct 06 17:19:00 2017 +0100 |
committer | Abodunrinwa Toki <toki@google.com> | Fri Oct 06 17:31:16 2017 +0100 |
tree | 850390b0fce69c6e94e1b55dc1979aa9d5b41ea9 | |
parent | 570a1681a32deb8ff17634761b3c66c8e07eae85 [diff] |
Improve starting offset calculation The previous implementation did not take into account the various expansions that happen for OVERSHOOT and LEFT and RIGHT rectangles, thus causing the initial shape to be an oval instead of a circle. Test: manual - triggered smart select and verified that the intial shape is a circle under the touch point for both single line and multiline scenarios Change-Id: I75175bc3972db3f0608ef364109e0571268da4af