Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DChildHelper.java351 final static int BITS_PER_WORD = Long.SIZE; field in ChildHelper.Bucket
360 if (index >= BITS_PER_WORD) { in set()
362 next.set(index - BITS_PER_WORD); in set()
375 if (index >= BITS_PER_WORD) { in clear()
377 next.clear(index - BITS_PER_WORD); in clear()
386 if (index >= BITS_PER_WORD) { in get()
388 return next.get(index - BITS_PER_WORD); in get()
402 if (index >= BITS_PER_WORD) { in insert()
404 next.insert(index - BITS_PER_WORD, value); in insert()
424 if (index >= BITS_PER_WORD) { in remove()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBucketTest.java43 mArr.add(i * (ChildHelper.Bucket.BITS_PER_WORD - 1)); in setUp()
44 mArr.add(i * (ChildHelper.Bucket.BITS_PER_WORD)); in setUp()
45 mArr.add(i * (ChildHelper.Bucket.BITS_PER_WORD + 1)); in setUp()
46 mArr.add(i * ChildHelper.Bucket.BITS_PER_WORD - 1); in setUp()
47 mArr.add(i * ChildHelper.Bucket.BITS_PER_WORD); in setUp()
48 mArr.add(i * ChildHelper.Bucket.BITS_PER_WORD + 1); in setUp()