Home
last modified time | relevance | path

Searched refs:totalCount (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSetSlidingWindow.java82 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/
DNotificationImportExportListener.java99 int totalCount) { in onImportParsed() argument
104 final String totalCountString = String.valueOf(totalCount); in onImportParsed()
115 totalCount, currentCount); in onImportParsed()
203 int jobId, String displayName, int totalCount, int currentCount) { in constructProgressNotification() argument
225 .setProgress(totalCount, currentCount, totalCount == - 1) in constructProgressNotification()
233 if (totalCount > 0) { in constructProgressNotification()
235 NumberFormat.getPercentInstance().format((double) currentCount / totalCount); in constructProgressNotification()
DExportProcessor.java262 private void doProgressNotification(Uri uri, int totalCount, int currentCount) { in doProgressNotification() argument
271 totalCount, currentCount); in doProgressNotification()
DVCardImportExportListener.java27 int totalCount); in onImportParsed() argument
DNfcImportVCardActivity.java239 int currentCount, int totalCount) { in onImportParsed() argument
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowPage.java283 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()
DAlbumSetDataLoader.java241 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/
DEpgDataCleanupService.java125 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/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java223 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()
DIngestActivity.java476 public void onImportProgress(final int visitedCount, final int totalCount, in onImportProgress() argument
480 mProgressState.max = totalCount; in onImportProgress()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DLocalPhotoSource.java135 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/
DRawContactModifier.java197 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/
DImportTask.java45 void onImportProgress(int visitedCount, int totalCount, String pathIfSuccessful); in onImportProgress() argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java1726 for (int totalCount = repeats + 1; totalCount > 0;) {
1747 totalCount--;