am d0fd73d7: am 1c4d86c7: am f54d62dc: am fc7315c6: am 6d71e165: Merge "Round off when calculate next step in Seekbar"
* commit 'd0fd73d7c5ddc1ff17097f24cdfcfc2120e57096': Round off when calculate next step in Seekbar
This commit is contained in:
@@ -296,7 +296,7 @@ public abstract class AbsSeekBar extends ProgressBar {
|
||||
// The extra space for the thumb to move on the track
|
||||
available += mThumbOffset * 2;
|
||||
|
||||
int thumbPos = (int) (scale * available);
|
||||
int thumbPos = (int) (scale * available + 0.5f);
|
||||
|
||||
int topBound, bottomBound;
|
||||
if (gap == Integer.MIN_VALUE) {
|
||||
|
||||
Reference in New Issue
Block a user