am 6d71e165: Merge "Round off when calculate next step in Seekbar"

* commit '6d71e165ba961251f0705b75aafed74eba1bc570':
  Round off when calculate next step in Seekbar
This commit is contained in:
Jeff Brown
2014-03-10 17:11:57 -07:00
committed by Android Git Automerger

View File

@@ -292,7 +292,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) {