/frameworks/base/core/tests/coretests/src/android/os/ |
D | IdleHandlerTest.java | 61 int mCount; in testOneShotFirst() 65 mCount = 0; in testOneShotFirst() 74 if (mCount == 1) { in testOneShotFirst() 78 "Idle handler called " + mCount + " times")); in testOneShotFirst() 84 mCount++; in testOneShotFirst() 95 int mCount; in testOneShotLater() 99 mCount = 0; in testOneShotLater() 110 if (mCount == 1) { in testOneShotLater() 114 "Idle handler called " + mCount + " times")); in testOneShotLater() 120 mCount++; in testOneShotLater() [all …]
|
D | MessageQueueTest.java | 32 int mCount; field in MessageQueueTest.BaseTestHandler 50 if (mCount <= mLastMessage) { in handleMessage() 51 if (msg.what != mCount) { in handleMessage() 53 "Expected message #" + mCount in handleMessage() 55 } else if (mCount == mLastMessage) { in handleMessage() 58 mCount++; in handleMessage() 73 mCount = 0; in testMessageOrder() 92 mCount = 0; in testAtFrontOfQueue() 112 int mCount; field in MessageQueueTest.TestFieldIntegrityHandler 130 if (mCount <= mLastMessage) { in handleMessage() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | SparseRectFArray.java | 149 if (mCount == 0) { in checkIndex() 152 if (mKeys[mCount - 1] >= key) { in checkIndex() 170 final int requiredIndexArraySize = mCount + 1; in ensureBufferSize() 173 System.arraycopy(mKeys, 0, newArray, 0, mCount); in ensureBufferSize() 176 final int requiredCoordinatesArraySize = (mCount + 1) * 4; in ensureBufferSize() 179 System.arraycopy(mCoordinates, 0, newArray, 0, mCount * 4); in ensureBufferSize() 185 System.arraycopy(mFlagsArray, 0, newArray, 0, mCount); in ensureBufferSize() 207 final int baseCoordinatesIndex = mCount * 4; in append() 212 final int flagsIndex = mCount; in append() 214 mKeys[mCount] = key; in append() [all …]
|
D | InputMethodSubtypeArray.java | 54 mCount = 0; in InputMethodSubtypeArray() 57 mCount = subtypes.size(); in InputMethodSubtypeArray() 58 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]); in InputMethodSubtypeArray() 69 mCount = source.readInt(); in InputMethodSubtypeArray() 70 if (mCount > 0) { in InputMethodSubtypeArray() 86 if (mCount == 0) { in writeToParcel() 87 dest.writeInt(mCount); in writeToParcel() 113 dest.writeInt(mCount); in writeToParcel() 131 if (index < 0 || mCount <= index) { in get() 148 instance = new InputMethodSubtype[mCount]; in get() [all …]
|
/frameworks/base/core/java/android/view/ |
D | HandlerActionQueue.java | 30 private int mCount; field in HandlerActionQueue 43 mActions = GrowingArrayUtils.append(mActions, mCount, handlerAction); in postDelayed() 44 mCount++; in postDelayed() 50 final int count = mCount; in removeCallbacks() 71 mCount = j; in removeCallbacks() 83 for (int i = 0, count = mCount; i < count; i++) { in executeActions() 89 mCount = 0; in executeActions() 94 return mCount; in size() 98 if (index >= mCount) { in getRunnable() 105 if (index >= mCount) { in getDelay()
|
/frameworks/base/libs/hwui/utils/ |
D | RingBuffer.h | 35 size_t size() const { return mCount; } in size() 39 if (mCount < SIZE) { in next() 40 mCount++; in next() 54 return mBuffer[(mHead + index + 1) % mCount]; 58 return mBuffer[(mHead + index + 1) % mCount]; 62 mCount = 0; in clear() 69 size_t mCount = 0; variable
|
/frameworks/base/core/java/android/os/health/ |
D | TimerStat.java | 31 private int mCount; field in TimerStat 61 mCount = count; in TimerStat() 70 mCount = in.readInt(); in TimerStat() 85 out.writeInt(mCount); in writeToParcel() 93 mCount = count; in setCount() 100 return mCount; in getCount()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | ReferenceCountedTrigger.java | 30 int mCount; field in ReferenceCountedTrigger 62 if (mCount == 0 && !mFirstIncRunnables.isEmpty()) { in increment() 68 mCount++; in increment() 83 mCount--; in decrement() 84 if (mCount == 0) { in decrement() 86 } else if (mCount < 0) { in decrement() 128 return mCount; in getCount()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | PointerCountClassifier.java | 25 private int mCount; field in PointerCountClassifier 28 mCount = 0; in PointerCountClassifier() 41 mCount = 1; in onTouchEvent() 45 ++mCount; in onTouchEvent() 51 return PointerCountEvaluator.evaluate(mCount); in getFalseTouchEvaluation()
|
D | SpeedAnglesClassifier.java | 88 private float mCount; field in SpeedAnglesClassifier.Data 98 mCount = 1.0f; in Data() 131 mCount += 1.0; in addPoint() 138 return mSumSquares / mCount - (mSum / mCount) * (mSum / mCount); in getAnglesVariance()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NumericTextView.java | 49 private int mCount; field in NumericTextView 73 mCount = 0; in onFocusChanged() 79 if (mCount == 0) { in onFocusChanged() 264 if (mCount > 0) { in handleKeyUp() 266 mCount--; in handleKeyUp() 269 if (mCount < mMaxCount) { in handleKeyUp() 274 mCount++; in handleKeyUp() 282 if (mCount > 0) { in handleKeyUp() 286 formattedValue = String.format("%0" + mCount + "d", mValue); in handleKeyUp() 295 final boolean isFinished = mCount >= mMaxCount || mValue * RADIX > mMaxValue; in handleKeyUp()
|
D | GapWorker.java | 69 int mCount; field in GapWorker.LayoutPrefetchRegistryImpl 77 mCount = 0; in collectPrefetchPositionsFromView() 100 if (mCount > layout.mPrefetchMaxCountObserved) { in collectPrefetchPositionsFromView() 101 layout.mPrefetchMaxCountObserved = mCount; in collectPrefetchPositionsFromView() 115 final int storagePosition = mCount * 2; in addPosition() 129 mCount++; in addPosition() 134 final int count = mCount * 2; in lastPrefetchIncludedPosition() 215 totalTaskCount += view.mPrefetchRegistry.mCount; in buildTaskList() 226 for (int j = 0; j < prefetchRegistry.mCount * 2; j += 2) { in buildTaskList() 307 if (innerPrefetchRegistry.mCount != 0) { in prefetchInnerRecyclerViewWithDeadline() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | AutoSizingList.java | 39 private int mCount; field in AutoSizingList 67 if (mCount != count) { in onMeasure() 69 mCount = count; in onMeasure() 93 for (int i = 0; i < mCount; i++) { in rebindChildren() 104 while (getChildCount() > mCount) { in rebindChildren() 119 if (mCount > getDesiredCount()) { 120 mCount = getDesiredCount();
|
/frameworks/base/packages/WallpaperCropper/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()
|
/frameworks/base/core/java/com/android/internal/midi/ |
D | MidiFramer.java | 39 private int mCount; field in MidiFramer 70 mCount = 1; in onSend() 88 mCount = 1; in onSend() 102 mBuffer[mCount++] = currentByte; in onSend() 107 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend() 109 mCount = 1; in onSend()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | RpmStats.java | 44 e.mCount = count; in getAndUpdatePlatformState() 63 public int mCount; // totalNumberOfTimesVotedSinceBoot field in RpmStats.PowerStateElement 67 this.mCount = count; in PowerStateElement() 74 public int mCount; // totalTransitions field in RpmStats.PowerStatePlatformSleepState 88 e.mCount = count; in putVoter() 108 e.mCount = count; in putState()
|
/frameworks/support/paging/common/src/main/java/android/arch/paging/ |
D | PageArrayList.java | 36 final int mCount; field in PageArrayList 42 mCount = count; in PageArrayList() 43 mMaxPageCount = (mCount + mPageSize - 1) / mPageSize; in PageArrayList() 50 mCount = other.size(); in PageArrayList() 56 if (index < 0 || index >= mCount) { in get() 93 return mCount; in size()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCursor.java | 52 private int mCount = NO_COUNT; field in SQLiteCursor 131 if (mCount == NO_COUNT) { in getCount() 134 return mCount; in getCount() 141 if (mCount == NO_COUNT) { in fillWindow() 143 mCount = mQuery.fillWindow(mWindow, startPos, requiredPos, true); in fillWindow() 146 Log.d(TAG, "received count(*) from native_fill_window: " + mCount); in fillWindow() 227 mCount = NO_COUNT; in requery() 244 mCount = NO_COUNT; in setWindow()
|
/frameworks/support/room/rxjava2/src/test/java/android/arch/persistence/room/ |
D | RxRoomTest.java | 107 assertThat(consumer.mCount, CoreMatchers.is(1)); in basicNotify() 109 assertThat(consumer.mCount, CoreMatchers.is(2)); in basicNotify() 111 assertThat(consumer.mCount, CoreMatchers.is(3)); in basicNotify() 114 assertThat(consumer.mCount, CoreMatchers.is(3)); in basicNotify() 134 assertThat(consumer.mCount, CoreMatchers.is(0)); in internalCallable() 139 assertThat(consumer.mCount, CoreMatchers.is(1)); in internalCallable() 143 assertThat(consumer.mCount, CoreMatchers.is(2)); in internalCallable() 148 assertThat(consumer.mCount, CoreMatchers.is(2)); in internalCallable() 172 int mCount = 0; field in RxRoomTest.CountingConsumer 176 mCount++; in accept()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | GapWorker.java | 68 int mCount; field in GapWorker.LayoutPrefetchRegistryImpl 76 mCount = 0; in collectPrefetchPositionsFromView() 99 if (mCount > layout.mPrefetchMaxCountObserved) { in collectPrefetchPositionsFromView() 100 layout.mPrefetchMaxCountObserved = mCount; in collectPrefetchPositionsFromView() 118 final int storagePosition = mCount * 2; in addPosition() 132 mCount++; in addPosition() 137 final int count = mCount * 2; in lastPrefetchIncludedPosition() 152 mCount = 0; in clearPrefetchPositions() 220 totalTaskCount += view.mPrefetchRegistry.mCount; in buildTaskList() 237 for (int j = 0; j < prefetchRegistry.mCount * 2; j += 2) { in buildTaskList() [all …]
|
/frameworks/rs/rsov/compiler/spirit/ |
D | test_utils.h | 27 EntityCounter() : mCount(0) {} in EntityCounter() 29 void visit(T *) override { mCount++; } in visit() 31 int getCount() const { return mCount; } in getCount() 34 int mCount;
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffEntryImpl.h | 57 uint32_t mCount; variable 66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) { in TiffEntryImpl() 77 return mCount; in getCount() 104 uint32_t total = sizeof(T) * mCount; in getActualSize() 128 BAIL_ON_FAIL(out->write(&mCount, 0, 1), ret); in writeTagInfo() 134 uint32_t count = mCount; in writeTagInfo() 160 uint32_t count = mCount; in writeData() 188 BAIL_ON_FAIL(out->write(&mCount, 0, 1), ret); in writeTagInfo() 206 for (uint32_t i = 0; i < mCount; ++i) { in writeData()
|
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/ |
D | TestActivity.java | 27 int mCount; field in TestActivity 32 Log.w(TAG, "****** step " + mCount + " resume"); 33 mCount++; 36 Log.w(TAG, "step " + mCount + " pause");
|
/frameworks/base/core/java/android/database/ |
D | BulkCursorToCursorAdaptor.java | 35 private int mCount; field in BulkCursorToCursorAdaptor 45 mCount = d.count; in initialize() 70 return mCount; in getCount() 135 mCount = mBulkCursor.requery(getObserver()); in requery() 136 if (mCount != -1) { in requery()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntryCounter.java | 22 private int mCount; field in VCardEntryCounter 25 return mCount; in getCount() 42 mCount++; in onEntryEnded()
|