Searched defs:mCount (Results 1 - 25 of 68) sorted by relevance

123

/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/com/android/internal/os/
H A DKernelWakelockStats.java25 public int mCount; field in class:KernelWakelockStats.Entry
30 mCount = count;
/frameworks/base/core/tests/coretests/src/android/os/
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/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);
/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/native/opengl/libagl/
H A DBufferObjectManager.h67 mutable std::atomic_size_t mCount; member in class:android::EGLBufferObjectManager
73 mCount.fetch_add(1, std::memory_order_relaxed);
76 if (mCount.fetch_sub(1, std::memory_order_release) == 0) {
/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/opt/vcard/java/com/android/vcard/
H A DVCardEntryCounter.java22 private int mCount; field in class:VCardEntryCounter
25 return mCount;
42 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/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;
H A DHealthKeys.java184 int mCount; field in class:HealthKeys.SortedIntArray
198 mArray[mCount++] = value;
206 if (mCount == mArray.length) {
210 final int[] result = new int[mCount];
211 System.arraycopy(mArray, 0, result, 0, mCount);
/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/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/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/media/java/android/mtp/
H A DMtpPropertyList.java27 private int mCount; field in class:MtpPropertyList
54 int index = mCount++;
65 int index = mCount++;
/frameworks/rs/driver/
H A DrsdVertexArray.h61 uint32_t mCount; member in class:RsdVertexArray
/frameworks/av/media/img_utils/include/img_utils/
H A DDngUtils.h189 uint32_t mCount; member in class:android::img_utils::OpcodeListBuilder
H A DTiffEntryImpl.h57 uint32_t mCount; member in class:android::img_utils::TiffEntryImpl
66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) {
77 return mCount;
104 uint32_t total = sizeof(T) * mCount;
128 BAIL_ON_FAIL(out->write(&mCount, 0, 1), ret);
134 uint32_t count = mCount;
160 uint32_t count = mCount;
188 BAIL_ON_FAIL(out->write(&mCount, 0, 1), ret);
206 for (uint32_t i = 0; i < mCount; ++i) {
/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/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/base/core/java/android/view/inputmethod/
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/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/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DViewfinderProcessor.java33 int mCount; field in class:ViewfinderProcessor
115 mCount++;
120 mFps = mCount * 1000 / (float) (time);
121 mCount = 0;
/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 1482 milliseconds

123