Home
last modified time | relevance | path

Searched refs:mMaxScrollX (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java93 protected int mMaxScrollX; field in PagedView
414 boolean isXBeforeFirstPage = isRtl ? (x > mMaxScrollX) : (x < 0); in scrollTo()
415 boolean isXAfterLastPage = isRtl ? (x < 0) : (x > mMaxScrollX); in scrollTo()
420 overScroll(x - mMaxScrollX); in scrollTo()
426 super.scrollTo(mMaxScrollX, y); in scrollTo()
431 overScroll(x - mMaxScrollX); in scrollTo()
588 mMaxScrollX = getChildOffset(index) - getRelativeChildOffset(index); in onMeasure()
590 mMaxScrollX = 0; in onMeasure()
688 boolean isInOverscroll = mOverScrollX < 0 || mOverScrollX > mMaxScrollX; in screenScrolled()
1180 mOverScrollX = mMaxScrollX + overScrollAmount; in acceleratedOverScroll()
[all …]
DWorkspace.java875 float adjustedScrollX = Math.max(0, Math.min(getScrollX(), mMaxScrollX)); in wallpaperOffsetForCurrentScroll()
1188 boolean isInOverscroll = mOverScrollX < 0 || mOverScrollX > mMaxScrollX;
1225 if (mOverScrollX < 0 || mOverScrollX > mMaxScrollX) {
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java123 protected int mMaxScrollX; field in PagedView
664 boolean isXBeforeFirstPage = isRtl ? (x > mMaxScrollX) : (x < 0); in scrollTo()
665 boolean isXAfterLastPage = isRtl ? (x < 0) : (x > mMaxScrollX); in scrollTo()
671 overScroll(x - mMaxScrollX); in scrollTo()
677 super.scrollTo(mMaxScrollX, y); in scrollTo()
683 overScroll(x - mMaxScrollX); in scrollTo()
1017 mMaxScrollX = getScrollForPage(index); in onLayout()
1019 mMaxScrollX = 0; in onLayout()
1044 boolean isInOverscroll = mOverScrollX < 0 || mOverScrollX > mMaxScrollX; in screenScrolled()
1650 mOverScrollX = mMaxScrollX + overScrollAmount; in dampedOverScroll()
[all …]
DWorkspace.java1651 boolean isInOverscroll = mOverScrollX < 0 || mOverScrollX > mMaxScrollX; in updatePageAlphaValues()
1756 boolean shouldOverScroll = mOverScrollX < 0 || mOverScrollX > mMaxScrollX; in screenScrolled()