Searched refs:mScrollThumb (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | CarScrollBar.java | 58 private View mScrollThumb; field in CarScrollBar 132 mScrollThumb = mScrollView.findViewById(R.id.scrollbar_thumb); in initialize() 154 layoutViewCenteredFromTop(mScrollThumb, layoutTop, width); in initialize() 281 mScrollThumb.getLayoutParams().height, in measureScrollThumb() 283 mScrollThumb.measure(scrollWidth, scrollHeight); in measureScrollThumb() 295 int layoutTop = mScrollThumb.getTop(); in measureAndLayoutScrollThumb() 296 layoutViewCenteredFromTop(mScrollThumb, layoutTop, mScrollView.getMeasuredWidth()); in measureAndLayoutScrollThumb() 363 ViewGroup.LayoutParams lp = mScrollThumb.getLayoutParams(); in setParameters() 367 mScrollThumb.requestLayout(); in setParameters() 370 moveY(mScrollThumb, thumbOffset, animate); in setParameters() [all …]
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | DefaultScrollBar.java | 54 private View mScrollThumb; field in DefaultScrollBar 96 mScrollThumb = requireViewByRefId(mScrollView, R.id.scrollbar_thumb); in initialize() 126 layoutViewCenteredFromTop(mScrollThumb, layoutTop, width); in initialize() 270 ViewGroup.LayoutParams lp = mScrollThumb.getLayoutParams(); in setParameters() 274 mScrollThumb.requestLayout(); in setParameters() 277 moveY(mScrollThumb, thumbOffset, animate); in setParameters() 309 return mScrollThumb.getTop() in calculateScrollThumbOffset()
|