Searched refs:mListContent (Results 1 – 4 of 4) sorted by relevance
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
D | LargeTemplateView.java | 48 private ListContent mListContent; field in LargeTemplateView 128 if (mListContent == null || mListContent.getHeaderItem() == null) { in getSmallHeight() 131 SliceItem headerItem = mListContent.getHeaderItem(); in getSmallHeight() 132 return mListContent.getHeight(getContext(), headerItem, true /* isHeader */, in getSmallHeight() 157 mListContent = sliceContent; in setSliceContent() 180 if (mListContent == null) { in populate() 196 if (mListContent == null) { in updateDisplayedItems() 204 mDisplayedItems = mListContent.getItemsForNonScrollingList(-1); in updateDisplayedItems() 206 mDisplayedItems = mListContent.getItemsForNonScrollingList(height); in updateDisplayedItems() 209 mDisplayedItems = mListContent.getRowItems(); in updateDisplayedItems() [all …]
|
D | ShortcutView.java | 59 private ListContent mListContent; field in ShortcutView 78 mListContent = sliceContent; in setSliceContent() 79 if (mListContent == null) { in setSliceContent() 83 SliceItem colorItem = mListContent.getColorItem(); in setSliceContent() 117 if (mListContent == null) { in performClick() 135 : new SliceItem(mListContent.getSlice(), FORMAT_SLICE, in performClick() 136 null /* subtype */, mListContent.getSlice().getHints()); in performClick() 150 if (mListContent == null) { in determineShortcutItems() 153 SliceItem primaryAction = mListContent.getPrimaryAction(); in determineShortcutItems() 154 Slice slice = mListContent.getSlice(); in determineShortcutItems() [all …]
|
D | SliceView.java | 130 private ListContent mListContent; field in SliceView 221 || (mListContent != null && mListContent.getPrimaryAction() != null); in isSliceViewClickable() 235 if (mListContent != null && mListContent.getPrimaryAction() != null) { in onClick() 237 SliceActionImpl sa = new SliceActionImpl(mListContent.getPrimaryAction()); in onClick() 242 mSliceObserver.onSliceAction(eventInfo, mListContent.getPrimaryAction()); in onClick() 316 return mListContent != null && mListContent.isValid() ? mShortcutSize : 0; in getHeightForMode() 555 mListContent = new ListContent(getContext(), mCurrentSlice, mAttrs, mDefStyleAttr, in reinflate() 557 if (!mListContent.isValid()) { in reinflate() 594 mCurrentView.setSliceContent(mListContent); in reinflate()
|
/frameworks/support/slices/view/src/main/java/androidx/slice/ |
D | SliceMetadata.java | 93 private ListContent mListContent; field in SliceMetadata 132 mListContent = new ListContent(context, slice, null, 0, 0); in SliceMetadata() 133 mHeaderItem = mListContent.getHeaderItem(); in SliceMetadata() 134 mTemplateType = mListContent.getHeaderTemplateType(); in SliceMetadata() 136 SliceItem action = mListContent.getPrimaryAction(); in SliceMetadata() 175 return mListContent.getRowItems().size() > 1 || isHeaderFullGrid; in hasLargeMode() 291 if (!mListContent.isValid()) { in getLoadingState()
|