Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DListRowDataAdapter.java24 int mLastVisibleRowIndex; field in ListRowDataAdapter
44 mLastVisibleRowIndex = -1; in initialize()
49 mLastVisibleRowIndex = i; in initialize()
58 return mLastVisibleRowIndex + 1; in size()
92 if (positionStart <= mLastVisibleRowIndex) { in onItemRangeChanged()
94 Math.min(itemCount, mLastVisibleRowIndex - positionStart + 1)); in onItemRangeChanged()
100 if (positionStart <= mLastVisibleRowIndex) { in onItemRangeInserted()
101 mLastVisibleRowIndex += itemCount; in onItemRangeInserted()
106 int lastVisibleRowIndex = mLastVisibleRowIndex; in onItemRangeInserted()
108 if (mLastVisibleRowIndex > lastVisibleRowIndex) { in onItemRangeInserted()
[all …]