Home
last modified time | relevance | path

Searched refs:mRows (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileLayout.java27 protected int mRows = 1; field in TileLayout
110 mRows = (numTiles + mColumns - 1) / mColumns; in onMeasure()
125 int height = (mCellHeight + mCellMarginVertical) * mRows + in onMeasure()
126 (mRows != 0 ? (mCellMarginTop - mCellMarginVertical) : 0); in onMeasure()
142 final int previousRows = mRows; in updateMaxRows()
143 mRows = availableHeight / (mCellHeight + mCellMarginVertical); in updateMaxRows()
144 if (mRows >= mMaxAllowedRows) { in updateMaxRows()
145 mRows = mMaxAllowedRows; in updateMaxRows()
146 } else if (mRows <= 1) { in updateMaxRows()
147 mRows = 1; in updateMaxRows()
[all …]
DPagedTileLayout.java323 final int nRows = mPages.get(0).mRows; in onMeasure()
326 t.mRows = nRows; in onMeasure()
448 return Math.max(mColumns * mRows, 1); in maxTiles()
/frameworks/base/core/java/android/hardware/camera2/params/
DLensShadingMap.java71 mRows = checkArgumentPositive(rows, "rows must be positive"); in LensShadingMap()
88 return mRows; in getRowCount()
105 return mRows * mColumns * COUNT; in getGainFactorCount()
140 } else if (row < 0 || row >= mRows) { in getGainFactor()
166 } else if (row < 0 || row >= mRows) { in getGainFactorVector()
232 return mRows == other.mRows in equals()
245 return HashCodeHelpers.hashCode(mRows, mColumns, elemsHash); in hashCode()
269 for (int r = 0; r < mRows; r++) { in toString()
279 if (r < mRows - 1) { in toString()
294 private final int mRows; field in LensShadingMap
/frameworks/base/core/java/android/text/
DPackedObjectVector.java27 private int mRows; field in PackedObjectVector
39 mRows = 0; in PackedObjectVector()
42 mRowGapLength = mRows; in PackedObjectVector()
102 return mRows - mRowGapLength; in size()
117 int after = mRows - (mRowGapStart + mRowGapLength); in growBuffer()
120 …System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, aft… in growBuffer()
122 mRowGapLength += newsize - mRows; in growBuffer()
123 mRows = newsize; in growBuffer()
172 for (int i = 0; i < mRows; i++) in dump()
DPackedIntVector.java34 private int mRows; field in PackedIntVector
50 mRows = 0; in PackedIntVector()
53 mRowGapLength = mRows; in PackedIntVector()
241 return mRows - mRowGapLength; in size()
267 int after = mRows - (rowgapstart + mRowGapLength); in growBuffer()
271 System.arraycopy(mValues, (mRows - after) * columns, in growBuffer()
278 valuegap[i] += newsize - mRows; in growBuffer()
286 mRowGapLength += newsize - mRows; in growBuffer()
287 mRows = newsize; in growBuffer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManagerTest.java155 assertTrue(Lists.newArrayList(entry0.getRow()).equals(mListContainer.mRows)); in testNotificationsBecomingBundled()
186 .equals(mListContainer.mRows)); in testNotificationsBecomingUnbundled()
211 … assertTrue(Lists.newArrayList(entry0.getRow(), entry1.getRow()).equals(mListContainer.mRows)); in testNotificationsBecomingSuppressed()
281 final List<View> mRows = Lists.newArrayList(); field in NotificationViewHierarchyManagerTest.FakeListContainer
289 mRows.remove(child); in changeViewPosition()
290 mRows.add(newIndex, child); in changeViewPosition()
310 return mRows.size(); in getContainerChildCount()
315 return mRows.get(i); in getContainerChildAt()
321 mRows.remove(v); in removeContainerView()
327 mRows.add(v); in addContainerView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java131 private int mRows, mColumns; field in DessertCaseView
252 mRows = mHeight / mCellSize; in onSizeChanged()
255 mCells = new View[mRows * mColumns]; in onSizeChanged()
257 if (DEBUG) Log.v(TAG, String.format("New dimensions: %dx%d", mColumns, mRows)); in onSizeChanged()
262 setTranslationY(0.5f * (mHeight - mCellSize * mRows) * SCALE); in onSizeChanged()
264 for (int j=0; j<mRows; j++) { in onSizeChanged()
333 place(v, new Point(irand(0, mColumns), irand(0, mRows)), animate); in place()
364 if (!(i >= mColumns-3 || j >= mRows-3)) {
368 if (!(i >= mColumns-2 || j >= mRows-2)) {
372 if (!(i == mColumns-1 || j == mRows-1)) {
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DTestHelper.java119 int mRows = DEFAULT_ROWS; field in TestHelper.RowsAdapterBuilder
148 mRows = rows; in configRows()
184 for (int i = 0; i < mRows; i++) { in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java142 private final List<VolumeRow> mRows = new ArrayList<>(); field in VolumeDialogImpl
281 if (mRows.isEmpty()) { in initDialog()
354 mRows.add(row); in addRow()
358 int N = mRows.size(); in addExistingRows()
360 final VolumeRow row = mRows.get(i); in addExistingRows()
369 for (VolumeRow row : mRows) { in getActiveRow()
374 for (VolumeRow row : mRows) { in getActiveRow()
379 return mRows.get(0); in getActiveRow()
383 for (VolumeRow row : mRows) { in findRow()
810 for (final VolumeRow row : mRows) { in updateRowsH()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java3628 private final List<ViewGroup> mRows;
3642 this.mRows = rows;
3660 return mRows.get(index / mCellCountPerRow);
3664 return mRows.get(rowNumber);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt22211 Landroid/hardware/camera2/params/LensShadingMap;->mRows:I
70530 Landroid/text/PackedIntVector;->mRows:I
70547 Landroid/text/PackedObjectVector;->mRows:I