META-INF/
META-INF/MANIFEST.MF
META-INF/androidx.window_window-sidecar.version
androidx/
androidx/window/
androidx/window/common/
androidx/window/common/AcceptOnceConsumer$AcceptOnceProducerCallback.class
AcceptOnceConsumer.java
package androidx.window.common
public abstract androidx.window.common.AcceptOnceConsumer$AcceptOnceProducerCallback extends java.lang.Object {
public abstract void onConsumerReadyToBeRemoved (java.util.function.Consumer)
}
androidx/window/common/AcceptOnceConsumer.class
AcceptOnceConsumer.java
package androidx.window.common
public androidx.window.common.AcceptOnceConsumer extends java.lang.Object implements java.util.function.Consumer {
private final java.util.function.Consumer mCallback
private final androidx.window.common.AcceptOnceConsumer$AcceptOnceProducerCallback mProducer
public void <init> (androidx.window.common.AcceptOnceConsumer$AcceptOnceProducerCallback, java.util.function.Consumer)
androidx.window.common.AcceptOnceConsumer$AcceptOnceProducerCallback producer
java.util.function.Consumer callback
public void accept (java.lang.Object)
Object t
}
androidx/window/common/BaseDataProducer.class
BaseDataProducer.java
package androidx.window.common
public abstract androidx.window.common.BaseDataProducer extends java.lang.Object implements androidx.window.common.AcceptOnceConsumer$AcceptOnceProducerCallback {
private final Object mLock
private final java.util.Set mCallbacks
private final java.util.Set mCallbacksToRemove
public void <init> ()
public abstract void getData (java.util.function.Consumer)
public final void addDataChangedCallback (java.util.function.Consumer)
java.util.function.Consumer callback
java.util.Optional currentData
public final void removeDataChangedCallback (java.util.function.Consumer)
java.util.function.Consumer callback
public final boolean hasListeners ()
protected void onListenersChanged ()
public abstract java.util.Optional getCurrentData ()
protected void notifyDataChanged (java.lang.Object)
java.util.function.Consumer callback
Object value
private void removeFinishedCallbacksLocked ()
java.util.function.Consumer callback
public void onConsumerReadyToBeRemoved (java.util.function.Consumer)
java.util.function.Consumer callback
}
androidx/window/common/DeviceStateManagerFoldingFeatureProducer$1.class
DeviceStateManagerFoldingFeatureProducer.java
package androidx.window.common
androidx.window.common.DeviceStateManagerFoldingFeatureProducer$1 extends java.lang.Object implements android.hardware.devicestate.DeviceStateManager$DeviceStateCallback {
final synthetic androidx.window.common.DeviceStateManagerFoldingFeatureProducer this$0
void <init> (androidx.window.common.DeviceStateManagerFoldingFeatureProducer)
androidx.window.common.DeviceStateManagerFoldingFeatureProducer this$0
public void onDeviceStateChanged (android.hardware.devicestate.DeviceState)
android.hardware.devicestate.DeviceState state
boolean isMainThread
java.util.concurrent.Executor executor
private synthetic void lambda$onDeviceStateChanged$0 (android.hardware.devicestate.DeviceState)
android.hardware.devicestate.DeviceState state
}
androidx/window/common/DeviceStateManagerFoldingFeatureProducer$DeviceStateMapper.class
DeviceStateManagerFoldingFeatureProducer.java
package androidx.window.common
androidx.window.common.DeviceStateManagerFoldingFeatureProducer$DeviceStateMapper extends java.lang.Object {
private final android.util.SparseIntArray mDeviceStateToPostureMap
private final java.util.List mSupportedStates
final boolean mIsHalfOpenedSupported
void <init> (android.content.Context, java.util.List)
int deviceState
int posture
NumberFormatException e
String[] deviceStatePostureMapping
int deviceState
int posture
String deviceStatePosturePair
android.content.Context context
java.util.List supportedStates
String[] deviceStatePosturePairs
boolean isHalfOpenedSupported
boolean isDeviceStateToPostureMapEmpty ()
boolean isDeviceStateValid (android.hardware.devicestate.DeviceState)
android.hardware.devicestate.DeviceState deviceState
int getHingeState (android.hardware.devicestate.DeviceState)
android.hardware.devicestate.DeviceState deviceState
int posture
int baseStateIdentifier
}
androidx/window/common/DeviceStateManagerFoldingFeatureProducer.class
DeviceStateManagerFoldingFeatureProducer.java
package androidx.window.common
public final androidx.window.common.DeviceStateManagerFoldingFeatureProducer extends androidx.window.common.BaseDataProducer {
private static final String TAG
private static final boolean DEBUG
private android.hardware.devicestate.DeviceState mCurrentDeviceState
private final android.content.Context mContext
private final androidx.window.common.RawFoldingFeatureProducer mRawFoldSupplier
private final androidx.window.common.DeviceStateManagerFoldingFeatureProducer$DeviceStateMapper mDeviceStateMapper
private final android.hardware.devicestate.DeviceStateManager$DeviceStateCallback mDeviceStateCallback
public void <init> (android.content.Context, androidx.window.common.RawFoldingFeatureProducer, android.hardware.devicestate.DeviceStateManager)
android.content.Context context
androidx.window.common.RawFoldingFeatureProducer rawFoldSupplier
android.hardware.devicestate.DeviceStateManager deviceStateManager
void onDeviceStateChanged (android.hardware.devicestate.DeviceState)
android.hardware.devicestate.DeviceState state
private void runCallbackWhenValidState (android.hardware.devicestate.DeviceState, java.util.function.Consumer, java.lang.String)
androidx.window.common.AcceptOnceConsumer singleRunCallback
android.hardware.devicestate.DeviceState state
java.util.function.Consumer callback
String displayFeaturesString
protected void onListenersChanged ()
private android.hardware.devicestate.DeviceState getCurrentDeviceState ()
public java.util.Optional getCurrentData ()
java.util.Optional displayFeaturesString
android.hardware.devicestate.DeviceState state
public java.util.List getFoldsWithUnknownState ()
java.util.Optional optionalFoldingFeatureString
public java.util.List getDisplayFeatures ()
androidx.window.common.layout.CommonFoldingFeature fold
java.util.List foldFeatures
java.util.List folds
boolean isHalfOpenedSupported
public boolean isHalfOpenedSupported ()
public void getData (java.util.function.Consumer)
java.util.function.Consumer storeFeaturesConsumer
private void notifyFoldingFeatureChangeLocked (java.lang.String)
String displayFeaturesString
android.hardware.devicestate.DeviceState state
private java.util.List calculateFoldingFeature (android.hardware.devicestate.DeviceState, java.lang.String)
android.hardware.devicestate.DeviceState deviceState
String displayFeaturesString
int hingeState
private synthetic void lambda$getData$0 (java.util.function.Consumer, java.lang.String)
android.hardware.devicestate.DeviceState state
java.util.function.Consumer storeFeaturesConsumer
String displayFeaturesString
static void <clinit> ()
}
androidx/window/common/EmptyLifecycleCallbacksAdapter.class
EmptyLifecycleCallbacksAdapter.java
package androidx.window.common
public androidx.window.common.EmptyLifecycleCallbacksAdapter extends java.lang.Object implements android.app.Application$ActivityLifecycleCallbacks {
public void <init> ()
public void onActivityCreated (android.app.Activity, android.os.Bundle)
android.app.Activity activity
android.os.Bundle savedInstanceState
public void onActivityStarted (android.app.Activity)
android.app.Activity activity
public void onActivityResumed (android.app.Activity)
android.app.Activity activity
public void onActivityPaused (android.app.Activity)
android.app.Activity activity
public void onActivityStopped (android.app.Activity)
android.app.Activity activity
public void onActivitySaveInstanceState (android.app.Activity, android.os.Bundle)
android.app.Activity activity
android.os.Bundle outState
public void onActivityDestroyed (android.app.Activity)
android.app.Activity activity
}
androidx/window/common/ExtensionHelper.class
ExtensionHelper.java
package androidx.window.common
public final androidx.window.common.ExtensionHelper extends java.lang.Object {
private void <init> ()
public static void rotateRectToDisplayRotation (android.view.DisplayInfo, int, android.graphics.Rect)
android.view.DisplayInfo displayInfo
int rotation
android.graphics.Rect inOutRect
boolean isSideRotation
int baseDisplayWidth
int baseDisplayHeight
public static void transformToWindowSpaceRect (android.content.Context, android.graphics.Rect)
android.content.Context context
android.graphics.Rect inOutRect
public static void transformToWindowSpaceRect (android.app.WindowConfiguration, android.graphics.Rect)
android.app.WindowConfiguration windowConfiguration
android.graphics.Rect inOutRect
private static void transformToWindowSpaceRect (android.graphics.Rect, android.graphics.Rect)
android.graphics.Rect bounds
android.graphics.Rect inOutRect
private static android.graphics.Rect getWindowBounds (android.content.Context)
android.content.Context context
public static boolean isZero (android.graphics.Rect)
android.graphics.Rect rect
}
androidx/window/common/RawFoldingFeatureProducer$SettingsObserver.class
RawFoldingFeatureProducer.java
package androidx.window.common
final androidx.window.common.RawFoldingFeatureProducer$SettingsObserver extends android.database.ContentObserver {
final synthetic androidx.window.common.RawFoldingFeatureProducer this$0
void <init> (androidx.window.common.RawFoldingFeatureProducer)
public void onChange (boolean, android.net.Uri)
boolean selfChange
android.net.Uri uri
}
androidx/window/common/RawFoldingFeatureProducer.class
RawFoldingFeatureProducer.java
package androidx.window.common
public final androidx.window.common.RawFoldingFeatureProducer extends androidx.window.common.BaseDataProducer {
private static final String DISPLAY_FEATURES
private final android.net.Uri mDisplayFeaturesUri
private final android.content.ContentResolver mResolver
private final android.database.ContentObserver mObserver
private final String mResourceFeature
private boolean mRegisteredObservers
public void <init> (android.content.Context)
android.content.Context context
public void getData (java.util.function.Consumer)
java.util.function.Consumer dataConsumer
String displayFeaturesString
private java.lang.String getFeatureString ()
String settingsFeature
protected void onListenersChanged ()
public java.util.Optional getCurrentData ()
private void registerObserversIfNeeded ()
private void unregisterObserversIfNeeded ()
}
androidx/window/common/collections/
androidx/window/common/collections/ListUtil.class
ListUtil.java
package androidx.window.common.collections
public final androidx.window.common.collections.ListUtil extends java.lang.Object {
private void <init> ()
public static java.util.List map (java.util.List, java.util.function.Function)
int i
java.util.List source
java.util.function.Function transformer
java.util.List target
}
androidx/window/common/layout/
androidx/window/common/layout/CommonFoldingFeature$State.class
CommonFoldingFeature.java
package androidx.window.common.layout
public abstract annotation androidx.window.common.layout.CommonFoldingFeature$State extends java.lang.Object implements java.lang.annotation.Annotation {
}
androidx/window/common/layout/CommonFoldingFeature$Type.class
CommonFoldingFeature.java
package androidx.window.common.layout
public abstract annotation androidx.window.common.layout.CommonFoldingFeature$Type extends java.lang.Object implements java.lang.annotation.Annotation {
}
androidx/window/common/layout/CommonFoldingFeature.class
CommonFoldingFeature.java
package androidx.window.common.layout
public final androidx.window.common.layout.CommonFoldingFeature extends java.lang.Object {
private static final boolean DEBUG
public static final String TAG
public static final int COMMON_TYPE_FOLD
public static final int COMMON_TYPE_HINGE
public static final int COMMON_STATE_UNKNOWN
public static final int COMMON_STATE_NO_FOLDING_FEATURES
public static final int COMMON_STATE_HALF_OPENED
public static final int COMMON_STATE_FLAT
public static final int COMMON_STATE_USE_BASE_STATE
private static final java.util.regex.Pattern FEATURE_PATTERN
private static final String FEATURE_TYPE_FOLD
private static final String FEATURE_TYPE_HINGE
private static final String PATTERN_STATE_FLAT
private static final String PATTERN_STATE_HALF_OPENED
private final int mType
private final int mState
private final android.graphics.Rect mRect
public static java.util.List parseListFromString (java.lang.String, int)
androidx.window.common.layout.CommonFoldingFeature feature
IllegalArgumentException e
androidx.window.common.layout.CommonFoldingFeature feature
String featureString
String value
int hingeState
java.util.List features
String[] featureStrings
private static androidx.window.common.layout.CommonFoldingFeature parseFromString (java.lang.String, int)
int type
int type
int state
int state
String featureType
int type
int left
int top
int right
int bottom
android.graphics.Rect featureRect
String stateString
int state
NumberFormatException e
String string
int hingeState
java.util.regex.Matcher featureMatcher
public void <init> (int, int, android.graphics.Rect)
int type
int state
android.graphics.Rect rect
public int getType ()
public int getState ()
public android.graphics.Rect getRect ()
public boolean equals (java.lang.Object)
Object o
androidx.window.common.layout.CommonFoldingFeature that
public java.lang.String toString ()
public int hashCode ()
private static void assertReportableState (int)
int state
static void <clinit> ()
}
androidx/window/common/layout/DisplayFoldFeatureCommon$FoldProperty.class
DisplayFoldFeatureCommon.java
package androidx.window.common.layout
public abstract annotation androidx.window.common.layout.DisplayFoldFeatureCommon$FoldProperty extends java.lang.Object implements java.lang.annotation.Annotation {
}
androidx/window/common/layout/DisplayFoldFeatureCommon$FoldType.class
DisplayFoldFeatureCommon.java
package androidx.window.common.layout
public abstract annotation androidx.window.common.layout.DisplayFoldFeatureCommon$FoldType extends java.lang.Object implements java.lang.annotation.Annotation {
}
androidx/window/common/layout/DisplayFoldFeatureCommon.class
DisplayFoldFeatureCommon.java
package androidx.window.common.layout
public final androidx.window.common.layout.DisplayFoldFeatureCommon extends java.lang.Object {
public static final int DISPLAY_FOLD_FEATURE_TYPE_UNKNOWN
public static final int DISPLAY_FOLD_FEATURE_TYPE_HINGE
public static final int DISPLAY_FOLD_FEATURE_TYPE_SCREEN_FOLD_IN
public static final int DISPLAY_FOLD_FEATURE_PROPERTY_SUPPORTS_HALF_OPENED
private final int mType
private final java.util.Set mProperties
public static androidx.window.common.layout.DisplayFoldFeatureCommon create (androidx.window.common.layout.CommonFoldingFeature, boolean)
int foldType
androidx.window.common.layout.CommonFoldingFeature foldingFeature
boolean isHalfOpenedSupported
int foldType
java.util.Set properties
public void <init> (int, java.util.Set)
int type
java.util.Set properties
public int getType ()
public boolean hasProperty (int)
int property
public transient boolean hasProperties (int[])
int i
int[] properties
public java.util.Set getProperties ()
public boolean equals (java.lang.Object)
Object o
androidx.window.common.layout.DisplayFoldFeatureCommon that
public int hashCode ()
public java.lang.String toString ()
private static void assertPropertiesAreValid (java.util.Set)
int property
java.util.Set properties
private static boolean isProperty (int)
int property
}
androidx/window/sidecar/
androidx/window/sidecar/SidecarDeviceState.class
SidecarDeviceState.java
package androidx.window.sidecar
public final androidx.window.sidecar.SidecarDeviceState extends java.lang.Object {
public int posture
public static final int POSTURE_UNKNOWN
public static final int POSTURE_CLOSED
public static final int POSTURE_HALF_OPENED
public static final int POSTURE_OPENED
public static final int POSTURE_FLIPPED
public void <init> ()
}
androidx/window/sidecar/SidecarDisplayFeature.class
SidecarDisplayFeature.java
package androidx.window.sidecar
public final androidx.window.sidecar.SidecarDisplayFeature extends java.lang.Object {
private android.graphics.Rect mRect
private int mType
public static final int TYPE_FOLD
public static final int TYPE_HINGE
public void <init> ()
public android.graphics.Rect getRect ()
public void setRect (android.graphics.Rect)
android.graphics.Rect rect
public int getType ()
public void setType (int)
int type
}
androidx/window/sidecar/SidecarHelper.class
SidecarHelper.java
package androidx.window.sidecar
androidx.window.sidecar.SidecarHelper extends java.lang.Object {
private void <init> ()
private static int deviceStateFromFeatureList (java.util.List)
androidx.window.common.layout.CommonFoldingFeature feature
int state
int i
java.util.List featureList
static androidx.window.sidecar.SidecarDeviceState calculateDeviceState (java.util.List)
java.util.List featureList
androidx.window.sidecar.SidecarDeviceState deviceState
private static java.util.List calculateDisplayFeatures (android.app.Activity, java.util.List)
androidx.window.sidecar.SidecarDisplayFeature feature
android.graphics.Rect featureRect
androidx.window.common.layout.CommonFoldingFeature baseFeature
android.app.Activity activity
java.util.List featureList
int displayId
int rotation
android.view.DisplayInfo displayInfo
java.util.List features
static androidx.window.sidecar.SidecarWindowLayoutInfo calculateWindowLayoutInfo (android.os.IBinder, java.util.List)
android.os.IBinder windowToken
java.util.List featureList
android.app.Activity activity
androidx.window.sidecar.SidecarWindowLayoutInfo windowLayoutInfo
}
androidx/window/sidecar/SidecarImpl$NotifyOnConfigurationChanged.class
SidecarImpl.java
package androidx.window.sidecar
final androidx.window.sidecar.SidecarImpl$NotifyOnConfigurationChanged extends androidx.window.common.EmptyLifecycleCallbacksAdapter {
final synthetic androidx.window.sidecar.SidecarImpl this$0
private void <init> (androidx.window.sidecar.SidecarImpl)
public void onActivityCreated (android.app.Activity, android.os.Bundle)
android.app.Activity activity
android.os.Bundle savedInstanceState
public void onActivityConfigurationChanged (android.app.Activity)
android.app.Activity activity
private void onDisplayFeaturesChangedForActivity (android.app.Activity)
android.app.Activity activity
android.os.IBinder token
}
androidx/window/sidecar/SidecarImpl.class
SidecarImpl.java
package androidx.window.sidecar
androidx.window.sidecar.SidecarImpl extends java.lang.Object implements androidx.window.sidecar.SidecarInterface {
private static final String TAG
private androidx.window.sidecar.SidecarInterface$SidecarCallback mSidecarCallback
private final android.util.ArraySet mWindowLayoutChangeListenerTokens
private boolean mDeviceStateChangeListenerRegistered
private java.util.List mStoredFeatures
void <init> (android.content.Context)
android.content.Context context
androidx.window.common.RawFoldingFeatureProducer settingsFeatureProducer
androidx.window.common.BaseDataProducer foldingFeatureProducer
public androidx.window.sidecar.SidecarDeviceState getDeviceState ()
public androidx.window.sidecar.SidecarWindowLayoutInfo getWindowLayoutInfo (android.os.IBinder)
android.os.IBinder windowToken
public void setSidecarCallback (androidx.window.sidecar.SidecarInterface$SidecarCallback)
androidx.window.sidecar.SidecarInterface$SidecarCallback sidecarCallback
public void onWindowLayoutChangeListenerAdded (android.os.IBinder)
android.os.IBinder iBinder
public void onWindowLayoutChangeListenerRemoved (android.os.IBinder)
android.os.IBinder iBinder
public void onDeviceStateListenersChanged (boolean)
boolean isEmpty
private void setStoredFeatures (java.util.List)
java.util.List storedFeatures
private void onDisplayFeaturesChanged (java.util.List)
androidx.window.sidecar.SidecarWindowLayoutInfo newLayout
android.os.IBinder windowToken
java.util.List storedFeatures
void updateDeviceState (androidx.window.sidecar.SidecarDeviceState)
AbstractMethodError e
androidx.window.sidecar.SidecarDeviceState newState
void updateWindowLayout (android.os.IBinder, androidx.window.sidecar.SidecarWindowLayoutInfo)
AbstractMethodError e
android.os.IBinder windowToken
androidx.window.sidecar.SidecarWindowLayoutInfo newLayout
private java.util.Set getWindowsListeningForLayoutChanges ()
protected boolean hasListeners ()
private void onListenersChanged ()
}
androidx/window/sidecar/SidecarInterface$SidecarCallback.class
SidecarInterface.java
package androidx.window.sidecar
public abstract androidx.window.sidecar.SidecarInterface$SidecarCallback extends java.lang.Object {
public abstract void onDeviceStateChanged (androidx.window.sidecar.SidecarDeviceState)
public abstract void onWindowLayoutChanged (android.os.IBinder, androidx.window.sidecar.SidecarWindowLayoutInfo)
}
androidx/window/sidecar/SidecarInterface.class
SidecarInterface.java
package androidx.window.sidecar
public abstract androidx.window.sidecar.SidecarInterface extends java.lang.Object {
public abstract void setSidecarCallback (androidx.window.sidecar.SidecarInterface$SidecarCallback)
public abstract androidx.window.sidecar.SidecarWindowLayoutInfo getWindowLayoutInfo (android.os.IBinder)
public abstract void onWindowLayoutChangeListenerAdded (android.os.IBinder)
public abstract void onWindowLayoutChangeListenerRemoved (android.os.IBinder)
public abstract androidx.window.sidecar.SidecarDeviceState getDeviceState ()
public abstract void onDeviceStateListenersChanged (boolean)
}
androidx/window/sidecar/SidecarProvider.class
SidecarProvider.java
package androidx.window.sidecar
public androidx.window.sidecar.SidecarProvider extends java.lang.Object {
private static volatile Boolean sIsWindowExtensionsEnabled
public void <init> ()
public static androidx.window.sidecar.SidecarInterface getSidecarImpl (android.content.Context)
android.content.Context context
public static java.lang.String getApiVersion ()
private static boolean isWindowExtensionsEnabled ()
}
androidx/window/sidecar/SidecarWindowLayoutInfo.class
SidecarWindowLayoutInfo.java
package androidx.window.sidecar
public final androidx.window.sidecar.SidecarWindowLayoutInfo extends java.lang.Object {
public java.util.List displayFeatures
public void <init> ()
}