commit | 8a2eaa795a854a3b896c039f80d68a6e16c275dd | [log] [tgz] |
---|---|---|
author | Haoyu Zhang <haoyuchang@google.com> | Fri Oct 07 10:26:47 2022 -0700 |
committer | Haoyu Zhang <haoyuchang@google.com> | Mon Dec 12 20:30:32 2022 -0800 |
tree | 7fbdcc0b153573c00059fb1ec4d204ee95c06a7d | |
parent | 417f0a0b658f30bd87f630923b2b338c57c993e8 [diff] |
Helper methods for TextBoundsInfo Add some helper methods to TextBoundsInfo to easily map a position to given index. They are useful if IME doesn't want to handle BiDi text by itself. Bug: 239843501 Test: atest TextBoundsInfoMethodTest Change-Id: Iec9f32e785cf97b4503543a1055b903db3116596