Home
last modified time | relevance | path

Searched refs:mCount (Results 1 – 25 of 50) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsReleaseStorage.java45 public final int mCount; field in SmsReleaseStorage.Duration
50 mCount = count; in Duration()
96 R.plurals.week_count, duration.mCount, duration.mCount); in getMessageRetainingDurationString()
99 R.plurals.month_count, duration.mCount, duration.mCount); in getMessageRetainingDurationString()
102 R.plurals.year_count, duration.mCount, duration.mCount); in getMessageRetainingDurationString()
122 return duration.mCount * WEEK_IN_MILLIS; in durationToTimeInMillis()
124 return duration.mCount * MONTH_IN_MILLIS; in durationToTimeInMillis()
126 return duration.mCount * YEAR_IN_MILLIS; in durationToTimeInMillis()
/packages/apps/Contacts/src/com/android/contacts/list/
DGroupMemberPickerFragment.java73 private int mCount = 0; field in GroupMemberPickerFragment.FilterCursorWrapper
79 mCount = super.getCount(); in FilterCursorWrapper()
80 mIndex = new int[mCount]; in FilterCursorWrapper()
85 Log.v(TAG, "RawContacts CursorWrapper start: " + mCount); in FilterCursorWrapper()
95 for (int i = 0; i < mCount; i++) { in FilterCursorWrapper()
105 if (indexer != null && GroupUtil.needTrimming(mCount, counts, indexer.getPositions())) { in FilterCursorWrapper()
109 mCount = mPos; in FilterCursorWrapper()
114 Log.v(TAG, "RawContacts CursorWrapper end: " + mCount); in FilterCursorWrapper()
140 return moveToPosition(mCount - 1); in moveToLast()
145 if (position >= mCount) { in moveToPosition()
[all …]
DContactsSectionIndexer.java34 private int mCount; field in ContactsSectionIndexer
68 mCount = position; in ContactsSectionIndexer()
88 if (position < 0 || position >= mCount) { in getSectionForPosition()
125 mCount = mCount + numberOfItemsToAdd; in setFavoritesHeader()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DMissingCounterTimerLockList.java123 private int mCount; field in MissingCounterTimerLockList.LockListEntry
126 mCount = mConsecutiveMissingCountToTriggerTimer; in LockListEntry()
137 mCount = mConsecutiveMissingCountToTriggerTimer; in onPresent()
142 if (mCount == 0) { in onAbsent()
146 mCount--; in onAbsent()
147 if (mCount > 0) { in onAbsent()
158 boolean absentForLongEnough = mCount == 0 && mStartTimeStamp + mExpiryMs in isExpired()
/packages/apps/Camera2/src/com/android/camera/async/
DCountableBufferQueue.java47 private int mCount; field in CountableBufferQueue
59 mCount = 0; in CountableBufferQueue()
75 mCount--; in decrementSize()
76 count = mCount; in decrementSize()
116 preCount = mCount; in update()
117 mCount++; in update()
119 postCount = mCount; in update()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DCountedDataInputStream.java29 private int mCount = 0; field in CountedDataInputStream
40 return mCount; in getReadByteCount()
46 mCount += (r >= 0) ? r : 0; in read()
53 mCount += (r >= 0) ? r : 0; in read()
60 mCount += (r >= 0) ? 1 : 0; in read()
67 mCount += skip; in skip()
76 long cur = mCount; in skipTo()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DCountedDataInputStream.java29 private int mCount = 0; field in CountedDataInputStream
40 return mCount; in getReadByteCount()
46 mCount += (r >= 0) ? r : 0; in read()
53 mCount += (r >= 0) ? r : 0; in read()
60 mCount += (r >= 0) ? 1 : 0; in read()
67 mCount += skip; in skip()
78 long cur = mCount; in skipTo()
/packages/apps/Camera2/src/com/android/camera/exif/
DCountedDataInputStream.java29 private int mCount = 0; field in CountedDataInputStream
40 return mCount; in getReadByteCount()
46 mCount += (r >= 0) ? r : 0; in read()
53 mCount += (r >= 0) ? r : 0; in read()
60 mCount += (r >= 0) ? 1 : 0; in read()
67 mCount += skip; in skip()
76 long cur = mCount; in skipTo()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java85 private int mCount; // number of items in this cache field in NinePatchTexture.SmallCache
90 if (mCount == CACHE_SIZE) { in put()
96 mKey[mCount] = key; in put()
97 mValue[mCount] = value; in put()
98 mCount++; in put()
104 for (int i = 0; i < mCount; i++) { in get()
109 if (mCount > CACHE_SIZE_START_MOVE && i > 0) { in get()
125 for (int i = 0; i < mCount; i++) { in clear()
128 mCount = 0; in clear()
132 return mCount; in size()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DProbabilityInfo.java32 public final int mCount; field in ProbabilityInfo
56 mCount = count; in ProbabilityInfo()
66 return Arrays.hashCode(new Object[] { mProbability, mTimestamp, mLevel, mCount }); in hashCode()
85 && mCount == p.mCount; in equals()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFilteringCursorWrapper.java38 private int mCount; field in FilteringCursorWrapper
42 mCount = cursor.getCount(); in FilteringCursorWrapper()
43 mPositions = new int[mCount]; in FilteringCursorWrapper()
44 for (int i = 0; i < mCount; i++) { in FilteringCursorWrapper()
113 return mCount; in getCount()
185 mCount = newCount; in filterByCondition()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
DAvailableTicketCounter.java43 private final ConcurrentState<Integer> mCount; field in AvailableTicketCounter
48 mCount = new ConcurrentState<>(0); in AvailableTicketCounter()
73 int value = mCount.get(); in get()
90 mCount.update(value); in freeze()
105 mCount.update(newValue); in unfreeze()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorageReader.java56 sLocks.get(mCanonicalPath).mCount++; in ClipStorageReader()
77 assert(ref.mCount > 0); in close()
78 if (--ref.mCount == 0) { in close()
117 private int mCount; field in ClipStorageReader.FileLockEntry
120 mCount = count; in FileLockEntry()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dhistorical_info.h28 : mTimestamp(NOT_A_TIMESTAMP), mLevel(0), mCount(0) {} in HistoricalInfo()
31 : mTimestamp(timestamp), mLevel(level), mCount(count) {} in HistoricalInfo()
47 return mCount; in getCount()
56 const int mCount; variable
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DQuickstepOnboardingPrefs.java96 private int mCount = 0; in QuickstepOnboardingPrefs()
111 if (mCount >= MAX_NUM_SWIPES_TO_TRIGGER_EDU) { in QuickstepOnboardingPrefs()
115 mCount = 0; in QuickstepOnboardingPrefs()
121 mCount++; in QuickstepOnboardingPrefs()
123 mCount = 0; in QuickstepOnboardingPrefs()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionUsageV2ControlPreference.java54 private final int mCount; field in PermissionUsageV2ControlPreference
63 mCount = count; in PermissionUsageV2ControlPreference()
71 R.plurals.permission_usage_preference_label, mCount, mCount)); in PermissionUsageV2ControlPreference()
73 if (mCount == 0) { in PermissionUsageV2ControlPreference()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java136 private int mCount; // Cache mImageList.getCount(); field in GridViewSpecial
182 mCount = mAllImages.getCount(); in setImageList()
222 mRows = (mCount + mColumns - 1) / mColumns; in onLayout()
316 if (index >= 0 && index < mCount) { in onDown()
363 if (index >= 0 && index < mCount) { in onSingleTapConfirmed()
405 mCurrentSelection = Math.min(index, mCount - 1); in setSelectedIndex()
585 if (sel != mCount - 1 && (sel % mColumns < mColumns - 1)) { in onKeyDown()
600 sel = Math.min(mCount - 1, sel + mColumns); in onKeyDown()
625 topPos = Math.min(mCount - 1, topPos); in onKeyDown()
670 int endIndex = Math.min(endRow * mColumns, mCount); in paintDecoration()
[all …]
/packages/apps/Contacts/src/com/android/contacts/widget/
DCompositeListAdapter.java39 private int mCount = 0; field in CompositeListAdapter
93 mCount += count; in addAdapter()
119 mCount = 0; in ensureCacheValid()
126 mCount += count; in ensureCacheValid()
136 return mCount; in getCount()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java82 private int mCount = -1; in run()
87 if (mCount < 0) { in run()
88 mCount++; in run()
89 } else if (mCount == 0) { in run()
92 mCount++; in run()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java99 private int mCount = 0; field in GroupMembersFragment.FilterCursorWrapper
105 mCount = super.getCount(); in FilterCursorWrapper()
106 mIndex = new int[mCount]; in FilterCursorWrapper()
111 Log.v(TAG, "Group members CursorWrapper start: " + mCount); in FilterCursorWrapper()
122 for (int i = 0; i < mCount; i++) { in FilterCursorWrapper()
133 if (indexer != null && GroupUtil.needTrimming(mCount, counts, indexer.getPositions())) { in FilterCursorWrapper()
137 mCount = mPos; in FilterCursorWrapper()
142 Log.v(TAG, "Group members CursorWrapper end: " + mCount); in FilterCursorWrapper()
168 return moveToPosition(mCount - 1); in moveToLast()
173 if (position >= mCount) { in moveToPosition()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DPassThroughFilter.java23 private int mCount; field in PassThroughFilter
27 mCount = newCount; in recompute()
36 return mCount; in getFilteredCount()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DRootCursorWrapper.java38 private final int mCount; field in RootCursorWrapper
60 mCount = maxCount; in RootCursorWrapper()
62 mCount = count; in RootCursorWrapper()
113 return mCount; in getCount()
/packages/apps/Car/Media/src/com/android/car/media/
DUxrPivotFilter.java68 private int mCount;
72 mCount = newCount;
81 return mCount;
/packages/apps/Messaging/src/com/android/messaging/ui/
DCompositeAdapter.java91 private int mCount = 0; field in CompositeAdapter
176 mCount = 0; in ensureCacheValid()
178 mCount += mPartitions[i].getCount(); in ensureCacheValid()
185 return mCount; in getCount()
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DSourceLatency.java73 private int mCount = 0; field in SourceLatency.ElapsedTime
76 mCount++; in addTime()
82 return mTotal / mCount; in getAverage()
85 return mCount; in getCount()

12