Home
last modified time | relevance | path

Searched refs:originalCount (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchVerticalSpacingTest.java103 int originalCount = mGridView.getChildCount(); in testManyScrolls() local
115 mGridView.getChildCount(), originalCount + 4), in testManyScrolls()
116 mGridView.getChildCount() <= originalCount + 4); in testManyScrolls()
134 mGridView.getChildCount(), originalCount + 4), in testManyScrolls()
135 mGridView.getChildCount() <= originalCount + 4); in testManyScrolls()
DGridTouchVerticalSpacingStackFromBottomTest.java119 int originalCount = mGridView.getChildCount(); in testManyScrolls() local
131 mGridView.getChildCount(), originalCount + 4), in testManyScrolls()
132 mGridView.getChildCount() <= originalCount + 4); in testManyScrolls()
149 mGridView.getChildCount(), originalCount + 4), in testManyScrolls()
150 mGridView.getChildCount() <= originalCount + 4); in testManyScrolls()
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListTouchBottomGravityManyTest.java61 int originalCount = mListView.getChildCount(); in testPullDown() local
77 mListView.getChildCount(), originalCount + 1), in testPullDown()
78 mListView.getChildCount() <= originalCount + 1); in testPullDown()
DListTouchManyTest.java76 int originalCount = mListView.getChildCount(); in testPushUp() local
93 mListView.getChildCount(), originalCount + 1), in testPushUp()
94 mListView.getChildCount() <= originalCount + 1); in testPushUp()
/frameworks/support/car/src/main/java/androidx/car/widget/
DPagedListView.java1101 final int originalCount = mAdapter.getItemCount(); in updateMaxItems() local
1104 if (newCount == originalCount) { in updateMaxItems()
1108 if (newCount < originalCount) { in updateMaxItems()
1109 mAdapter.notifyItemRangeRemoved(newCount, originalCount - newCount); in updateMaxItems()
1111 mAdapter.notifyItemRangeInserted(originalCount, newCount - originalCount); in updateMaxItems()