/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | AnnotatedCallLogContentProvider.java | 211 int rows = database.delete(AnnotatedCallLog.TABLE, selection, selectionArgs); in delete() local 212 if (rows == 0) { in delete() 214 return rows; in delete() 219 return rows; in delete() 237 int rows = database.update(AnnotatedCallLog.TABLE, values, selection, selectionArgs); in update() local 238 if (rows == 0) { in update() 240 return rows; in update() 245 return rows; in update() 253 rows = database.update(AnnotatedCallLog.TABLE, values, selection, selectionArgs); in update() 254 if (rows == 0) { in update() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ActualKeyboardBuilder.java | 60 final ArrayList<ArrayList<Key>> rows = new ArrayList<>(); in buildKeyboard() local 67 rows.add(elements); in buildKeyboard() 72 rows.add(elements); // Add the last row. in buildKeyboard() 75 final int[] dimensions = new int[rows.size()]; in buildKeyboard() 77 dimensions[rowIndex] = rows.get(rowIndex).size(); in buildKeyboard() 81 for (int rowIndex = 0; rowIndex < rows.size(); rowIndex++) { in buildKeyboard() 83 final ArrayList<Key> rowKeys = rows.get(rowIndex); in buildKeyboard() 191 public static String toString(@Nullable final Key[][] rows) { in toString() argument 192 return KeyArrayStringizer.STRINGIZER.join(rows, "\n" /* delimiter */); in toString()
|
D | AbstractKeyboardBuilder.java | 54 AbstractKeyboardBuilder(final E[][] rows) { in AbstractKeyboardBuilder() argument 55 mRows = newArrayOfArray(rows.length); in AbstractKeyboardBuilder() 56 for (int rowIndex = 0; rowIndex < rows.length; rowIndex++) { in AbstractKeyboardBuilder() 57 final E[] row = rows[rowIndex]; in AbstractKeyboardBuilder()
|
D | ExpectedKeyboardBuilder.java | 36 public ExpectedKeyboardBuilder(final ExpectedKey[][] rows) { in ExpectedKeyboardBuilder() argument 37 super(rows); in ExpectedKeyboardBuilder() 335 public static String toString(final ExpectedKey[][] rows) { in toString() argument 337 for (int rowIndex = 0; rowIndex < rows.length; rowIndex++) { in toString() 341 sb.append(Arrays.toString(rows[rowIndex])); in toString()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | InspectorBot.java | 64 Map<String, String> rows = new HashMap<>(); in getTableRows() local 72 rows.put( in getTableRows() 77 return rows; in getTableRows() 83 Map<String, String> rows = getTableRows(details); in isRowPresent() local 84 return rows.containsKey(key); in isRowPresent() 90 Map<String, String> rows = getTableRows(details); in isRowEquals() local 91 return rows.containsKey(key) && value.equals(rows.get(key)); in isRowEquals()
|
/packages/apps/Launcher3/ |
D | print_db.py | 56 rows = [] 58 rows.append(row) 59 return columns,rows 65 rows = [] 67 rows.append(row) 68 return columns,rows 155 columns,rows = get_favorites(conn) 158 data = [dict(zip(columns,row)) for row in rows] 209 for row in rows:
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/ |
D | PhoneLookupHistoryContentProvider.java | 201 int rows = database.delete(PhoneLookupHistory.TABLE, selection, selectionArgs); in delete() local 202 if (rows == 0) { in delete() 204 return rows; in delete() 209 return rows; in delete() 234 int rows = database.update(PhoneLookupHistory.TABLE, values, selection, selectionArgs); in update() local 235 if (rows == 0) { in update() 237 return rows; in update() 242 return rows; in update()
|
/packages/apps/ThemePicker/src/com/android/customization/model/grid/ |
D | GridOption.java | 38 public final int rows; field in GridOption 43 public GridOption(String title, String name, boolean isCurrent, int rows, int cols, in GridOption() argument 47 mTileDrawable = new GridTileDrawable(rows, cols, iconShapePath); in GridOption() 49 this.rows = rows; in GridOption()
|
D | LauncherGridOptionsProvider.java | 106 int rows = c.getInt(c.getColumnIndex(COL_ROWS)); in fetch() local 116 String title = mContext.getString(R.string.grid_title_pattern, cols, rows); in fetch() 117 mOptions.add(new GridOption(title, name, isSet, rows, cols, preview, previewCount, in fetch()
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumberProvider.java | 135 int rows = in delete() local 137 if (rows > 0) { in delete() 140 return rows; in delete() 156 int rows = in update() local 159 if (rows > 0) { in update() 162 return rows; in update()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaOutputSliceTest.java | 115 final int rows = SliceQuery.findAll(slice, FORMAT_SLICE, HINT_LIST_ITEM, in getSlice_workerIsNull_shouldReturnZeroRow() local 118 assertThat(rows).isEqualTo(0); in getSlice_workerIsNull_shouldReturnZeroRow() 127 final int rows = SliceQuery.findAll(slice, FORMAT_SLICE, HINT_LIST_ITEM, in getSlice_bluetoothIsDisable_shouldReturnZeroRow() local 130 assertThat(rows).isEqualTo(0); in getSlice_bluetoothIsDisable_shouldReturnZeroRow() 139 final int rows = SliceQuery.findAll(slice, FORMAT_SLICE, HINT_LIST_ITEM, in getSlice_callStateRinging_shouldReturnZeroRow() local 142 assertThat(rows).isEqualTo(0); in getSlice_callStateRinging_shouldReturnZeroRow()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/ |
D | GridOccupancyTest.java | 55 private GridOccupancy initGrid(int rows, int... cells) { in initGrid() argument 56 int cols = cells.length / rows; in initGrid() 58 GridOccupancy grid = new GridOccupancy(cols, rows); in initGrid() 59 for (int y = 0; y < rows; y++) { in initGrid()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Delaunay.cpp | 56 int i, rows; in buildTriangulation() local 59 rows = (int)( 0.5 + sqrt( (double) size / log( (double) size ))); in buildTriangulation() 67 build( 0, size-1, &lefte, &righte, rows ); in buildTriangulation() 73 void CDelaunay::build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows) in build() argument 86 if (rows == 1) { // time to switch axis of division in build() 88 rows = 65536; in build() 90 lowrows = rows/2; in build() 92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows))); in build() 94 build( split+1, high, &rdi, &rdo, (rows-lowrows) ); in build()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | FrequentContactsCursorBuilder.java | 105 final ArrayList<Object[]> rows = in build() local 129 rows.add(row); in build() 136 Collections.sort(rows, new Comparator<Object[]>() { in build() 172 for (final Object[] row : rows) { in build()
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 121 status_t resize(dimen_t rows, dimen_t cols, dimen_t scrollRows); 409 status_t Terminal::resize(dimen_t rows, dimen_t cols, dimen_t scrollRows) { in resize() argument 412 ALOGD("resize(%d, %d, %d)", rows, cols, scrollRows); in resize() 414 mRows = rows; in resize() 418 struct winsize size = { rows, cols, 0, 0 }; in resize() 421 vterm_set_size(mVt, rows, cols); in resize() 560 jclass clazz, jlong ptr, jint rows, jint cols, jint scrollRows) { in com_android_terminal_Terminal_nativeResize() argument 562 return term->resize(rows, cols, scrollRows); in com_android_terminal_Terminal_nativeResize()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | CarrierIdProvider.java | 375 int rows = 0; in updateDatabaseFromPb() local 378 if (carrierList == null) return rows; in updateDatabaseFromPb() 403 rows++; in updateDatabaseFromPb() 406 + rows + "carrier id: " + id.canonicalId); in updateDatabaseFromPb() 412 Log.d(TAG, "update database from pb. inserted rows = " + rows); in updateDatabaseFromPb() 413 if (rows > 0) { in updateDatabaseFromPb() 422 return rows; in updateDatabaseFromPb()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | DynamicShortcutsTests.java | 285 private MockContentProvider.Query queryFor(Uri uri, Object... rows) { 292 populateQueryRows(query, DynamicShortcuts.PROJECTION.length, rows); 339 Object... rows) { 340 for (int i = 0; i < rows.length; i += numColumns) { 343 row[j] = rows[i + j];
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.h | 35 inline void db_SetupMatrixRefs(double **ar,long rows,long cols,double *a) in db_SetupMatrixRefs() argument 38 for(i=0;i<rows;i++) ar[i]=&a[i*cols]; in db_SetupMatrixRefs() 41 inline void db_SymmetricExtendUpperToLower(double **A,int rows,int cols) in db_SymmetricExtendUpperToLower() argument 44 for(i=1;i<rows;i++) for(j=0;j<i;j++) A[i][j]=A[j][i]; in db_SymmetricExtendUpperToLower()
|
/packages/apps/Terminal/src/com/android/terminal/ |
D | TerminalView.java | 253 final int rows = h / mMetrics.charHeight; in onSizeChanged() local 257 final boolean sizeChanged = (rows != mRows || cols != mCols || scrollRows != mScrollRows); in onSizeChanged() 259 mTerm.resize(rows, cols, scrollRows); in onSizeChanged() 261 mRows = rows; in onSizeChanged()
|
D | Terminal.java | 144 public void resize(int rows, int cols, int scrollRows) { in resize() argument 145 if (nativeResize(mNativePtr, rows, cols, scrollRows) != 0) { in resize() 197 private static native int nativeResize(long ptr, int rows, int cols, int scrollRows); in nativeResize() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/ |
D | BluetoothDevicesSlice.java | 110 final List<ListBuilder.RowBuilder> rows = getBluetoothRowBuilder(); in getSlice() local 113 if (rows.isEmpty()) { in getSlice() 122 final int deviceCount = Math.min(rows.size(), DEFAULT_EXPANDED_ROW_COUNT); in getSlice() 132 listBuilder.addRow(rows.get(i)); in getSlice()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | BluetoothDevicesSlice.java | 107 final List<ListBuilder.RowBuilder> rows = getBluetoothRowBuilder(); in getSlice() local 110 if (rows.isEmpty()) { in getSlice() 119 final int deviceCount = Math.min(rows.size(), DEFAULT_EXPANDED_ROW_COUNT); in getSlice() 129 listBuilder.addRow(rows.get(i)); in getSlice()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | BaseWidgetProvider.java | 104 final int rows = getCellsForSize(minHeight); in getWidgetSize() local 108 LogUtil.v(TAG, "BaseWidgetProvider.getWidgetSize row: " + rows + in getWidgetSize() 113 if (rows == 1) { in getWidgetSize()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiSliceTest.java | 118 final int rows = SliceQuery.findAll(wifiSlice, FORMAT_SLICE, HINT_LIST_ITEM, in getWifiSlice_wifiOff_shouldReturnSingleRow() local 122 assertThat(rows).isEqualTo(1); in getWifiSlice_wifiOff_shouldReturnSingleRow() 129 final int rows = SliceQuery.findAll(wifiSlice, FORMAT_SLICE, HINT_LIST_ITEM, in getWifiSlice_noAp_shouldReturnLoadingRow() local 134 assertThat(rows).isEqualTo(DEFAULT_EXPANDED_ROW_COUNT + 1); in getWifiSlice_noAp_shouldReturnLoadingRow()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | FloatingHeaderView.java | 121 ArrayList<FloatingHeaderRow> rows = new ArrayList<>(); in onFinishInflate() local 126 rows.add((FloatingHeaderRow) child); in onFinishInflate() 129 mFixedRows = rows.toArray(new FloatingHeaderRow[rows.size()]); in onFinishInflate()
|