Home
last modified time | relevance | path

Searched refs:scrollPos (Results 1 – 3 of 3) 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.java259 final int scrollPos = selectedChild.getLeft() - (getWidth() - selectedChild.getWidth()) / 2; in onPageSelected() local
260 smoothScrollTo(scrollPos, 0); in onPageSelected()