Home
last modified time | relevance | path

Searched refs:mTotalCount (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content_global_counters.h33 mTotalCount(readValue(mBuffer, TOTAL_COUNT_INDEX)), in LanguageModelDictContentGlobalCounters()
37 : mBuffer(0 /* maxAdditionalBufferSize */), mTotalCount(0), mMaxValueOfCounters(0) {} in LanguageModelDictContentGlobalCounters()
41 || mTotalCount >= TOTAL_COUNT_VALUE_NEAR_LIMIT_THRESHOLD; in needsToHalveCounters()
45 return mTotalCount; in getTotalCount()
51 if (!bufferToWrite.writeUint(mTotalCount, COUNTER_SIZE_IN_BYTES, in save()
63 mTotalCount += 1; in incrementTotalCount()
67 mTotalCount += count; in addToTotalCount()
76 mTotalCount /= 2; in halveCounters()
89 int mTotalCount; variable
/packages/apps/Launcher3/src/com/android/launcher3/badge/
DBadgeInfo.java54 private int mTotalCount; field in BadgeInfo
82 mTotalCount -= prevKey.count; in addOrUpdateNotificationKey()
83 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()
89 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()
100 mTotalCount -= notificationKey.count; in removeNotificationKey()
110 return Math.min(mTotalCount, MAX_COUNT); in getNotificationCount()
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/audio/
DAudioTrackMonitor.java44 private long mTotalCount; field in AudioTrackMonitor
64 mTotalCount = 0; in reset()
83 mTotalCount++; in addPts()
88 if (mTotalCount == 1) { in addPts()
110 long sampleDuration = (mTotalCount - 1) * unitDuration / 1000; in maybeLog()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java175 public int mTotalCount; field in Mailbox
572 return (mTotalCount >= 0) && isSyncableType(mType); in isSyncable()
596 mTotalCount = cursor.getInt(CONTENT_TOTAL_COUNT_COLUMN); in restore()
621 values.put(MailboxColumns.TOTAL_COUNT, mTotalCount); in toContentValues()
633 if (count != mTotalCount) { in updateMessageCount()
637 mTotalCount = count; in updateMessageCount()
792 = mTotalCount; in getHashes()
826 dest.writeInt(mTotalCount); in writeToParcel()
851 mTotalCount = in.readInt(); in Mailbox()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetDataLoader.java55 private final int[] mTotalCount; field in AlbumSetDataLoader
81 mTotalCount = new int[cacheSize]; in AlbumSetDataLoader()
136 return mTotalCount[index % mTotalCount.length]; in getTotalCount()
167 mTotalCount[slotIndex] = 0; in clearSlot()
303 mTotalCount[pos] = info.totalCount; in call()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java131 int mTotalCount; field in BeamTransferManager
157 mTotalCount = (pendingTransfer.uris != null) ? pendingTransfer.uris.length : 0; in BeamTransferManager()
251 if (mCurrentCount == mTotalCount) { in finishTransfer()
273 mTotalCount = objectCount; in setObjectCount()
325 if (mTotalCount > 0) { in updateNotification()
326 float progressUnit = 1.0f / mTotalCount; in updateNotification()
329 if (mTotalCount > 0 && progress > 0) { in updateNotification()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DImportProcessor.java66 private int mTotalCount = 0; field in ImportProcessor
93 entry, mCurrentCount, mTotalCount); in onEntryCreated()
151 mTotalCount += entryCount; in runInternal()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSetSlidingWindow.java482 private final int mTotalCount; field in AlbumSetSlidingWindow.AlbumLabelLoader
489 mTotalCount = totalCount; in AlbumLabelLoader()
496 mTitle, String.valueOf(mTotalCount), mSourceType), l); in submitBitmapTask()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolder.java214 private int mTotalCount; field in Folder.Builder
232 mUnseenCount, mUnreadCount, mTotalCount, mRefreshUri, mSyncStatus, in build()
283 mTotalCount = totalCount; in setTotalCount()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java364 assertEquals(caller + " mTotalCount", expect.mTotalCount, actual.mTotalCount); in assertMailboxEqual()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailConversationCursor.java75 mExtras.putInt(UIProvider.CursorExtraKeys.EXTRA_TOTAL_COUNT, mailbox.mTotalCount); in EmailConversationCursor()