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.java397 final static int BITS_PER_WORD = Long.SIZE; field in ChildHelper.Bucket
406 if (index >= BITS_PER_WORD) { in set()
408 next.set(index - BITS_PER_WORD); in set()
421 if (index >= BITS_PER_WORD) { in clear()
423 next.clear(index - BITS_PER_WORD); in clear()
432 if (index >= BITS_PER_WORD) { in get()
434 return next.get(index - BITS_PER_WORD); in get()
448 if (index >= BITS_PER_WORD) { in insert()
450 next.insert(index - BITS_PER_WORD, value); in insert()
470 if (index >= BITS_PER_WORD) { in remove()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBucketTest.java52 mArr.add(i * (ChildHelper.Bucket.BITS_PER_WORD - 1)); in setUp()
53 mArr.add(i * (ChildHelper.Bucket.BITS_PER_WORD)); in setUp()
54 mArr.add(i * (ChildHelper.Bucket.BITS_PER_WORD + 1)); in setUp()
55 mArr.add(i * ChildHelper.Bucket.BITS_PER_WORD - 1); in setUp()
56 mArr.add(i * ChildHelper.Bucket.BITS_PER_WORD); in setUp()
57 mArr.add(i * ChildHelper.Bucket.BITS_PER_WORD + 1); in setUp()