Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java101 mRenderer.onSlotSizeChanged(mLayout.mSlotWidth, mLayout.mSlotHeight); in setSlotRenderer()
401 private int mSlotWidth; field in SlotView.Layout
445 int x = mHorizontalPadding.get() + col * (mSlotWidth + mSlotGap); in getSlotRect()
447 rect.set(x, y, x + mSlotWidth, y + mSlotHeight); in getSlotRect()
452 return mSlotWidth; in getSlotWidth()
498 mSlotWidth = mSpec.slotWidth; 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()
517 initLayoutParameters(mHeight, mWidth, mSlotHeight, mSlotWidth, padding); in initLayoutParameters()
[all …]
DAlbumSetSlidingWindow.java72 private int mSlotWidth; field in AlbumSetSlidingWindow
526 if (mSlotWidth == width) return; in onSlotSizeChanged()
528 mSlotWidth = width; in onSlotSizeChanged()
530 mLabelMaker.setLabelWidth(mSlotWidth); in onSlotSizeChanged()