Home
last modified time | relevance | path

Searched refs:mNumColumns (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java38 private int mNumColumns = 3; field in PseudoGridView
52 mNumColumns = a.getInt(attr, 3); in PseudoGridView()
73 mFixedChildWidth * mNumColumns + mHorizontalSpacing * (mNumColumns - 1); in onMeasure()
76 width = mFixedChildWidth * mNumColumns + mHorizontalSpacing * (mNumColumns - 1); in onMeasure()
78 childWidth = (width - (mNumColumns - 1) * mHorizontalSpacing) / mNumColumns; in onMeasure()
84 int rows = (children + mNumColumns - 1) / mNumColumns; in onMeasure()
86 int startOfRow = row * mNumColumns; in onMeasure()
87 int endOfRow = Math.min(startOfRow + mNumColumns, children); in onMeasure()
114 int rows = (children + mNumColumns - 1) / mNumColumns; in onLayout()
119 int startOfRow = row * mNumColumns; in onLayout()
[all …]
/frameworks/base/core/java/android/widget/
DGridView.java114 private int mNumColumns = AUTO_FIT; field in GridView
269 final int numColumns = mNumColumns; in fillGap()
335 pos += mNumColumns; in fillDown()
360 last = Math.min(startPos + mNumColumns, mItemCount); in makeRow()
363 startPos = Math.max(0, startPos - mNumColumns + 1); in makeRow()
365 if (last - startPos < mNumColumns) { in makeRow()
366 … final int deltaLeft = (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing); in makeRow()
436 pos -= mNumColumns; in fillUp()
461 mFirstPosition -= mFirstPosition % mNumColumns; in fillFromTop()
470 lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition % mNumColumns)); in fillFromBottom()
[all …]
DTableRow.java48 private int mNumColumns = 0; field in TableRow
151 return mNumColumns; in getVirtualChildCount()
175 mNumColumns = virtualCount; in mapIndexAndColumns()
/frameworks/base/location/java/android/location/
DGnssAntennaInfo.java218 private final int mNumColumns; field in GnssAntennaInfo.SphericalCorrections
230 mNumColumns = corrections[0].length; in SphericalCorrections()
232 if (corrections[i].length != mNumColumns in SphericalCorrections()
233 || correctionUncertainties[i].length != mNumColumns || mNumColumns < 2) { in SphericalCorrections()
260 mNumColumns = numColumns; in SphericalCorrections()
313 return 180.0D / (mNumColumns - 1); in getDeltaPhi()
338 dest.writeInt(mNumColumns); in writeToParcel()
340 for (int col = 0; col < mNumColumns; col++) { in writeToParcel()
367 && mNumColumns == that.mNumColumns in equals()
/frameworks/base/libs/androidfw/
DCursorWindow.cpp146 if (parcel->readUint32(&window->mNumColumns)) goto fail; in createFromParcel()
149 if ((window->mNumRows * window->mNumColumns * kSlotSizeBytes) > window->mSize) { in createFromParcel()
151 << " rows and " << window->mNumColumns << " columns"; in createFromParcel()
212 if (parcel->writeUint32(mNumColumns)) goto fail; in writeToParcel()
246 mNumColumns = 0; in clear()
277 uint32_t cur = mNumColumns; in setNumColumns()
282 mNumColumns = numColumns; in setNumColumns()
290 size_t size = mNumColumns * kSlotSizeBytes; in allocRow()
310 size_t size = mNumColumns * kSlotSizeBytes; in freeLastRow()
344 - (((row * mNumColumns) + column) << kSlotShift); in getFieldSlot()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DGridScenario.java56 private int mNumColumns; field in GridScenario
99 private int mNumColumns = GridView.AUTO_FIT; field in GridScenario.Params
177 mNumColumns = numColumns; in setNumColumns()
248 if (mNumColumns >= GridView.AUTO_FIT) { in onCreate()
249 mGridView.setNumColumns(mNumColumns); in onCreate()
310 mNumColumns = params.mNumColumns; in readAndValidateParams()
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerPalette.java43 private int mNumColumns; field in ColorPickerPalette
58 mNumColumns = columns; in init()
111 if (rowElements == mNumColumns) { in drawPalette()
121 while (rowElements != mNumColumns) { in drawPalette()
159 int rowMax = ((rowNumber + 1) * mNumColumns); in setSwatchDescription()
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h91 inline uint32_t getNumColumns() { return mNumColumns; } in getNumColumns()
145 mAshmemFd, mSize, mInflatedSize, mAllocOffset, mSlotsOffset, mNumRows, mNumColumns); in toString()
175 uint32_t mNumColumns = 0; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java118 private int mNumColumns; field in TileAdapter
139 mNumColumns = useSmallLandscapeLockscreenResources() in TileAdapter()
169 if (numColumns != mNumColumns) { in updateNumColumns()
170 mNumColumns = numColumns; in updateNumColumns()
189 return mNumColumns; in getNumColumns()
705 return mNumColumns;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt69572 Landroid/widget/TableRow;->mNumColumns:I