Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardSummary.java187 int scrollPosition = bundle.getInt(EXTRA_SCROLL_POSITION); in onViewCreated() local
188 mLayoutManager.scrollToPosition(scrollPosition); in onViewCreated()
/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/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/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java715 int scrollPosition = getPosition(getChildAt(firstFullyVisibleChildIndex)); in settleScrollForFling() local
716 parent.smoothScrollToPosition(scrollPosition); in settleScrollForFling()