Searched refs:maxThumbOffset (Results 1 – 1 of 1) sorted by relevance
15212 final float maxThumbOffset = bounds.height() - thumbLength; in handleScrollBarDragging() local15214 Math.min(Math.max(thumbOffset + diff, 0.0f), maxThumbOffset); in handleScrollBarDragging()15216 if (Math.round(newThumbOffset) != thumbOffset && maxThumbOffset > 0 in handleScrollBarDragging()15219 / ((float)extent / height) * (newThumbOffset / maxThumbOffset)); in handleScrollBarDragging()15241 final float maxThumbOffset = bounds.width() - thumbLength; in handleScrollBarDragging() local15243 Math.min(Math.max(thumbOffset + diff, 0.0f), maxThumbOffset); in handleScrollBarDragging()15245 if (Math.round(newThumbOffset) != thumbOffset && maxThumbOffset > 0 in handleScrollBarDragging()15248 / ((float)extent / width) * (newThumbOffset / maxThumbOffset)); in handleScrollBarDragging()