/packages/apps/Email/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/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/Email/src/com/android/email/mail/transport/ |
D | StatusOutputStream.java | 28 private long mCount = 0; field in StatusOutputStream 37 mCount++; in write() 39 if (mCount % 1024 == 0) { in write() 40 Log.v(Logging.LOG_TAG, "# " + mCount); in write()
|
D | CountingOutputStream.java | 27 private long mCount; field in CountingOutputStream 33 return mCount; in getCount() 38 mCount++; in write()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
D | Statistics.java | 46 int mCount; field in Statistics.AverageTimeCounter 50 mCount = 0; in reset() 55 mCount++; in add() 60 if (mCount == 0) { in getAverageTime() 63 return mTotalTime / mCount; in getAverageTime()
|
/packages/apps/Contacts/src/com/android/contacts/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/Gallery2/src/com/android/gallery3d/ui/ |
D | NinePatchTexture.java | 87 private int mCount; // number of items in this cache field in NinePatchTexture.SmallCache 92 if (mCount == CACHE_SIZE) { in put() 98 mKey[mCount] = key; in put() 99 mValue[mCount] = value; in put() 100 mCount++; in put() 106 for (int i = 0; i < mCount; i++) { in get() 111 if (mCount > CACHE_SIZE_START_MOVE && i > 0) { in get() 127 for (int i = 0; i < mCount; i++) { in clear() 130 mCount = 0; in clear() 134 return mCount; in size()
|
D | AlbumLabelMaker.java | 137 private final String mCount; field in AlbumLabelMaker.AlbumLabelJob 142 mCount = count; in AlbumLabelJob() 151 String count = mCount; in run()
|
/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/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()
|
/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 …]
|
D | GalleryPicker.java | 794 public final int mCount; 807 mCount = list.getCount(); 808 if (mCount > 0) { 929 String title = item.mName + " (" + item.mCount + ")";
|
/packages/apps/Email/tests/src/com/android/email/ |
D | DBTestHelper.java | 133 public int mCount; field in DBTestHelper.EasyMockCursor 137 mCount = count; in EasyMockCursor() 142 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/apps/Contacts/tests/src/com/android/contacts/tests/calllog/ |
D | FillCallLogTestActivity.java | 177 private final int mCount; field in FillCallLogTestActivity.CallLogLoaderListener 180 mCount = count; in CallLogLoaderListener() 203 ContentValues[] values = new ContentValues[mCount]; in onLoadFinished() 204 for (int index = 0; index < mCount; ++index) { in onLoadFinished()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DeleteDropTarget.java | 398 private int mCount = -1; 403 if (mCount < 0) { 404 mCount++; 405 } else if (mCount == 0) { 408 mCount++;
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | BackgroundLoaderManager.java | 148 private final AtomicInteger mCount = new AtomicInteger(1); field in BackgroundLoaderManager.BackgroundLoaderThreadFactory 156 Thread t = new Thread(r, mTag + "-" + mCount.getAndIncrement()); in newThread()
|
/packages/apps/Email/src/com/android/email/provider/ |
D | ContentCache.java | 289 private int mCount = -1; field in ContentCache.CachedCursor 324 if (mCount < 0) { in getCount() 325 mCount = super.getCount(); in getCount() 327 return mCount; in getCount()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator.java | 209 private int mCount; field in ContactAggregator.MatchCandidateList 215 if (mCount >= mList.size()) { in add() 218 NameMatchCandidate candidate = mList.get(mCount); in add() 222 mCount++; in add() 226 mCount = 0; in clear() 230 return mCount == 0; in isEmpty() 1501 for (int i = 0; i < mNameLookupCandidates.mCount; i++) { in getLookupType() 1632 for (int i = 0; i < candidates.mCount; i++) { in lookupApproximateNameMatches() 1685 for (int i = 0; i < candidates.mCount; i++) { in matchAllCandidates()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | CalendarSyncAdapter.java | 723 int cnt = ops.mCount - eventOffset; in addEvent() 728 ops.mCount = eventOffset; in addEvent() 737 ops.mCount = deleteOffset; in addEvent() 937 int exceptionStart = ops.mCount; in exceptionParser() 1356 public int mCount = 0; field in CalendarSyncAdapter.CalendarOperations 1363 mCount++; in add() 1368 mEventStart = mCount; in newEvent() 1374 int offset = mCount; in newDelete()
|
D | ContactsSyncAdapter.java | 1018 private int mCount = 0; field in ContactsSyncAdapter.ContactOperations 1019 private int mContactBackValue = mCount; 1029 mCount++; in add() 1039 mContactBackValue = mCount; in newContact() 1040 mContactIndexArray[mContactIndexCount++] = mCount; in newContact()
|