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.java100 mRenderer.onSlotSizeChanged(mLayout.mSlotWidth, mLayout.mSlotHeight); in setSlotRenderer()
400 private int mSlotWidth; field in SlotView.Layout
444 int x = mHorizontalPadding.get() + col * (mSlotWidth + mSlotGap); in getSlotRect()
446 rect.set(x, y, x + mSlotWidth, y + mSlotHeight); in getSlotRect()
451 return mSlotWidth; in getSlotWidth()
497 mSlotWidth = mSpec.slotWidth; in initLayoutParameters()
503 mSlotWidth = mSlotHeight - mSpec.slotHeightAdditional; in initLayoutParameters()
507 mRenderer.onSlotSizeChanged(mSlotWidth, mSlotHeight); in initLayoutParameters()
512 initLayoutParameters(mWidth, mHeight, mSlotWidth, mSlotHeight, padding); in initLayoutParameters()
516 initLayoutParameters(mHeight, mWidth, mSlotHeight, mSlotWidth, padding); in initLayoutParameters()
[all …]
DAlbumSetSlidingWindow.java69 private int mSlotWidth; field in AlbumSetSlidingWindow
535 if (mSlotWidth == width) return; in onSlotSizeChanged()
537 mSlotWidth = width; in onSlotSizeChanged()
539 mLabelMaker.setLabelWidth(mSlotWidth); in onSlotSizeChanged()