/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSetSlidingWindow.java | 82 public int totalCount; field in AlbumSetSlidingWindow.AlbumSetEntry 240 AlbumSetEntry entry, String title, int totalCount, int sourceType) { in isLabelChanged() argument 242 || entry.totalCount != totalCount in isLabelChanged() 249 int totalCount = mSource.getTotalCount(slotIndex); in updateAlbumSetEntry() local 259 if (isLabelChanged(entry, title, totalCount, sourceType)) { in updateAlbumSetEntry() 261 entry.totalCount = totalCount; in updateAlbumSetEntry() 270 slotIndex, title, totalCount, sourceType); in updateAlbumSetEntry() 486 int slotIndex, String title, int totalCount, int sourceType) { in AlbumLabelLoader() argument 489 mTotalCount = totalCount; in AlbumLabelLoader() 543 entry.title, entry.totalCount, entry.sourceType); in onSlotSizeChanged()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | NotificationImportExportListener.java | 101 int totalCount) { in onImportParsed() argument 106 final String totalCountString = String.valueOf(totalCount); in onImportParsed() 117 totalCount, currentCount); in onImportParsed() 204 int jobId, String displayName, int totalCount, int currentCount) { in constructProgressNotification() argument 226 .setProgress(totalCount, currentCount, totalCount == - 1) in constructProgressNotification() 234 if (totalCount > 0) { in constructProgressNotification() 236 NumberFormat.getPercentInstance().format((double) currentCount / totalCount); in constructProgressNotification()
|
D | ExportProcessor.java | 262 private void doProgressNotification(Uri uri, int totalCount, int currentCount) { in doProgressNotification() argument 271 totalCount, currentCount); in doProgressNotification()
|
D | VCardImportExportListener.java | 27 int totalCount); in onImportParsed() argument
|
D | NfcImportVCardActivity.java | 239 int currentCount, int totalCount) { in onImportParsed() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | SlideshowPage.java | 283 private void generateOrderArray(int totalCount) { in generateOrderArray() argument 284 if (mOrder.length != totalCount) { in generateOrderArray() 285 mOrder = new int[totalCount]; in generateOrderArray() 286 for (int i = 0; i < totalCount; ++i) { in generateOrderArray() 290 for (int i = totalCount - 1; i > 0; --i) { in generateOrderArray() 293 if (mOrder[0] == mLastIndex && totalCount > 1) { in generateOrderArray() 294 Utils.swap(mOrder, 0, mRandom.nextInt(totalCount - 1) + 1); in generateOrderArray()
|
D | AlbumSetDataLoader.java | 241 public int totalCount; field in AlbumSetDataLoader.UpdateInfo 303 mTotalCount[pos] = info.totalCount; in call() 374 info.totalCount = info.item.getTotalMediaItemCount(); in run()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | EpgDataCleanupService.java | 125 int totalCount; in clearOverflowWatchHistory() local 128 totalCount = cursor.getCount(); in clearOverflowWatchHistory() 129 int overflowCount = totalCount - maxEntryCount; in clearOverflowWatchHistory() 147 Log.d(TAG, "Deleted " + deleteCount + " of " + totalCount + " watched programs" in clearOverflowWatchHistory()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/ |
D | CountMetricsTests.java | 300 int totalCount = 0; in testPartialBucketCountMetric() 302 totalCount += bucket.getCount(); in testPartialBucketCountMetric() 304 assertThat(totalCount).isEqualTo(2); in testPartialBucketCountMetric() 419 long totalCount = data.getBucketInfoList().stream() local 422 assertThat(totalCount).isEqualTo(6); 429 totalCount = data.getBucketInfoList().stream() 432 assertThat(totalCount).isEqualTo(3);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | IngestService.java | 223 public void onImportProgress(int visitedCount, int totalCount, in onImportProgress() argument 230 mClientActivity.onImportProgress(visitedCount, totalCount, pathIfSuccessful); in onImportProgress() 232 mNotificationBuilder.setProgress(totalCount, visitedCount, false) in onImportProgress()
|
D | IngestActivity.java | 476 public void onImportProgress(final int visitedCount, final int totalCount, in onImportProgress() argument 480 mProgressState.max = totalCount; in onImportProgress()
|
/packages/modules/StatsD/framework/java/android/util/ |
D | StatsEvent.java | 528 final int totalCount = intMapSize + longMapSize + stringMapSize + floatMapSize; in writeKeyValuePairs() local 530 if (totalCount > MAX_KEY_VALUE_PAIRS) { in writeKeyValuePairs() 534 mPos += mBuffer.putByte(mPos, (byte) totalCount); in writeKeyValuePairs()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | LocalPhotoSource.java | 135 private boolean isContentSound(int totalCount) { in isContentSound() argument 136 if (mPhotos.size() < Math.min(totalCount, MAX_PHOTO_COUNT)) return false; in isContentSound()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactModifier.java | 197 int totalCount = 0; in getTypeFrequencies() local 201 totalCount++; in getTypeFrequencies() 209 typeCount.put(FREQUENCY_TOTAL, totalCount); in getTypeFrequencies() 1313 int totalCount = 0; in migrateGenericWithTypeColumn() local 1316 if (typeOverallMax != -1 && totalCount >= typeOverallMax) { in migrateGenericWithTypeColumn() 1353 totalCount++; in migrateGenericWithTypeColumn()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | ImportTask.java | 45 void onImportProgress(int visitedCount, int totalCount, String pathIfSuccessful); in onImportProgress() argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 1726 for (int totalCount = repeats + 1; totalCount > 0;) { 1747 totalCount--;
|