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

123

/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.java32 int mCount; field in class:ReferenceCountedTrigger
61 if (mCount == 0 && !mFirstIncRunnables.isEmpty()) {
67 mCount++;
79 boolean ensureLastDecrement = (mCount == 0);
87 mCount--;
88 if (mCount == 0 && !mLastDecRunnables.isEmpty()) {
93 } else if (mCount < 0) {
119 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.java30 int mCount; field in class:MessageQueueTest.BaseTestHandler
48 if (mCount <= mLastMessage) {
49 if (msg.what != mCount) {
51 "Expected message #" + mCount
53 } else if (mCount == mLastMessage) {
56 mCount++;
71 mCount = 0;
90 mCount = 0;
110 int mCount; field in class:MessageQueueTest.TestFieldIntegrityHandler
128 if (mCount <
[all...]
/frameworks/base/libs/hwui/utils/
H A DRingBuffer.h35 size_t size() { return mCount; }
39 if (mCount < SIZE) {
40 mCount++;
54 return mBuffer[(mHead + index + 1) % mCount];
58 mCount = 0;
65 size_t mCount = 0; member in class:android::uirenderer::RingBuffer
/frameworks/base/core/java/com/android/internal/os/
H A DKernelWakelockStats.java25 public int mCount; field in class:KernelWakelockStats.Entry
30 mCount = count;
/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/tests/src/android/support/v17/leanback/widget/
H A DGridTest.java32 int mCount; field in class:GridTest.Provider
37 mCount = items.length;
38 mEdges = new int[mCount];
43 return mCount;
/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/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;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootCursorWrapper.java31 private final int mCount; field in class:RootCursorWrapper
48 mCount = maxCount;
50 mCount = count;
89 return mCount;
H A DFilteringCursorWrapper.java36 private int mCount; field in class:FilteringCursorWrapper
54 while (cursor.moveToNext() && mCount < count) {
64 mPosition[mCount++] = cursor.getPosition();
68 Log.d(TAG, "Before filtering " + cursor.getCount() + ", after " + mCount);
94 return mCount;
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.h67 mutable volatile int32_t mCount; member in class:android::EGLBufferObjectManager
73 android_atomic_inc(&mCount);
76 if (android_atomic_dec(&mCount) == 1) {
/frameworks/av/media/img_utils/include/img_utils/
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/rs/java/tests/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/wilhelm/src/itf/
H A DIMetadataTraversal.c55 SLuint32 count = thiz->mCount;
126 thiz->mCount = 0;
/frameworks/native/services/sensorservice/
H A DFusion.cpp181 mCount[0] = 0;
182 mCount[1] = 0;
183 mCount[2] = 0;
235 mCount[0]++;
239 mCount[1]++;
244 mCount[2]++;
245 if (mCount[2] == 64) {
254 mData[0] *= 1.0f/mCount[0];
255 mData[1] *= 1.0f/mCount[1];
256 mData[2] *= 1.0f/mCount[
[all...]

Completed in 7576 milliseconds

123