Searched refs:thumbScrollY (Results 1 – 1 of 1) sorted by relevance
290 int thumbScrollY = mScrollbar.getThumbOffsetY(); in onUpdateScrollbar() local291 int diffScrollY = scrollBarY - thumbScrollY; in onUpdateScrollbar()299 int offset = (int) ((dy * thumbScrollY) / (float) scrollBarY); in onUpdateScrollbar()300 thumbScrollY += Math.max(offset, diffScrollY); in onUpdateScrollbar()302 int offset = (int) ((dy * (availableScrollBarHeight - thumbScrollY)) / in onUpdateScrollbar()304 thumbScrollY += Math.min(offset, diffScrollY); in onUpdateScrollbar()306 thumbScrollY = Math.max(0, Math.min(availableScrollBarHeight, thumbScrollY)); in onUpdateScrollbar()307 mScrollbar.setThumbOffsetY(thumbScrollY); in onUpdateScrollbar()308 if (scrollBarY == thumbScrollY) { in onUpdateScrollbar()315 mScrollbar.setThumbOffsetY(thumbScrollY); in onUpdateScrollbar()