/frameworks/base/libs/androidfw/ |
D | CursorWindow.cpp | 68 window->mHeader->numRows, in create() 115 window->mHeader->numRows, in createFromParcel() 144 mHeader->numRows = 0; in clear() 158 if ((cur > 0 || mHeader->numRows > 0) && cur != numColumns) { in setNumColumns() 181 mHeader->numRows--; in allocRow() 183 "from allocRowSlot %d", mHeader->numRows); in allocRow() 190 mHeader->numRows - 1, offsetFromPtr(rowSlot), fieldDirSize, fieldDirOffset); in allocRow() 200 if (mHeader->numRows > 0) { in freeLastRow() 201 mHeader->numRows--; in freeLastRow() 240 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 | 119 int numRows = (height - rowIndex) / 2; in deinterleave() local 120 if (numRows > 8) numRows = 8; in deinterleave() 121 for (int row = 0; row < numRows; ++row) { in deinterleave() 194 int numRows = height - rowIndex; in deinterleave() local 195 if (numRows > 16) numRows = 16; in deinterleave() 196 for (int row = 0; row < numRows; ++row) { in deinterleave()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
D | DisappearAnimationUtils.java | 54 public float getRowTranslationScale(int row, int numRows) { 55 return (float) (Math.pow((numRows - row), 2) / numRows);
|
D | AppearAnimationUtils.java | 250 float getRowTranslationScale(int row, int numRows); in getRowTranslationScale() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | FakeSmsContentProvider.java | 116 int numRows = 0; in getNumRows() local 119 numRows = c.getCount(); in getNumRows() 122 return numRows; in getNumRows()
|
/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 | 309 int numRows; in apply() local 311 numRows = provider.delete(mUri, mSelection, selectionArgs); in apply() 313 numRows = provider.update(mUri, values, mSelection, selectionArgs); in apply() 327 numRows = cursor.getCount(); in apply() 351 if (mExpectedCount != null && mExpectedCount != numRows) { in apply() 353 throw new OperationApplicationException("wrong number of rows: " + numRows); in apply() 356 return new ContentProviderResult(numRows); in apply()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | Grid.java | 208 void setNumRows(int numRows) { in setNumRows() argument 209 if (numRows <= 0) { in setNumRows() 212 if (mNumRows == numRows) { in setNumRows() 215 mNumRows = numRows; in setNumRows()
|
D | HorizontalGridView.java | 102 public void setNumRows(int numRows) { in setNumRows() argument 103 mLayoutManager.setNumRows(numRows); in setNumRows()
|
D | ListRowPresenter.java | 409 public void setNumRows(int numRows) { in setNumRows() argument 410 this.mNumRows = numRows; in setNumRows()
|
D | GridLayoutManager.java | 782 public void setNumRows(int numRows) { in setNumRows() argument 783 if (numRows < 0) throw new IllegalArgumentException(); in setNumRows() 784 mNumRowsRequested = numRows; in setNumRows()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
D | HeadersFragmentTest.java | 40 static void loadData(ArrayObjectAdapter adapter, int numRows) { in loadData() argument 41 for (int i = 0; i < numRows; ++i) { in loadData()
|
D | HeadersSupportFragmentTest.java | 43 static void loadData(ArrayObjectAdapter adapter, int numRows) { in loadData() argument 44 for (int i = 0; i < numRows; ++i) { in loadData()
|
D | RowsFragmentTest.java | 56 static void loadData(ArrayObjectAdapter adapter, int numRows, int repeatPerRow) { in loadData() argument 57 for (int i = 0; i < numRows; ++i) { in loadData()
|
D | RowsSupportFragmentTest.java | 59 static void loadData(ArrayObjectAdapter adapter, int numRows, int repeatPerRow) { in loadData() argument 60 for (int i = 0; i < numRows; ++i) { in loadData()
|
/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/base/libs/androidfw/include/androidfw/ |
D | CursorWindow.h | 92 inline uint32_t getNumRows() { return mHeader->numRows; } in getNumRows() 151 uint32_t numRows; member
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 991 int numRows; in do9Patch() local 1139 numRows = numYDivs + 1; in do9Patch() 1141 numRows--; in do9Patch() 1144 numRows--; in do9Patch() 1149 if (numRows * numCols > 0x7F) { in do9Patch() 1154 numColors = numRows * numCols; in do9Patch()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 557 int numRows; in do_9patch() local 698 numRows = numYDivs + 1; in do_9patch() 700 numRows--; in do_9patch() 703 numRows--; in do_9patch() 708 if (numRows * numCols > 0x7F) { in do_9patch() 713 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 | 627 int numRows = rows.size(); in resize() local 628 for (int rowIndex = 0; rowIndex < numRows; ++rowIndex) { in resize()
|