/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/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | CachedInputStream.java | 40 private int mCount = 0; // total validate bytes in chunk buffers field in CachedInputStream 80 mCount = mCount - removedBytes; in mark() 123 if (mCount - mMarkPos > mMarkLimit) { in invalidate() 125 mCount = 0; in invalidate() 164 mCount += reads; in read() 187 while (read > 0 && mPos < mCount) { in copyMarkedBuffer() 192 if (end > mCount) { in copyMarkedBuffer() 193 end = mCount; in copyMarkedBuffer() 211 return mCount - mPos + in.available(); in available() 223 totalSkip = mCount - mPos; in skip() [all …]
|
/packages/apps/Email/provider_src/com/android/email/ |
D | FixedLengthInputStream.java | 30 private int mCount; field in FixedLengthInputStream 39 return mLength - mCount; in available() 44 if (mCount < mLength) { in read() 45 mCount++; in read() 54 if (mCount < mLength) { in read() 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); in read() 59 mCount += d; in read()
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
D | FixedLengthInputStream.java | 29 private int mCount; field in FixedLengthInputStream 38 return mLength - mCount; in available() 43 if (mCount < mLength) { in read() 44 mCount++; in read() 53 if (mCount < mLength) { in read() 54 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); in read() 58 mCount += d; in read()
|
/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/UnifiedEmail/src/com/android/mail/browse/ |
D | SuperCollapsedBlock.java | 53 private int mCount; field in SuperCollapsedBlock 84 mCount = count; in setCount() 85 final String strCount = NumberFormat.getIntegerInstance().format(mCount); in setCount() 92 res.getQuantityString(R.plurals.show_messages_read, mCount, mCount)); in setCount() 100 R.plurals.super_collapsed_block_accessibility_announcement, mCount, mCount); in onClick()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | UiHandler.java | 42 private AtomicInteger mCount = new AtomicInteger(0); field in UiHandler 46 mCount.incrementAndGet(); in post() 50 mCount.decrementAndGet(); in post() 61 mCount.incrementAndGet(); in postDelayed() 65 mCount.decrementAndGet(); in postDelayed() 81 int count = mCount.getAndSet(0); in setEnabled()
|
D | ToastBarOperation.java | 34 private final int mCount; field in ToastBarOperation 51 mCount = count; in ToastBarOperation() 67 mCount = in.readInt(); in ToastBarOperation() 81 sb.append(mCount); in toString() 94 dest.writeInt(mCount); in writeToParcel() 151 String.format(context.getResources().getQuantityString(resId, mCount), mCount); in getDescription()
|
/packages/apps/Launcher3/WallpaperPicker/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/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/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/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/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | CountingOutputStream.java | 27 private long mCount; field in CountingOutputStream 35 return mCount; in getCount() 41 mCount += count; in write() 47 mCount++; in write()
|
/packages/services/Telephony/src/com/android/phone/common/mail/utility/ |
D | CountingOutputStream.java | 26 private long mCount; field in CountingOutputStream 34 return mCount; in getCount() 40 mCount += count; in write() 46 mCount++; in write()
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
D | StatusOutputStream.java | 27 private long mCount = 0; field in StatusOutputStream 36 mCount++; in write() 38 if (mCount % 1024 == 0) { in write() 39 LogUtils.v(Logging.LOG_TAG, "# " + mCount); in write()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeleteDropTarget.java | 100 private int mCount = -1; in onFlingToDelete() 105 if (mCount < 0) { in onFlingToDelete() 106 mCount++; in onFlingToDelete() 107 } else if (mCount == 0) { in onFlingToDelete() 110 mCount++; in onFlingToDelete()
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | GroupingCursorRecyclerViewAdapter.java | 56 private int mCount; field in GroupingCursorRecyclerViewAdapter 79 if (mCursor != null && mCount != -1) { in getItemCount() 80 return mCount; in getItemCount() 165 mCount = -1; in resetGroup() 176 mCount = currentPos; in rebuildGroupMetadata() 217 "illegal position " + position + ", total size is " + mCount); in getPositionMetadata()
|
D | GroupingRecyclerViewAdapter.java | 59 private int mCount; field in GroupingRecyclerViewAdapter 80 if (mData != null && mCount != -1) { in getItemCount() 81 return mCount; in getItemCount() 178 mCount = -1; in resetGroup() 189 mCount = currentPos; in rebuildGroupMetadata() 230 "illegal position " + position + ", total size is " + mCount); in getPositionMetadata()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertFullScreen.java | 90 private final AtomicInteger mCount = new AtomicInteger(); field in CellBroadcastAlertFullScreen.AnimationHandler 118 mCount.incrementAndGet(); in stopIconAnimation() 132 int msgWhat = mCount.incrementAndGet(); in queueAnimateMessage() 140 if (msg.what == mCount.get()) { in handleMessage() 179 private final AtomicInteger mCount = new AtomicInteger(); field in CellBroadcastAlertFullScreen.ScreenOffHandler 187 int msgWhat = mCount.incrementAndGet(); in startScreenOnTimer() 195 removeMessages(mCount.get()); in stopScreenOnTimer() 214 if (msgWhat == mCount.get()) { in handleMessage()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactsSectionIndexer.java | 32 private int mCount; field in ContactsSectionIndexer 66 mCount = position; in ContactsSectionIndexer() 82 if (position < 0 || position >= mCount) { in getSectionForPosition() 118 mCount++; in setProfileHeader()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | CompositeListAdapter.java | 44 private int mCount = 0; field in CompositeListAdapter 98 mCount += count; in addAdapter() 124 mCount = 0; in ensureCacheValid() 131 mCount += count; in ensureCacheValid() 141 return mCount; in getCount()
|