Home
last modified time | relevance | path

Searched refs:mColumnCount (Results 1 – 4 of 4) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTileGrid.java53 private int mColumnCount; field in AttachmentTileGrid
138 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()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DQuickSettingGridAdapter.java45 private final int mColumnCount; field in QuickSettingGridAdapter
55 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()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java168 private int mColumnCount = 1; // This will get updated when layout changes. field in DirectoryFragment
303 mLayout = new GridLayoutManager(getContext(), mColumnCount) { in onActivityCreated()
532 mColumnCount = calculateColumnCount(mode); in updateLayout()
534 mLayout.setSpanCount(mColumnCount); in updateLayout()
1238 return mColumnCount; in getColumnCount()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java160 private final int mColumnCount; field in AutoInstallsLayout
190 mColumnCount = mIdp.numColumns; in AutoInstallsLayout()
268 convertToDistanceFromEnd(getAttributeValue(parser, ATTR_X), mColumnCount)); in parseAndAddNode()