commit | e2a3b1edd938f248ca7f5e86995be951bdb3522e | [log] [tgz] |
---|---|---|
author | Keisuke Kuroyanagi <ksk@google.com> | Thu Apr 28 12:55:18 2016 +0900 |
committer | Keisuke Kuroyanagi <ksk@google.com> | Thu Apr 28 12:55:18 2016 +0900 |
tree | e06139716325a525e84d9004debb72ec6581d53a | |
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