Home
last modified time | relevance | path

Searched refs:absoluteY (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java579 int absoluteY = Math.round(y) + (WIDE ? 0 : mScrollPosition); in getSlotIndexByPosition() local
582 absoluteY -= mVerticalPadding.get(); in getSlotIndexByPosition()
584 if (absoluteX < 0 || absoluteY < 0) { in getSlotIndexByPosition()
589 int rowIdx = absoluteY / (mSlotHeight + mSlotGap); in getSlotIndexByPosition()
603 if (absoluteY % (mSlotHeight + mSlotGap) >= mSlotHeight) { in getSlotIndexByPosition()
DRelativePosition.java25 public void setAbsolutePosition(int absoluteX, int absoluteY) { in setAbsolutePosition() argument
27 mAbsoluteY = absoluteY; in setAbsolutePosition()