/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/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/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/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/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/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/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | FilteringCursorWrapper.java | 37 private int mCount; field in FilteringCursorWrapper 55 while (cursor.moveToNext() && mCount < count) { in FilteringCursorWrapper() 65 mPosition[mCount++] = cursor.getPosition(); in FilteringCursorWrapper() 69 if (DEBUG && mCount != cursor.getCount()) { in FilteringCursorWrapper() 70 Log.d(TAG, "Before filtering " + cursor.getCount() + ", after " + mCount); in FilteringCursorWrapper() 97 return mCount; in getCount()
|
/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/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/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/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/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/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/Launcher3/src/com/android/launcher3/util/ |
D | FlingAnimation.java | 85 private int mCount = -1; in run() 90 if (mCount < 0) { in run() 91 mCount++; in run() 92 } else if (mCount == 0) { in run() 95 mCount++; in run()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | RootCursorWrapper.java | 34 private final int mCount; field in RootCursorWrapper 52 mCount = maxCount; in RootCursorWrapper() 54 mCount = count; in RootCursorWrapper() 100 return mCount; in getCount()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertDialog.java | 149 public final AtomicInteger mCount = new AtomicInteger(); field in CellBroadcastAlertDialog.AnimationHandler 180 mCount.incrementAndGet(); in stopIconAnimation() 194 int msgWhat = mCount.incrementAndGet(); in queueAnimateMessage() 201 if (msg.what == mCount.get()) { in handleMessage() 244 private final AtomicInteger mCount = new AtomicInteger(); field in CellBroadcastAlertDialog.ScreenOffHandler 252 int msgWhat = mCount.incrementAndGet(); in startScreenOnTimer() 260 removeMessages(mCount.get()); in stopScreenOnTimer() 279 if (msgWhat == mCount.get()) { in handleMessage()
|
/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()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 454 if (left.mCount != right.mCount) { in operator ()() 455 return left.mCount < right.mCount; in operator ()() 474 : mPriority(priority), mCount(count), mKey(key), mPrevWordCount(prevWordCount) { in EntryInfoToTurncate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumLabelMaker.java | 134 private final String mCount; field in AlbumLabelMaker.AlbumLabelJob 139 mCount = count; in AlbumLabelJob() 148 String count = mCount; in run()
|
/packages/apps/TV/common/src/com/android/tv/common/concurrent/ |
D | NamedThreadFactory.java | 26 private final AtomicInteger mCount = new AtomicInteger(0); field in NamedThreadFactory 38 thread.setName(mPrefix + mCount.getAndIncrement()); in newThread()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ConversationData.java | 116 final int mCount; field in ConversationData.ReversedCursor 120 mCount = cursor.getCount(); in ReversedCursor() 125 return super.moveToPosition(mCount - position - 1); in moveToPosition() 130 return mCount - super.getPosition() - 1; in getPosition()
|