OSDN Git Service

Adjust touch progress offset to account for changes to AbsSeekBar
authorAlan Viverette <alanv@google.com>
Mon, 1 Aug 2016 19:14:05 +0000 (15:14 -0400)
committerAlan Viverette <alanv@google.com>
Mon, 1 Aug 2016 19:14:05 +0000 (15:14 -0400)
commit1d33c3f3a379440f8f797c296490b07107bfe9e5
tree66dfb0e4d3855b12c49910823858399abe53588f
parent8960c82dcd265efa350ad173e51c09fe89b0c47f
Adjust touch progress offset to account for changes to AbsSeekBar

Previously AbsSeekBar always rounded up, which resulted in poor handling
of touches near the edge of a progress value. We fixed this but forgot
to adjust RatingBar for the new behavior.

Bug: 30558586
Change-Id: I634fa7a0b98568093e16279ef5a80abe08d2e2fe
core/java/android/widget/RatingBar.java