Home
last modified time | relevance | path

Searched refs:Slice (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/app/slice/
DSliceItem.java122 protected @Slice.SliceHint
140 @Slice.SliceHint String[] hints) { in SliceItem()
150 public SliceItem(PendingIntent intent, Slice slice, String format, String subType, in SliceItem()
151 @Slice.SliceHint String[] hints) { in SliceItem()
159 public @NonNull @Slice.SliceHint List<String> getHints() { in getHints()
218 return ((Pair<PendingIntent, Slice>) mObj).first; in getAction()
245 public Slice getSlice() { in getSlice()
247 return ((Pair<PendingIntent, Slice>) mObj).second; in getSlice()
249 return (Slice) mObj; in getSlice()
272 public boolean hasHint(@Slice.SliceHint String hint) { in hasHint()
[all …]
DSlice.java46 public final class Slice implements Parcelable { class
277 Slice(ArrayList<SliceItem> items, @SliceHint String[] hints, Uri uri, SliceSpec spec) { in Slice() method in Slice
284 protected Slice(Parcel in) { in Slice() method in Slice
388 public Builder(@NonNull Slice.Builder parent) { in Builder()
430 public Builder addSubSlice(@NonNull Slice slice, @Nullable @SliceSubtype String subType) { in addSubSlice()
442 public Slice.Builder addAction(@NonNull PendingIntent action, @NonNull Slice s, in addAction()
481 public Slice.Builder addRemoteInput(RemoteInput remoteInput, in addRemoteInput()
506 public Slice.Builder addTimestamp(long time, @Nullable @SliceSubtype String subType, in addTimestamp()
516 public Slice.Builder addLong(long value, @Nullable @SliceSubtype String subType, in addLong()
530 public Slice.Builder addBundle(Bundle bundle, @Nullable @SliceSubtype String subType, in addBundle()
[all …]
DSliceProvider.java18 import static android.app.slice.Slice.SUBTYPE_COLOR;
215 public Slice onBindSlice(Uri sliceUri, Set<SliceSpec> supportedSpecs) { in onBindSlice()
224 public Slice onBindSlice(Uri sliceUri, List<SliceSpec> supportedSpecs) { in onBindSlice()
366 Slice s = handleBindSlice(uri, supportedSpecs, callingPackage, callingUid, callingPid); in call()
377 Slice s = handleBindSlice(uri, supportedSpecs, getCallingPackage(), in call()
452 private Slice handleBindSlice(Uri sliceUri, List<SliceSpec> supportedSpecs, in handleBindSlice()
476 public Slice createPermissionSlice(Context context, Uri sliceUri, in createPermissionSlice()
486 Slice.Builder parent = new Slice.Builder(sliceUri); in createPermissionSlice()
487 Slice.Builder childAction = new Slice.Builder(parent) in createPermissionSlice()
491 .addHints(Arrays.asList(Slice.HINT_TITLE, Slice.HINT_SHORTCUT)) in createPermissionSlice()
[all …]
DSliceQuery.java39 public static SliceItem getPrimaryIcon(Slice slice) { in getPrimaryIcon()
45 && item.hasHint(Slice.HINT_LIST)) in getPrimaryIcon()
46 && !item.hasHint(Slice.HINT_ACTIONS) in getPrimaryIcon()
47 && !item.hasHint(Slice.HINT_LIST_ITEM) in getPrimaryIcon()
107 public static SliceItem find(Slice s, String type, String hints, String nonHints) { in find()
114 public static SliceItem find(Slice s, String type) { in find()
135 public static SliceItem find(Slice s, String type, String[] hints, String[] nonHints) { in find()
DISliceListener.aidl20 import android.app.slice.Slice;
24 void onSliceUpdated(in Slice s); in onSliceUpdated()
DSlice.aidl19 parcelable Slice;
DSliceManager.java243 public @Nullable Slice bindSlice(@NonNull Uri uri, @NonNull Set<SliceSpec> supportedSpecs) { in bindSlice()
273 public @Nullable Slice bindSlice(@NonNull Uri uri, @NonNull List<SliceSpec> supportedSpecs) { in bindSlice()
372 public @Nullable Slice bindSlice(@NonNull Intent intent, in bindSlice()
413 public Slice bindSlice(@NonNull Intent intent, in bindSlice()
/frameworks/ml/nn/common/include/
DMetaModel.h108 struct Slice { struct
117 mutable Slice<hal::V1_0::Model> mSliceV1_0; argument
118 mutable Slice<hal::V1_1::Model> mSliceV1_1;
119 mutable Slice<hal::V1_2::Model> mSliceV1_2;
122 ReturnedSlice<T_SlicedModel> getSlice(Slice<T_SlicedModel>* slice) const;
125 Slice<T_SlicedModel> makeSlice() const;
135 Slice<T_SlicedModel>* slice,
137 OrigOperandToSlicedInputOperandIndex<typename Slice<T_SlicedModel>::Operand>*
/frameworks/ml/nn/common/
DMetaModel.cpp181 MetaModel::ReturnedSlice<T_SlicedModel> MetaModel::getSlice(Slice<T_SlicedModel>* slice) const { in getSlice()
195 Slice<hal::V1_0::Model>* slice) const;
197 Slice<hal::V1_1::Model>* slice) const;
199 Slice<hal::V1_2::Model>* slice) const;
323 Slice<T_SlicedModel>* slice, std::map<uint32_t, uint32_t>* origOperandIndexToSlicedIndex, in processOperations()
324 OrigOperandToSlicedInputOperandIndex<typename Slice<T_SlicedModel>::Operand>* in processOperations()
328 using SlicedOperand = typename Slice<T_SlicedModel>::Operand; in processOperations()
329 using SlicedOperation = typename Slice<T_SlicedModel>::Operation; in processOperations()
330 using SlicedOperationType = typename Slice<T_SlicedModel>::OperationType; in processOperations()
425 MetaModel::Slice<T_SlicedModel> MetaModel::makeSlice() const { in makeSlice()
[all …]
DAndroid.bp60 "operations/Slice.cpp",
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java19 import static android.app.slice.Slice.HINT_LIST_ITEM;
50 import androidx.slice.Slice;
84 Observer<Slice>, TunerService.Tunable, ConfigurationController.ConfigurationListener {
100 private LiveData<Slice> mLiveData;
108 private Slice mSlice;
337 public void onChanged(Slice slice) { in onChanged()
391 Slice slice; in refresh()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java39 import androidx.slice.Slice;
113 Slice slice = mProvider.onBindSlice(mProvider.getUri()); in returnsValidSlice()
115 android.app.slice.Slice.HINT_TITLE, in returnsValidSlice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java43 import androidx.slice.Slice;
209 public Slice onBindSlice(Uri sliceUri) { in onBindSlice()
211 Slice slice; in onBindSlice()
/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java21 import android.app.slice.Slice;
/frameworks/base/api/
Dremoved.txt78 public final class Slice implements android.os.Parcelable {
83 public static class Slice.Builder {
84 ctor @Deprecated public Slice.Builder(@NonNull android.net.Uri);
85 …method @Deprecated public android.app.slice.Slice.Builder addTimestamp(long, @Nullable String, jav…
86 method @Deprecated public android.app.slice.Slice.Builder setSpec(android.app.slice.SliceSpec);
95 …method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.net.Uri, @N…
96 …method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.content.Int…
101 …method @Deprecated public android.app.slice.Slice onBindSlice(android.net.Uri, java.util.List<andr…
Dcurrent.txt7478 public final class Slice implements android.os.Parcelable {
7479 ctor protected Slice(android.os.Parcel);
7487 … field @NonNull public static final android.os.Parcelable.Creator<android.app.slice.Slice> CREATOR;
7520 public static class Slice.Builder {
7521 ctor public Slice.Builder(@NonNull android.net.Uri, android.app.slice.SliceSpec);
7522 ctor public Slice.Builder(@NonNull android.app.slice.Slice.Builder);
7523 …thod public android.app.slice.Slice.Builder addAction(@NonNull android.app.PendingIntent, @NonNull…
7524 …method public android.app.slice.Slice.Builder addBundle(android.os.Bundle, @Nullable String, java.…
7525 method public android.app.slice.Slice.Builder addHints(java.util.List<java.lang.String>);
7526 …method public android.app.slice.Slice.Builder addIcon(android.graphics.drawable.Icon, @Nullable St…
[all …]
/frameworks/base/non-updatable-api/
Dremoved.txt78 public final class Slice implements android.os.Parcelable {
83 public static class Slice.Builder {
84 ctor @Deprecated public Slice.Builder(@NonNull android.net.Uri);
85 …method @Deprecated public android.app.slice.Slice.Builder addTimestamp(long, @Nullable String, jav…
86 method @Deprecated public android.app.slice.Slice.Builder setSpec(android.app.slice.SliceSpec);
95 …method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.net.Uri, @N…
96 …method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.content.Int…
101 …method @Deprecated public android.app.slice.Slice onBindSlice(android.net.Uri, java.util.List<andr…
Dcurrent.txt7478 public final class Slice implements android.os.Parcelable {
7479 ctor protected Slice(android.os.Parcel);
7487 … field @NonNull public static final android.os.Parcelable.Creator<android.app.slice.Slice> CREATOR;
7520 public static class Slice.Builder {
7521 ctor public Slice.Builder(@NonNull android.net.Uri, android.app.slice.SliceSpec);
7522 ctor public Slice.Builder(@NonNull android.app.slice.Slice.Builder);
7523 …thod public android.app.slice.Slice.Builder addAction(@NonNull android.app.PendingIntent, @NonNull…
7524 …method public android.app.slice.Slice.Builder addBundle(android.os.Bundle, @Nullable String, java.…
7525 method public android.app.slice.Slice.Builder addHints(java.util.List<java.lang.String>);
7526 …method public android.app.slice.Slice.Builder addIcon(android.graphics.drawable.Icon, @Nullable St…
[all …]
/frameworks/native/vulkan/api/templates/
Dvulkan_common.tmpl15 {{define "Type.Slice" }}{{Log "%T %+v" $.Node $.Node}}{{Node "Type" $.Type.To}}*{{end}}
Dvk_xml.tmpl375 {{define "XML.Type.Slice" }}<type>{{Node "XML.Type" $.Type.To}}</type>*{{end}}
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto496 // ACTION: A Settings Slice is requested
501 // ACTION: A Settings Slice is updated with new value
621 // ACTION: An interaction with a Slice or other component in the Panel.
683 // ACTION: Settings > Initialize Search bar > Verify Slice > Invalid data
686 // ACTION: Settings > Initialize Search bar > Verify Slice > Parsing error
689 // ACTION: Settings > Initialize Search bar > Verify Slice > Other exception
2096 // OPEN: Slice became visible.
2097 // CLOSE: Slice became invisible.
2098 // ACTION: Slice was tapped.
/frameworks/base/core/java/android/app/
DWallpaperInfo.java21 import android.app.slice.Slice;
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto5767 // ACTION: A Settings Slice is requested
5772 // ACTION: A Settings Slice is updated with new value
5913 // OPEN: Slice became visible.
5914 // CLOSE: Slice became invisible.
5915 // ACTION: Slice was tapped.
7043 // ACTION: An interaction with a Slice or other component in the Panel.
7297 // ACTION: Settings > Initialize Search bar > Verify Slice > Invalid data
7300 // ACTION: Settings > Initialize Search bar > Verify Slice > Parsing error
7303 // ACTION: Settings > Initialize Search bar > Verify Slice > Other exception
/frameworks/base/config/
Dpreloaded-classes615 android.app.slice.Slice$1
616 android.app.slice.Slice$Builder
617 android.app.slice.Slice
Dboot-image-profile.txt2980 HSPLandroid/app/slice/Slice$1;-><init>()V
2981 HSPLandroid/app/slice/Slice$Builder;-><init>(Landroid/net/Uri;Landroid/app/slice/SliceSpec;)V
2982 …droid/app/slice/Slice$Builder;->addAction(Landroid/app/PendingIntent;Landroid/app/slice/Slice;Ljav…
2983 HSPLandroid/app/slice/Slice$Builder;->addHints(Ljava/util/List;)Landroid/app/slice/Slice$Builder;
2984 …Landroid/app/slice/Slice$Builder;->addIcon(Landroid/graphics/drawable/Icon;Ljava/lang/String;Ljava…
2985 HSPLandroid/app/slice/Slice$Builder;->addInt(ILjava/lang/String;Ljava/util/List;)Landroid/app/slice…
2986 HSPLandroid/app/slice/Slice$Builder;->addLong(JLjava/lang/String;Ljava/util/List;)Landroid/app/slic…
2987 HSPLandroid/app/slice/Slice$Builder;->addSubSlice(Landroid/app/slice/Slice;Ljava/lang/String;)Landr…
2988 HSPLandroid/app/slice/Slice$Builder;->addText(Ljava/lang/CharSequence;Ljava/lang/String;Ljava/util/…
2989 HSPLandroid/app/slice/Slice$Builder;->build()Landroid/app/slice/Slice;
[all …]

12