Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DPlaybackSeekProviderSample.java21 protected long[] mSeekPositions; field in PlaybackSeekProviderSample
28 mSeekPositions = new long[numSeekPositions]; in PlaybackSeekProviderSample()
29 for (int i = 0; i < mSeekPositions.length; i++) { in PlaybackSeekProviderSample()
30 mSeekPositions[i] = first + i * (last - first) / (numSeekPositions - 1); in PlaybackSeekProviderSample()
36 return mSeekPositions; in getSeekPositions()
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DPlaybackSeekAsyncDataProvider.java39 long[] mSeekPositions; field in PlaybackSeekAsyncDataProvider
68 .doInBackground(this, mIndex, mSeekPositions[mIndex]); in doInBackground()
95 mSeekPositions = positions; in setSeekPositions()
100 return mSeekPositions; in getSeekPositions()
146 < mPrefetchCache.maxSize()) && (inc > 0 ? i < mSeekPositions.length : i >= 0); in prefetch()