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.java107 protected int mMaxScrollX; field in PagedView
578 boolean isXBeforeFirstPage = mIsRtl ? (x > mMaxScrollX) : (x < 0); in scrollTo()
579 boolean isXAfterLastPage = mIsRtl ? (x < 0) : (x > mMaxScrollX); in scrollTo()
581 super.scrollTo(mIsRtl ? mMaxScrollX : 0, y); in scrollTo()
585 overScroll(x - mMaxScrollX); in scrollTo()
591 super.scrollTo(mIsRtl ? 0 : mMaxScrollX, y); in scrollTo()
597 overScroll(x - mMaxScrollX); in scrollTo()
630 ev.setMaxScrollX(mMaxScrollX); in sendScrollAccessibilityEvent()
963 mMaxScrollX = getScrollForPage(index); in updateMaxScrollX()
965 mMaxScrollX = 0; in updateMaxScrollX()
DWorkspace.java1274 ((mIsRtl && mUnboundedScrollX > mMaxScrollX) || (!mIsRtl && mUnboundedScrollX < 0)); in isScrollingOverlay()
1284 int finalScroll = mIsRtl ? mMaxScrollX : 0; in snapToDestination()