Home
last modified time | relevance | path

Searched refs:mCount (Results 1 – 25 of 43) 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/Car/libs/car-apps-common/src/com/android/car/apps/common/
DCachedInputStream.java38 private int mCount = 0; // total validate bytes in chunk buffers field in CachedInputStream
78 mCount = mCount - removedBytes; in mark()
121 if (mCount - mMarkPos > mMarkLimit) { in invalidate()
123 mCount = 0; in invalidate()
162 mCount += reads; in read()
185 while (read > 0 && mPos < mCount) { in copyMarkedBuffer()
190 if (end > mCount) { in copyMarkedBuffer()
191 end = mCount; in copyMarkedBuffer()
209 return mCount - mPos + in.available(); in available()
221 totalSkip = mCount - mPos; in skip()
[all …]
/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/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/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/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/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/DocumentsUI/src/com/android/documentsui/base/
DFilteringCursorWrapper.java37 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/
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/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/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertDialog.java89 private final AtomicInteger mCount = new AtomicInteger(); field in CellBroadcastAlertDialog.AnimationHandler
117 mCount.incrementAndGet(); in stopIconAnimation()
131 int msgWhat = mCount.incrementAndGet(); in queueAnimateMessage()
138 if (msg.what == mCount.get()) { in handleMessage()
178 private final AtomicInteger mCount = new AtomicInteger(); field in CellBroadcastAlertDialog.ScreenOffHandler
186 int msgWhat = mCount.incrementAndGet(); in startScreenOnTimer()
194 removeMessages(mCount.get()); in stopScreenOnTimer()
213 if (msgWhat == mCount.get()) { in handleMessage()
/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/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/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/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/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/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java85 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()

12