diff options
author | Keisuke Kuroyanagi <ksk@google.com> | 2016-04-28 12:55:18 +0900 |
---|---|---|
committer | Keisuke Kuroyanagi <ksk@google.com> | 2016-04-28 12:55:18 +0900 |
commit | e2a3b1edd938f248ca7f5e86995be951bdb3522e (patch) | |
tree | e06139716325a525e84d9004debb72ec6581d53a /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 697a3334854da5c2c3830f0489a0e7e4c646a7fb (diff) |
Adjust touch position for handles using window coordinate.
Touch position is adjusted in HandleView#onTouchEvent to snap to
ideal offset.
Previously, screen coordinate was used for input, but window
coordinate is used for the ideal offset. As a result, window adjusted touch
position will be adjusted to improper position and a handle being
dragged will get moved to unintended line.
Bug: 22308836
Change-Id: I4a5a3cc695a874c85aa341f06ffcba8b7f5e318c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions