Home
last modified time | relevance | path

Searched refs:newRow (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsDiffReporter.java140 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/
DSearchContactsCursorLoader.java145 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/
DSortingCursorWrapperTest.java119 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/
DMediaDocumentsProvider.java1125 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/
DTestRootProvider.java70 final RowBuilder row = c.newRow(); in queryRoots()
84 final RowBuilder row = c.newRow(); in addFile()
98 final RowBuilder row = c.newRow(); in addFolder()
DInspectorProvider.java135 final RowBuilder row = c.newRow(); in addFileWithSize()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DModelTest.java84 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/
DResourcesProvider.java81 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/
DTelephonyProvider.java2483 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/
DPhoneLookupWithStarPrefix.java84 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/
DTestDocumentsProvider.java122 cursor.newRow() in createDocumentsCursor()
149 final MatrixCursor.RowBuilder builder = resultCursor.newRow(); in filterCursorByString()
DTestModel.java128 MatrixCursor.RowBuilder row = mCursor.newRow(); in addToCursor()
/packages/apps/Traceur/src/com/android/traceur/
DStorageProvider.java88 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/
DSettingsSearchIndexablesProvider.java226 cursor.newRow() in querySiteMapPairs()
236 cursor.newRow() in querySiteMapPairs()
265 cursor.newRow() in querySliceUriPairs()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridCustomizationsProvider.java98 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/
DStressProvider.java179 final RowBuilder row = result.newRow(); in includeRoot()
187 final RowBuilder row = result.newRow(); in includeDocument()
/packages/apps/EmergencyInfo/src/com/android/emergency/
DEmergencySearchIndexablesProvider.java59 cursor.newRow() in queryXmlResources()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionSearchIndexablesProvider.java60 cursor.newRow().add(COLUMN_RANK, 0) in queryRawData()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/service/
DRoleSearchIndexablesProvider.java66 cursor.newRow() in queryRawData()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSearchIndexablesProvider.java55 cursor.newRow() in queryXmlResources()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowContentResolver.java53 MatrixCursor.RowBuilder builder = cursor.newRow() in query()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDumpFileProvider.java102 final MatrixCursor.RowBuilder b = c.newRow(); in query()
/packages/services/Telephony/src/com/android/phone/
DSimPhonebookProvider.java332 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/
DMenuManagerTest.java515 MatrixCursor.RowBuilder row = c.newRow(); in getTestModel()
521 MatrixCursor.RowBuilder row = c.newRow(); in getTestModel()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMediaScratchFileProvider.java131 RowBuilder row = cursor.newRow(); in query()

12