Searched refs:thumbScrollY (Results 1 – 1 of 1) sorted by relevance
257 int thumbScrollY = mScrollbar.getThumbOffsetY(); in onUpdateScrollbar() local258 int diffScrollY = scrollBarY - thumbScrollY; in onUpdateScrollbar()266 int offset = (int) ((dy * thumbScrollY) / (float) scrollBarY); in onUpdateScrollbar()267 thumbScrollY += Math.max(offset, diffScrollY); in onUpdateScrollbar()269 int offset = (int) ((dy * (availableScrollBarHeight - thumbScrollY)) / in onUpdateScrollbar()271 thumbScrollY += Math.min(offset, diffScrollY); in onUpdateScrollbar()273 thumbScrollY = Math.max(0, Math.min(availableScrollBarHeight, thumbScrollY)); in onUpdateScrollbar()274 mScrollbar.setThumbOffsetY(thumbScrollY); in onUpdateScrollbar()275 if (scrollBarY == thumbScrollY) { in onUpdateScrollbar()282 mScrollbar.setThumbOffsetY(thumbScrollY); in onUpdateScrollbar()