Searched refs:maxThumbOffset (Results 1 – 1 of 1) sorted by relevance
17780 final float maxThumbOffset = bounds.height() - thumbLength; in handleScrollBarDragging() local17782 Math.min(Math.max(thumbOffset + diff, 0.0f), maxThumbOffset); in handleScrollBarDragging()17784 if (Math.round(newThumbOffset) != thumbOffset && maxThumbOffset > 0 in handleScrollBarDragging()17787 / ((float)extent / height) * (newThumbOffset / maxThumbOffset)); in handleScrollBarDragging()17809 final float maxThumbOffset = bounds.width() - thumbLength; in handleScrollBarDragging() local17811 Math.min(Math.max(thumbOffset + diff, 0.0f), maxThumbOffset); in handleScrollBarDragging()17813 if (Math.round(newThumbOffset) != thumbOffset && maxThumbOffset > 0 in handleScrollBarDragging()17816 / ((float)extent / width) * (newThumbOffset / maxThumbOffset)); in handleScrollBarDragging()