Home
last modified time | relevance | path

Searched refs:numRows (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/libs/androidfw/
DCursorWindow.cpp74 window->mHeader->numRows, in create()
129 window->mHeader->numRows, in createFromParcel()
158 mHeader->numRows = 0; in clear()
172 if ((cur > 0 || mHeader->numRows > 0) && cur != numColumns) { in setNumColumns()
195 mHeader->numRows--; in allocRow()
197 "from allocRowSlot %d", mHeader->numRows); in allocRow()
204 mHeader->numRows - 1, offsetFromPtr(rowSlot), fieldDirSize, fieldDirOffset); in allocRow()
214 if (mHeader->numRows > 0) { in freeLastRow()
215 mHeader->numRows--; in freeLastRow()
254 uint32_t chunkPos = mHeader->numRows; in allocRowSlot()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java224 private void layoutItemsUsingGravity(int numRows, int numItems) { in layoutItemsUsingGravity() argument
225 int numBaseItemsPerRow = numItems / numRows; in layoutItemsUsingGravity()
226 int numLeftoverItems = numItems % numRows; in layoutItemsUsingGravity()
233 int rowsThatGetALeftoverItem = numRows - numLeftoverItems; in layoutItemsUsingGravity()
236 for (int i = 0; i < numRows; i++) { in layoutItemsUsingGravity()
245 mLayoutNumRows = numRows; in layoutItemsUsingGravity()
259 int numRows = mLayoutNumRows; in doItemsFit() local
260 for (int row = 0; row < numRows; row++) { in doItemsFit()
336 final int numRows = mLayoutNumRows; in positionChildren() local
337 final int numRowsMinus1 = numRows - 1; in positionChildren()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DFocusChangeWithInterestingRectHintTest.java71 final int numRows = mLeftColumn.getNumRows(); in testSnakeBackAndForth() local
72 for (int row = 0; row < numRows; row++) { in testSnakeBackAndForth()
88 if (row < numRows - 1) { in testSnakeBackAndForth()
105 if (row < numRows - 1) { in testSnakeBackAndForth()
/frameworks/base/core/jni/android/graphics/
DYuvToJpegEncoder.cpp134 int numRows = (height - rowIndex) / 2; in deinterleave() local
135 if (numRows > 8) numRows = 8; in deinterleave()
136 for (int row = 0; row < numRows; ++row) { in deinterleave()
209 int numRows = height - rowIndex; in deinterleave() local
210 if (numRows > 16) numRows = 16; in deinterleave()
211 for (int row = 0; row < numRows; ++row) { in deinterleave()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DDisappearAnimationUtils.java54 public float getRowTranslationScale(int row, int numRows) {
55 return (float) (Math.pow((numRows - row), 2) / numRows);
DAppearAnimationUtils.java247 float getRowTranslationScale(int row, int numRows); in getRowTranslationScale() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeSmsContentProvider.java116 int numRows = 0; in getNumRows() local
119 numRows = c.getCount(); in getNumRows()
122 return numRows; in getNumRows()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteQuery.java62 int numRows = getSession().executeForCursorWindow(getSql(), getBindArgs(), in fillWindow() local
65 return numRows; in fillWindow()
/frameworks/base/core/java/android/content/
DContentProviderOperation.java330 final int numRows; in applyInternal() local
332 numRows = provider.delete(mUri, mSelection, selectionArgs); in applyInternal()
334 numRows = provider.update(mUri, values, mSelection, selectionArgs); in applyInternal()
348 numRows = cursor.getCount(); in applyInternal()
370 if (mExpectedCount != null && mExpectedCount != numRows) { in applyInternal()
372 "Expected " + mExpectedCount + " rows but actual " + numRows); in applyInternal()
375 return new ContentProviderResult(numRows); in applyInternal()
/frameworks/av/services/camera/libcameraservice/tests/
DNV12Compressor.cpp123 int numRows = (height - rowIndex) / 2; in deinterleave() local
124 if (numRows > 8) numRows = 8; in deinterleave()
125 for (int row = 0; row < numRows; ++row) { in deinterleave()
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h92 inline uint32_t getNumRows() { return mHeader->numRows; } in getNumRows()
151 uint32_t numRows; member
/frameworks/base/core/tests/coretests/src/android/util/
DScrollViewScenario.java157 public Params addInternalSelectionView(final int numRows, float heightRatio) { in addInternalSelectionView() argument
160 return new InternalSelectionView(context, numRows, "isv"); in addInternalSelectionView()
DInternalSelectionView.java62 public InternalSelectionView(Context context, int numRows, String label) { in InternalSelectionView() argument
64 mNumRows = numRows; in InternalSelectionView()
/frameworks/base/tools/aapt2/compile/
DPng.cpp992 int numRows; in do9Patch() local
1140 numRows = numYDivs + 1; in do9Patch()
1142 numRows--; in do9Patch()
1145 numRows--; in do9Patch()
1150 if (numRows * numCols > 0x7F) { in do9Patch()
1155 numColors = numRows * numCols; in do9Patch()
/frameworks/base/tools/aapt/
DImages.cpp557 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/
DContentProviderOperationTest.java211 private Cursor getCursor(ContentValues contentValues, int numRows) { in getCursor() argument
224 for (i = 0; i < numRows; i++) { in getCursor()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java638 int numRows = rows.size(); in resize() local
639 for (int rowIndex = 0; rowIndex < numRows; ++rowIndex) { in resize()