Searched refs:originalCount (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchVerticalSpacingTest.java | 103 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()
|
D | GridTouchVerticalSpacingStackFromBottomTest.java | 119 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/ |
D | ListTouchBottomGravityManyTest.java | 61 int originalCount = mListView.getChildCount(); in testPullDown() local 77 mListView.getChildCount(), originalCount + 1), in testPullDown() 78 mListView.getChildCount() <= originalCount + 1); in testPullDown()
|
D | ListTouchManyTest.java | 76 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/ |
D | PagedListView.java | 1101 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()
|