Home
last modified time | relevance | path

Searched refs:mCount (Results 1 – 25 of 48) 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/TvSettings/Settings/src/com/android/tv/settings/util/
DCachedInputStream.java40 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/
DFixedLengthInputStream.java30 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/
DFixedLengthInputStream.java29 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/
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/UnifiedEmail/src/com/android/mail/browse/
DSuperCollapsedBlock.java53 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/
DUiHandler.java42 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()
DToastBarOperation.java34 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/
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/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/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/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/Email/emailcommon/src/com/android/emailcommon/utility/
DCountingOutputStream.java27 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/
DCountingOutputStream.java26 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/
DStatusOutputStream.java27 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/
DDeleteDropTarget.java100 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/
DGroupingCursorRecyclerViewAdapter.java56 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()
DGroupingRecyclerViewAdapter.java59 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/
DCellBroadcastAlertFullScreen.java90 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/
DContactsSectionIndexer.java32 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/
DCompositeListAdapter.java44 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()

12