Home
last modified time | relevance | path

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

/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java901 int scrollPos) { in doDraw() argument
905 int currentBlock = (scrollPos < 0) in doDraw()
906 ? ((scrollPos - height + 1) / height) in doDraw()
907 : (scrollPos / height); in doDraw()
911 if (yPos >= scrollPos + thisHeight) { in doDraw()
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabs.java216 final int scrollPos = selectedChild.getLeft() - (getWidth() - selectedChild.getWidth()) / 2; in onPageSelected() local
217 smoothScrollTo(scrollPos, 0); in onPageSelected()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DViewPagerTabs.java270 final int scrollPos = selectedChild.getLeft() - (getWidth() - selectedChild.getWidth()) / 2; in onPageSelected() local
271 smoothScrollTo(scrollPos, 0); in onPageSelected()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java1901 float scrollPos = isRtl ? mMaxScrollX - getScrollX() : getScrollX(); in updateScrollingIndicatorPosition() local
1902 float offset = Math.max(0f, Math.min(1f, (float) scrollPos / mMaxScrollX)); in updateScrollingIndicatorPosition()