Home
last modified time | relevance | path

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

/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java122 private LayoutSpec mSpec; field in GridViewSpecial
200 mSpec = mCellSizeChoices[mSizeChoice]; in onLayout()
215 mColumns = 1 + (width - mSpec.mCellWidth) in onLayout()
216 / (mSpec.mCellWidth + mSpec.mCellSpacing); in onLayout()
218 mSpec.mLeftEdgePadding = (width in onLayout()
219 - ((mColumns - 1) * mSpec.mCellSpacing) in onLayout()
220 - (mColumns * mSpec.mCellWidth)) / 2; in onLayout()
223 mBlockHeight = mSpec.mCellSpacing + mSpec.mCellHeight; in onLayout()
224 mMaxScrollY = mSpec.mCellSpacing + (mRows * mBlockHeight) in onLayout()
238 mAllImages, mLoader, mDrawAdapter, mSpec, mColumns, width, in onLayout()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java405 private Spec mSpec; field in SlotView.Layout
418 mSpec = spec; in setSlotSpec()
496 if (mSpec.slotWidth != -1) { in initLayoutParameters()
498 mSlotWidth = mSpec.slotWidth; in initLayoutParameters()
499 mSlotHeight = mSpec.slotHeight; in initLayoutParameters()
501 int rows = (mWidth > mHeight) ? mSpec.rowsLand : mSpec.rowsPort; in initLayoutParameters()
502 mSlotGap = mSpec.slotGap; in initLayoutParameters()
504 mSlotWidth = mSlotHeight - mSpec.slotHeightAdditional; in initLayoutParameters()
DAlbumLabelMaker.java38 private final AlbumSetSlotRenderer.LabelSpec mSpec; field in AlbumLabelMaker
53 mSpec = spec; in AlbumLabelMaker()
114 mBitmapHeight = mSpec.labelBackgroundHeight + borders; in setLabelWidth()
145 AlbumSetSlotRenderer.LabelSpec s = mSpec; in run()
169 canvas.drawColor(mSpec.backgroundColor, PorterDuff.Mode.SRC); in run()