Home
last modified time | relevance | path

Searched refs:mExpectedPositions (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DAsyncListUtilTest.java300 final private SparseBooleanArray mExpectedPositions = new SparseBooleanArray(); field in AsyncListUtilTest.PositionSetLatch
308 mExpectedPositions.clear(); in expect()
310 mExpectedPositions.put(position, true); in expect()
316 mExpectedPositions.clear(); in expectRange()
318 mExpectedPositions.put(position + i, true); in expectRange()
327 assertTrue("unexpected " + mKind + " @" + position, mExpectedPositions.get(position)); in countDown()
328 mExpectedPositions.delete(position); in countDown()
329 if (mExpectedPositions.size() == 0) { in countDown()
336 if (mExpectedPositions.size() == 0) { in createLatch()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAsyncListUtilLayoutTest.java257 private BitSet mExpectedPositions; field in AsyncListUtilLayoutTest.AsyncTestAdapter
276 if (mExpectedPositions.get(position)) { in onBindViewHolder()
277 mExpectedPositions.clear(position); in onBindViewHolder()
278 if (mExpectedPositions.cardinality() == 0) { in onBindViewHolder()
291 mExpectedPositions = new BitSet(rangeStart + rangeSize); in expectItemsInRange()
294 mExpectedPositions.set(rangeStart + i); in expectItemsInRange()
298 if (mExpectedPositions.cardinality() == 0) { in expectItemsInRange()