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

123

/frameworks/ex/common/java/com/android/common/widget/
H A DCompositeCursorAdapter.java65 private int mCount = 0; field in class:CompositeCursorAdapter
170 mCount = 0;
185 mCount += count;
203 return mCount;
H A DGroupingListAdapter.java65 private int mCount; field in class:GroupingListAdapter
141 mCount = -1;
236 if (mCount != -1) {
237 return mCount;
259 mCount = count + mCursor.getCount() - cursorPosition;
260 return mCount;
/frameworks/rs/cpu_ref/
H A DrsCpuCore.h163 return mWorkers.mCount + 1;
232 uint32_t mCount; member in struct:android::renderscript::RsdCpuReferenceImpl::Workers
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewBasicTest.java393 assertEquals(3, mRecyclerView.mPrefetchRegistry.mCount);
612 private int mCount = 0; field in class:RecyclerViewBasicTest.MockAdapter
616 this.mCount = count;
631 return mCount;
635 mCount -= count;
640 mCount += count;
/frameworks/base/core/java/android/content/res/
H A DResources.java1679 int mCount; field in class:Resources.ThemeKey
1692 mResId = GrowingArrayUtils.append(mResId, mCount, resId);
1693 mForce = GrowingArrayUtils.append(mForce, mCount, force);
1694 mCount++;
1707 mCount = other.mCount;
1726 if (mCount != t.mCount) {
1730 final int N = mCount;
1748 other.mCount
[all...]
/frameworks/base/core/java/android/os/
H A DPowerManager.java1246 private int mCount; field in class:PowerManager.WakeLock
1332 if (!mRefCounted || mCount++ == 0) {
1377 if (!mRefCounted || --mCount == 0) {
1389 if (mCount < 0) {
1473 + " held=" + mHeld + ", refCount=" + mCount + "}";
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java583 private int mCount = 0; field in class:StateMachine.LogRecords
603 mCount = 0;
626 return mCount;
667 mCount += 1;
/frameworks/base/rs/java/android/renderscript/
H A DElement.java1304 int mCount; field in class:Element.Builder
1314 mCount = 0;
1346 if(mCount == mElements.length) {
1347 Element[] e = new Element[mCount + 8];
1348 String[] s = new String[mCount + 8];
1349 int[] as = new int[mCount + 8];
1350 System.arraycopy(mElements, 0, e, 0, mCount);
1351 System.arraycopy(mElementNames, 0, s, 0, mCount);
1352 System.arraycopy(mArraySizes, 0, as, 0, mCount);
1357 mElements[mCount]
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DAutomaticBrightnessController.java628 // Note that if mCount is zero then there are no valid elements.
631 private int mCount; field in class:AutomaticBrightnessController.AmbientLightRingBuffer
649 if (mCount == mCapacity) {
674 mCount++;
678 if (mCount == 0) {
682 while (mCount > 1) {
698 mCount -= 1;
707 return mCount;
713 mCount = 0;
720 for (int i = 0; i < mCount;
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DElement.java924 int mCount; field in class:Element.Builder
934 mCount = 0;
966 if(mCount == mElements.length) {
967 Element[] e = new Element[mCount + 8];
968 String[] s = new String[mCount + 8];
969 int[] as = new int[mCount + 8];
970 System.arraycopy(mElements, 0, e, 0, mCount);
971 System.arraycopy(mElementNames, 0, s, 0, mCount);
972 System.arraycopy(mArraySizes, 0, as, 0, mCount);
977 mElements[mCount]
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java460 private int mCount; field in class:BackgroundManager.BackgroundContinuityService
476 final int count = sService.mCount++;
482 if (mCount <= 0) throw new IllegalStateException("Can't unref, count " + mCount);
483 if (--mCount == 0) {
484 if (DEBUG) Log.v(TAG, "mCount is zero, resetting");
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationUsageStats.java708 private int[] mCount; field in class:NotificationUsageStats.ImportanceHistogram
712 mCount = new int[NUM_IMPORTANCES];
722 mCount[imp] ++;
727 final int value = mCount[i] - prev.mCount[i];
736 mCount[i] = that.mCount[i];
742 dump.put(mPrefix, new JSONArray(mCount));
750 output.append(mCount[i]);
/frameworks/minikin/libs/minikin/
H A DLayout.cpp74 mStart(start), mCount(count), mId(collection->getId()), mStyle(style),
98 layout->mAdvances.resize(mCount, 0);
100 layout->doLayoutRun(mChars, mStart, mCount, mNchars, mIsRtl, ctx, collection);
107 size_t mCount; member in class:minikin::LayoutCacheKey
186 && mCount == other.mCount
202 hash = android::JenkinsHashMix(hash, mCount);
/frameworks/wilhelm/src/
H A Ditfstruct.h370 SLuint8 mCount; member in struct:__anon2136
390 SLuint32 mCount; member in struct:__anon2138
/frameworks/av/services/audioflinger/
H A DThreads.cpp245 if (mCount == 0) {
248 ++mCount;
259 if (--mCount < 0) {
261 mCount = 0;
322 int32_t mCount; member in struct:android::__anon983
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java8597 private int mCount; field in class:BackupManagerService.PerformUnifiedRestoreTask
8915 EventLog.writeEvent(EventLogTags.RESTORE_SUCCESS, mCount, millis);
9077 ++mCount;
9715 mObserver.onUpdate(mCount, name);
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java851 final AtomicInteger mCount = new AtomicInteger(); field in class:BatteryStatsImpl.Counter
860 mCount.set(mPluggedCount);
872 out.writeInt(mCount.get());
884 mPluggedCount = mCount.get();
905 int val = mCount.get();
916 pw.println(prefix + "mCount=" + mCount.get()
925 mCount.incrementAndGet();
931 mCount.addAndGet(delta);
939 mCount
1132 long mCount; field in class:BatteryStatsImpl.LongSamplingCounter
1225 protected int mCount; field in class:BatteryStatsImpl.Timer
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java1032 int mCount; field in class:ActivityManagerService.Association
15423 pw.print(ass.mCount);
20637 ass.mCount++;
[all...]

Completed in 6583 milliseconds

123