Searched refs:mCount (Results 1 - 25 of 86) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DPointerCountClassifier.java25 private int mCount; field in class:PointerCountClassifier
28 mCount = 0;
41 mCount = 1;
45 ++mCount;
51 return PointerCountEvaluator.evaluate(mCount);
H A DSpeedAnglesClassifier.java88 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 DNamedCounter.java24 int mCount; field in class:NamedCounter
35 String name = mPrefix + mCount + mSuffix;
36 mCount++;
H A DReferenceCountedTrigger.java30 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 DVCardEntryCounter.java22 private int mCount; field in class:VCardEntryCounter
25 return mCount;
42 mCount++;
/frameworks/base/core/tests/coretests/src/android/os/
H A DIdleHandlerTest.java61 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 DMessageQueueTest.java32 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 DRingBuffer.h35 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 DTimerStat.java31 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/rs/rsov/compiler/spirit/
H A Dtest_utils.h27 EntityCounter() : mCount(0) {}
29 void visit(T *) override { mCount++; }
31 int getCount() const { return mCount; }
34 int mCount; member in class:android::spirit::EntityCounter
/frameworks/base/core/java/com/android/internal/os/
H A DKernelWakelockStats.java25 public int mCount; field in class:KernelWakelockStats.Entry
30 mCount = count;
/frameworks/base/core/java/android/view/
H A DHandlerActionQueue.java30 private int mCount; field in class:HandlerActionQueue
43 mActions = GrowingArrayUtils.append(mActions, mCount, handlerAction);
44 mCount++;
50 final int count = mCount;
71 mCount = j;
83 for (int i = 0, count = mCount; i < count; i++) {
89 mCount = 0;
94 return mCount;
98 if (index >= mCount) {
105 if (index >= mCount) {
[all...]
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
H A DTestActivity.java27 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 DSparseRectFArray.java149 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 DInputMethodSubtypeArray.java54 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 DMtpPropertyList.java27 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 DMidiFramer.java39 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 DNamedThreadFactory.java26 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 DUpdateLock.java42 int mCount = 0; field in class:UpdateLock
113 if (!mRefCounted || mCount++ == 0) {
137 if (!mRefCounted || --mCount == 0) {
147 if (mCount < 0) {
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DGridTest.java26 int mCount; field in class:GridTest.Provider
31 mCount = items.length;
32 mEdges = new int[mCount];
42 return mCount;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DAutoSizingList.java39 private int mCount; field in class:AutoSizingList
67 if (mCount != count) {
69 mCount = count;
93 for (int i = 0; i < mCount; i++) {
104 while (getChildCount() > mCount) {
119 if (mCount > getDesiredCount()) {
120 mCount = getDesiredCount();
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DCountedDataInputStream.java29 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/base/core/java/com/android/internal/widget/
H A DNumericTextView.java49 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 DBulkCursorToCursorAdaptor.java35 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/core/java/android/database/sqlite/
H A DSQLiteCursor.java52 private int mCount = NO_COUNT; field in class:SQLiteCursor
131 if (mCount == NO_COUNT) {
134 return mCount;
141 if (mCount == NO_COUNT) {
143 mCount = mQuery.fillWindow(mWindow, startPos, requiredPos, true);
146 Log.d(TAG, "received count(*) from native_fill_window: " + mCount);
227 mCount = NO_COUNT;
244 mCount = NO_COUNT;

Completed in 2571 milliseconds

1234