Searched refs:mNumColumns (Results 1 – 7 of 7) sorted by relevance
48 private int mNumColumns; field in ThemePreviewLayout123 mNumColumns = Math.min((int) Math.ceil((double) wSize / itemWidth), mMaxColumns); in onMeasure()127 int wSizeNeeded = mNumColumns * itemWidth + (mNumColumns - 1) * mItemHorizontalMargin; in onMeasure()128 if (wSizeNeeded > wSize && mNumColumns > 1) { in onMeasure()129 mNumColumns--; in onMeasure()132 if (getChildCount() < mNumColumns) { in onMeasure()133 mNumColumns = getChildCount(); in onMeasure()135 if (mNumColumns == 0) { in onMeasure()136 mNumColumns = 1; in onMeasure()153 int firstColumnItems = getChildCount() / mNumColumns + ((getChildCount() % mNumColumns) > 0 in onMeasure()[all …]
38 private int mNumColumns = 3; field in PseudoGridView51 mNumColumns = a.getInt(attr, 3); in PseudoGridView()69 int childWidth = (width - (mNumColumns - 1) * mHorizontalSpacing) / mNumColumns; in onMeasure()74 int rows = (children + mNumColumns - 1) / mNumColumns; in onMeasure()76 int startOfRow = row * mNumColumns; in onMeasure()77 int endOfRow = Math.min(startOfRow + mNumColumns, children); in onMeasure()104 int rows = (children + mNumColumns - 1) / mNumColumns; in onLayout()109 int startOfRow = row * mNumColumns; in onLayout()110 int endOfRow = Math.min(startOfRow + mNumColumns, children); in onLayout()
113 private int mNumColumns = AUTO_FIT; field in GridView268 final int numColumns = mNumColumns; in fillGap()334 pos += mNumColumns; in fillDown()359 last = Math.min(startPos + mNumColumns, mItemCount); in makeRow()362 startPos = Math.max(0, startPos - mNumColumns + 1); in makeRow()364 if (last - startPos < mNumColumns) { in makeRow()365 … final int deltaLeft = (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing); in makeRow()435 pos -= mNumColumns; in fillUp()460 mFirstPosition -= mFirstPosition % mNumColumns; in fillFromTop()469 lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition % mNumColumns)); in fillFromBottom()[all …]
48 private int mNumColumns = 0; field in TableRow151 return mNumColumns; in getVirtualChildCount()175 mNumColumns = virtualCount; in mapIndexAndColumns()
56 private int mNumColumns; field in GridScenario99 private int mNumColumns = GridView.AUTO_FIT; field in GridScenario.Params177 mNumColumns = numColumns; in setNumColumns()248 if (mNumColumns >= GridView.AUTO_FIT) { in onCreate()249 mGridView.setNumColumns(mNumColumns); in onCreate()310 mNumColumns = params.mNumColumns; in readAndValidateParams()
43 private int mNumColumns; field in ColorPickerPalette58 mNumColumns = columns; in init()111 if (rowElements == mNumColumns) { in drawPalette()121 while (rowElements != mNumColumns) { in drawPalette()159 int rowMax = ((rowNumber + 1) * mNumColumns); in setSwatchDescription()
90760 Landroid/widget/TableRow;->mNumColumns:I