Searched refs:SliceItem (Results 1 – 16 of 16) sorted by relevance
39 public static SliceItem getPrimaryIcon(Slice slice) { in getPrimaryIcon()40 for (SliceItem item : slice.getItems()) { in getPrimaryIcon()41 if (Objects.equals(item.getFormat(), SliceItem.FORMAT_IMAGE)) { in getPrimaryIcon()44 if (!(compareTypes(item, SliceItem.FORMAT_SLICE) in getPrimaryIcon()48 && !compareTypes(item, SliceItem.FORMAT_ACTION)) { in getPrimaryIcon()49 SliceItem icon = SliceQuery.find(item, SliceItem.FORMAT_IMAGE); in getPrimaryIcon()61 public static SliceItem findNotContaining(SliceItem container, List<SliceItem> list) { in findNotContaining()62 SliceItem ret = null; in findNotContaining()64 SliceItem remove = list.remove(0); in findNotContaining()75 private static boolean contains(SliceItem container, SliceItem item) { in contains()[all …]
262 private final SliceItem[] mItems;267 Slice(ArrayList<SliceItem> items, @SliceHint String[] hints, Uri uri, SliceSpec spec) { in Slice()269 mItems = items.toArray(new SliceItem[items.size()]); in Slice()277 mItems = new SliceItem[n]; in Slice()279 mItems[i] = SliceItem.CREATOR.createFromParcel(in); in Slice()302 public List<SliceItem> getItems() { in getItems()355 private ArrayList<SliceItem> mItems = new ArrayList<>();409 mItems.add(new SliceItem(slice, SliceItem.FORMAT_SLICE, subType, in addSubSlice()425 mItems.add(new SliceItem(action, s, SliceItem.FORMAT_ACTION, subType, hints.toArray( in addAction()437 mItems.add(new SliceItem(text, SliceItem.FORMAT_TEXT, subType, hints)); in addText()[all …]
62 public final class SliceItem implements Parcelable { class130 public SliceItem(Object obj, @SliceType String format, String subType, in SliceItem() method in SliceItem138 public SliceItem(Object obj, @SliceType String format, String subType, in SliceItem() method in SliceItem149 public SliceItem(PendingIntent intent, Slice slice, String format, String subType, in SliceItem() method in SliceItem269 public SliceItem(Parcel in) { in SliceItem() method in SliceItem371 …ublic static final @android.annotation.NonNull Creator<SliceItem> CREATOR = new Creator<SliceItem>…373 public SliceItem createFromParcel(Parcel in) {374 return new SliceItem(in);378 public SliceItem[] newArray(int size) {379 return new SliceItem[size];
21 import androidx.slice.SliceItem66 val slices = ArrayDeque<SliceItem>() in isClickable()69 val item: SliceItem = slices.removeFirst() in isClickable()71 android.app.slice.SliceItem.FORMAT_ACTION -> { in isClickable()77 android.app.slice.SliceItem.FORMAT_SLICE -> { in isClickable()
20 import androidx.slice.SliceItem28 val sliceItem: SliceItem = mock { in createSlice()29 whenever(format).thenReturn(android.app.slice.SliceItem.FORMAT_SLICE) in createSlice()
20 import static android.app.slice.SliceItem.FORMAT_SLICE;33 import androidx.slice.SliceItem;129 for (SliceItem item : slice.getItems()) { in isValidSlice()
42 import androidx.slice.SliceItem;144 SliceItem mainTitle = header.getTitleItem(); in showSlice()163 SliceItem item = rc.getSliceItem(); in showSlice()181 final SliceItem titleItem = rc.getTitleItem(); in showSlice()186 SliceItem icon = SliceQuery.find(item.getSlice(), in showSlice()187 android.app.slice.SliceItem.FORMAT_IMAGE); in showSlice()
41 import androidx.slice.SliceItem;130 SliceItem text = SliceQuery.find(slice, android.app.slice.SliceItem.FORMAT_TEXT, in returnsValidSlice()
20 import android.app.slice.SliceItem.FORMAT_SLICE in <lambda>()
8882 Landroid/app/slice/Slice;->mItems:[Landroid/app/slice/SliceItem;8886 Landroid/app/slice/SliceItem;-><init>(Landroid/app/PendingIntent;Landroid/app/slice/Slice;Ljava/lan…8887 Landroid/app/slice/SliceItem;-><init>(Landroid/os/Parcel;)V8888 Landroid/app/slice/SliceItem;-><init>(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/u…8889 Landroid/app/slice/SliceItem;-><init>(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;[Ljava/…8890 Landroid/app/slice/SliceItem;->getBaseType(Ljava/lang/String;)Ljava/lang/String;8891 Landroid/app/slice/SliceItem;->getRemoteView()Landroid/widget/RemoteViews;8892 Landroid/app/slice/SliceItem;->hasAnyHints([Ljava/lang/String;)Z8893 Landroid/app/slice/SliceItem;->hasHints([Ljava/lang/String;)Z8894 Landroid/app/slice/SliceItem;->mFormat:Ljava/lang/String;[all …]
1225 android.app.slice.SliceItem$11226 android.app.slice.SliceItem14072 [Landroid.app.slice.SliceItem;
3345 HSPLandroid/app/slice/SliceItem;->getAction()Landroid/app/PendingIntent;3346 HSPLandroid/app/slice/SliceItem;->getFormat()Ljava/lang/String;3347 HSPLandroid/app/slice/SliceItem;->getHints()Ljava/util/List;3348 HSPLandroid/app/slice/SliceItem;->getText()Ljava/lang/CharSequence;23602 Landroid/app/slice/SliceItem$1;23603 Landroid/app/slice/SliceItem;36519 [Landroid/app/slice/SliceItem;
1225 android.app.slice.SliceItem$11226 android.app.slice.SliceItem17095 [Landroid.app.slice.SliceItem;
3345 HSPLandroid/app/slice/SliceItem;->getAction()Landroid/app/PendingIntent;3346 HSPLandroid/app/slice/SliceItem;->getFormat()Ljava/lang/String;3347 HSPLandroid/app/slice/SliceItem;->getHints()Ljava/util/List;3348 HSPLandroid/app/slice/SliceItem;->getText()Ljava/lang/CharSequence;33732 Landroid/app/slice/SliceItem$1;33733 Landroid/app/slice/SliceItem;49686 [Landroid/app/slice/SliceItem;
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
9248 method @Deprecated public java.util.List<android.app.slice.SliceItem> getItems();9302 @Deprecated public final class SliceItem implements android.os.Parcelable {9317 …ed @NonNull public static final android.os.Parcelable.Creator<android.app.slice.SliceItem> CREATOR;