/packages/apps/Browser/src/com/android/browser/view/ |
D | ScrollerView.java | 454 final int scrollY = mScrollY; in inChild() local 456 return !(y < child.getTop() - scrollY in inChild() 457 || y >= child.getBottom() - scrollY in inChild() 866 protected void onOverScrolled(int scrollX, int scrollY, in onOverScrolled() argument 871 mScrollY = scrollY; in onOverScrolled() 879 super.scrollTo(scrollX, scrollY); in onOverScrolled() 1288 final int scrollY = mScrollY; in smoothScrollBy() local 1289 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; in smoothScrollBy() 1290 mScroller.startScroll(mScrollX, scrollY, 0, dy); in smoothScrollBy() 1334 final int scrollY = mScrollY; in computeVerticalScrollRange() local [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | BubbleTextView.java | 283 final int scrollY = getScrollY(); in draw() local 290 if ((scrollX | scrollY) == 0) { in draw() 293 canvas.translate(scrollX, scrollY); in draw() 295 canvas.translate(-scrollX, -scrollY); in draw()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 288 final int scrollY = getScrollY(); in draw() local 295 if ((scrollX | scrollY) == 0) { in draw() 298 canvas.translate(scrollX, scrollY); in draw() 300 canvas.translate(-scrollX, -scrollY); in draw()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
D | StaggeredGridView.java | 1405 final int scrollY = getScrollY(); in handleOverfling() local 1407 final int deltaY = currY - scrollY; in handleOverfling() 1408 if (overScrollBy(0, deltaY, 0, scrollY, 0, 0, 0, mOverscrollDistance, false)) { in handleOverfling() 1409 final boolean crossDown = scrollY <= 0 && currY > 0; in handleOverfling() 1410 final boolean crossUp = scrollY >= 0 && currY < 0; in handleOverfling() 1423 if (mScroller.springBack(0, scrollY, 0, 0, 0, 0)) { in handleOverfling() 1443 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { 1444 if (getScrollY() != scrollY) { 1445 scrollTo(0, scrollY);
|
/packages/apps/FMRadio/src/com/android/fmradio/views/ |
D | FmTouchlessScrollView.java | 66 final int scrollY = getScrollY(); in onSaveInstanceState() local 69 setScrollY(scrollY); in onSaveInstanceState()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | TouchlessScrollView.java | 33 final int scrollY = getScrollY(); in onSaveInstanceState() local 36 setScrollY(scrollY); in onSaveInstanceState()
|
/packages/apps/Dialer/src/com/android/dialer/widget/ |
D | ViewDragHelper.java | 980 final int scrollY = v.getScrollY(); 988 y + scrollY >= child.getTop() && y + scrollY < child.getBottom() && 990 y + scrollY - child.getTop())) {
|
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
D | ProgressBar.java | 908 final int scrollY = mScrollY + mPaddingTop; in invalidateDrawable() local 910 invalidate(dirty.left + scrollX, dirty.top + scrollY, in invalidateDrawable() 911 dirty.right + scrollX, dirty.bottom + scrollY); in invalidateDrawable()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationViewFragment.java | 511 final int scrollY = mWebView.getScrollY(); in calculateScrollYPercent() local 517 } else if (scrollY + viewH >= webH) { in calculateScrollYPercent() 522 p = (float) scrollY / webH; in calculateScrollYPercent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumSetPage.java | 185 int scrollY = mSlotView.getScrollY(); in getSlotCenter() local 187 center[1] = offset.top + (r.top + r.bottom) / 2 - scrollY; in getSlotCenter()
|