Searched refs:mColumnCount (Results 1 – 5 of 5) sorted by relevance
61 protected int mColumnCount; field in ContactTileAdapter111 mColumnCount = (displayType == DisplayType.FREQUENT_ONLY ? 1 : numCols); in ContactTileAdapter()129 mColumnCount = columnCount; in setColumnCount()316 return entryCount == 0 ? 0 : ((entryCount - 1) / mColumnCount) + 1; in getRowCount()320 return mColumnCount; in getColumnCount()329 ArrayList<ContactEntry> resultList = new ArrayList<ContactEntry>(mColumnCount); in getItem()330 int contactIndex = position * mColumnCount; in getItem()337 for (int columnCounter = 0; columnCounter < mColumnCount; columnCounter++) { in getItem()344 for (int columnCounter = 0; columnCounter < mColumnCount && in getItem()493 int columnCount = mItemViewType == ViewTypes.FREQUENT ? 1 : mColumnCount; in configureRow()[all …]
53 private int mColumnCount; field in AttachmentTileGrid138 mColumnCount = width / mTileMinSize; in onMeasureForTiles()141 if (mColumnCount == 0) { in onMeasureForTiles()142 mColumnCount = 1; in onMeasureForTiles()156 final int widthMinusPadding = width - (mColumnCount - 1) * mTilePadding; in onMeasureForTiles()158 final int imageSize = (widthMinusPadding) / mColumnCount; in onMeasureForTiles()159 final int remainder = widthMinusPadding - (imageSize * mColumnCount); in onMeasureForTiles()173 final int numRows = ((childCount - 1) / mColumnCount) + 1; in onMeasureForTiles()207 if (!skipBeginningOfRowFirstTime && i % mColumnCount == 0) { in onLayoutForTiles()
32 private int mColumnCount; field in CalculatorPadLayout48 mColumnCount = a.getInt(1, 1); in CalculatorPadLayout()67 Math.round((float) (right - left - paddingLeft - paddingRight)) / mColumnCount; in onLayout()83 (isRTL ? (mColumnCount - 1) - columnIndex : columnIndex) * columnWidth; in onLayout()96 rowIndex = (rowIndex + (columnIndex + 1) / mColumnCount) % mRowCount; in onLayout()97 columnIndex = (columnIndex + 1) % mColumnCount; in onLayout()
76 final ArrayList<ContactEntry> resultList = Lists.newArrayListWithCapacity(mColumnCount); in getItem()77 int contactIndex = position * mColumnCount; in getItem()79 for (int columnCounter = 0; columnCounter < mColumnCount; columnCounter++) { in getItem()
162 private final int mColumnCount; field in AutoInstallsLayout187 mColumnCount = idp.numColumns; in AutoInstallsLayout()269 convertToDistanceFromEnd(getAttributeValue(parser, ATTR_X), mColumnCount)); in parseAndAddNode()