/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | PointerCountClassifier.java | 25 private int mCount; field in class:PointerCountClassifier 28 mCount = 0; 41 mCount = 1; 45 ++mCount; 51 return PointerCountEvaluator.evaluate(mCount);
|
H A D | SpeedAnglesClassifier.java | 88 private float mCount; field in class:SpeedAnglesClassifier.Data 98 mCount = 1.0f; 131 mCount += 1.0; 138 return mSumSquares / mCount - (mSum / mCount) * (mSum / mCount);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | NamedCounter.java | 24 int mCount; field in class:NamedCounter 35 String name = mPrefix + mCount + mSuffix; 36 mCount++;
|
H A D | ReferenceCountedTrigger.java | 30 int mCount; field in class:ReferenceCountedTrigger 62 if (mCount == 0 && !mFirstIncRunnables.isEmpty()) { 68 mCount++; 83 mCount--; 84 if (mCount == 0) { 86 } else if (mCount < 0) { 128 return mCount;
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardEntryCounter.java | 22 private int mCount; field in class:VCardEntryCounter 25 return mCount; 42 mCount++;
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | IdleHandlerTest.java | 61 int mCount; 65 mCount = 0; 74 if (mCount == 1) { 78 "Idle handler called " + mCount + " times")); 84 mCount++; 95 int mCount; 99 mCount = 0; 110 if (mCount == 1) { 114 "Idle handler called " + mCount + " times")); 120 mCount [all...] |
H A D | MessageQueueTest.java | 32 int mCount; field in class:MessageQueueTest.BaseTestHandler 50 if (mCount <= mLastMessage) { 51 if (msg.what != mCount) { 53 "Expected message #" + mCount 55 } else if (mCount == mLastMessage) { 58 mCount++; 73 mCount = 0; 92 mCount = 0; 112 int mCount; field in class:MessageQueueTest.TestFieldIntegrityHandler 130 if (mCount < [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | RingBuffer.h | 35 size_t size() const { return mCount; } 39 if (mCount < SIZE) { 40 mCount++; 54 return mBuffer[(mHead + index + 1) % mCount]; 58 return mBuffer[(mHead + index + 1) % mCount]; 62 mCount = 0; 69 size_t mCount = 0; member in class:android::uirenderer::RingBuffer
|
/frameworks/base/core/java/android/os/health/ |
H A D | TimerStat.java | 31 private int mCount; field in class:TimerStat 61 mCount = count; 70 mCount = in.readInt(); 85 out.writeInt(mCount); 93 mCount = count; 100 return mCount;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | KernelWakelockStats.java | 25 public int mCount; field in class:KernelWakelockStats.Entry 30 mCount = count;
|
/frameworks/base/core/java/android/view/ |
H A D | HandlerActionQueue.java | 32 private int mCount; field in class:HandlerActionQueue 45 mActions = GrowingArrayUtils.append(mActions, mCount, handlerAction); 46 mCount++; 52 final int count = mCount; 73 mCount = j; 85 for (int i = 0, count = mCount; i < count; i++) { 91 mCount = 0; 96 return mCount; 100 if (index >= mCount) { 107 if (index >= mCount) { [all...] |
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/ |
H A D | TestActivity.java | 27 int mCount; field in class:TestActivity 32 Log.w(TAG, "****** step " + mCount + " resume"); 33 mCount++; 36 Log.w(TAG, "step " + mCount + " pause");
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | SparseRectFArray.java | 149 if (mCount == 0) { 152 if (mKeys[mCount - 1] >= key) { 170 final int requiredIndexArraySize = mCount + 1; 173 System.arraycopy(mKeys, 0, newArray, 0, mCount); 176 final int requiredCoordinatesArraySize = (mCount + 1) * 4; 179 System.arraycopy(mCoordinates, 0, newArray, 0, mCount * 4); 185 System.arraycopy(mFlagsArray, 0, newArray, 0, mCount); 207 final int baseCoordinatesIndex = mCount * 4; 212 final int flagsIndex = mCount; 214 mKeys[mCount] 218 private int mCount = 0; field in class:SparseRectFArray.SparseRectFArrayBuilder [all...] |
H A D | InputMethodSubtypeArray.java | 54 mCount = 0; 57 mCount = subtypes.size(); 58 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]); 69 mCount = source.readInt(); 70 if (mCount > 0) { 86 if (mCount == 0) { 87 dest.writeInt(mCount); 113 dest.writeInt(mCount); 131 if (index < 0 || mCount <= index) { 148 instance = new InputMethodSubtype[mCount]; 165 private final int mCount; field in class:InputMethodSubtypeArray [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyList.java | 27 private int mCount; field in class:MtpPropertyList 54 int index = mCount++; 65 int index = mCount++;
|
/frameworks/base/core/java/com/android/internal/midi/ |
H A D | MidiFramer.java | 39 private int mCount; field in class:MidiFramer 70 mCount = 1; 88 mCount = 1; 102 mBuffer[mCount++] = currentByte; 107 mReceiver.send(mBuffer, 0, mCount, timestamp); 109 mCount = 1;
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | NamedThreadFactory.java | 26 private final AtomicInteger mCount = new AtomicInteger(0); field in class:NamedThreadFactory 36 thread.setName(mBaseName + "-" + mCount.getAndIncrement());
|
/frameworks/base/core/java/android/os/ |
H A D | UpdateLock.java | 42 int mCount = 0; field in class:UpdateLock 113 if (!mRefCounted || mCount++ == 0) { 137 if (!mRefCounted || --mCount == 0) { 147 if (mCount < 0) {
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/ |
H A D | GridTest.java | 32 int mCount; field in class:GridTest.Provider 37 mCount = items.length; 38 mEdges = new int[mCount]; 43 return mCount;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | AutoSizingList.java | 39 private int mCount; field in class:AutoSizingList 64 if (mCount != count) { 66 mCount = count; 84 for (int i = 0; i < mCount; i++) { 95 while (getChildCount() > mCount) { 110 if (mCount > getDesiredCount()) { 111 mCount = getDesiredCount();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | CountedDataInputStream.java | 29 private int mCount = 0; field in class:CountedDataInputStream 40 return mCount; 46 mCount += (r >= 0) ? r : 0; 53 mCount += (r >= 0) ? r : 0; 60 mCount += (r >= 0) ? 1 : 0; 67 mCount += skip; 76 long cur = mCount;
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | ItemGroup.java | 90 private int mCount = 0; field in class:ItemGroup 145 return mCount; 186 mCount = 0; 191 mHierarchyStart.put(itemIndex, mCount); 193 mCount += item.getCount(); 206 if (position < 0 || position >= mCount) { 207 throw new IndexOutOfBoundsException("size=" + mCount + "; index=" + position);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | NumericTextView.java | 49 private int mCount; field in class:NumericTextView 73 mCount = 0; 79 if (mCount == 0) { 264 if (mCount > 0) { 266 mCount--; 269 if (mCount < mMaxCount) { 274 mCount++; 282 if (mCount > 0) { 286 formattedValue = String.format("%0" + mCount + "d", mValue); 295 final boolean isFinished = mCount > [all...] |
/frameworks/base/core/java/android/database/ |
H A D | BulkCursorToCursorAdaptor.java | 35 private int mCount; field in class:BulkCursorToCursorAdaptor 45 mCount = d.count; 70 return mCount; 135 mCount = mBulkCursor.requery(getObserver()); 136 if (mCount != -1) { 141 // observer from the far side so that observers can see a correct value for mCount
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | FilteringCursorWrapper.java | 37 private int mCount; field in class:FilteringCursorWrapper 55 while (cursor.moveToNext() && mCount < count) { 65 mPosition[mCount++] = cursor.getPosition(); 69 if (DEBUG && mCount != cursor.getCount()) { 70 Log.d(TAG, "Before filtering " + cursor.getCount() + ", after " + mCount); 97 return mCount;
|