Home
last modified time | relevance | path

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

/frameworks/support/slices/view/src/androidTest/java/androidx/slice/
DSliceXmlTest.java63 SliceUtils.serializeSlice(s, mContext, outputStream, "UTF-8", new SliceUtils in testThrowForAction()
73 SliceUtils.serializeSlice(s, mContext, outputStream, "UTF-8", new SliceUtils in testThrowForRemoteInput()
83 SliceUtils.serializeSlice(s, mContext, outputStream, "UTF-8", new SliceUtils in testThrowForImage()
93 SliceUtils.serializeSlice(s, mContext, outputStream, "UTF-8", new SliceUtils in testNoThrowForAction()
94 .SerializeOptions().setActionMode(SliceUtils.SerializeOptions.MODE_REMOVE)); in testNoThrowForAction()
103 SliceUtils.serializeSlice(s, mContext, outputStream, "UTF-8", new SliceUtils in testNoThrowForRemoteInput()
104 .SerializeOptions().setActionMode(SliceUtils.SerializeOptions.MODE_REMOVE)); in testNoThrowForRemoteInput()
113 SliceUtils.serializeSlice(s, mContext, outputStream, "UTF-8", new SliceUtils in testNoThrowForImage()
114 .SerializeOptions().setImageMode(SliceUtils.SerializeOptions.MODE_REMOVE)); in testNoThrowForImage()
139 SliceUtils.serializeSlice(before, mContext, outputStream, "UTF-8", in testSerialization()
[all …]
/frameworks/support/slices/view/src/main/java/androidx/slice/
DSliceXml.java79 String encoding, SliceUtils.SliceActionListener listener) in parseSlice()
80 throws IOException, SliceUtils.SliceParseException { in parseSlice()
103 SliceUtils.SliceActionListener listener) in parseSlice()
104 throws IOException, XmlPullParserException, SliceUtils.SliceParseException { in parseSlice()
126 XmlPullParser parser, final SliceUtils.SliceActionListener listener) in parseItem()
127 throws IOException, XmlPullParserException, SliceUtils.SliceParseException { in parseItem()
158 throw new SliceUtils.SliceParseException( in parseItem()
163 throw new SliceUtils.SliceParseException( in parseItem()
217 String encoding, SliceUtils.SerializeOptions options) throws IOException { in serializeSlice()
232 private static void serialize(Slice s, Context context, SliceUtils.SerializeOptions options, in serialize()
[all …]
DSliceUtils.java55 public class SliceUtils { class
57 private SliceUtils() { in SliceUtils() method in SliceUtils
/frameworks/support/slices/view/api/
Dcurrent.txt45 public class SliceUtils {
49 … java.lang.String, androidx.slice.SliceUtils.SliceActionListener) throws java.io.IOException, andr…
50 …ontent.Context, java.io.OutputStream, java.lang.String, androidx.slice.SliceUtils.SerializeOptions…
56 public static class SliceUtils.SerializeOptions {
57 ctor public SliceUtils.SerializeOptions();
58 method public androidx.slice.SliceUtils.SerializeOptions setActionMode(int);
59 method public androidx.slice.SliceUtils.SerializeOptions setImageMode(int);
60 method public androidx.slice.SliceUtils.SerializeOptions setMaxImageHeight(int);
61 method public androidx.slice.SliceUtils.SerializeOptions setMaxImageWidth(int);
67 public static abstract interface SliceUtils.SliceActionListener {
[all …]
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/
DSliceRenderer.java36 import androidx.slice.SliceUtils;
185 SliceUtils.serializeSlice(s, mContext, outputStream, "UTF-8", in serAndUnSer()
186 new SliceUtils.SerializeOptions() in serAndUnSer()
187 .setImageMode(SliceUtils.SerializeOptions.MODE_CONVERT) in serAndUnSer()
188 .setActionMode(SliceUtils.SerializeOptions.MODE_CONVERT)); in serAndUnSer()
193 return SliceUtils.parseSlice(mContext, inputStream, "UTF-8", in serAndUnSer()
194 new SliceUtils.SliceActionListener() { in serAndUnSer()
/frameworks/support/slices/view/api_legacy/
Dcurrent.txt19 public class SliceUtils {
23 …ontent.Context, java.io.OutputStream, java.lang.String, androidx.slice.SliceUtils.SerializeOptions…
29 public static class SliceUtils.SerializeOptions {
30 ctor public SliceUtils.SerializeOptions();
31 method public androidx.slice.SliceUtils.SerializeOptions setActionMode(int);
32 method public androidx.slice.SliceUtils.SerializeOptions setImageMode(int);
D28.0.0-alpha1.txt19 public class SliceUtils {
23 …nt.Context, java.io.OutputStream, java.lang.String, androidx.app.slice.SliceUtils.SerializeOptions…
29 public static class SliceUtils.SerializeOptions {
30 ctor public SliceUtils.SerializeOptions();
31 method public androidx.app.slice.SliceUtils.SerializeOptions setActionMode(int);
32 method public androidx.app.slice.SliceUtils.SerializeOptions setImageMode(int);