Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java403 private int mSlotGap; field in SlotView.Layout
445 int x = mHorizontalPadding.get() + col * (mSlotWidth + mSlotGap); in getSlotRect()
446 int y = mVerticalPadding.get() + row * (mSlotHeight + mSlotGap); in getSlotRect()
475 int unitCount = (minorLength + mSlotGap) / (minorUnitSize + mSlotGap); in initLayoutParameters()
482 (availableUnits - 1) * mSlotGap; in initLayoutParameters()
487 mContentLength = count * majorUnitSize + (count - 1) * mSlotGap; in initLayoutParameters()
497 mSlotGap = 0; in initLayoutParameters()
502 mSlotGap = mSpec.slotGap; in initLayoutParameters()
503 mSlotHeight = Math.max(1, (mHeight - (rows - 1) * mSlotGap) / rows); in initLayoutParameters()
534 int startCol = position / (mSlotWidth + mSlotGap); in updateVisibleSlotRange()
[all …]