Home
last modified time | relevance | path

Searched refs:SliceItem (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/app/slice/
DSliceQuery.java39 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 …]
DSlice.java272 private final SliceItem[] mItems;
277 Slice(ArrayList<SliceItem> items, @SliceHint String[] hints, Uri uri, SliceSpec spec) { in Slice()
279 mItems = items.toArray(new SliceItem[items.size()]); in Slice()
287 mItems = new SliceItem[n]; in Slice()
289 mItems[i] = SliceItem.CREATOR.createFromParcel(in); in Slice()
312 public List<SliceItem> getItems() { in getItems()
360 private ArrayList<SliceItem> mItems = new ArrayList<>();
432 mItems.add(new SliceItem(slice, SliceItem.FORMAT_SLICE, subType, in addSubSlice()
448 mItems.add(new SliceItem(action, s, SliceItem.FORMAT_ACTION, subType, hints.toArray( in addAction()
460 mItems.add(new SliceItem(text, SliceItem.FORMAT_TEXT, subType, hints)); in addText()
[all …]
DSliceItem.java57 public final class SliceItem implements Parcelable { class
131 public SliceItem(Object obj, @SliceType String format, String subType, in SliceItem() method in SliceItem
139 public SliceItem(Object obj, @SliceType String format, String subType, in SliceItem() method in SliceItem
150 public SliceItem(PendingIntent intent, Slice slice, String format, String subType, in SliceItem() method in SliceItem
279 public SliceItem(Parcel in) { in SliceItem() method in SliceItem
381 …ublic static final @android.annotation.NonNull Creator<SliceItem> CREATOR = new Creator<SliceItem>…
383 public SliceItem createFromParcel(Parcel in) {
384 return new SliceItem(in);
388 public SliceItem[] newArray(int size) {
389 return new SliceItem[size];
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java51 import androidx.slice.SliceItem;
223 SliceItem mainTitle = header.getTitleItem(); in showSlice()
242 SliceItem item = rc.getSliceItem(); in showSlice()
260 final SliceItem titleItem = rc.getTitleItem(); in showSlice()
267 SliceItem icon = SliceQuery.find(item.getSlice(), in showSlice()
268 android.app.slice.SliceItem.FORMAT_IMAGE); in showSlice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java40 import androidx.slice.SliceItem;
114 SliceItem text = SliceQuery.find(slice, android.app.slice.SliceItem.FORMAT_TEXT, in returnsValidSlice()
/frameworks/base/api/
Dremoved.txt89 public final class SliceItem implements android.os.Parcelable {
Dcurrent.txt7482 method public java.util.List<android.app.slice.SliceItem> getItems();
7536 public final class SliceItem implements android.os.Parcelable {
7551 …field @NonNull public static final android.os.Parcelable.Creator<android.app.slice.SliceItem> CREA…
/frameworks/base/non-updatable-api/
Dremoved.txt89 public final class SliceItem implements android.os.Parcelable {
Dcurrent.txt7482 method public java.util.List<android.app.slice.SliceItem> getItems();
7536 public final class SliceItem implements android.os.Parcelable {
7551 …field @NonNull public static final android.os.Parcelable.Creator<android.app.slice.SliceItem> CREA…
/frameworks/base/config/
Dpreloaded-classes618 android.app.slice.SliceItem$1
619 android.app.slice.SliceItem
Dhiddenapi-greylist-max-o.txt8885 Landroid/app/slice/Slice;->mItems:[Landroid/app/slice/SliceItem;
8889 Landroid/app/slice/SliceItem;-><init>(Landroid/app/PendingIntent;Landroid/app/slice/Slice;Ljava/lan…
8890 Landroid/app/slice/SliceItem;-><init>(Landroid/os/Parcel;)V
8891 Landroid/app/slice/SliceItem;-><init>(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/u…
8892 Landroid/app/slice/SliceItem;-><init>(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;[Ljava/…
8893 Landroid/app/slice/SliceItem;->getBaseType(Ljava/lang/String;)Ljava/lang/String;
8894 Landroid/app/slice/SliceItem;->getRemoteView()Landroid/widget/RemoteViews;
8895 Landroid/app/slice/SliceItem;->hasAnyHints([Ljava/lang/String;)Z
8896 Landroid/app/slice/SliceItem;->hasHints([Ljava/lang/String;)Z
8897 Landroid/app/slice/SliceItem;->mFormat:Ljava/lang/String;
[all …]
Dboot-image-profile.txt2995 HSPLandroid/app/slice/SliceItem$1;-><init>()V
2996 HSPLandroid/app/slice/SliceItem;->getAction()Landroid/app/PendingIntent;
2997 HSPLandroid/app/slice/SliceItem;->getFormat()Ljava/lang/String;
2998 HSPLandroid/app/slice/SliceItem;->getHints()Ljava/util/List;
2999 HSPLandroid/app/slice/SliceItem;->getIcon()Landroid/graphics/drawable/Icon;
3000 HSPLandroid/app/slice/SliceItem;->getLong()J
3001 HSPLandroid/app/slice/SliceItem;->getSlice()Landroid/app/slice/Slice;
3002 HSPLandroid/app/slice/SliceItem;->getSubType()Ljava/lang/String;
3003 HSPLandroid/app/slice/SliceItem;->getText()Ljava/lang/CharSequence;
3004 HSPLandroid/app/slice/SliceItem;->writeObj(Landroid/os/Parcel;ILjava/lang/Object;Ljava/lang/String;…
[all …]