| // Signature format: 4.0 |
| package androidx.window.sidecar { |
| |
| @Deprecated public final class SidecarDeviceState { |
| ctor @Deprecated public SidecarDeviceState(); |
| field @Deprecated public static final int POSTURE_CLOSED = 1; // 0x1 |
| field @Deprecated public static final int POSTURE_FLIPPED = 4; // 0x4 |
| field @Deprecated public static final int POSTURE_HALF_OPENED = 2; // 0x2 |
| field @Deprecated public static final int POSTURE_OPENED = 3; // 0x3 |
| field @Deprecated public static final int POSTURE_UNKNOWN = 0; // 0x0 |
| field @Deprecated public int posture; |
| } |
| |
| @Deprecated public final class SidecarDisplayFeature { |
| ctor @Deprecated public SidecarDisplayFeature(); |
| method @Deprecated public android.graphics.Rect getRect(); |
| method @Deprecated public int getType(); |
| method @Deprecated public void setRect(android.graphics.Rect); |
| method @Deprecated public void setType(int); |
| field @Deprecated public static final int TYPE_FOLD = 1; // 0x1 |
| field @Deprecated public static final int TYPE_HINGE = 2; // 0x2 |
| } |
| |
| @Deprecated public interface SidecarInterface { |
| method @Deprecated public androidx.window.sidecar.SidecarDeviceState getDeviceState(); |
| method @Deprecated public androidx.window.sidecar.SidecarWindowLayoutInfo getWindowLayoutInfo(android.os.IBinder); |
| method @Deprecated public void onDeviceStateListenersChanged(boolean); |
| method @Deprecated public void onWindowLayoutChangeListenerAdded(android.os.IBinder); |
| method @Deprecated public void onWindowLayoutChangeListenerRemoved(android.os.IBinder); |
| method @Deprecated public void setSidecarCallback(androidx.window.sidecar.SidecarInterface.SidecarCallback); |
| } |
| |
| @Deprecated public static interface SidecarInterface.SidecarCallback { |
| method @Deprecated public void onDeviceStateChanged(androidx.window.sidecar.SidecarDeviceState); |
| method @Deprecated public void onWindowLayoutChanged(android.os.IBinder, androidx.window.sidecar.SidecarWindowLayoutInfo); |
| } |
| |
| @Deprecated public class SidecarProvider { |
| method @Deprecated public static String? getApiVersion(); |
| method @Deprecated public static androidx.window.sidecar.SidecarInterface? getSidecarImpl(android.content.Context); |
| } |
| |
| @Deprecated public final class SidecarWindowLayoutInfo { |
| ctor @Deprecated public SidecarWindowLayoutInfo(); |
| field @Deprecated public java.util.List<androidx.window.sidecar.SidecarDisplayFeature!>? displayFeatures; |
| } |
| |
| } |
| |