diff options
author | Petar Šegina <psegina@google.com> | 2017-09-05 20:48:42 +0100 |
---|---|---|
committer | Petar Šegina <psegina@google.com> | 2017-09-06 14:26:28 +0100 |
commit | 5ab7bb242e8b24c1952cba16cc629b7174344937 (patch) | |
tree | a9f5a02705c83587af3ba01f8f52df5c36e6160d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | cc78299968e7f8815dba58ae975f93d1c14992e9 (diff) |
Draw SmartSelectSprite in TextView
Instead of the SmartSelectSprite drawing its contents into a View's
ViewOverlay, the SmartSelectSprite can now be drawn on any Canvas. In
order to perform the smart select animation, it is now the TextView that
performs the actual drawing.
Since the TextView can adjust the canvas for its padding and offset,
there is no more need to manually transform the selection rectangles, so
that part can be removed.
Test: manual - verify smart select animation still works
Change-Id: Ibaccf59fd44d5701e6f37d6b4fa97f2b05fd77cc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions