Home
last modified time | relevance | path

Searched refs:scrollX (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Browser/src/com/android/browser/view/
DScrollerView.java866 protected void onOverScrolled(int scrollX, int scrollY, in onOverScrolled() argument
870 mScrollX = scrollX; in onOverScrolled()
879 super.scrollTo(scrollX, scrollY); in onOverScrolled()
1281 final int scrollX = mScrollX; in smoothScrollBy() local
1282 dx = Math.max(0, Math.min(scrollX + dx, maxX)) - scrollX; in smoothScrollBy()
1283 mScroller.startScroll(scrollX, mScrollY, dx, 0); in smoothScrollBy()
1363 final int scrollX = mScrollX; in computeHorizontalScrollRange() local
1365 if (scrollX < 0) { in computeHorizontalScrollRange()
1366 scrollRange -= scrollX; in computeHorizontalScrollRange()
1367 } else if (scrollX > overscrollBottom) { in computeHorizontalScrollRange()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DBubbleTextView.java282 final int scrollX = getScrollX(); in draw() local
290 if ((scrollX | scrollY) == 0) { in draw()
293 canvas.translate(scrollX, scrollY); in draw()
295 canvas.translate(-scrollX, -scrollY); in draw()
DWorkspace.java2585 int scrollX = getScrollX();
2587 scrollX = mScroller.getFinalX();
2589 xy[0] = xy[0] + scrollX - v.getLeft();
2610 int scrollX = getScrollX();
2612 scrollX = mScroller.getFinalX();
2614 xy[0] -= (scrollX - v.getLeft());
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java287 final int scrollX = getScrollX(); in draw() local
295 if ((scrollX | scrollY) == 0) { in draw()
298 canvas.translate(scrollX, scrollY); in draw()
300 canvas.translate(-scrollX, -scrollY); in draw()
DPagedView.java737 int scrollX = (int) (mScroller.getCurrX() * (1 / scaleX)); in computeScrollHelper() local
738 scrollTo(scrollX, mScroller.getCurrY()); in computeScrollHelper()
/packages/apps/Dialer/src/com/android/dialer/widget/
DViewDragHelper.java979 final int scrollX = v.getScrollX();
987 if (x + scrollX >= child.getLeft() && x + scrollX < child.getRight() &&
989 canScroll(child, true, dx, dy, x + scrollX - child.getLeft(),
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPaper.java68 public float[] getTransform(Rect rect, float scrollX) { in getTransform() argument
71 float screenX = rect.centerX() - scrollX; in getTransform()
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DProgressBar.java907 final int scrollX = mScrollX + mPaddingLeft; in invalidateDrawable() local
910 invalidate(dirty.left + scrollX, dirty.top + scrollY, in invalidateDrawable()
911 dirty.right + scrollX, dirty.bottom + scrollY); in invalidateDrawable()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetPage.java184 int scrollX = mSlotView.getScrollX(); in getSlotCenter() local
186 center[0] = offset.left + (r.left + r.right) / 2 - scrollX; in getSlotCenter()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java1443 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) {