OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mThumbHeroIndex
(Results
1 - 2
of
2
) sorted by null
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
PlaybackTransportRowPresenter.java
78
int
mThumbHeroIndex
= -1;
169
if (
mThumbHeroIndex
== thumbHeroIndex) {
183
if (
mThumbHeroIndex
< 0) {
188
forward = thumbHeroIndex >
mThumbHeroIndex
;
189
final int oldStart = Math.max(
mThumbHeroIndex
- (totalNum / 2), 0);
190
final int oldEnd = Math.min(
mThumbHeroIndex
+ (totalNum / 2),
198
mThumbsBar.getThumbBitmap(heroChildIndex + (i -
mThumbHeroIndex
)));
206
mThumbsBar.getThumbBitmap(heroChildIndex + (i -
mThumbHeroIndex
)));
210
// processing new requests with
mThumbHeroIndex
updated
211
mThumbHeroIndex
= thumbHeroIndex
[
all
...]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
PlaybackTransportRowPresenterTest.java
132
assertEquals(mViewHolder.
mThumbHeroIndex
, heroIndex);
141
assertEquals(mViewHolder.
mThumbHeroIndex
, heroIndex);
143
int start = Math.max(0, mViewHolder.
mThumbHeroIndex
- mNumbThumbs / 2);
144
int end = Math.min(positions.length - 1, mViewHolder.
mThumbHeroIndex
+ mNumbThumbs / 2);
146
mViewHolder.mThumbsBar, start + mNumbThumbs / 2 - mViewHolder.
mThumbHeroIndex
,
147
end + mNumbThumbs / 2 - mViewHolder.
mThumbHeroIndex
);
Completed in 150 milliseconds