Searched refs:SliceViewHolder (Results 1 – 9 of 9) sorted by relevance
46 return new SliceViewHolder(view); in createViewHolder()50 final SliceViewHolder cardHolder = (SliceViewHolder) holder; in bindView()77 static class SliceViewHolder extends RecyclerView.ViewHolder { class in SliceFullCardRendererHelper80 public SliceViewHolder(View view) { in SliceViewHolder() method in SliceFullCardRendererHelper.SliceViewHolder
120 return ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView; in getSwipeableView()
185 return ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView; in getInitialView()
45 return new SliceViewHolder(view); in createViewHolder()49 final SliceViewHolder cardHolder = (SliceViewHolder) holder; in bindView()74 static class SliceViewHolder extends RecyclerView.ViewHolder { class in SliceFullCardRendererHelper77 public SliceViewHolder(View view) { in SliceViewHolder() method in SliceFullCardRendererHelper.SliceViewHolder
50 …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()
119 return ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView; in getSwipeableView()
42 …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()
95 ((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()
36 …t com.android.settings.homepage.contextualcards.slices.SliceFullCardRendererHelper.SliceViewHolder;103 final RecyclerView.ViewHolder viewHolder = spy(new SliceViewHolder(view)); in getSliceViewHolder()