Searched refs:mSliceLiveData (Results 1 – 3 of 3) sorted by relevance
54 private final List<LiveData<Slice>> mSliceLiveData; field in PanelSlicesAdapter61 mSliceLiveData = new ArrayList<>(sliceLiveData); in PanelSlicesAdapter()77 sliceRowViewHolder.onBind(mSliceLiveData.get(position)); in onBindViewHolder()85 return Math.min(mSliceLiveData.size(), MAX_NUM_OF_SLICES); in getItemCount()94 return mSliceLiveData.subList(0, getItemCount()); in getData()
87 private final List<LiveData<Slice>> mSliceLiveData = new ArrayList<>(); field in PanelFragment206 mSliceLiveData.clear(); in loadAllSlices()214 mSliceLiveData.add(sliceLiveData); in loadAllSlices()238 mSliceLiveData.remove(sliceLiveData); in loadAllSlices()265 this, mSliceLiveData, mPanel.getMetricsCategory()); in loadPanelWhenReady()
60 private LiveData<Slice> mSliceLiveData; field in SliceContextualCardRendererTest111 mRenderer.mSliceLiveDataMap.put(TEST_SLICE_URI, mSliceLiveData); in bindView_sliceLiveDataShouldRemoveObservers()115 verify(mSliceLiveData).removeObservers(mLifecycleOwner); in bindView_sliceLiveDataShouldRemoveObservers()158 mRenderer.mSliceLiveDataMap.put(TEST_SLICE_URI, mSliceLiveData); in bindView_reuseViewHolder_shouldHideSwipeBackgroundBeforeSliceBinding()169 mRenderer.mSliceLiveDataMap.put(TEST_SLICE_URI, mSliceLiveData); in bindView_deferredSetupCard_shouldNotCrash()225 mRenderer.mSliceLiveDataMap.put(TEST_SLICE_URI, mSliceLiveData); in viewClick_removeCard_sliceLiveDataShouldRemoveObservers()