/frameworks/base/libs/androidfw/ |
D | CursorWindow.cpp | 68 window->mHeader->numRows, in create() 110 window->mHeader->numRows, in createFromParcel() 139 mHeader->numRows = 0; in clear() 153 if ((cur > 0 || mHeader->numRows > 0) && cur != numColumns) { in setNumColumns() 176 mHeader->numRows--; in allocRow() 178 "from allocRowSlot %d", mHeader->numRows); in allocRow() 185 mHeader->numRows - 1, offsetFromPtr(rowSlot), fieldDirSize, fieldDirOffset); in allocRow() 195 if (mHeader->numRows > 0) { in freeLastRow() 196 mHeader->numRows--; in freeLastRow() 235 uint32_t chunkPos = mHeader->numRows; in allocRowSlot() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuView.java | 220 private void layoutItemsUsingGravity(int numRows, int numItems) { in layoutItemsUsingGravity() argument 221 int numBaseItemsPerRow = numItems / numRows; in layoutItemsUsingGravity() 222 int numLeftoverItems = numItems % numRows; in layoutItemsUsingGravity() 229 int rowsThatGetALeftoverItem = numRows - numLeftoverItems; in layoutItemsUsingGravity() 232 for (int i = 0; i < numRows; i++) { in layoutItemsUsingGravity() 241 mLayoutNumRows = numRows; in layoutItemsUsingGravity() 255 int numRows = mLayoutNumRows; in doItemsFit() local 256 for (int row = 0; row < numRows; row++) { in doItemsFit() 331 final int numRows = mLayoutNumRows; in positionChildren() local 332 final int numRowsMinus1 = numRows - 1; in positionChildren() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | FocusChangeWithInterestingRectHintTest.java | 72 final int numRows = mLeftColumn.getNumRows(); in testSnakeBackAndForth() local 73 for (int row = 0; row < numRows; row++) { in testSnakeBackAndForth() 89 if (row < numRows - 1) { in testSnakeBackAndForth() 106 if (row < numRows - 1) { in testSnakeBackAndForth()
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.cpp | 117 int numRows = (height - rowIndex) / 2; in deinterleave() local 118 if (numRows > 8) numRows = 8; in deinterleave() 119 for (int row = 0; row < numRows; ++row) { in deinterleave() 192 int numRows = height - rowIndex; in deinterleave() local 193 if (numRows > 16) numRows = 16; in deinterleave() 194 for (int row = 0; row < numRows; ++row) { in deinterleave()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteQuery.java | 62 int numRows = getSession().executeForCursorWindow(getSql(), getBindArgs(), in fillWindow() local 65 return numRows; in fillWindow()
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderOperation.java | 247 int numRows; in apply() local 249 numRows = provider.delete(mUri, mSelection, selectionArgs); in apply() 251 numRows = provider.update(mUri, values, mSelection, selectionArgs); in apply() 265 numRows = cursor.getCount(); in apply() 289 if (mExpectedCount != null && mExpectedCount != numRows) { in apply() 291 throw new OperationApplicationException("wrong number of rows: " + numRows); in apply() 294 return new ContentProviderResult(numRows); in apply()
|
/frameworks/base/include/androidfw/ |
D | CursorWindow.h | 91 inline uint32_t getNumRows() { return mHeader->numRows; } in getNumRows() 149 uint32_t numRows; member
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ScrollViewScenario.java | 157 public Params addInternalSelectionView(final int numRows, float heightRatio) { in addInternalSelectionView() argument 160 return new InternalSelectionView(context, numRows, "isv"); in addInternalSelectionView()
|
D | InternalSelectionView.java | 65 public InternalSelectionView(Context context, int numRows, String label) { in InternalSelectionView() argument 67 mNumRows = numRows; in InternalSelectionView()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | HorizontalGridView.java | 92 public void setNumRows(int numRows) { in setNumRows() argument 93 mLayoutManager.setNumRows(numRows); in setNumRows()
|
D | GridLayoutManager.java | 449 public void setNumRows(int numRows) { in setNumRows() argument 450 if (numRows < 0) throw new IllegalArgumentException(); in setNumRows() 451 mNumRowsRequested = numRows; in setNumRows()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 587 int numRows; in do_9patch() local 724 numRows = numYDivs + 1; in do_9patch() 726 numRows--; in do_9patch() 729 numRows--; in do_9patch() 734 if (numRows * numCols > 0x7F) { in do_9patch() 739 numColors = numRows * numCols; in do_9patch()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 210 private Cursor getCursor(ContentValues contentValues, int numRows) { in getCursor() argument 223 for (i = 0; i < numRows; i++) { in getCursor()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 614 int numRows = rows.size(); in resize() local 615 for (int rowIndex = 0; rowIndex < numRows; ++rowIndex) { in resize()
|