Home
last modified time | relevance | path

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

/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
DPaginatedCursor.java37 private final int mRowCount; field in PaginatedCursor
63 mRowCount = mCursor.getCount(); in PaginatedCursor()
64 mCachedRows = new boolean[mRowCount]; in PaginatedCursor()
99 mByteArrayDataCache = mByteArrayCacheColumnSize > 0 ? new byte[mRowCount][][] : null; in PaginatedCursor()
100 mFloatDataCache = mFloatCacheColumnSize > 0 ? new float[mRowCount][] : null; in PaginatedCursor()
101 mIntDataCache = mIntCacheColumnSize > 0 ? new int[mRowCount][] : null; in PaginatedCursor()
102 mStringDataCache = mStringCacheColumnSize > 0 ? new String[mRowCount][] : null; in PaginatedCursor()
104 for (int i = 0; i < mRowCount; i++) { in PaginatedCursor()
129 for (int row = index; row < (index + PAGE_SIZE) && row < mRowCount; row++) { in loadCacheStartingFromPosition()
153 mLastCachePosition = Math.min(index + PAGE_SIZE, mRowCount) - 1; in loadCacheStartingFromPosition()
[all …]