Home
last modified time | relevance | path

Searched refs:thumbLength (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DCarScrollBar.java359 int thumbLength = calculateScrollThumbLength(range, extent); in setParameters() local
360 int thumbOffset = calculateScrollThumbOffset(range, offset, thumbLength); in setParameters()
365 if (lp.height != thumbLength) { in setParameters()
366 lp.height = thumbLength; in setParameters()
393 int thumbLength = calculateScrollThumbLength(range, extent); in setParametersInLayout() local
394 int thumbOffset = calculateScrollThumbOffset(range, offset, thumbLength); in setParametersInLayout()
399 if (lp.height != thumbLength) { in setParametersInLayout()
400 lp.height = thumbLength; in setParametersInLayout()
430 private int calculateScrollThumbOffset(int range, int offset, int thumbLength) { in calculateScrollThumbOffset() argument
437 : mScrollThumbTrackHeight - thumbLength); in calculateScrollThumbOffset()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DDefaultScrollBar.java266 int thumbLength = calculateScrollThumbLength(range, extent); in setParameters() local
267 int thumbOffset = calculateScrollThumbOffset(range, offset, thumbLength); in setParameters()
272 if (lp.height != thumbLength) { in setParameters()
273 lp.height = thumbLength; in setParameters()
304 private int calculateScrollThumbOffset(int range, int offset, int thumbLength) { in calculateScrollThumbOffset() argument
312 : mScrollThumbTrackHeight - thumbLength); in calculateScrollThumbOffset()