Files
frameworks_base/core/java/android/widget
Adrian Roos 7c7898e74f GestureNav: Fix AbsSeekBar thumb exclusion
Fix two issues that caused the exclusion for SeekBar thumbs to be to small and offset
from the thumb:

Account for padding and thumb offset; the thumb drawable is drawn with an offset
from the View's Canvas; the same offset must be applied when udpating the exclusion
rects.

The thumb is typically much smaller than the drag zone; the thumb rect alone doesn't
provide an appropriately large exclusion for reliably hitting it, so it is enlarged
to the height of the seek bar (up to 48dp).

Bug: 138992366
Test: manual, show exclusion zones with: adb shell setprop debug.pointerlocation.showexclusion 150 && adb shell settings put system pointer_location 1
Test: atest android.widget.AbsSeekBarTest
Change-Id: I2b670c6f3f33451bdccdfd3d75a75e90260257ff
2019-08-07 15:09:26 +02:00
..
2019-07-18 20:42:25 +00:00
2019-03-18 16:05:55 -04:00
2019-03-11 14:10:44 +00:00
2019-02-05 17:20:21 +00:00
2019-07-18 21:44:50 +00:00
2019-02-28 18:41:26 -05:00
2019-02-28 18:41:26 -05:00
2019-02-27 16:52:33 -08:00