Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java101 mRenderer.onSlotSizeChanged(mLayout.mSlotWidth, mLayout.mSlotHeight); in setSlotRenderer()
402 private int mSlotHeight; field in SlotView.Layout
446 int y = mVerticalPadding.get() + row * (mSlotHeight + mSlotGap); in getSlotRect()
447 rect.set(x, y, x + mSlotWidth, y + mSlotHeight); in getSlotRect()
456 return mSlotHeight; in getSlotHeight()
499 mSlotHeight = mSpec.slotHeight; in initLayoutParameters()
503 mSlotHeight = Math.max(1, (mHeight - (rows - 1) * mSlotGap) / rows); in initLayoutParameters()
504 mSlotWidth = mSlotHeight - mSpec.slotHeightAdditional; in initLayoutParameters()
508 mRenderer.onSlotSizeChanged(mSlotWidth, mSlotHeight); in initLayoutParameters()
513 initLayoutParameters(mWidth, mHeight, mSlotWidth, mSlotHeight, padding); in initLayoutParameters()
[all …]