Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DRelativePosition.java25 public void setAbsolutePosition(int absoluteX, int absoluteY) { in setAbsolutePosition() argument
26 mAbsoluteX = absoluteX; in setAbsolutePosition()
DSlotView.java578 int absoluteX = Math.round(x) + (WIDE ? mScrollPosition : 0); in getSlotIndexByPosition() local
581 absoluteX -= mHorizontalPadding.get(); in getSlotIndexByPosition()
584 if (absoluteX < 0 || absoluteY < 0) { in getSlotIndexByPosition()
588 int columnIdx = absoluteX / (mSlotWidth + mSlotGap); in getSlotIndexByPosition()
599 if (absoluteX % (mSlotWidth + mSlotGap) >= mSlotWidth) { in getSlotIndexByPosition()