Home
last modified time | relevance | path

Searched refs:SliceMetadata (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/slices/view/src/androidTest/java/androidx/slice/
DSliceMetadataTest.java21 import static androidx.slice.SliceMetadata.LOADED_ALL;
22 import static androidx.slice.SliceMetadata.LOADED_NONE;
23 import static androidx.slice.SliceMetadata.LOADED_PARTIAL;
84 SliceMetadata sliceMetadata = SliceMetadata.from(mContext, lb.build()); in testGetSliceActionsNull()
111 SliceMetadata sliceMetadata = SliceMetadata.from(mContext, lb.build()); in testGetSliceActions()
138 SliceMetadata gridInfo = SliceMetadata.from(mContext, gridSlice); in testGetPrimaryActionForGrid()
161 SliceMetadata rowInfo = SliceMetadata.from(mContext, rowSlice); in testGetPrimaryActionForRow()
184 SliceMetadata headerInfo = SliceMetadata.from(mContext, headerSlice); in testGetPrimaryActionForHeader()
207 SliceMetadata rowInfo = SliceMetadata.from(mContext, rowSlice); in testGetPrimaryActionNull()
223 SliceMetadata gridInfo = SliceMetadata.from(mContext, gridSlice); in testGetHeaderTypeGrid()
[all …]
/frameworks/support/slices/view/src/main/java/androidx/slice/
DSliceMetadata.java64 public class SliceMetadata { class
108 public static SliceMetadata from(@NonNull Context context, @NonNull Slice slice) { in from()
109 return new SliceMetadata(context, slice); in from()
119 private SliceMetadata(@NonNull Context context, @NonNull Slice slice) { in SliceMetadata() method in SliceMetadata
DSliceUtils.java28 import static androidx.slice.SliceMetadata.LOADED_ALL;
29 import static androidx.slice.SliceMetadata.LOADED_NONE;
30 import static androidx.slice.SliceMetadata.LOADED_PARTIAL;
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DSliceView.java44 import androidx.slice.SliceMetadata;
411 mActions = SliceMetadata.getSliceActions(slice); in setSlice()
450 List<SliceItem> availableActions = SliceMetadata.getSliceActions(mCurrentSlice); in setSliceActions()
585 SliceMetadata sliceMetadata = SliceMetadata.from(getContext(), mCurrentSlice); in reinflate()
DListContent.java45 import androidx.slice.SliceMetadata;
126 mSliceActions = SliceMetadata.getSliceActions(slice); in populate()
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
DSliceBrowser.java52 import androidx.slice.SliceMetadata;
226 SliceMetadata metadata = SliceMetadata.from(this, slice); in addSlice()
/frameworks/support/slices/view/api/
Dcurrent.txt25 public class SliceMetadata {
26 …method public static androidx.slice.SliceMetadata from(android.content.Context, androidx.slice.Sli…