Home
last modified time | relevance | path

Searched refs:totalCount (Results 1 – 23 of 23) 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.java101 int totalCount) { in onImportParsed() argument
106 final String totalCountString = String.valueOf(totalCount); in onImportParsed()
117 totalCount, currentCount); in onImportParsed()
205 int jobId, String displayName, int totalCount, int currentCount) { in constructProgressNotification() argument
227 .setProgress(totalCount, currentCount, totalCount == - 1) in constructProgressNotification()
235 if (totalCount > 0) { in constructProgressNotification()
237 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/apps/UnifiedEmail/src/com/android/mail/providers/
DFolder.java131 public int totalCount; field in Folder
282 public Builder setTotalCount(final int totalCount) { in setTotalCount() argument
283 mTotalCount = totalCount; in setTotalCount()
342 int unseenCount, int unreadCount, int totalCount, Uri refreshUri, int syncStatus, in Folder() argument
357 this.totalCount = totalCount; in Folder()
395 totalCount = cursor.getInt(UIProvider.FOLDER_TOTAL_COUNT_COLUMN); in Folder()
454 totalCount = in.readInt(); in Folder()
490 dest.writeInt(totalCount); in writeToParcel()
597 sb.append(totalCount); in toString()
908 f.totalCount = Integer.parseInt(split[index++]); in fromString()
/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/UnifiedEmail/src/com/android/mail/browse/
DConversationListFooterView.java85 final int totalCount = extras.getInt(UIProvider.CursorExtraKeys.EXTRA_TOTAL_COUNT); in updateStatus() local
99 } else if (mLoadMoreUri != null && cursor.getCount() < totalCount) { in updateStatus()
/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/UnifiedEmail/src/com/android/mail/ui/
DActionBarController.java235 && mFolder.isTrash() && mFolder.totalCount > 0 in validateVolatileMenuOptionVisibility()
240 && mFolder.isType(FolderType.SPAM) && mFolder.totalCount > 0 in validateVolatileMenuOptionVisibility()
DConversationListFragment.java833 if (f.totalCount > 0) { in showList()
834 countLog = (long) Math.log10(f.totalCount); in showList()
839 Long.toString(countLog), f.totalCount); in showList()
DConversationsInOutboxTipView.java101 onOutboxTotalCount(folder.totalCount);
DAbstractActivityController.java1677 EmptyFolderDialogFragment.newInstance(mFolder.totalCount, mFolder.type);
3604 mHaveSearchResults = search.totalCount > 0;
/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--;
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DUtils.java948 return folder.totalCount; in getFolderUnreadDisplayCount()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java3851 int totalCount = currRecips.size();
3856 if (totalCount != totalPrevCount) {
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java5931 final int totalCount = in runSearchQuery() local
5936 cv.put(MailboxColumns.TOTAL_COUNT, totalCount); in runSearchQuery()
5940 totalCount); in runSearchQuery()