Searched defs:outPosition (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Gallery3D/src/com/cooliris/media/
H A DLayoutInterface.java22 public abstract void getPositionForSlotIndex(int displayIndex, int itemWidth, int itemHeight, Vector3f outPosition); // the argument
H A DGridLayoutInterface.java43 public void getPositionForSlotIndex(int slotIndex, int itemWidth, int itemHeight, Vector3f outPosition) { argument
46 outPosition.x = (resultSlotIndex / numRows) * (itemWidth + mSpacingX);
47 outPosition.y = (resultSlotIndex % numRows) * (itemHeight + mSpacingY);
49 outPosition.y -= (maxY >> 1);
50 outPosition.z = 0;

Completed in 18 milliseconds