blob: e3e7cad5323b1f77d2ed100eb0f4ee1f5535e559 [file] [log] [blame]
// Signature format: 4.0
package androidx.slice {
@Deprecated public class SliceMetadata {
method @Deprecated public static androidx.slice.SliceMetadata from(android.content.Context?, androidx.slice.Slice);
method @Deprecated public long getExpiry();
method @Deprecated public int getHeaderType();
method @Deprecated public android.os.Bundle getHostExtras();
method @Deprecated public android.app.PendingIntent? getInputRangeAction();
method @Deprecated public long getLastUpdatedTime();
method @Deprecated public int getLoadingState();
method @Deprecated public androidx.slice.core.SliceAction? getPrimaryAction();
method @Deprecated public androidx.core.util.Pair<java.lang.Integer!,java.lang.Integer!>? getRange();
method @Deprecated public int getRangeValue();
method @Deprecated public java.util.List<androidx.slice.core.SliceAction!>? getSliceActions();
method @Deprecated public java.util.List<java.lang.String!>? getSliceKeywords();
method @Deprecated public CharSequence? getSubtitle();
method @Deprecated public CharSequence? getSummary();
method @Deprecated public CharSequence? getTitle();
method @Deprecated public java.util.List<androidx.slice.core.SliceAction!>! getToggles();
method @Deprecated public boolean hasLargeMode();
method @Deprecated public boolean isCachedSlice();
method @Deprecated public boolean isErrorSlice();
method @Deprecated public boolean isPermissionSlice();
method @Deprecated public boolean isSelection();
method @Deprecated public boolean sendInputRangeAction(int) throws android.app.PendingIntent.CanceledException;
method @Deprecated public boolean sendToggleAction(androidx.slice.core.SliceAction!, boolean) throws android.app.PendingIntent.CanceledException;
field @Deprecated public static final int LOADED_ALL = 2; // 0x2
field @Deprecated public static final int LOADED_NONE = 0; // 0x0
field @Deprecated public static final int LOADED_PARTIAL = 1; // 0x1
}
@Deprecated public class SliceStructure {
ctor @Deprecated public SliceStructure(androidx.slice.Slice!);
}
@Deprecated public class SliceUtils {
method @Deprecated public static androidx.slice.Slice parseSlice(android.content.Context, java.io.InputStream, String, androidx.slice.SliceUtils.SliceActionListener) throws java.io.IOException, androidx.slice.SliceUtils.SliceParseException;
method @Deprecated public static void serializeSlice(androidx.slice.Slice, android.content.Context, java.io.OutputStream, androidx.slice.SliceUtils.SerializeOptions) throws java.lang.IllegalArgumentException;
method @Deprecated public static androidx.slice.Slice stripSlice(androidx.slice.Slice, int, boolean);
}
@Deprecated public static class SliceUtils.SerializeOptions {
ctor @Deprecated public SliceUtils.SerializeOptions();
method @Deprecated public androidx.slice.SliceUtils.SerializeOptions! setActionMode(int);
method @Deprecated public androidx.slice.SliceUtils.SerializeOptions! setImageConversionFormat(android.graphics.Bitmap.CompressFormat!, int);
method @Deprecated public androidx.slice.SliceUtils.SerializeOptions! setImageMode(int);
method @Deprecated public androidx.slice.SliceUtils.SerializeOptions! setMaxImageHeight(int);
method @Deprecated public androidx.slice.SliceUtils.SerializeOptions! setMaxImageWidth(int);
field @Deprecated public static final int MODE_CONVERT = 2; // 0x2
field @Deprecated public static final int MODE_REMOVE = 1; // 0x1
field @Deprecated public static final int MODE_THROW = 0; // 0x0
}
@Deprecated public static interface SliceUtils.SliceActionListener {
method @Deprecated public void onSliceAction(android.net.Uri!, android.content.Context!, android.content.Intent!);
}
@Deprecated public static class SliceUtils.SliceParseException extends java.lang.Exception {
}
@Deprecated public abstract class SliceViewManager {
method @Deprecated public abstract androidx.slice.Slice? bindSlice(android.content.Intent);
method @Deprecated public abstract androidx.slice.Slice? bindSlice(android.net.Uri);
method @Deprecated public static androidx.slice.SliceViewManager getInstance(android.content.Context);
method @Deprecated @WorkerThread public abstract java.util.Collection<android.net.Uri!> getSliceDescendants(android.net.Uri);
method @Deprecated public abstract android.net.Uri? mapIntentToUri(android.content.Intent);
method @Deprecated public abstract void pinSlice(android.net.Uri);
method @Deprecated public abstract void registerSliceCallback(android.net.Uri, androidx.slice.SliceViewManager.SliceCallback);
method @Deprecated public abstract void registerSliceCallback(android.net.Uri, java.util.concurrent.Executor, androidx.slice.SliceViewManager.SliceCallback);
method @Deprecated public abstract void unpinSlice(android.net.Uri);
method @Deprecated public abstract void unregisterSliceCallback(android.net.Uri, androidx.slice.SliceViewManager.SliceCallback);
}
@Deprecated public static interface SliceViewManager.SliceCallback {
method @Deprecated public void onSliceUpdated(androidx.slice.Slice?);
}
}
package androidx.slice.widget {
@Deprecated public class EventInfo {
ctor @Deprecated public EventInfo(int, int, int, int);
method @Deprecated public void setPosition(int, int, int);
field @Deprecated public static final int ACTION_TYPE_BUTTON = 1; // 0x1
field @Deprecated public static final int ACTION_TYPE_CONTENT = 3; // 0x3
field @Deprecated public static final int ACTION_TYPE_SEE_MORE = 4; // 0x4
field @Deprecated public static final int ACTION_TYPE_SELECTION = 5; // 0x5
field @Deprecated public static final int ACTION_TYPE_SLIDER = 2; // 0x2
field @Deprecated public static final int ACTION_TYPE_TOGGLE = 0; // 0x0
field @Deprecated public static final int POSITION_CELL = 2; // 0x2
field @Deprecated public static final int POSITION_END = 1; // 0x1
field @Deprecated public static final int POSITION_START = 0; // 0x0
field @Deprecated public static final int ROW_TYPE_GRID = 1; // 0x1
field @Deprecated public static final int ROW_TYPE_LIST = 0; // 0x0
field @Deprecated public static final int ROW_TYPE_MESSAGING = 2; // 0x2
field @Deprecated public static final int ROW_TYPE_PROGRESS = 5; // 0x5
field @Deprecated public static final int ROW_TYPE_SELECTION = 6; // 0x6
field @Deprecated public static final int ROW_TYPE_SHORTCUT = -1; // 0xffffffff
field @Deprecated public static final int ROW_TYPE_SLIDER = 4; // 0x4
field @Deprecated public static final int ROW_TYPE_TOGGLE = 3; // 0x3
field @Deprecated public static final int STATE_OFF = 0; // 0x0
field @Deprecated public static final int STATE_ON = 1; // 0x1
field @Deprecated public int actionCount;
field @Deprecated public int actionIndex;
field @Deprecated public int actionPosition;
field @Deprecated public int actionType;
field @Deprecated public int rowIndex;
field @Deprecated public int rowTemplateType;
field @Deprecated public int sliceMode;
field @Deprecated public int state;
}
@Deprecated public class GridContent extends androidx.slice.widget.SliceContent {
method @Deprecated public android.graphics.Point getFirstImageSize(android.content.Context);
method @Deprecated public boolean isValid();
}
@Deprecated public class GridRowView extends androidx.slice.widget.SliceChildView implements android.view.View.OnClickListener android.view.View.OnTouchListener {
ctor @Deprecated public GridRowView(android.content.Context);
ctor @Deprecated public GridRowView(android.content.Context, android.util.AttributeSet?);
method @Deprecated protected boolean addImageItem(androidx.slice.SliceItem, androidx.slice.SliceItem?, int, android.view.ViewGroup, boolean);
method @Deprecated protected int getExtraBottomPadding();
method @Deprecated protected int getExtraTopPadding();
method @Deprecated protected int getMaxCells();
method @Deprecated protected int getTitleTextLayout();
method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public void onClick(android.view.View);
method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public boolean onTouch(android.view.View, android.view.MotionEvent);
method @Deprecated protected void populateViews();
method @Deprecated public void resetView();
method @Deprecated protected boolean scheduleMaxCellsUpdate();
}
@Deprecated public interface RowStyleFactory {
method @Deprecated @StyleRes public int getRowStyleRes(androidx.slice.SliceItem);
}
@Deprecated public class RowView extends androidx.slice.widget.SliceChildView implements android.widget.AdapterView.OnItemSelectedListener android.view.View.OnClickListener {
ctor @Deprecated public RowView(android.content.Context);
method @Deprecated protected java.util.List<java.lang.String!> getEndItemKeys();
method @Deprecated protected androidx.slice.SliceItem? getPrimaryActionItem();
method @Deprecated protected String? getPrimaryActionKey();
method @Deprecated public void onClick(android.view.View);
method @Deprecated public void onItemSelected(android.widget.AdapterView<?>, android.view.View, int, long);
method @Deprecated public void onNothingSelected(android.widget.AdapterView<?>);
method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public void resetView();
}
@Deprecated public class SliceAdapter extends androidx.recyclerview.widget.RecyclerView.Adapter<androidx.slice.widget.SliceAdapter.SliceViewHolder!> {
ctor @Deprecated public SliceAdapter(android.content.Context);
method @Deprecated public androidx.slice.widget.GridRowView getGridRowView();
method @Deprecated public int getItemCount();
method @Deprecated public androidx.slice.widget.RowView getRowView();
method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public void onBindViewHolder(androidx.slice.widget.SliceAdapter.SliceViewHolder, int);
method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public androidx.slice.widget.SliceAdapter.SliceViewHolder onCreateViewHolder(android.view.ViewGroup, int);
}
@Deprecated public abstract class SliceChildView extends android.widget.FrameLayout {
ctor @Deprecated public SliceChildView(android.content.Context);
ctor @Deprecated public SliceChildView(android.content.Context, android.util.AttributeSet?);
method @Deprecated public abstract void resetView();
method @Deprecated public void setSliceItem(androidx.slice.widget.SliceContent?, boolean, int, int, androidx.slice.widget.SliceView.OnSliceActionListener?);
}
@Deprecated public class SliceContent {
ctor @Deprecated public SliceContent(androidx.slice.Slice?);
}
@Deprecated public final class SliceLiveData {
method @Deprecated public static androidx.slice.widget.SliceLiveData.CachedSliceLiveData fromCachedSlice(android.content.Context, java.io.InputStream, androidx.slice.widget.SliceLiveData.OnErrorListener!);
method @Deprecated public static androidx.lifecycle.LiveData<androidx.slice.Slice!> fromIntent(android.content.Context, android.content.Intent);
method @Deprecated public static androidx.lifecycle.LiveData<androidx.slice.Slice!> fromIntent(android.content.Context, android.content.Intent, androidx.slice.widget.SliceLiveData.OnErrorListener?);
method @Deprecated public static androidx.lifecycle.LiveData<androidx.slice.Slice!> fromStream(android.content.Context, java.io.InputStream, androidx.slice.widget.SliceLiveData.OnErrorListener!);
method @Deprecated public static androidx.lifecycle.LiveData<androidx.slice.Slice!> fromUri(android.content.Context, android.net.Uri);
method @Deprecated public static androidx.lifecycle.LiveData<androidx.slice.Slice!> fromUri(android.content.Context, android.net.Uri, androidx.slice.widget.SliceLiveData.OnErrorListener?);
}
@Deprecated public static class SliceLiveData.CachedSliceLiveData extends androidx.lifecycle.LiveData<androidx.slice.Slice!> {
method @Deprecated public void goLive();
method @Deprecated public void parseStream();
}
@Deprecated public static interface SliceLiveData.OnErrorListener {
method @Deprecated public void onSliceError(@androidx.slice.widget.SliceLiveData.OnErrorListener.ErrorType int, Throwable?);
field @Deprecated public static final int ERROR_INVALID_INPUT = 3; // 0x3
field @Deprecated public static final int ERROR_SLICE_NO_LONGER_PRESENT = 2; // 0x2
field @Deprecated public static final int ERROR_STRUCTURE_CHANGED = 1; // 0x1
field @Deprecated public static final int ERROR_UNKNOWN = 0; // 0x0
}
@Deprecated @IntDef({androidx.slice.widget.SliceLiveData.OnErrorListener.ERROR_UNKNOWN, androidx.slice.widget.SliceLiveData.OnErrorListener.ERROR_STRUCTURE_CHANGED, androidx.slice.widget.SliceLiveData.OnErrorListener.ERROR_SLICE_NO_LONGER_PRESENT, androidx.slice.widget.SliceLiveData.OnErrorListener.ERROR_INVALID_INPUT}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface SliceLiveData.OnErrorListener.ErrorType {
}
@Deprecated public class SliceView extends android.view.ViewGroup implements androidx.lifecycle.Observer<androidx.slice.Slice!> android.view.View.OnClickListener {
ctor @Deprecated public SliceView(android.content.Context!);
ctor @Deprecated public SliceView(android.content.Context!, android.util.AttributeSet?);
ctor @Deprecated public SliceView(android.content.Context!, android.util.AttributeSet?, int);
ctor @Deprecated @RequiresApi(21) public SliceView(android.content.Context!, android.util.AttributeSet!, int, int);
method @Deprecated protected void configureViewPolicy(int);
method @Deprecated public int getHiddenItemCount();
method @Deprecated public int getMode();
method @Deprecated public androidx.slice.Slice? getSlice();
method @Deprecated public java.util.List<androidx.slice.core.SliceAction!>? getSliceActions();
method @Deprecated public boolean isScrollable();
method @Deprecated public void onChanged(androidx.slice.Slice?);
method @Deprecated public void onClick(android.view.View!);
method @Deprecated public void setAccentColor(@ColorInt int);
method @Deprecated public void setCurrentView(androidx.slice.widget.SliceChildView);
method @Deprecated public void setMode(int);
method @Deprecated public void setOnSliceActionListener(androidx.slice.widget.SliceView.OnSliceActionListener?);
method @Deprecated public void setRowStyleFactory(androidx.slice.widget.RowStyleFactory?);
method @Deprecated public void setScrollable(boolean);
method @Deprecated public void setShowActionDividers(boolean);
method @Deprecated public void setShowHeaderDivider(boolean);
method @Deprecated public void setShowTitleItems(boolean);
method @Deprecated public void setSlice(androidx.slice.Slice?);
method @Deprecated public void setSliceActions(java.util.List<androidx.slice.core.SliceAction!>?);
field @Deprecated public static final int MODE_LARGE = 2; // 0x2
field @Deprecated public static final int MODE_SHORTCUT = 3; // 0x3
field @Deprecated public static final int MODE_SMALL = 1; // 0x1
}
@Deprecated public static interface SliceView.OnSliceActionListener {
method @Deprecated public void onSliceAction(androidx.slice.widget.EventInfo, androidx.slice.SliceItem);
}
@Deprecated public class TemplateView extends androidx.slice.widget.SliceChildView {
ctor @Deprecated public TemplateView(android.content.Context);
method @Deprecated public void onAttachedToWindow();
method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public void resetView();
method @Deprecated public void setAdapter(androidx.slice.widget.SliceAdapter);
}
}