Searched refs:mColumnCount (Results 1 – 4 of 4) sorted by relevance
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()
45 private final int mColumnCount; field in QuickSettingGridAdapter55 mColumnCount = mContext.getResources().getInteger(R.integer.quick_setting_column_count); in QuickSettingGridAdapter()240 return position < mSeekbarTiles.size() ? mColumnCount : 1; in getSpanSize()246 ? 1 : (position - mSeekbarTiles.size()) % mColumnCount; in getSpanIndex()
168 private int mColumnCount = 1; // This will get updated when layout changes. field in DirectoryFragment303 mLayout = new GridLayoutManager(getContext(), mColumnCount) { in onActivityCreated()532 mColumnCount = calculateColumnCount(mode); in updateLayout()534 mLayout.setSpanCount(mColumnCount); in updateLayout()1238 return mColumnCount; in getColumnCount()
160 private final int mColumnCount; field in AutoInstallsLayout190 mColumnCount = mIdp.numColumns; in AutoInstallsLayout()268 convertToDistanceFromEnd(getAttributeValue(parser, ATTR_X), mColumnCount)); in parseAndAddNode()