Home
last modified time | relevance | path

Searched refs:oldCount (Results 1 – 16 of 16) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFilteringCursorWrapper.java171 final int oldCount = this.getCount(); in filterByCondition() local
172 int[] newPositions = new int[oldCount]; in filterByCondition()
176 while (this.moveToNext() && newCount < oldCount) { in filterByCondition()
183 Log.d(TAG, "Before filtering " + oldCount + ", after " + newCount); in filterByCondition()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DWidgetDAO.kt40 val oldCount: Int = prefs.getInt(key, 0) in updateWidgetCount() constant
46 return count - oldCount in updateWidgetCount()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java239 final int oldCount = mMap.getOrDefault(key, 0); in add() local
240 mMap.put(key, oldCount + 1); in add()
241 return oldCount; in add()
248 final int oldCount = mMap.getOrDefault(key, 0); in remove() local
249 if (oldCount == 0) { in remove()
251 } else if (oldCount == 1) { in remove()
254 mMap.put(key, oldCount - 1); in remove()
256 return oldCount; in remove()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactPickerFragment.java450 public void onContactChipsChanged(final int oldCount, final int newCount) { in onContactChipsChanged() argument
451 Assert.isTrue(oldCount != newCount); in onContactChipsChanged()
458 if (oldCount > 0 && mRecipientTextView.isFocused()) { in onContactChipsChanged()
DContactRecipientAutoCompleteView.java54 void onContactChipsChanged(int oldCount, int newCount); in onContactChipsChanged() argument
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardContainer.java1388 final int oldCount = mSuggestions.getChildCount(); in updateSuggestions() local
1391 if (newCount < oldCount) { in updateSuggestions()
1393 mSuggestions.removeViews(newCount, oldCount-newCount); in updateSuggestions()
1394 } else if (newCount > oldCount) { in updateSuggestions()
1396 for (int i = oldCount; i < newCount; i++) { in updateSuggestions()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DStepsRecordTest.java1550 int oldCount = 10; in insertRecords_sameClientRecordIdAndNewerVersion_readNewData() local
1551 insertAndReadRecords(recordCount, oldVersion, oldCount); in insertRecords_sameClientRecordIdAndNewerVersion_readNewData()
1566 int oldCount = 10; in insertRecords_sameClientRecordIdAndSameVersion_readNewData() local
1567 insertAndReadRecords(recordCount, version, oldCount); in insertRecords_sameClientRecordIdAndSameVersion_readNewData()
1581 int oldCount = 10; in insertRecords_sameClientRecordIdAndOlderVersion_readOldData() local
1582 insertAndReadRecords(recordCount, oldVersion, oldCount); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData()
1589 assertThat(record.getCount()).isEqualTo(oldCount); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java2482 Integer oldCount = mDocumentCountMapLocked.get(packageName); in rebuildDocumentCountMapLocked() local
2484 if (oldCount == null) { in rebuildDocumentCountMapLocked()
2487 newCount = oldCount + namespaceStorageInfoProto.getNumAliveDocuments(); in rebuildDocumentCountMapLocked()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Djackson-core-2.11.1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE META-INF ...