Home
last modified time | relevance | path

Searched refs:mBucket (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DBucketTest.java39 ChildHelper.Bucket mBucket; field in BucketTest
49 mBucket = new ChildHelper.Bucket(); in setUp()
75 mBucket.set(i); in setClear()
76 assertTrue(mBucket.get(i)); in setClear()
79 assertEquals(mBucket.get(i), mSet.contains(i)); in setClear()
83 mBucket.clear(i); in setClear()
84 assertFalse(mBucket.get(i)); in setClear()
88 assertFalse(mBucket.get(i)); in setClear()
96 mBucket.reset(); in remove()
98 mBucket.set(j); in remove()
[all …]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DChildHelper.java44 final Bucket mBucket; field in ChildHelper
50 mBucket = new Bucket(); in ChildHelper()
103 mBucket.insert(offset, hidden); in addView()
120 final int removedBefore = mBucket.countOnesBefore(offset); in getOffset()
123 while (mBucket.get(offset)) { // ensure this offset is not hidden in getOffset()
144 if (mBucket.remove(index)) { in removeView()
165 if (mBucket.remove(offset)) { in removeViewAt()
188 mBucket.reset(); in removeAllViewsUnfiltered()
235 mBucket.insert(offset, hidden); in attachViewToParent()
283 mBucket.remove(offset); in detachViewFromParent()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DChildHelper.java44 final Bucket mBucket; field in ChildHelper
50 mBucket = new Bucket(); in ChildHelper()
103 mBucket.insert(offset, hidden); in addView()
120 final int removedBefore = mBucket.countOnesBefore(offset); in getOffset()
123 while (mBucket.get(offset)) { // ensure this offset is not hidden in getOffset()
144 if (mBucket.remove(index)) { in removeView()
165 if (mBucket.remove(offset)) { in removeViewAt()
188 mBucket.reset(); in removeAllViewsUnfiltered()
235 mBucket.insert(offset, hidden); in attachViewToParent()
283 mBucket.remove(offset); in detachViewFromParent()
[all …]
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DLoadtestActivity.java233 private TimeUnit mBucket; field in LoadtestActivity
414 mBucket = TIME_UNIT_MAP.get(item); in onItemSelected()
473 if (!setConfig(mFactory.getConfig(mReplication, mBucket, mPlacebo, in startLoadtest()
490 mPerfData = new PerfData(this, mPlacebo, mReplication, mBucket, mPeriodSecs, mBurst, in startLoadtest()
661 mBucket = TimeUnit.valueOf(defaultValue); in initBucket()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java119 private int mBucket; field in PowerNotificationWarnings
170 } else if (bucket < mBucket) { in update()
173 mBucket = bucket; in update()
265 if (mEstimate == null || mBucket < 0 in showWarningNotification()
446 + " [" + mBucket + "] playSound=" + playSound); in showLowBatteryWarning()