Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DSliceFullCardRendererHelper.java46 return new SliceViewHolder(view); in createViewHolder()
50 final SliceViewHolder cardHolder = (SliceViewHolder) holder; in bindView()
77 static class SliceViewHolder extends RecyclerView.ViewHolder { class in SliceFullCardRendererHelper
80 public SliceViewHolder(View view) { in SliceViewHolder() method in SliceFullCardRendererHelper.SliceViewHolder
DSwipeDismissalDelegate.java120 return ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView; in getSwipeableView()
DSliceContextualCardRenderer.java185 return ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView; in getInitialView()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceFullCardRendererHelper.java45 return new SliceViewHolder(view); in createViewHolder()
49 final SliceViewHolder cardHolder = (SliceViewHolder) holder; in bindView()
74 static class SliceViewHolder extends RecyclerView.ViewHolder { class in SliceFullCardRendererHelper
77 public SliceViewHolder(View view) { in SliceViewHolder() method in SliceFullCardRendererHelper.SliceViewHolder
DSliceContextualCardRenderer.java50 …t com.android.settings.homepage.contextualcards.slices.SliceFullCardRendererHelper.SliceViewHolder;
108 ((SliceViewHolder) holder).sliceView.setSlice(card.getSlice()); in bindView()
223 return ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView; in getInitialView()
DSwipeDismissalDelegate.java119 return ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView; in getSwipeableView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceFullCardRendererHelperTest.java42 …t com.android.settings.homepage.contextualcards.slices.SliceFullCardRendererHelper.SliceViewHolder;
74 assertThat(viewHolder).isInstanceOf(SliceViewHolder.class); in createViewHolder_shouldAlwaysReturnSliceViewHolder()
83 assertThat(((SliceViewHolder) viewHolder).sliceView.isScrollable()).isFalse(); in bindView_shouldSetScrollableToFalse()
93 assertThat(((SliceViewHolder) viewHolder).sliceView.getTag()).isEqualTo(card.getSliceUri()); in bindView_shouldSetTagToSliceUri()
102 assertThat(((SliceViewHolder) viewHolder).sliceView.getMode()).isEqualTo( in bindView_shouldSetModeToLarge()
112 assertThat(((SliceViewHolder) viewHolder).sliceView.getSlice().getUri()).isEqualTo( in bindView_shouldSetSlice()
DSliceContextualCardRendererTest.java95 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_invalidScheme_sliceShouldBeNull()
106 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_viewTypeFullWidth_shouldSetCachedSlice()
118 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_viewTypeSticky_shouldSetCachedSlice()
DSwipeDismissalDelegateTest.java36 …t com.android.settings.homepage.contextualcards.slices.SliceFullCardRendererHelper.SliceViewHolder;
103 final RecyclerView.ViewHolder viewHolder = spy(new SliceViewHolder(view)); in getSliceViewHolder()