Home
last modified time | relevance | path

Searched refs:mScrollBarView (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/car/src/main/java/androidx/car/widget/
DPagedListView.java105 PagedScrollBarView mScrollBarView; field in PagedListView
323 mScrollBarView = findViewById(R.id.paged_scroll_view); in init()
324 mScrollBarView.setPaginationListener(new PagedScrollBarView.PaginationListener() { in init()
367 mScrollBarView.setVisibility(mScrollBarEnabled ? VISIBLE : GONE); in init()
373 ((MarginLayoutParams) mScrollBarView.getLayoutParams()).topMargin); in init()
471 ViewGroup.LayoutParams layoutParams = mScrollBarView.getLayoutParams(); in setScrollBarContainerWidth()
473 mScrollBarView.requestLayout(); in setScrollBarContainerWidth()
482 MarginLayoutParams params = (MarginLayoutParams) mScrollBarView.getLayoutParams(); in setScrollBarTopMargin()
484 mScrollBarView.requestLayout(); in setScrollBarTopMargin()
586 mScrollBarView.setUpButtonIcon(icon); in setUpButtonIcon()
[all …]
/frameworks/support/car/src/main/java/androidx/car/app/
DCarListDialog.java73 private PagedScrollBarView mScrollBarView; field in CarListDialog
246 mScrollBarView = getWindow().findViewById(R.id.scrollbar); in initializeScrollbar()
247 mScrollBarView.setDayNightStyle(DayNightStyle.ALWAYS_LIGHT); in initializeScrollbar()
249 mScrollBarView.setPaginationListener(new PagedScrollBarView.PaginationListener() { in initializeScrollbar()
366 mScrollBarView.setVisibility(View.INVISIBLE); in updateScrollbar()
370 mScrollBarView.setVisibility(View.VISIBLE); in updateScrollbar()
371 mScrollBarView.setUpEnabled(!isAtStart); in updateScrollbar()
372 mScrollBarView.setDownEnabled(!isAtEnd); in updateScrollbar()
376 mScrollBarView.setParameters( in updateScrollbar()
/frameworks/support/car/src/androidTest/java/androidx/car/widget/
DPagedListViewTest.java324 assertThat(mPagedListView.mScrollBarView.getScrollbarThumbColor(), in testSettingAndResettingScrollbarColor()
329 assertThat(mPagedListView.mScrollBarView.getScrollbarThumbColor(), in testSettingAndResettingScrollbarColor()
353 assertThat(mPagedListView.mScrollBarView.getScrollbarThumbColor(), in testSettingScrollbarColorIgnoresDayNightStyle()