Home
last modified time | relevance | path

Searched refs:rowCount (Results 1 – 14 of 14) 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/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java267 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, in deleteBroadcast() local
270 if (rowCount != 0) { in deleteBroadcast()
286 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, null, null); in deleteAllBroadcasts() local
287 if (rowCount != 0) { in deleteAllBroadcasts()
313 … int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, whereArgs); in markBroadcastRead() local
314 if (rowCount != 0) { in markBroadcastRead()
/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/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/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastProvider.java286 int rowCount = getWritableDatabase().update( in update() local
291 if (rowCount > 0) { in update()
294 return rowCount; in update()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsRecyclerView.java89 int rowCount = mAdapter.getItemCount(); in scrollToPositionAtProgress() local
90 float pos = rowCount * touchFraction; in scrollToPositionAtProgress()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugStorageProvider.java357 int rowCount = db.update(table, values, selection, selectionArgs); in update() local
358 if (rowCount > 0) { in update()
368 return rowCount; in update()
/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.java219 int rowCount = mApps.getNumAppRows(); in scrollToPositionAtProgress() local
220 if (rowCount == 0) { in scrollToPositionAtProgress()
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionWindowLayout.java469 setRowLimit(captionWindow.rowCount); in initWindow()