/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 | 32 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 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 | 30 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/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/net/http/ |
H A D | IdleCache.java | 48 private int mCount = 0; field in class:IdleCache 72 HttpLog.v("IdleCache size " + mCount + " host " + host); 75 if (mCount < IDLE_CACHE_MAX) { 83 mCount++; 100 if (mCount > 0) { 108 mCount--; 118 for (int i = 0; mCount > 0 && i < IDLE_CACHE_MAX; i++) { 124 mCount--; 130 if (mCount > 0) { 138 mCount [all...] |
/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 | 59 mCount = 0; 62 mCount = subtypes.size(); 63 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]); 74 mCount = source.readInt(); 75 if (mCount > 0) { 91 if (mCount == 0) { 92 dest.writeInt(mCount); 118 dest.writeInt(mCount); 136 if (index < 0 || mCount <= index) { 153 instance = new InputMethodSubtype[mCount]; 170 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/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) {
|
H A D | PowerManager.java | 879 private int mCount; field in class:PowerManager.WakeLock 964 if (!mRefCounted || mCount++ == 0) { 1008 if (!mRefCounted || --mCount == 0) { 1019 if (mCount < 0) { 1097 + " held=" + mHeld + ", refCount=" + mCount + "}";
|
/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/base/core/java/android/database/sqlite/ |
H A D | SQLiteCursor.java | 52 private int mCount = NO_COUNT; field in class:SQLiteCursor 132 if (mCount == NO_COUNT) { 135 return mCount; 142 if (mCount == NO_COUNT) { 144 mCount = mQuery.fillWindow(mWindow, startPos, requiredPos, true); 147 Log.d(TAG, "received count(*) from native_fill_window: " + mCount); 228 mCount = NO_COUNT; 245 mCount = NO_COUNT;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RootCursorWrapper.java | 31 private final int mCount; field in class:RootCursorWrapper 48 mCount = maxCount; 50 mCount = count; 89 return mCount;
|
H A D | FilteringCursorWrapper.java | 36 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 D | BufferObjectManager.h | 67 mutable volatile int32_t mCount; member in class:android::EGLBufferObjectManager 73 android_atomic_inc(&mCount); 76 if (android_atomic_dec(&mCount) == 1) {
|
/frameworks/base/core/java/android/database/ |
H A D | BulkCursorToCursorAdaptor.java | 35 private int mCount; field in class:BulkCursorToCursorAdaptor 46 mCount = d.count; 71 return mCount; 136 mCount = mBulkCursor.requery(getObserver()); 137 if (mCount != -1) { 142 // observer from the far side so that observers can see a correct value for mCount
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | TiffEntryImpl.h | 57 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/services/core/java/com/android/server/display/ |
H A D | AutomaticBrightnessController.java | 569 // Note that if mCount is zero then there are no valid elements. 572 private int mCount; field in class:AutomaticBrightnessController.AmbientLightRingBuffer 594 if (mCount == mCapacity) { 619 mCount++; 623 if (mCount == 0) { 627 while (mCount > 1) { 643 mCount -= 1; 652 return mCount; 656 return mCount == 0; 662 mCount [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IMetadataTraversal.c | 55 SLuint32 count = thiz->mCount; 126 thiz->mCount = 0;
|
/frameworks/native/services/sensorservice/ |
H A D | Fusion.cpp | 181 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...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 180 mWorkers.mRunningCount = mWorkers.mCount; 183 for (uint32_t ct = 0; ct < mWorkers.mCount; ct++) { 274 mWorkers.mCount = 0; 279 mWorkers.mCount = (uint32_t)(cpu - 1); 281 ALOGV("%p Launching thread(s), CPUs %i", mRSC, mWorkers.mCount + 1); 283 mWorkers.mThreadId = (pthread_t *) calloc(mWorkers.mCount, sizeof(pthread_t)); 284 mWorkers.mNativeThreadId = (pid_t *) calloc(mWorkers.mCount, sizeof(pid_t)); 285 mWorkers.mLaunchSignals = new Signal[mWorkers.mCount]; 290 mWorkers.mRunningCount = mWorkers.mCount; 301 for (uint32_t ct=0; ct < mWorkers.mCount; c [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | DngUtils.cpp | 22 OpcodeListBuilder::OpcodeListBuilder() : mCount(0), mOpList(), mEndianOut(&mOpList, BIG) { 35 return mOpList.getSize() + sizeof(mCount); 39 return mCount; 43 uint32_t count = convertToBigEndian(mCount); 276 mCount++;
|