Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBucketTest.java38 ChildHelper.Bucket mBucket; field in BucketTest
48 mBucket = new ChildHelper.Bucket(); in setUp()
74 mBucket.set(i); in setClear()
75 assertTrue(mBucket.get(i)); in setClear()
78 assertEquals(mBucket.get(i), mSet.contains(i)); in setClear()
82 mBucket.clear(i); in setClear()
83 assertFalse(mBucket.get(i)); in setClear()
87 assertFalse(mBucket.get(i)); in setClear()
95 mBucket.reset(); in remove()
97 mBucket.set(j); in remove()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/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/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java81 private int mBucket; field in PowerNotificationWarnings
113 } else if (bucket < mBucket) { in update()
116 mBucket = bucket; in update()
230 + " [" + mBucket + "] playSound=" + playSound); in showLowBatteryWarning()