Searched refs:scrollX (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Browser/src/com/android/browser/view/ |
D | ScrollerView.java | 866 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/ |
D | BubbleTextView.java | 282 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()
|
D | Workspace.java | 2585 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/ |
D | BubbleTextView.java | 287 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()
|
D | PagedView.java | 737 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/ |
D | ViewDragHelper.java | 979 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/ |
D | Paper.java | 68 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/ |
D | ProgressBar.java | 907 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/ |
D | AlbumSetPage.java | 184 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/ |
D | StaggeredGridView.java | 1443 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) {
|