Files
frameworks_base/core/java/android/widget
Justin Ghan b34559a74a Remove space gesture: improve range calculation
The initial implementation using Layout#getOffsetForHorizontal could
miss whitespace characters at the endpoints. This new implementation
using Layout#getRangeForRect ensures all whitespace characters touched
are included in the range.

Bug: 247557062
Test: atest android.widget.cts.TextViewHandwritingGestureTest
Change-Id: I800407a6d89d77cd5e750530d9dae8ccb268869f
2022-10-10 00:19:00 -07:00
..
2022-09-08 13:41:42 +09:00
2022-09-22 16:12:23 +09:00
2022-07-19 13:52:13 -07:00