commit | 2ea18b462b63e1090a9adb91be670d6f95d49b33 | [log] [tgz] |
---|---|---|
author | Justin Ghan <justinghan@google.com> | Fri Sep 30 18:27:31 2022 -0700 |
committer | Justin Ghan <justinghan@google.com> | Mon Oct 03 22:31:44 2022 -0700 |
tree | b8ce19bb94ea8035a3ab3aed6d048b92c6836f7e | |
parent | 3cc4fa15eb442427045f5d666f19a012b004215f [diff] |
Make Layout#getRangeForRect public To avoid making WordIterator public, WordSegmentFinder has a public constructor taking a Locale parameter. The constructor taking a WordIterator parameter is kept but hidden so TextView can use it. LayoutGetRangeForRectTest is moved to CTS. Bug: 243969224 Test: atest android.text.cts.LayoutGetRangeForRectTest Test: atest android.widget.cts.TextViewHandwritingGestureTest Change-Id: Ibb829af0324c47e4d275b0ccd69d0f95601e3c08