/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsDiffReporter.java | 140 private int compareAppNameAndType(WidgetsListBaseEntry curRow, WidgetsListBaseEntry newRow, in compareAppNameAndType() argument 142 if (curRow == null && newRow == null) { in compareAppNameAndType() 147 if (curRow == null && newRow != null) { in compareAppNameAndType() 149 } else if (curRow != null && newRow == null) { in compareAppNameAndType() 152 int diff = comparator.compare(curRow, newRow); in compareAppNameAndType() 154 return newRow.getRank() - curRow.getRank(); in compareAppNameAndType() 164 WidgetsListBaseEntry newRow) { in hasWidgetsListContentChanged() argument 166 || !(newRow instanceof WidgetsListContentEntry)) { in hasWidgetsListContentChanged() 169 return !curRow.equals(newRow); in hasWidgetsListContentChanged() 176 private boolean hasHeaderUpdated(WidgetsListBaseEntry curRow, WidgetsListBaseEntry newRow) { in hasHeaderUpdated() argument [all …]
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | SearchContactsCursorLoader.java | 145 Object[] newRow = new Object[Projections.CP2_PROJECTION.length]; in convertSmartDialCursorToSearchCursor() local 152 newRow[i] = smartDialCursor.getInt(index); in convertSmartDialCursorToSearchCursor() 155 newRow[i] = smartDialCursor.getString(index); in convertSmartDialCursorToSearchCursor() 158 newRow[i] = smartDialCursor.getFloat(index); in convertSmartDialCursorToSearchCursor() 161 newRow[i] = smartDialCursor.getBlob(index); in convertSmartDialCursorToSearchCursor() 170 cursor.addRow(newRow); in convertSmartDialCursorToSearchCursor()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortingCursorWrapperTest.java | 119 MatrixCursor.RowBuilder row = c.newRow(); in setUp() 233 MatrixCursor.RowBuilder row = c.newRow(); in testSort_sizesWithBucketing_ascending() 285 MatrixCursor.RowBuilder row = c.newRow(); in testSort_sizesWithBucketing_descending() 338 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_ascending() 345 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_ascending() 375 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_descending() 382 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_descending()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 1125 final RowBuilder row = result.newRow(); in includeImagesRoot() 1141 final RowBuilder row = result.newRow(); in includeVideosRoot() 1157 final RowBuilder row = result.newRow(); in includeAudioRoot() 1173 final RowBuilder row = result.newRow(); in includeDocumentsRoot() 1183 final RowBuilder row = result.newRow(); in includeImagesRootDocument() 1192 final RowBuilder row = result.newRow(); in includeVideosRootDocument() 1201 final RowBuilder row = result.newRow(); in includeAudioRootDocument() 1208 final RowBuilder row = result.newRow(); in includeDocumentsRootDocument() 1235 final RowBuilder row = result.newRow(); in includeImagesBucket() 1266 final RowBuilder row = result.newRow(); in includeImage() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | TestRootProvider.java | 70 final RowBuilder row = c.newRow(); in queryRoots() 84 final RowBuilder row = c.newRow(); in addFile() 98 final RowBuilder row = c.newRow(); in addFolder()
|
D | InspectorProvider.java | 135 final RowBuilder row = c.newRow(); in addFileWithSize()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ModelTest.java | 84 MatrixCursor.RowBuilder row = c.newRow(); in setUp() 122 MatrixCursor.RowBuilder row0 = cIn1.newRow(); in testModelIdIsUnique() 126 MatrixCursor.RowBuilder row1 = cIn2.newRow(); in testModelIdIsUnique()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ResourcesProvider.java | 81 final RowBuilder row = result.newRow(); in queryRoots() 95 final RowBuilder row = result.newRow(); in queryDocument() 143 final RowBuilder row = result.newRow(); in includeDocument()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 2483 ContentValues newRow, ContentValues mergedValues, in mergeFieldsAndUpdateDb() argument 2485 if (newRow.containsKey(TYPE)) { in mergeFieldsAndUpdateDb() 2488 String newType = newRow.getAsString(TYPE); in mergeFieldsAndUpdateDb() 2492 newRow.put(TYPE, ""); in mergeFieldsAndUpdateDb() 2503 PROFILE_ID)) + " newRow " + newRow); in mergeFieldsAndUpdateDb() 2507 if (separateRowsNeeded(db, table, oldRow, newRow, context, oldTypes, in mergeFieldsAndUpdateDb() 2526 newRow.put(TYPE, mergedType.toString()); in mergeFieldsAndUpdateDb() 2529 mergedValues.put(TYPE, newRow.getAsString(TYPE)); in mergeFieldsAndUpdateDb() 2532 if (newRow.containsKey(BEARER_BITMASK)) { in mergeFieldsAndUpdateDb() 2534 int newBearer = newRow.getAsInteger(BEARER_BITMASK); in mergeFieldsAndUpdateDb() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhoneLookupWithStarPrefix.java | 84 final MatrixCursor.RowBuilder b = matrixCursor.newRow(); in removeNonStarMatchesFromCursor() 175 final MatrixCursor.RowBuilder b = matrixCursor.newRow(); in removeNoMatchPhoneNumber()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentsProvider.java | 122 cursor.newRow() in createDocumentsCursor() 149 final MatrixCursor.RowBuilder builder = resultCursor.newRow(); in filterCursorByString()
|
D | TestModel.java | 128 MatrixCursor.RowBuilder row = mCursor.newRow(); in addToCursor()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | StorageProvider.java | 88 final MatrixCursor.RowBuilder row = result.newRow(); in queryRoots() 103 final MatrixCursor.RowBuilder row = result.newRow(); in queryDocument()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | SettingsSearchIndexablesProvider.java | 226 cursor.newRow() in querySiteMapPairs() 236 cursor.newRow() in querySiteMapPairs() 265 cursor.newRow() in querySliceUriPairs()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | GridCustomizationsProvider.java | 98 cursor.newRow() in query() 111 cursor.newRow().add(BOOLEAN_VALUE, isThemedIconEnabled(getContext()) ? 1 : 0); in query()
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | StressProvider.java | 179 final RowBuilder row = result.newRow(); in includeRoot() 187 final RowBuilder row = result.newRow(); in includeDocument()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/ |
D | EmergencySearchIndexablesProvider.java | 59 cursor.newRow() in queryXmlResources()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionSearchIndexablesProvider.java | 60 cursor.newRow().add(COLUMN_RANK, 0) in queryRawData()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/service/ |
D | RoleSearchIndexablesProvider.java | 66 cursor.newRow() in queryRawData()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | LauncherSearchIndexablesProvider.java | 55 cursor.newRow() in queryXmlResources()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowContentResolver.java | 53 MatrixCursor.RowBuilder builder = cursor.newRow() in query()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
D | DumpFileProvider.java | 102 final MatrixCursor.RowBuilder b = c.newRow(); in query()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimPhonebookProvider.java | 332 MatrixCursor.RowBuilder row = result.newRow() in addEfToCursor() 370 rowBuilders.add(Pair.create(record, result.newRow())); in querySimRecords() 420 result.newRow() in querySimRecordsItem()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | MenuManagerTest.java | 515 MatrixCursor.RowBuilder row = c.newRow(); in getTestModel() 521 MatrixCursor.RowBuilder row = c.newRow(); in getTestModel()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MediaScratchFileProvider.java | 131 RowBuilder row = cursor.newRow(); in query()
|