Home
last modified time | relevance | path

Searched refs:rowCount (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/grid/
DGridDividerItemDecoration.java97 int rowCount = childCount / mNumColumns; in drawHorizontalDividers() local
104 lastRowChildIndex = i + (rowCount * mNumColumns); in drawHorizontalDividers()
106 lastRowChildIndex = i + ((rowCount - 1) * mNumColumns); in drawHorizontalDividers()
141 double rowCount = Math.ceil(childCount / mNumColumns); in drawVerticalDividers() local
143 for (int i = 1; i <= rowCount; i++) { in drawVerticalDividers()
148 if (i == rowCount) { in drawVerticalDividers()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastProvider.java290 int rowCount = 0; in update() local
293 rowCount = getWritableDatabase().update( in update()
298 if (rowCount > 0) { in update()
303 return rowCount; in update()
307 rowCount = getWritableDatabase().update( in update()
312 if (rowCount > 0) { in update()
329 return rowCount; in update()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java326 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, in deleteBroadcast() local
329 if (rowCount != 0) { in deleteBroadcast()
345 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, null, null); in deleteAllBroadcasts() local
346 if (rowCount != 0) { in deleteAllBroadcasts()
372 … int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, whereArgs); in markBroadcastRead() local
373 if (rowCount != 0) { in markBroadcastRead()
401 int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, in markBroadcastSmsSyncPending() local
403 if (rowCount != 0) { in markBroadcastSmsSyncPending()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DCea708Data.java294 public final int rowCount; field in Cea708Data.CaptionWindow
309 int rowCount, in CaptionWindow() argument
322 this.rowCount = rowCount; in CaptionWindow()
DCea708Parser.java767 int rowCount = data[pos + 3] & 0x0f; in parseC1() local
785 rowCount, in parseC1()
806 rowCount, in parseC1()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyboardBuilder.java89 final int rowCount = getRowCount(); in replaceKeyOf() local
90 for (int row = 1; row <= rowCount; row++) { in replaceKeyOf()
313 final int rowCount = getRowCount(); in toUpperCase() local
314 for (int row = 1; row <= rowCount; row++) { in toUpperCase()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilderTest.java29 final int rowCount = expected.getCount(); in verifyBuiltCursor() local
31 assertEquals(rowCount, actual.getCount()); in verifyBuiltCursor()
33 for (int i = 0; i < rowCount; i++) { in verifyBuiltCursor()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugStorageProvider.java366 int rowCount = db.update(BUG_REPORTS_TABLE, values, selection, selectionArgs); in delete() local
368 return rowCount; in delete()
395 int rowCount = db.update(table, values, selection, selectionArgs); in update() local
396 if (rowCount > 0) { in update()
406 return rowCount; in update()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastProviderTest.java203 int rowCount = mContentResolver.delete(CONTENT_URI, SELECT_BY_ID, in testDelete_oneRecord_success() local
205 assertThat(rowCount).isEqualTo(1); in testDelete_oneRecord_success()
227 int rowCount = mContentResolver.delete( in testDelete_all_success() local
229 assertThat(rowCount).isEqualTo(2); in testDelete_all_success()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java421 int rowCount; in modifyMetadata() local
426 rowCount = db.delete(Metadata.TABLE, WHERE_METADATA_ID, selectionArgs); in modifyMetadata()
429 rowCount = (rowId == -1) ? 0 : 1; in modifyMetadata()
431 return rowCount; in modifyMetadata()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecyclerView.java109 int rowCount = mAdapter.getItemCount(); in scrollToPositionAtProgress() local
110 float pos = rowCount * touchFraction; in scrollToPositionAtProgress()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java253 private boolean isTopRow(final int rowCount) { in isTopRow() argument
254 return mNumRows > 1 && rowCount == mNumRows - 1; in isTopRow()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java221 int rowCount = mApps.getNumAppRows(); in scrollToPositionAtProgress() local
222 if (rowCount == 0) { in scrollToPositionAtProgress()
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionWindowLayout.java469 setRowLimit(captionWindow.rowCount); in initWindow()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java2745 int rowCount, int borderSpacing, @Nullable Rect inset) { in setup() argument
2746 setup(cellWidth, cellHeight, invertHorizontally, colCount, rowCount, 1.0f, 1.0f, in setup()
2758 int rowCount, float cellScaleX, float cellScaleY, int borderSpacing, in setup() argument