Home
last modified time | relevance | path

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

/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/packages/SystemUI/src/com/android/systemui/qs/
DTileLayout.java31 protected int mRows = 1; field in TileLayout
144 mRows = (numTiles + mColumns - 1) / mColumns; in onMeasure()
159 int height = (mCellHeight + mCellMarginVertical) * mRows + in onMeasure()
160 (mRows != 0 ? (mCellMarginTop - mCellMarginVertical) : 0); in onMeasure()
177 final int previousRows = mRows; in updateMaxRows()
178 mRows = availableHeight / (mCellHeight + mCellMarginVertical); in updateMaxRows()
179 if (mRows < mMinRows) { in updateMaxRows()
180 mRows = mMinRows; in updateMaxRows()
181 } else if (mRows >= mMaxAllowedRows) { in updateMaxRows()
182 mRows = mMaxAllowedRows; in updateMaxRows()
[all …]
DPagedTileLayout.java399 final int nRows = mPages.get(0).mRows; in onMeasure()
402 t.mRows = nRows; in onMeasure()
541 return Math.max(mColumns * mRows, 1); in maxTiles()
/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.java152 assertTrue(Lists.newArrayList(entry0.getRow()).equals(mListContainer.mRows)); in testNotificationsBecomingBundled()
183 .equals(mListContainer.mRows)); in testNotificationsBecomingUnbundled()
208 … assertTrue(Lists.newArrayList(entry0.getRow(), entry1.getRow()).equals(mListContainer.mRows)); in testNotificationsBecomingSuppressed()
278 final List<View> mRows = Lists.newArrayList(); field in NotificationViewHierarchyManagerTest.FakeListContainer
286 mRows.remove(child); in changeViewPosition()
287 mRows.add(newIndex, child); in changeViewPosition()
313 return mRows.size(); in getContainerChildCount()
318 return mRows.get(i); in getContainerChildAt()
324 mRows.remove(v); in removeContainerView()
339 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/core/java/com/android/internal/app/
DChooserActivity.java3778 private final List<ViewGroup> mRows;
3793 this.mRows = rows;
3811 return mRows.get(index / mCellCountPerRow);
3815 return mRows.get(rowNumber);