Home
last modified time | relevance | path

Searched defs:itemCount (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DObjectAdapter.java48 public void onItemRangeChanged(int positionStart, int itemCount) { in onItemRangeChanged()
58 public void onItemRangeInserted(int positionStart, int itemCount) { in onItemRangeInserted()
68 public void onItemRangeRemoved(int positionStart, int itemCount) { in onItemRangeRemoved()
81 public void notifyItemRangeChanged(int positionStart, int itemCount) { in notifyItemRangeChanged()
87 public void notifyItemRangeInserted(int positionStart, int itemCount) { in notifyItemRangeInserted()
93 public void notifyItemRangeRemoved(int positionStart, int itemCount) { in notifyItemRangeRemoved()
179 final protected void notifyItemRangeChanged(int positionStart, int itemCount) { in notifyItemRangeChanged()
183 final protected void notifyItemRangeInserted(int positionStart, int itemCount) { in notifyItemRangeInserted()
187 final protected void notifyItemRangeRemoved(int positionStart, int itemCount) { in notifyItemRangeRemoved()
DSparseArrayObjectAdapter.java71 public void notifyArrayItemRangeChanged(int positionStart, int itemCount) { in notifyArrayItemRangeChanged()
112 final int itemCount = mItems.size(); in clear() local
DArrayObjectAdapter.java78 public void notifyArrayItemRangeChanged(int positionStart, int itemCount) { in notifyArrayItemRangeChanged()
171 int itemCount = mItems.size(); in clear() local
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
DObservableList.java66 public abstract void onItemRangeChanged(T sender, int positionStart, int itemCount); in onItemRangeChanged()
74 public abstract void onItemRangeInserted(T sender, int positionStart, int itemCount); in onItemRangeInserted()
84 int itemCount); in onItemRangeMoved()
92 public abstract void onItemRangeRemoved(T sender, int positionStart, int itemCount); in onItemRangeRemoved()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DAdapterHelper.java504 boolean onItemRangeChanged(int positionStart, int itemCount, Object payload) { in onItemRangeChanged()
516 boolean onItemRangeInserted(int positionStart, int itemCount) { in onItemRangeInserted()
528 boolean onItemRangeRemoved(int positionStart, int itemCount) { in onItemRangeRemoved()
540 boolean onItemRangeMoved(int from, int to, int itemCount) { in onItemRangeMoved()
650 int itemCount; field in AdapterHelper.UpdateOp
652 UpdateOp(int cmd, int positionStart, int itemCount, Object payload) { in UpdateOp()
727 public UpdateOp obtainUpdateOp(int cmd, int positionStart, int itemCount, Object payload) { in obtainUpdateOp()
763 void offsetPositionsForRemovingInvisible(int positionStart, int itemCount); in offsetPositionsForRemovingInvisible()
765 void offsetPositionsForRemovingLaidOutOrNewView(int positionStart, int itemCount); in offsetPositionsForRemovingLaidOutOrNewView()
767 void markViewHoldersUpdated(int positionStart, int itemCount, Object payloads); in markViewHoldersUpdated()
[all …]
DGridLayoutManager.java199 public void onItemsAdded(RecyclerView recyclerView, int positionStart, int itemCount) { in onItemsAdded()
209 public void onItemsRemoved(RecyclerView recyclerView, int positionStart, int itemCount) { in onItemsRemoved()
214 public void onItemsUpdated(RecyclerView recyclerView, int positionStart, int itemCount, in onItemsUpdated()
220 public void onItemsMoved(RecyclerView recyclerView, int from, int to, int itemCount) { in onItemsMoved()
406 int start, int end, int itemCount) { in findReferenceChild()
DOpReorderer.java234 UpdateOp obtainUpdateOp(int cmd, int startPosition, int itemCount, Object payload); in obtainUpdateOp()
DRecyclerView.java3712 void offsetPositionRecordsForInsert(int positionStart, int itemCount) { in offsetPositionRecordsForInsert()
3729 void offsetPositionRecordsForRemove(int positionStart, int itemCount, in offsetPositionRecordsForRemove()
3765 void viewRangeUpdate(int positionStart, int itemCount, Object payload) { in viewRangeUpdate()
4568 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) { in onItemRangeChanged()
4576 public void onItemRangeInserted(int positionStart, int itemCount) { in onItemRangeInserted()
4584 public void onItemRangeRemoved(int positionStart, int itemCount) { in onItemRangeRemoved()
4592 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved()
5574 void viewRangeUpdate(int positionStart, int itemCount) { in viewRangeUpdate()
6105 public final void notifyItemRangeChanged(int positionStart, int itemCount) { in notifyItemRangeChanged()
6135 public final void notifyItemRangeChanged(int positionStart, int itemCount, Object payload) { in notifyItemRangeChanged()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenu.java130 final int itemCount = items.size(); in findItemIndex() local
150 final int itemCount = items.size(); in hasVisibleItems() local
165 final int itemCount = items.size(); in findItemWithShortcut() local
202 int itemCount = items.size(); in removeGroup() local
221 final int itemCount = items.size(); in setGroupCheckable() local
234 final int itemCount = items.size(); in setGroupEnabled() local
246 final int itemCount = items.size(); in setGroupVisible() local
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DAsyncListUtilTest.java128 private int getLoadedItemCount(int startPosition, int itemCount) { in getLoadedItemCount()
188 public void fillData(String[] data, int startPosition, int itemCount) { in fillData()
190 assertEquals(Math.min(TILE_SIZE, mDataItemCount - startPosition), itemCount); in fillData() local
271 public void expectItemRangeChanged(int startPosition, int itemCount) { in expectItemRangeChanged()
288 int itemCount = mAsyncListUtil.getItemCount(); in updateViewport() local
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutWithViewPagerTest.java200 int itemCount = mViewPager.getAdapter().getCount(); in verifyViewPagerSelection() local
233 int itemCount = mTabLayout.getTabCount(); in verifyTabLayoutSelection() local
263 final int itemCount = mViewPager.getAdapter().getCount(); in testBasics() local
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceFragmentCompat.java730 public void onItemRangeChanged(int positionStart, int itemCount) { in onItemRangeChanged()
735 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) { in onItemRangeChanged()
740 public void onItemRangeInserted(int positionStart, int itemCount) { in onItemRangeInserted()
745 public void onItemRangeRemoved(int positionStart, int itemCount) { in onItemRangeRemoved()
750 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved()
/frameworks/support/v14/preference/src/android/support/v14/preference/
DPreferenceFragment.java747 public void onItemRangeChanged(int positionStart, int itemCount) { in onItemRangeChanged()
752 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) { in onItemRangeChanged()
757 public void onItemRangeInserted(int positionStart, int itemCount) { in onItemRangeInserted()
762 public void onItemRangeRemoved(int positionStart, int itemCount) { in onItemRangeRemoved()
767 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved()
/frameworks/support/v4/java/android/support/v4/widget/
DListViewAutoScrollHelper.java49 final int itemCount = target.getCount(); in canTargetScrollVertically() local
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DAsyncListUtil.java474 public abstract void fillData(T[] data, int startPosition, int itemCount); in fillData()
484 public void recycleData(T[] data, int itemCount) { in recycleData()
DThreadUtil.java23 void updateItemCount(int generation, int itemCount); in updateItemCount()
DMessageThreadUtil.java39 public void updateItemCount(int generation, int itemCount) { in getMainThreadProxy()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DFocusSearchNavigationTest.java87 private void setup(final int itemCount) throws Throwable { in setup()
239 public FocusSearchAdapter(int itemCount, int orientation) { in FocusSearchAdapter()
DDefaultItemAnimatorTest.java133 void runAndWait(int itemCount, int seconds) throws Throwable { in runAndWait()
137 void runAndWait(int itemCount, int seconds, final ThrowingRunnable postRun) throws Throwable { in runAndWait()
155 void waitForItems(int itemCount, int seconds) throws InterruptedException { in waitForItems()
DStaggeredGridLayoutManagerSavedStateTest.java181 final int itemCount = mAdapter.getItemCount(); in savedState() local
DRecyclerViewAnimationsTest.java1118 final int itemCount = 20; in stableIdNotifyDataSetChanged() local
1633 public void positionStatesTest(int itemCount, int firstLayoutStartIndex, in positionStatesTest()
1640 public void positionStatesTest(int itemCount, int firstLayoutStartIndex, in positionStatesTest()
DLinearLayoutManagerSavedStateTest.java295 final int itemCount = mTestAdapter.getItemCount(); in savedStateTest() local
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListener.java65 public void onScroll(AbsListView view, int firstCell, int cellCount, int itemCount) { in onScroll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DUserGridView.java123 int itemCount = getAdapter() == null ? 0 : getAdapter().getCount(); in onMeasure() local
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeAdapter.java55 final int itemCount = binding.getItemCount(); in FakeAdapter() local

123