Searched refs:sliceView (Results 1 – 7 of 7) sorted by relevance
129 final SliceView sliceView; field in PanelSlicesAdapter.SliceRowViewHolder135 sliceView = view.findViewById(R.id.slice_view); in SliceRowViewHolder()136 sliceView.setMode(SliceView.MODE_LARGE); in SliceRowViewHolder()137 sliceView.setShowTitleItems(true); in SliceRowViewHolder()138 sliceView.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO); in SliceRowViewHolder()149 sliceView.setVisibility(View.GONE); in onBind()152 sliceView.setSlice(slice); in onBind()153 sliceView.setVisibility(View.VISIBLE); in onBind()157 sliceView.setShowActionDividers(true); in onBind()160 sliceView.setOnSliceActionListener( in onBind()[all …]
50 cardHolder.sliceView.setScrollable(false); in bindView()51 cardHolder.sliceView.setTag(card.getSliceUri()); in bindView()52 cardHolder.sliceView.setMode(SliceView.MODE_LARGE); in bindView()53 cardHolder.sliceView.setSlice(slice); in bindView()55 cardHolder.sliceView.setOnSliceActionListener((eventInfo, sliceItem) -> { in bindView()67 cardHolder.sliceView.setShowTitleItems(true); in bindView()69 cardHolder.sliceView.setShowHeaderDivider(true); in bindView()70 cardHolder.sliceView.setShowActionDividers(true); in bindView()75 public final SliceView sliceView; field in SliceFullCardRendererHelper.SliceViewHolder79 sliceView = view.findViewById(R.id.slice_view); in 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()
58 final SliceView sliceView = mSlicePreference.findViewById(R.id.slice_view); in onSliceUpdated_null_hideSliceView() local62 assertThat(sliceView.getVisibility()).isEqualTo(View.GONE); in onSliceUpdated_null_hideSliceView()67 final SliceView sliceView = mSlicePreference.findViewById(R.id.slice_view); in onSliceUpdated_notNull_showSliceView() local71 assertThat(sliceView.getVisibility()).isEqualTo(View.VISIBLE); in onSliceUpdated_notNull_showSliceView()
100 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_invalidScheme_sliceShouldBeNull()112 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_viewTypeFullWidth_shouldSetCachedSlice()125 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_viewTypeSticky_shouldSetCachedSlice()202 final View sliceView = viewHolder.itemView.findViewById(R.id.slice_view); in viewClick_keepCard_shouldShowSlice() local212 assertThat(sliceView.getVisibility()).isEqualTo(View.VISIBLE); in viewClick_keepCard_shouldShowSlice()263 final View sliceView = viewHolder.itemView.findViewById(R.id.slice_view); in onStop_cardIsInDismissalView_shouldResetToSliceView() local272 assertThat(sliceView.getVisibility()).isEqualTo(View.VISIBLE); in onStop_cardIsInDismissalView_shouldResetToSliceView()
81 assertThat(((SliceViewHolder) viewHolder).sliceView.isScrollable()).isFalse(); in bindView_shouldSetScrollableToFalse()91 assertThat(((SliceViewHolder) viewHolder).sliceView.getTag()).isEqualTo(card.getSliceUri()); in bindView_shouldSetTagToSliceUri()100 assertThat(((SliceViewHolder) viewHolder).sliceView.getMode()).isEqualTo( in bindView_shouldSetModeToLarge()110 assertThat(((SliceViewHolder) viewHolder).sliceView.getSlice().getUri()).isEqualTo( in bindView_shouldSetSlice()