/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | SmsReleaseStorage.java | 45 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/ |
D | GroupMemberPickerFragment.java | 73 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 …]
|
D | ContactsSectionIndexer.java | 34 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/ |
D | MissingCounterTimerLockList.java | 123 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/ |
D | CountableBufferQueue.java | 47 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/ |
D | CountedDataInputStream.java | 29 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/ |
D | CountedDataInputStream.java | 29 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/ |
D | CountedDataInputStream.java | 29 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/ |
D | NinePatchTexture.java | 85 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/ |
D | ProbabilityInfo.java | 32 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/ |
D | FilteringCursorWrapper.java | 38 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/ |
D | AvailableTicketCounter.java | 43 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/ |
D | ClipStorageReader.java | 56 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/ |
D | historical_info.h | 28 : 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/ |
D | QuickstepOnboardingPrefs.java | 96 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/ |
D | PermissionUsageV2ControlPreference.java | 54 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/ |
D | GridViewSpecial.java | 136 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/ |
D | CompositeListAdapter.java | 39 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/ |
D | FlingAnimation.java | 82 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/ |
D | GroupMembersFragment.java | 99 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/ |
D | PassThroughFilter.java | 23 private int mCount; field in PassThroughFilter 27 mCount = newCount; in recompute() 36 return mCount; in getFilteredCount()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | RootCursorWrapper.java | 38 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/ |
D | UxrPivotFilter.java | 68 private int mCount; 72 mCount = newCount; 81 return mCount;
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | CompositeAdapter.java | 91 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/ |
D | SourceLatency.java | 73 private int mCount = 0; field in SourceLatency.ElapsedTime 76 mCount++; in addTime() 82 return mTotal / mCount; in getAverage() 85 return mCount; in getCount()
|