summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.h
diff options
context:
space:
mode:
author Abodunrinwa Toki <toki@google.com> 2017-10-06 17:19:00 +0100
committer Abodunrinwa Toki <toki@google.com> 2017-10-06 17:31:16 +0100
commit98d3f0a8202cf90941737ec60be728a53b567582 (patch)
tree850390b0fce69c6e94e1b55dc1979aa9d5b41ea9 /libs/hwui/ProgramCache.h
parent570a1681a32deb8ff17634761b3c66c8e07eae85 (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
Diffstat (limited to 'libs/hwui/ProgramCache.h')
0 files changed, 0 insertions, 0 deletions