Home
last modified time | relevance | path

Searched refs:scrollPosition (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Media/src/com/android/car/media/drawer/
DMediaDrawerAdapter.java129 int scrollPosition = mCurrentFetcher.getScrollPosition(); in scrollToCurrent() local
130 if (scrollPosition != MediaItemsFetcher.DONT_SCROLL in scrollToCurrent()
131 && mCurrentScrollPosition != scrollPosition) { in scrollToCurrent()
132 mActivity.scrollToPosition(scrollPosition); in scrollToCurrent()
133 mCurrentScrollPosition = scrollPosition; in scrollToCurrent()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java1426 float scrollPosition = 0f;
1430 scrollPosition = mPendingScrollPosition;
1525 setSelectionInternal(selection, scrollPosition, false);
1906 private void setSelectionInternal(int adapterIndex, float scrollPosition, boolean fireEvent) {
1916 mPendingScrollPosition = scrollPosition;
1924 if (scrollPosition > 0 && viewIndex + mItemsOnOffAxis < lastExpandableIndex()) {
1926 deltaMain = (int) ((nextCenter - scrollCenter) * scrollPosition);
1928 deltaMain = (int) (getSize(view) * scrollPosition);
1941 if (scrollPosition == 0) {
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardSummary.java192 int scrollPosition = bundle.getInt(EXTRA_SCROLL_POSITION); in onViewCreated() local
193 mLayoutManager.scrollToPosition(scrollPosition); in onViewCreated()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java63 public void onScroll(float scrollPosition); in onScroll() argument
554 public void scrollTo(float scrollPosition) { in scrollTo() argument
555 scrollTo(0, Math.round(scrollPosition * mMaxScrollY)); in scrollTo()
DImageGallery.java764 public void onScroll(float scrollPosition) {
765 mScrollPosition = scrollPosition;
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/
DCarLayoutManager.java726 int scrollPosition = getPosition(getChildAt(firstFullyVisibleChildIndex)); in settleScrollForFling() local
727 parent.smoothScrollToPosition(scrollPosition); in settleScrollForFling()