diff options
| author | 2022-10-20 16:54:00 -0700 | |
|---|---|---|
| committer | 2022-10-20 17:02:18 -0700 | |
| commit | 9d0b39c24a0e793e708193ce2c0cb5292d0285cb (patch) | |
| tree | 849ea700ee8a338a4238ab0471a696d3c8caddc4 /libs/androidfw/ResourceTimer.cpp | |
| parent | 316f451fb6b68714ce98f31a535763bd08d9e9a5 (diff) | |
Update Layout#getRangeForRect to not use Range
android.util.Range is not suitable for text ranges since it uses
inclusive boundaries, whereas the convention in text is to represent
ranges with an inclusive start boundary and exclusive end boundary. So
the API is updated to use an array of two ints to represent the text
range.
Bug: 251085162
Test: atest android.text.cts.LayoutGetRangeForRectTest
Change-Id: I54ab6d2741d1cfbbb743e477de4fa7299382fcfb
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions