Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DRangeFilterImplTest.java176 private void verifyNoClamps(RangeFilterImpl rangeFilter, int unrestrictedCount) { in verifyNoClamps() argument
181 assertThat(range.mEndIndex).isEqualTo(unrestrictedCount); in verifyNoClamps()
182 assertThat(range.mEndIndex - range.mStartIndex).isEqualTo(unrestrictedCount); in verifyNoClamps()
183 assertThat(range.mLimitedCount).isEqualTo(unrestrictedCount); in verifyNoClamps()
190 int unrestrictedCount) { in verifyFilterBothEnds() argument
194 int clampedTailItemCount = unrestrictedCount - clampedHeadItemCount - maxCount; in verifyFilterBothEnds()
196 verify(adapter).notifyItemInserted(unrestrictedCount); in verifyFilterBothEnds()
207 int unrestrictedCount) { in verifyRemoveFilterBothEnds() argument
211 int clampedTailItemCount = unrestrictedCount - clampedHeadItemCount - maxCount; in verifyRemoveFilterBothEnds()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DContentLimitingAdapter.java303 public void updateUnderlyingDataChanged(int unrestrictedCount, int newAnchorIndex) { in updateUnderlyingDataChanged() argument
304 mRangeFilter.recompute(unrestrictedCount, newAnchorIndex); in updateUnderlyingDataChanged()