commit | 5396d7eb13893bea01f43e17c9cbcbc994b85160 | [log] [tgz] |
---|---|---|
author | Keisuke Kuroyanagi <ksk@google.com> | Fri Feb 19 15:28:26 2016 -0800 |
committer | Keisuke Kuroyanagi <ksk@google.com> | Mon Feb 22 19:37:26 2016 +0000 |
tree | 60dc5a81f382cc698bd3191f22dc7ef22e1ee04f | |
parent | 24f62ea63482e6c5d5ba3357951e13e25221eb2e [diff] |
Make drag shadow grapheme cluster aware. [start, min(end, DRAG_SHADOW_MAX_TEXT_LENGTH)) was used to make drag shadow. It ignores grapheme cluster, so unexpected shadow was created for characters that contain multiple code units. Bug: 23097276 Change-Id: Ic7d34ec02ea04a3f17337e4253babac87ef3b03c