| // Signature format: 4.0 |
| package androidx.window { |
| |
| @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER, kotlin.annotation.AnnotationTarget.PROPERTY_SETTER, kotlin.annotation.AnnotationTarget.CONSTRUCTOR, kotlin.annotation.AnnotationTarget.FIELD, kotlin.annotation.AnnotationTarget.PROPERTY}) public @interface RequiresWindowSdkExtension { |
| method public abstract int version(); |
| property @IntRange(from=1L) public abstract int version; |
| } |
| |
| public final class WindowProperties { |
| property public static final String PROPERTY_ACTIVITY_EMBEDDING_ALLOW_SYSTEM_OVERRIDE; |
| property public static final String PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED; |
| property public static final String PROPERTY_COMPAT_ALLOW_IGNORING_ORIENTATION_REQUEST_WHEN_LOOP_DETECTED; |
| property public static final String PROPERTY_COMPAT_ALLOW_MIN_ASPECT_RATIO_OVERRIDE; |
| property public static final String PROPERTY_COMPAT_ALLOW_RESIZEABLE_ACTIVITY_OVERRIDES; |
| property public static final String PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_FULLSCREEN_OVERRIDE; |
| property public static final String PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_OVERRIDE; |
| field public static final androidx.window.WindowProperties INSTANCE; |
| field public static final String PROPERTY_ACTIVITY_EMBEDDING_ALLOW_SYSTEM_OVERRIDE = "android.window.PROPERTY_ACTIVITY_EMBEDDING_ALLOW_SYSTEM_OVERRIDE"; |
| field public static final String PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED = "android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED"; |
| field public static final String PROPERTY_COMPAT_ALLOW_IGNORING_ORIENTATION_REQUEST_WHEN_LOOP_DETECTED = "android.window.PROPERTY_COMPAT_ALLOW_IGNORING_ORIENTATION_REQUEST_WHEN_LOOP_DETECTED"; |
| field public static final String PROPERTY_COMPAT_ALLOW_MIN_ASPECT_RATIO_OVERRIDE = "android.window.PROPERTY_COMPAT_ALLOW_MIN_ASPECT_RATIO_OVERRIDE"; |
| field public static final String PROPERTY_COMPAT_ALLOW_RESIZEABLE_ACTIVITY_OVERRIDES = "android.window.PROPERTY_COMPAT_ALLOW_RESIZEABLE_ACTIVITY_OVERRIDES"; |
| field public static final String PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_FULLSCREEN_OVERRIDE = "android.window.PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_FULLSCREEN_OVERRIDE"; |
| field public static final String PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_OVERRIDE = "android.window.PROPERTY_COMPAT_ALLOW_USER_ASPECT_RATIO_OVERRIDE"; |
| } |
| |
| public abstract class WindowSdkExtensions { |
| method @IntRange(from=0L) public int getExtensionVersion(); |
| method public static final androidx.window.WindowSdkExtensions getInstance(); |
| property @IntRange(from=0L) public int extensionVersion; |
| field public static final androidx.window.WindowSdkExtensions.Companion Companion; |
| } |
| |
| public static final class WindowSdkExtensions.Companion { |
| method public androidx.window.WindowSdkExtensions getInstance(); |
| } |
| |
| } |
| |
| package androidx.window.area { |
| |
| @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public final class WindowAreaCapability { |
| method public androidx.window.area.WindowAreaCapability.Operation getOperation(); |
| method public androidx.window.area.WindowAreaCapability.Status getStatus(); |
| property public final androidx.window.area.WindowAreaCapability.Operation operation; |
| property public final androidx.window.area.WindowAreaCapability.Status status; |
| } |
| |
| @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public static final class WindowAreaCapability.Operation { |
| field public static final androidx.window.area.WindowAreaCapability.Operation.Companion Companion; |
| field public static final androidx.window.area.WindowAreaCapability.Operation OPERATION_PRESENT_ON_AREA; |
| field public static final androidx.window.area.WindowAreaCapability.Operation OPERATION_TRANSFER_ACTIVITY_TO_AREA; |
| } |
| |
| public static final class WindowAreaCapability.Operation.Companion { |
| property public final androidx.window.area.WindowAreaCapability.Operation OPERATION_PRESENT_ON_AREA; |
| property public final androidx.window.area.WindowAreaCapability.Operation OPERATION_TRANSFER_ACTIVITY_TO_AREA; |
| } |
| |
| @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public static final class WindowAreaCapability.Status { |
| field public static final androidx.window.area.WindowAreaCapability.Status.Companion Companion; |
| field public static final androidx.window.area.WindowAreaCapability.Status WINDOW_AREA_STATUS_ACTIVE; |
| field public static final androidx.window.area.WindowAreaCapability.Status WINDOW_AREA_STATUS_AVAILABLE; |
| field public static final androidx.window.area.WindowAreaCapability.Status WINDOW_AREA_STATUS_UNAVAILABLE; |
| field public static final androidx.window.area.WindowAreaCapability.Status WINDOW_AREA_STATUS_UNSUPPORTED; |
| } |
| |
| public static final class WindowAreaCapability.Status.Companion { |
| property public final androidx.window.area.WindowAreaCapability.Status WINDOW_AREA_STATUS_ACTIVE; |
| property public final androidx.window.area.WindowAreaCapability.Status WINDOW_AREA_STATUS_AVAILABLE; |
| property public final androidx.window.area.WindowAreaCapability.Status WINDOW_AREA_STATUS_UNAVAILABLE; |
| property public final androidx.window.area.WindowAreaCapability.Status WINDOW_AREA_STATUS_UNSUPPORTED; |
| } |
| |
| @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public abstract class WindowAreaController { |
| method public static final androidx.window.area.WindowAreaController getOrCreate(); |
| method public abstract kotlinx.coroutines.flow.Flow<java.util.List<androidx.window.area.WindowAreaInfo>> getWindowAreaInfos(); |
| method public abstract void presentContentOnWindowArea(android.os.Binder token, android.app.Activity activity, java.util.concurrent.Executor executor, androidx.window.area.WindowAreaPresentationSessionCallback windowAreaPresentationSessionCallback); |
| method public abstract void transferActivityToWindowArea(android.os.Binder token, android.app.Activity activity, java.util.concurrent.Executor executor, androidx.window.area.WindowAreaSessionCallback windowAreaSessionCallback); |
| property public abstract kotlinx.coroutines.flow.Flow<java.util.List<androidx.window.area.WindowAreaInfo>> windowAreaInfos; |
| field public static final androidx.window.area.WindowAreaController.Companion Companion; |
| } |
| |
| public static final class WindowAreaController.Companion { |
| method public androidx.window.area.WindowAreaController getOrCreate(); |
| } |
| |
| @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public final class WindowAreaInfo { |
| method public androidx.window.area.WindowAreaSession? getActiveSession(androidx.window.area.WindowAreaCapability.Operation operation); |
| method public androidx.window.area.WindowAreaCapability getCapability(androidx.window.area.WindowAreaCapability.Operation operation); |
| method public androidx.window.layout.WindowMetrics getMetrics(); |
| method public android.os.Binder getToken(); |
| method public androidx.window.area.WindowAreaInfo.Type getType(); |
| method public void setMetrics(androidx.window.layout.WindowMetrics); |
| property public final androidx.window.layout.WindowMetrics metrics; |
| property public final android.os.Binder token; |
| property public final androidx.window.area.WindowAreaInfo.Type type; |
| } |
| |
| @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public static final class WindowAreaInfo.Type { |
| field public static final androidx.window.area.WindowAreaInfo.Type.Companion Companion; |
| field public static final androidx.window.area.WindowAreaInfo.Type TYPE_REAR_FACING; |
| } |
| |
| public static final class WindowAreaInfo.Type.Companion { |
| property public final androidx.window.area.WindowAreaInfo.Type TYPE_REAR_FACING; |
| } |
| |
| @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public interface WindowAreaPresentationSessionCallback { |
| method public void onContainerVisibilityChanged(boolean isVisible); |
| method public void onSessionEnded(Throwable? t); |
| method public void onSessionStarted(androidx.window.area.WindowAreaSessionPresenter session); |
| } |
| |
| @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public interface WindowAreaSession { |
| method public void close(); |
| } |
| |
| @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public interface WindowAreaSessionCallback { |
| method public void onSessionEnded(Throwable? t); |
| method public void onSessionStarted(androidx.window.area.WindowAreaSession session); |
| } |
| |
| @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public interface WindowAreaSessionPresenter extends androidx.window.area.WindowAreaSession { |
| method public android.content.Context getContext(); |
| method public android.view.Window? getWindow(); |
| method public void setContentView(android.view.View view); |
| property public abstract android.content.Context context; |
| property public abstract android.view.Window? window; |
| } |
| |
| } |
| |
| package androidx.window.core { |
| |
| @SuppressCompatibility @kotlin.RequiresOptIn(level=kotlin.RequiresOptIn.Level.WARNING) @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalWindowApi { |
| } |
| |
| } |
| |
| package androidx.window.embedding { |
| |
| public final class ActivityEmbeddingController { |
| method @androidx.window.RequiresWindowSdkExtension(version=6) public kotlinx.coroutines.flow.Flow<androidx.window.embedding.EmbeddedActivityWindowInfo> embeddedActivityWindowInfo(android.app.Activity activity); |
| method @androidx.window.RequiresWindowSdkExtension(version=5) public void finishActivityStacks(java.util.Set<androidx.window.embedding.ActivityStack> activityStacks); |
| method public androidx.window.embedding.ActivityStack? getActivityStack(android.app.Activity activity); |
| method public static androidx.window.embedding.ActivityEmbeddingController getInstance(android.content.Context context); |
| method @androidx.window.RequiresWindowSdkExtension(version=3) public void invalidateVisibleActivityStacks(); |
| method public boolean isActivityEmbedded(android.app.Activity activity); |
| method @androidx.window.RequiresWindowSdkExtension(version=5) public void setEmbeddingConfiguration(androidx.window.embedding.EmbeddingConfiguration embeddingConfiguration); |
| field public static final androidx.window.embedding.ActivityEmbeddingController.Companion Companion; |
| } |
| |
| public static final class ActivityEmbeddingController.Companion { |
| method public androidx.window.embedding.ActivityEmbeddingController getInstance(android.content.Context context); |
| } |
| |
| public final class ActivityEmbeddingOptions { |
| method @androidx.window.RequiresWindowSdkExtension(version=5) public static android.os.Bundle setLaunchingActivityStack(android.os.Bundle, android.content.Context context, androidx.window.embedding.ActivityStack activityStack); |
| method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) @androidx.window.RequiresWindowSdkExtension(version=androidx.window.embedding.OverlayController.OVERLAY_FEATURE_VERSION) public static android.os.Bundle setOverlayCreateParams(android.os.Bundle, android.app.Activity activity, androidx.window.embedding.OverlayCreateParams overlayCreateParams); |
| } |
| |
| public final class ActivityFilter { |
| ctor public ActivityFilter(android.content.ComponentName componentName, String? intentAction); |
| method public android.content.ComponentName getComponentName(); |
| method public String? getIntentAction(); |
| method public boolean matchesActivity(android.app.Activity activity); |
| method public boolean matchesIntent(android.content.Intent intent); |
| property public final android.content.ComponentName componentName; |
| property public final String? intentAction; |
| } |
| |
| public final class ActivityRule extends androidx.window.embedding.EmbeddingRule { |
| method public boolean getAlwaysExpand(); |
| method public java.util.Set<androidx.window.embedding.ActivityFilter> getFilters(); |
| property public final boolean alwaysExpand; |
| property public final java.util.Set<androidx.window.embedding.ActivityFilter> filters; |
| } |
| |
| public static final class ActivityRule.Builder { |
| ctor public ActivityRule.Builder(java.util.Set<androidx.window.embedding.ActivityFilter> filters); |
| method public androidx.window.embedding.ActivityRule build(); |
| method public androidx.window.embedding.ActivityRule.Builder setAlwaysExpand(boolean alwaysExpand); |
| method public androidx.window.embedding.ActivityRule.Builder setTag(String? tag); |
| } |
| |
| public final class ActivityStack { |
| method public operator boolean contains(android.app.Activity activity); |
| method public boolean isEmpty(); |
| property public final boolean isEmpty; |
| } |
| |
| public abstract class DividerAttributes { |
| method public final int getColor(); |
| method public final int getWidthDp(); |
| property @ColorInt public final int color; |
| property @IntRange(from=androidx.window.embedding.DividerAttributes.WIDTH_SYSTEM_DEFAULT.toLong()) public final int widthDp; |
| field public static final androidx.window.embedding.DividerAttributes.Companion Companion; |
| field public static final androidx.window.embedding.DividerAttributes NO_DIVIDER; |
| field public static final int WIDTH_SYSTEM_DEFAULT = -1; // 0xffffffff |
| } |
| |
| public static final class DividerAttributes.Companion { |
| property public final androidx.window.embedding.DividerAttributes NO_DIVIDER; |
| property public static final int WIDTH_SYSTEM_DEFAULT; |
| } |
| |
| public abstract static class DividerAttributes.DragRange { |
| field public static final androidx.window.embedding.DividerAttributes.DragRange.Companion Companion; |
| field public static final androidx.window.embedding.DividerAttributes.DragRange DRAG_RANGE_SYSTEM_DEFAULT; |
| } |
| |
| public static final class DividerAttributes.DragRange.Companion { |
| property public final androidx.window.embedding.DividerAttributes.DragRange DRAG_RANGE_SYSTEM_DEFAULT; |
| } |
| |
| public static final class DividerAttributes.DragRange.SplitRatioDragRange extends androidx.window.embedding.DividerAttributes.DragRange { |
| ctor public DividerAttributes.DragRange.SplitRatioDragRange(@FloatRange(from=0.0, to=1.0, fromInclusive=false, toInclusive=false) float minRatio, @FloatRange(from=0.0, to=1.0, fromInclusive=false, toInclusive=false) float maxRatio); |
| method public float getMaxRatio(); |
| method public float getMinRatio(); |
| property @FloatRange(from=0.0, to=1.0, fromInclusive=false, toInclusive=false) public final float maxRatio; |
| property @FloatRange(from=0.0, to=1.0, fromInclusive=false, toInclusive=false) public final float minRatio; |
| } |
| |
| public static final class DividerAttributes.DraggableDividerAttributes extends androidx.window.embedding.DividerAttributes { |
| method public androidx.window.embedding.DividerAttributes.DragRange getDragRange(); |
| property public final androidx.window.embedding.DividerAttributes.DragRange dragRange; |
| } |
| |
| @androidx.window.RequiresWindowSdkExtension(version=6) public static final class DividerAttributes.DraggableDividerAttributes.Builder { |
| ctor public DividerAttributes.DraggableDividerAttributes.Builder(); |
| ctor @androidx.window.RequiresWindowSdkExtension(version=6) public DividerAttributes.DraggableDividerAttributes.Builder(androidx.window.embedding.DividerAttributes.DraggableDividerAttributes original); |
| method @androidx.window.RequiresWindowSdkExtension(version=6) public androidx.window.embedding.DividerAttributes.DraggableDividerAttributes build(); |
| method @androidx.window.RequiresWindowSdkExtension(version=6) public androidx.window.embedding.DividerAttributes.DraggableDividerAttributes.Builder setColor(@ColorInt int color); |
| method @androidx.window.RequiresWindowSdkExtension(version=6) public androidx.window.embedding.DividerAttributes.DraggableDividerAttributes.Builder setDragRange(androidx.window.embedding.DividerAttributes.DragRange dragRange); |
| method @androidx.window.RequiresWindowSdkExtension(version=6) public androidx.window.embedding.DividerAttributes.DraggableDividerAttributes.Builder setWidthDp(@IntRange(from=androidx.window.embedding.DividerAttributes.WIDTH_SYSTEM_DEFAULT.toLong()) int widthDp); |
| } |
| |
| public static final class DividerAttributes.FixedDividerAttributes extends androidx.window.embedding.DividerAttributes { |
| } |
| |
| @androidx.window.RequiresWindowSdkExtension(version=6) public static final class DividerAttributes.FixedDividerAttributes.Builder { |
| ctor public DividerAttributes.FixedDividerAttributes.Builder(); |
| ctor @androidx.window.RequiresWindowSdkExtension(version=6) public DividerAttributes.FixedDividerAttributes.Builder(androidx.window.embedding.DividerAttributes.FixedDividerAttributes original); |
| method @androidx.window.RequiresWindowSdkExtension(version=6) public androidx.window.embedding.DividerAttributes.FixedDividerAttributes build(); |
| method @androidx.window.RequiresWindowSdkExtension(version=6) public androidx.window.embedding.DividerAttributes.FixedDividerAttributes.Builder setColor(@ColorInt int color); |
| method @androidx.window.RequiresWindowSdkExtension(version=6) public androidx.window.embedding.DividerAttributes.FixedDividerAttributes.Builder setWidthDp(@IntRange(from=androidx.window.embedding.DividerAttributes.WIDTH_SYSTEM_DEFAULT.toLong()) int widthDp); |
| } |
| |
| public final class EmbeddedActivityWindowInfo { |
| method public android.graphics.Rect getBoundsInParentHost(); |
| method public android.graphics.Rect getParentHostBounds(); |
| method public boolean isEmbedded(); |
| property public final android.graphics.Rect boundsInParentHost; |
| property public final boolean isEmbedded; |
| property public final android.graphics.Rect parentHostBounds; |
| } |
| |
| public abstract class EmbeddingAnimationBackground { |
| method public static final androidx.window.embedding.EmbeddingAnimationBackground.ColorBackground createColorBackground(@ColorInt @IntRange(from=android.graphics.Color.BLACK.toLong(), to=android.graphics.Color.WHITE.toLong()) int color); |
| field public static final androidx.window.embedding.EmbeddingAnimationBackground.Companion Companion; |
| field public static final androidx.window.embedding.EmbeddingAnimationBackground DEFAULT; |
| } |
| |
| public static final class EmbeddingAnimationBackground.ColorBackground extends androidx.window.embedding.EmbeddingAnimationBackground { |
| method public int getColor(); |
| property @ColorInt @IntRange(from=android.graphics.Color.BLACK.toLong(), to=android.graphics.Color.WHITE.toLong()) public final int color; |
| } |
| |
| public static final class EmbeddingAnimationBackground.Companion { |
| method public androidx.window.embedding.EmbeddingAnimationBackground.ColorBackground createColorBackground(@ColorInt @IntRange(from=android.graphics.Color.BLACK.toLong(), to=android.graphics.Color.WHITE.toLong()) int color); |
| property public final androidx.window.embedding.EmbeddingAnimationBackground DEFAULT; |
| } |
| |
| public final class EmbeddingAspectRatio { |
| method public static androidx.window.embedding.EmbeddingAspectRatio ratio(@FloatRange(from=1.0, fromInclusive=false) float ratio); |
| field public static final androidx.window.embedding.EmbeddingAspectRatio ALWAYS_ALLOW; |
| field public static final androidx.window.embedding.EmbeddingAspectRatio ALWAYS_DISALLOW; |
| field public static final androidx.window.embedding.EmbeddingAspectRatio.Companion Companion; |
| } |
| |
| public static final class EmbeddingAspectRatio.Companion { |
| method public androidx.window.embedding.EmbeddingAspectRatio ratio(@FloatRange(from=1.0, fromInclusive=false) float ratio); |
| property public final androidx.window.embedding.EmbeddingAspectRatio ALWAYS_ALLOW; |
| property public final androidx.window.embedding.EmbeddingAspectRatio ALWAYS_DISALLOW; |
| } |
| |
| @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class EmbeddingBounds { |
| ctor public EmbeddingBounds(androidx.window.embedding.EmbeddingBounds.Alignment alignment, androidx.window.embedding.EmbeddingBounds.Dimension width, androidx.window.embedding.EmbeddingBounds.Dimension height); |
| method public androidx.window.embedding.EmbeddingBounds.Alignment getAlignment(); |
| method public androidx.window.embedding.EmbeddingBounds.Dimension getHeight(); |
| method public androidx.window.embedding.EmbeddingBounds.Dimension getWidth(); |
| property public final androidx.window.embedding.EmbeddingBounds.Alignment alignment; |
| property public final androidx.window.embedding.EmbeddingBounds.Dimension height; |
| property public final androidx.window.embedding.EmbeddingBounds.Dimension width; |
| field public static final androidx.window.embedding.EmbeddingBounds BOUNDS_EXPANDED; |
| field public static final androidx.window.embedding.EmbeddingBounds BOUNDS_HINGE_BOTTOM; |
| field public static final androidx.window.embedding.EmbeddingBounds BOUNDS_HINGE_LEFT; |
| field public static final androidx.window.embedding.EmbeddingBounds BOUNDS_HINGE_RIGHT; |
| field public static final androidx.window.embedding.EmbeddingBounds BOUNDS_HINGE_TOP; |
| field public static final androidx.window.embedding.EmbeddingBounds.Companion Companion; |
| } |
| |
| public static final class EmbeddingBounds.Alignment { |
| field public static final androidx.window.embedding.EmbeddingBounds.Alignment ALIGN_BOTTOM; |
| field public static final androidx.window.embedding.EmbeddingBounds.Alignment ALIGN_LEFT; |
| field public static final androidx.window.embedding.EmbeddingBounds.Alignment ALIGN_RIGHT; |
| field public static final androidx.window.embedding.EmbeddingBounds.Alignment ALIGN_TOP; |
| field public static final androidx.window.embedding.EmbeddingBounds.Alignment.Companion Companion; |
| } |
| |
| public static final class EmbeddingBounds.Alignment.Companion { |
| property public final androidx.window.embedding.EmbeddingBounds.Alignment ALIGN_BOTTOM; |
| property public final androidx.window.embedding.EmbeddingBounds.Alignment ALIGN_LEFT; |
| property public final androidx.window.embedding.EmbeddingBounds.Alignment ALIGN_RIGHT; |
| property public final androidx.window.embedding.EmbeddingBounds.Alignment ALIGN_TOP; |
| } |
| |
| public static final class EmbeddingBounds.Companion { |
| property public final androidx.window.embedding.EmbeddingBounds BOUNDS_EXPANDED; |
| property public final androidx.window.embedding.EmbeddingBounds BOUNDS_HINGE_BOTTOM; |
| property public final androidx.window.embedding.EmbeddingBounds BOUNDS_HINGE_LEFT; |
| property public final androidx.window.embedding.EmbeddingBounds BOUNDS_HINGE_RIGHT; |
| property public final androidx.window.embedding.EmbeddingBounds BOUNDS_HINGE_TOP; |
| } |
| |
| public abstract static class EmbeddingBounds.Dimension { |
| method public static final androidx.window.embedding.EmbeddingBounds.Dimension pixel(@IntRange(from=1L) @Px int value); |
| method public static final androidx.window.embedding.EmbeddingBounds.Dimension ratio(@FloatRange(from=0.0, fromInclusive=false, to=1.0, toInclusive=false) float ratio); |
| field public static final androidx.window.embedding.EmbeddingBounds.Dimension.Companion Companion; |
| field public static final androidx.window.embedding.EmbeddingBounds.Dimension DIMENSION_EXPANDED; |
| field public static final androidx.window.embedding.EmbeddingBounds.Dimension DIMENSION_HINGE; |
| } |
| |
| public static final class EmbeddingBounds.Dimension.Companion { |
| method public androidx.window.embedding.EmbeddingBounds.Dimension pixel(@IntRange(from=1L) @Px int value); |
| method public androidx.window.embedding.EmbeddingBounds.Dimension ratio(@FloatRange(from=0.0, fromInclusive=false, to=1.0, toInclusive=false) float ratio); |
| property public final androidx.window.embedding.EmbeddingBounds.Dimension DIMENSION_EXPANDED; |
| property public final androidx.window.embedding.EmbeddingBounds.Dimension DIMENSION_HINGE; |
| } |
| |
| public final class EmbeddingConfiguration { |
| ctor public EmbeddingConfiguration(); |
| ctor public EmbeddingConfiguration(optional @androidx.window.RequiresWindowSdkExtension(version=5) androidx.window.embedding.EmbeddingConfiguration.DimAreaBehavior dimAreaBehavior); |
| method public androidx.window.embedding.EmbeddingConfiguration.DimAreaBehavior getDimAreaBehavior(); |
| property @androidx.window.RequiresWindowSdkExtension(version=5) public final androidx.window.embedding.EmbeddingConfiguration.DimAreaBehavior dimAreaBehavior; |
| } |
| |
| public static final class EmbeddingConfiguration.Builder { |
| ctor public EmbeddingConfiguration.Builder(); |
| method public androidx.window.embedding.EmbeddingConfiguration build(); |
| method public androidx.window.embedding.EmbeddingConfiguration.Builder setDimAreaBehavior(androidx.window.embedding.EmbeddingConfiguration.DimAreaBehavior area); |
| } |
| |
| public static final class EmbeddingConfiguration.DimAreaBehavior { |
| field public static final androidx.window.embedding.EmbeddingConfiguration.DimAreaBehavior.Companion Companion; |
| field public static final androidx.window.embedding.EmbeddingConfiguration.DimAreaBehavior ON_ACTIVITY_STACK; |
| field public static final androidx.window.embedding.EmbeddingConfiguration.DimAreaBehavior ON_TASK; |
| field public static final androidx.window.embedding.EmbeddingConfiguration.DimAreaBehavior UNDEFINED; |
| } |
| |
| public static final class EmbeddingConfiguration.DimAreaBehavior.Companion { |
| property public final androidx.window.embedding.EmbeddingConfiguration.DimAreaBehavior ON_ACTIVITY_STACK; |
| property public final androidx.window.embedding.EmbeddingConfiguration.DimAreaBehavior ON_TASK; |
| property public final androidx.window.embedding.EmbeddingConfiguration.DimAreaBehavior UNDEFINED; |
| } |
| |
| public abstract class EmbeddingRule { |
| method public final String? getTag(); |
| property public final String? tag; |
| } |
| |
| @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class OverlayAttributes { |
| ctor public OverlayAttributes(); |
| ctor public OverlayAttributes(optional androidx.window.embedding.EmbeddingBounds bounds); |
| method public androidx.window.embedding.EmbeddingBounds getBounds(); |
| property public final androidx.window.embedding.EmbeddingBounds bounds; |
| } |
| |
| public static final class OverlayAttributes.Builder { |
| ctor public OverlayAttributes.Builder(); |
| method public androidx.window.embedding.OverlayAttributes build(); |
| method public androidx.window.embedding.OverlayAttributes.Builder setBounds(androidx.window.embedding.EmbeddingBounds bounds); |
| } |
| |
| @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class OverlayAttributesCalculatorParams { |
| method public androidx.window.embedding.OverlayAttributes getDefaultOverlayAttributes(); |
| method public String getOverlayTag(); |
| method public android.content.res.Configuration getParentConfiguration(); |
| method public androidx.window.layout.WindowLayoutInfo getParentWindowLayoutInfo(); |
| method public androidx.window.layout.WindowMetrics getParentWindowMetrics(); |
| property public final androidx.window.embedding.OverlayAttributes defaultOverlayAttributes; |
| property public final String overlayTag; |
| property public final android.content.res.Configuration parentConfiguration; |
| property public final androidx.window.layout.WindowLayoutInfo parentWindowLayoutInfo; |
| property public final androidx.window.layout.WindowMetrics parentWindowMetrics; |
| } |
| |
| @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class OverlayController { |
| method @androidx.window.RequiresWindowSdkExtension(version=androidx.window.embedding.OverlayController.OVERLAY_FEATURE_VERSION) public void clearOverlayAttributesCalculator(); |
| method public static androidx.window.embedding.OverlayController getInstance(android.content.Context context); |
| method @androidx.window.RequiresWindowSdkExtension(version=androidx.window.embedding.OverlayController.OVERLAY_FEATURE_VERSION) public kotlinx.coroutines.flow.Flow<androidx.window.embedding.OverlayInfo> overlayInfo(String overlayTag); |
| method @androidx.window.RequiresWindowSdkExtension(version=androidx.window.embedding.OverlayController.OVERLAY_FEATURE_VERSION) public void setOverlayAttributesCalculator(kotlin.jvm.functions.Function1<? super androidx.window.embedding.OverlayAttributesCalculatorParams,androidx.window.embedding.OverlayAttributes> calculator); |
| method @androidx.window.RequiresWindowSdkExtension(version=androidx.window.embedding.OverlayController.OVERLAY_FEATURE_VERSION) public void updateOverlayAttributes(String overlayTag, androidx.window.embedding.OverlayAttributes overlayAttributes); |
| field public static final androidx.window.embedding.OverlayController.Companion Companion; |
| } |
| |
| public static final class OverlayController.Companion { |
| method public androidx.window.embedding.OverlayController getInstance(android.content.Context context); |
| } |
| |
| @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class OverlayCreateParams { |
| ctor public OverlayCreateParams(); |
| ctor public OverlayCreateParams(optional String tag); |
| ctor public OverlayCreateParams(optional String tag, optional androidx.window.embedding.OverlayAttributes overlayAttributes); |
| method public static String generateOverlayTag(); |
| method public androidx.window.embedding.OverlayAttributes getOverlayAttributes(); |
| method public String getTag(); |
| property public final androidx.window.embedding.OverlayAttributes overlayAttributes; |
| property public final String tag; |
| field public static final androidx.window.embedding.OverlayCreateParams.Companion Companion; |
| } |
| |
| public static final class OverlayCreateParams.Builder { |
| ctor public OverlayCreateParams.Builder(); |
| method public androidx.window.embedding.OverlayCreateParams build(); |
| method public androidx.window.embedding.OverlayCreateParams.Builder setOverlayAttributes(androidx.window.embedding.OverlayAttributes attrs); |
| method public androidx.window.embedding.OverlayCreateParams.Builder setTag(String tag); |
| } |
| |
| public static final class OverlayCreateParams.Companion { |
| method public String generateOverlayTag(); |
| } |
| |
| @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class OverlayInfo { |
| method public operator boolean contains(android.app.Activity activity); |
| method public androidx.window.embedding.ActivityStack? getActivityStack(); |
| method public androidx.window.embedding.OverlayAttributes? getCurrentOverlayAttributes(); |
| method public String getOverlayTag(); |
| property public final androidx.window.embedding.ActivityStack? activityStack; |
| property public final androidx.window.embedding.OverlayAttributes? currentOverlayAttributes; |
| property public final String overlayTag; |
| } |
| |
| public final class RuleController { |
| method public void addRule(androidx.window.embedding.EmbeddingRule rule); |
| method public void clearRules(); |
| method public static androidx.window.embedding.RuleController getInstance(android.content.Context context); |
| method public java.util.Set<androidx.window.embedding.EmbeddingRule> getRules(); |
| method public static java.util.Set<androidx.window.embedding.EmbeddingRule> parseRules(android.content.Context context, @XmlRes int staticRuleResourceId); |
| method public void removeRule(androidx.window.embedding.EmbeddingRule rule); |
| method public void setRules(java.util.Set<? extends androidx.window.embedding.EmbeddingRule> rules); |
| field public static final androidx.window.embedding.RuleController.Companion Companion; |
| } |
| |
| public static final class RuleController.Companion { |
| method public androidx.window.embedding.RuleController getInstance(android.content.Context context); |
| method public java.util.Set<androidx.window.embedding.EmbeddingRule> parseRules(android.content.Context context, @XmlRes int staticRuleResourceId); |
| } |
| |
| public final class SplitAttributes { |
| ctor public SplitAttributes(); |
| ctor public SplitAttributes(optional androidx.window.embedding.SplitAttributes.SplitType splitType); |
| ctor public SplitAttributes(optional androidx.window.embedding.SplitAttributes.SplitType splitType, optional androidx.window.embedding.SplitAttributes.LayoutDirection layoutDirection); |
| ctor public SplitAttributes(optional androidx.window.embedding.SplitAttributes.SplitType splitType, optional androidx.window.embedding.SplitAttributes.LayoutDirection layoutDirection, optional androidx.window.embedding.EmbeddingAnimationBackground animationBackground); |
| ctor public SplitAttributes(optional androidx.window.embedding.SplitAttributes.SplitType splitType, optional androidx.window.embedding.SplitAttributes.LayoutDirection layoutDirection, optional androidx.window.embedding.EmbeddingAnimationBackground animationBackground, optional androidx.window.embedding.DividerAttributes dividerAttributes); |
| method public androidx.window.embedding.EmbeddingAnimationBackground getAnimationBackground(); |
| method public androidx.window.embedding.DividerAttributes getDividerAttributes(); |
| method public androidx.window.embedding.SplitAttributes.LayoutDirection getLayoutDirection(); |
| method public androidx.window.embedding.SplitAttributes.SplitType getSplitType(); |
| property public final androidx.window.embedding.EmbeddingAnimationBackground animationBackground; |
| property public final androidx.window.embedding.DividerAttributes dividerAttributes; |
| property public final androidx.window.embedding.SplitAttributes.LayoutDirection layoutDirection; |
| property public final androidx.window.embedding.SplitAttributes.SplitType splitType; |
| field public static final androidx.window.embedding.SplitAttributes.Companion Companion; |
| } |
| |
| public static final class SplitAttributes.Builder { |
| ctor public SplitAttributes.Builder(); |
| method public androidx.window.embedding.SplitAttributes build(); |
| method @androidx.window.RequiresWindowSdkExtension(version=5) public androidx.window.embedding.SplitAttributes.Builder setAnimationBackground(androidx.window.embedding.EmbeddingAnimationBackground background); |
| method @androidx.window.RequiresWindowSdkExtension(version=6) public androidx.window.embedding.SplitAttributes.Builder setDividerAttributes(androidx.window.embedding.DividerAttributes dividerAttributes); |
| method public androidx.window.embedding.SplitAttributes.Builder setLayoutDirection(androidx.window.embedding.SplitAttributes.LayoutDirection layoutDirection); |
| method public androidx.window.embedding.SplitAttributes.Builder setSplitType(androidx.window.embedding.SplitAttributes.SplitType type); |
| } |
| |
| public static final class SplitAttributes.Companion { |
| } |
| |
| public static final class SplitAttributes.LayoutDirection { |
| field public static final androidx.window.embedding.SplitAttributes.LayoutDirection BOTTOM_TO_TOP; |
| field public static final androidx.window.embedding.SplitAttributes.LayoutDirection.Companion Companion; |
| field public static final androidx.window.embedding.SplitAttributes.LayoutDirection LEFT_TO_RIGHT; |
| field public static final androidx.window.embedding.SplitAttributes.LayoutDirection LOCALE; |
| field public static final androidx.window.embedding.SplitAttributes.LayoutDirection RIGHT_TO_LEFT; |
| field public static final androidx.window.embedding.SplitAttributes.LayoutDirection TOP_TO_BOTTOM; |
| } |
| |
| public static final class SplitAttributes.LayoutDirection.Companion { |
| property public final androidx.window.embedding.SplitAttributes.LayoutDirection BOTTOM_TO_TOP; |
| property public final androidx.window.embedding.SplitAttributes.LayoutDirection LEFT_TO_RIGHT; |
| property public final androidx.window.embedding.SplitAttributes.LayoutDirection LOCALE; |
| property public final androidx.window.embedding.SplitAttributes.LayoutDirection RIGHT_TO_LEFT; |
| property public final androidx.window.embedding.SplitAttributes.LayoutDirection TOP_TO_BOTTOM; |
| } |
| |
| public static final class SplitAttributes.SplitType { |
| method public static androidx.window.embedding.SplitAttributes.SplitType ratio(@FloatRange(from=0.0, to=1.0, fromInclusive=false, toInclusive=false) float ratio); |
| field public static final androidx.window.embedding.SplitAttributes.SplitType.Companion Companion; |
| field public static final androidx.window.embedding.SplitAttributes.SplitType SPLIT_TYPE_EQUAL; |
| field public static final androidx.window.embedding.SplitAttributes.SplitType SPLIT_TYPE_EXPAND; |
| field public static final androidx.window.embedding.SplitAttributes.SplitType SPLIT_TYPE_HINGE; |
| } |
| |
| public static final class SplitAttributes.SplitType.Companion { |
| method public androidx.window.embedding.SplitAttributes.SplitType ratio(@FloatRange(from=0.0, to=1.0, fromInclusive=false, toInclusive=false) float ratio); |
| property public final androidx.window.embedding.SplitAttributes.SplitType SPLIT_TYPE_EQUAL; |
| property public final androidx.window.embedding.SplitAttributes.SplitType SPLIT_TYPE_EXPAND; |
| property public final androidx.window.embedding.SplitAttributes.SplitType SPLIT_TYPE_HINGE; |
| } |
| |
| public final class SplitAttributesCalculatorParams { |
| method public boolean areDefaultConstraintsSatisfied(); |
| method public androidx.window.embedding.SplitAttributes getDefaultSplitAttributes(); |
| method public android.content.res.Configuration getParentConfiguration(); |
| method public androidx.window.layout.WindowLayoutInfo getParentWindowLayoutInfo(); |
| method public androidx.window.layout.WindowMetrics getParentWindowMetrics(); |
| method public String? getSplitRuleTag(); |
| property public final boolean areDefaultConstraintsSatisfied; |
| property public final androidx.window.embedding.SplitAttributes defaultSplitAttributes; |
| property public final android.content.res.Configuration parentConfiguration; |
| property public final androidx.window.layout.WindowLayoutInfo parentWindowLayoutInfo; |
| property public final androidx.window.layout.WindowMetrics parentWindowMetrics; |
| property public final String? splitRuleTag; |
| } |
| |
| public final class SplitController { |
| method @androidx.window.RequiresWindowSdkExtension(version=2) public void clearSplitAttributesCalculator(); |
| method public static androidx.window.embedding.SplitController getInstance(android.content.Context context); |
| method public androidx.window.embedding.SplitController.SplitSupportStatus getSplitSupportStatus(); |
| method @androidx.window.RequiresWindowSdkExtension(version=5) public boolean pinTopActivityStack(int taskId, androidx.window.embedding.SplitPinRule splitPinRule); |
| method @androidx.window.RequiresWindowSdkExtension(version=2) public void setSplitAttributesCalculator(kotlin.jvm.functions.Function1<? super androidx.window.embedding.SplitAttributesCalculatorParams,androidx.window.embedding.SplitAttributes> calculator); |
| method public kotlinx.coroutines.flow.Flow<java.util.List<androidx.window.embedding.SplitInfo>> splitInfoList(android.app.Activity activity); |
| method @androidx.window.RequiresWindowSdkExtension(version=5) public void unpinTopActivityStack(int taskId); |
| method @androidx.window.RequiresWindowSdkExtension(version=3) public void updateSplitAttributes(androidx.window.embedding.SplitInfo splitInfo, androidx.window.embedding.SplitAttributes splitAttributes); |
| property public final androidx.window.embedding.SplitController.SplitSupportStatus splitSupportStatus; |
| field public static final androidx.window.embedding.SplitController.Companion Companion; |
| } |
| |
| public static final class SplitController.Companion { |
| method public androidx.window.embedding.SplitController getInstance(android.content.Context context); |
| } |
| |
| public static final class SplitController.SplitSupportStatus { |
| field public static final androidx.window.embedding.SplitController.SplitSupportStatus.Companion Companion; |
| field public static final androidx.window.embedding.SplitController.SplitSupportStatus SPLIT_AVAILABLE; |
| field public static final androidx.window.embedding.SplitController.SplitSupportStatus SPLIT_ERROR_PROPERTY_NOT_DECLARED; |
| field public static final androidx.window.embedding.SplitController.SplitSupportStatus SPLIT_UNAVAILABLE; |
| } |
| |
| public static final class SplitController.SplitSupportStatus.Companion { |
| property public final androidx.window.embedding.SplitController.SplitSupportStatus SPLIT_AVAILABLE; |
| property public final androidx.window.embedding.SplitController.SplitSupportStatus SPLIT_ERROR_PROPERTY_NOT_DECLARED; |
| property public final androidx.window.embedding.SplitController.SplitSupportStatus SPLIT_UNAVAILABLE; |
| } |
| |
| public final class SplitInfo { |
| method public operator boolean contains(android.app.Activity activity); |
| method public androidx.window.embedding.ActivityStack getPrimaryActivityStack(); |
| method public androidx.window.embedding.ActivityStack getSecondaryActivityStack(); |
| method public androidx.window.embedding.SplitAttributes getSplitAttributes(); |
| property public final androidx.window.embedding.ActivityStack primaryActivityStack; |
| property public final androidx.window.embedding.ActivityStack secondaryActivityStack; |
| property public final androidx.window.embedding.SplitAttributes splitAttributes; |
| } |
| |
| public final class SplitPairFilter { |
| ctor public SplitPairFilter(android.content.ComponentName primaryActivityName, android.content.ComponentName secondaryActivityName, String? secondaryActivityIntentAction); |
| method public android.content.ComponentName getPrimaryActivityName(); |
| method public String? getSecondaryActivityIntentAction(); |
| method public android.content.ComponentName getSecondaryActivityName(); |
| method public boolean matchesActivityIntentPair(android.app.Activity primaryActivity, android.content.Intent secondaryActivityIntent); |
| method public boolean matchesActivityPair(android.app.Activity primaryActivity, android.app.Activity secondaryActivity); |
| property public final android.content.ComponentName primaryActivityName; |
| property public final String? secondaryActivityIntentAction; |
| property public final android.content.ComponentName secondaryActivityName; |
| } |
| |
| public final class SplitPairRule extends androidx.window.embedding.SplitRule { |
| method public boolean getClearTop(); |
| method public java.util.Set<androidx.window.embedding.SplitPairFilter> getFilters(); |
| method public androidx.window.embedding.SplitRule.FinishBehavior getFinishPrimaryWithSecondary(); |
| method public androidx.window.embedding.SplitRule.FinishBehavior getFinishSecondaryWithPrimary(); |
| property public final boolean clearTop; |
| property public final java.util.Set<androidx.window.embedding.SplitPairFilter> filters; |
| property public final androidx.window.embedding.SplitRule.FinishBehavior finishPrimaryWithSecondary; |
| property public final androidx.window.embedding.SplitRule.FinishBehavior finishSecondaryWithPrimary; |
| } |
| |
| public static final class SplitPairRule.Builder { |
| ctor public SplitPairRule.Builder(java.util.Set<androidx.window.embedding.SplitPairFilter> filters); |
| method public androidx.window.embedding.SplitPairRule build(); |
| method public androidx.window.embedding.SplitPairRule.Builder setClearTop(boolean clearTop); |
| method public androidx.window.embedding.SplitPairRule.Builder setDefaultSplitAttributes(androidx.window.embedding.SplitAttributes defaultSplitAttributes); |
| method public androidx.window.embedding.SplitPairRule.Builder setFinishPrimaryWithSecondary(androidx.window.embedding.SplitRule.FinishBehavior finishPrimaryWithSecondary); |
| method public androidx.window.embedding.SplitPairRule.Builder setFinishSecondaryWithPrimary(androidx.window.embedding.SplitRule.FinishBehavior finishSecondaryWithPrimary); |
| method public androidx.window.embedding.SplitPairRule.Builder setMaxAspectRatioInLandscape(androidx.window.embedding.EmbeddingAspectRatio aspectRatio); |
| method public androidx.window.embedding.SplitPairRule.Builder setMaxAspectRatioInPortrait(androidx.window.embedding.EmbeddingAspectRatio aspectRatio); |
| method public androidx.window.embedding.SplitPairRule.Builder setMinHeightDp(@IntRange(from=0L) int minHeightDp); |
| method public androidx.window.embedding.SplitPairRule.Builder setMinSmallestWidthDp(@IntRange(from=0L) int minSmallestWidthDp); |
| method public androidx.window.embedding.SplitPairRule.Builder setMinWidthDp(@IntRange(from=0L) int minWidthDp); |
| method public androidx.window.embedding.SplitPairRule.Builder setTag(String? tag); |
| } |
| |
| public final class SplitPinRule extends androidx.window.embedding.SplitRule { |
| method public boolean isSticky(); |
| property public final boolean isSticky; |
| } |
| |
| public static final class SplitPinRule.Builder { |
| ctor public SplitPinRule.Builder(); |
| method public androidx.window.embedding.SplitPinRule build(); |
| method public androidx.window.embedding.SplitPinRule.Builder setDefaultSplitAttributes(androidx.window.embedding.SplitAttributes defaultSplitAttributes); |
| method public androidx.window.embedding.SplitPinRule.Builder setMaxAspectRatioInLandscape(androidx.window.embedding.EmbeddingAspectRatio aspectRatio); |
| method public androidx.window.embedding.SplitPinRule.Builder setMaxAspectRatioInPortrait(androidx.window.embedding.EmbeddingAspectRatio aspectRatio); |
| method public androidx.window.embedding.SplitPinRule.Builder setMinHeightDp(@IntRange(from=0L) int minHeightDp); |
| method public androidx.window.embedding.SplitPinRule.Builder setMinSmallestWidthDp(@IntRange(from=0L) int minSmallestWidthDp); |
| method public androidx.window.embedding.SplitPinRule.Builder setMinWidthDp(@IntRange(from=0L) int minWidthDp); |
| method public androidx.window.embedding.SplitPinRule.Builder setSticky(boolean isSticky); |
| method public androidx.window.embedding.SplitPinRule.Builder setTag(String? tag); |
| } |
| |
| public final class SplitPlaceholderRule extends androidx.window.embedding.SplitRule { |
| method public java.util.Set<androidx.window.embedding.ActivityFilter> getFilters(); |
| method public androidx.window.embedding.SplitRule.FinishBehavior getFinishPrimaryWithPlaceholder(); |
| method public android.content.Intent getPlaceholderIntent(); |
| method public boolean isSticky(); |
| property public final java.util.Set<androidx.window.embedding.ActivityFilter> filters; |
| property public final androidx.window.embedding.SplitRule.FinishBehavior finishPrimaryWithPlaceholder; |
| property public final boolean isSticky; |
| property public final android.content.Intent placeholderIntent; |
| } |
| |
| public static final class SplitPlaceholderRule.Builder { |
| ctor public SplitPlaceholderRule.Builder(java.util.Set<androidx.window.embedding.ActivityFilter> filters, android.content.Intent placeholderIntent); |
| method public androidx.window.embedding.SplitPlaceholderRule build(); |
| method public androidx.window.embedding.SplitPlaceholderRule.Builder setDefaultSplitAttributes(androidx.window.embedding.SplitAttributes defaultSplitAttributes); |
| method public androidx.window.embedding.SplitPlaceholderRule.Builder setFinishPrimaryWithPlaceholder(androidx.window.embedding.SplitRule.FinishBehavior finishPrimaryWithPlaceholder); |
| method public androidx.window.embedding.SplitPlaceholderRule.Builder setMaxAspectRatioInLandscape(androidx.window.embedding.EmbeddingAspectRatio aspectRatio); |
| method public androidx.window.embedding.SplitPlaceholderRule.Builder setMaxAspectRatioInPortrait(androidx.window.embedding.EmbeddingAspectRatio aspectRatio); |
| method public androidx.window.embedding.SplitPlaceholderRule.Builder setMinHeightDp(@IntRange(from=0L) int minHeightDp); |
| method public androidx.window.embedding.SplitPlaceholderRule.Builder setMinSmallestWidthDp(@IntRange(from=0L) int minSmallestWidthDp); |
| method public androidx.window.embedding.SplitPlaceholderRule.Builder setMinWidthDp(@IntRange(from=0L) int minWidthDp); |
| method public androidx.window.embedding.SplitPlaceholderRule.Builder setSticky(boolean isSticky); |
| method public androidx.window.embedding.SplitPlaceholderRule.Builder setTag(String? tag); |
| } |
| |
| public class SplitRule extends androidx.window.embedding.EmbeddingRule { |
| method public final androidx.window.embedding.SplitAttributes getDefaultSplitAttributes(); |
| method public final androidx.window.embedding.EmbeddingAspectRatio getMaxAspectRatioInLandscape(); |
| method public final androidx.window.embedding.EmbeddingAspectRatio getMaxAspectRatioInPortrait(); |
| method public final int getMinHeightDp(); |
| method public final int getMinSmallestWidthDp(); |
| method public final int getMinWidthDp(); |
| property public final androidx.window.embedding.SplitAttributes defaultSplitAttributes; |
| property public final androidx.window.embedding.EmbeddingAspectRatio maxAspectRatioInLandscape; |
| property public final androidx.window.embedding.EmbeddingAspectRatio maxAspectRatioInPortrait; |
| property @IntRange(from=0L) public final int minHeightDp; |
| property @IntRange(from=0L) public final int minSmallestWidthDp; |
| property @IntRange(from=0L) public final int minWidthDp; |
| field public static final androidx.window.embedding.SplitRule.Companion Companion; |
| field public static final androidx.window.embedding.EmbeddingAspectRatio SPLIT_MAX_ASPECT_RATIO_LANDSCAPE_DEFAULT; |
| field public static final androidx.window.embedding.EmbeddingAspectRatio SPLIT_MAX_ASPECT_RATIO_PORTRAIT_DEFAULT; |
| field public static final int SPLIT_MIN_DIMENSION_ALWAYS_ALLOW = 0; // 0x0 |
| field public static final int SPLIT_MIN_DIMENSION_DP_DEFAULT = 600; // 0x258 |
| } |
| |
| public static final class SplitRule.Companion { |
| property public final androidx.window.embedding.EmbeddingAspectRatio SPLIT_MAX_ASPECT_RATIO_LANDSCAPE_DEFAULT; |
| property public final androidx.window.embedding.EmbeddingAspectRatio SPLIT_MAX_ASPECT_RATIO_PORTRAIT_DEFAULT; |
| property public static final int SPLIT_MIN_DIMENSION_ALWAYS_ALLOW; |
| property public static final int SPLIT_MIN_DIMENSION_DP_DEFAULT; |
| } |
| |
| public static final class SplitRule.FinishBehavior { |
| field public static final androidx.window.embedding.SplitRule.FinishBehavior ADJACENT; |
| field public static final androidx.window.embedding.SplitRule.FinishBehavior ALWAYS; |
| field public static final androidx.window.embedding.SplitRule.FinishBehavior.Companion Companion; |
| field public static final androidx.window.embedding.SplitRule.FinishBehavior NEVER; |
| } |
| |
| public static final class SplitRule.FinishBehavior.Companion { |
| property public final androidx.window.embedding.SplitRule.FinishBehavior ADJACENT; |
| property public final androidx.window.embedding.SplitRule.FinishBehavior ALWAYS; |
| property public final androidx.window.embedding.SplitRule.FinishBehavior NEVER; |
| } |
| |
| } |
| |
| package androidx.window.layout { |
| |
| public interface DisplayFeature { |
| method public android.graphics.Rect getBounds(); |
| property public abstract android.graphics.Rect bounds; |
| } |
| |
| public interface FoldingFeature extends androidx.window.layout.DisplayFeature { |
| method public androidx.window.layout.FoldingFeature.OcclusionType getOcclusionType(); |
| method public androidx.window.layout.FoldingFeature.Orientation getOrientation(); |
| method public androidx.window.layout.FoldingFeature.State getState(); |
| method public boolean isSeparating(); |
| property public abstract boolean isSeparating; |
| property public abstract androidx.window.layout.FoldingFeature.OcclusionType occlusionType; |
| property public abstract androidx.window.layout.FoldingFeature.Orientation orientation; |
| property public abstract androidx.window.layout.FoldingFeature.State state; |
| } |
| |
| public static final class FoldingFeature.OcclusionType { |
| field public static final androidx.window.layout.FoldingFeature.OcclusionType.Companion Companion; |
| field public static final androidx.window.layout.FoldingFeature.OcclusionType FULL; |
| field public static final androidx.window.layout.FoldingFeature.OcclusionType NONE; |
| } |
| |
| public static final class FoldingFeature.OcclusionType.Companion { |
| property public final androidx.window.layout.FoldingFeature.OcclusionType FULL; |
| property public final androidx.window.layout.FoldingFeature.OcclusionType NONE; |
| } |
| |
| public static final class FoldingFeature.Orientation { |
| field public static final androidx.window.layout.FoldingFeature.Orientation.Companion Companion; |
| field public static final androidx.window.layout.FoldingFeature.Orientation HORIZONTAL; |
| field public static final androidx.window.layout.FoldingFeature.Orientation VERTICAL; |
| } |
| |
| public static final class FoldingFeature.Orientation.Companion { |
| property public final androidx.window.layout.FoldingFeature.Orientation HORIZONTAL; |
| property public final androidx.window.layout.FoldingFeature.Orientation VERTICAL; |
| } |
| |
| public static final class FoldingFeature.State { |
| field public static final androidx.window.layout.FoldingFeature.State.Companion Companion; |
| field public static final androidx.window.layout.FoldingFeature.State FLAT; |
| field public static final androidx.window.layout.FoldingFeature.State HALF_OPENED; |
| } |
| |
| public static final class FoldingFeature.State.Companion { |
| property public final androidx.window.layout.FoldingFeature.State FLAT; |
| property public final androidx.window.layout.FoldingFeature.State HALF_OPENED; |
| } |
| |
| public final class SupportedPosture { |
| field public static final androidx.window.layout.SupportedPosture.Companion Companion; |
| field public static final androidx.window.layout.SupportedPosture TABLETOP; |
| } |
| |
| public static final class SupportedPosture.Companion { |
| property public final androidx.window.layout.SupportedPosture TABLETOP; |
| } |
| |
| public interface WindowInfoTracker { |
| method public static androidx.window.layout.WindowInfoTracker getOrCreate(android.content.Context context); |
| method public default java.util.List<androidx.window.layout.SupportedPosture> getSupportedPostures(); |
| method public kotlinx.coroutines.flow.Flow<androidx.window.layout.WindowLayoutInfo> windowLayoutInfo(android.app.Activity activity); |
| method public default kotlinx.coroutines.flow.Flow<androidx.window.layout.WindowLayoutInfo> windowLayoutInfo(@UiContext android.content.Context context); |
| property @androidx.window.RequiresWindowSdkExtension(version=6) public default java.util.List<androidx.window.layout.SupportedPosture> supportedPostures; |
| field public static final androidx.window.layout.WindowInfoTracker.Companion Companion; |
| } |
| |
| public static final class WindowInfoTracker.Companion { |
| method public androidx.window.layout.WindowInfoTracker getOrCreate(android.content.Context context); |
| } |
| |
| public final class WindowLayoutInfo { |
| method public java.util.List<androidx.window.layout.DisplayFeature> getDisplayFeatures(); |
| property public final java.util.List<androidx.window.layout.DisplayFeature> displayFeatures; |
| } |
| |
| public final class WindowMetrics { |
| method public android.graphics.Rect getBounds(); |
| method public float getDensity(); |
| method public float getHeightDp(); |
| method public float getWidthDp(); |
| property public final android.graphics.Rect bounds; |
| property public final float density; |
| property public final float heightDp; |
| property public final float widthDp; |
| } |
| |
| public interface WindowMetricsCalculator { |
| method public androidx.window.layout.WindowMetrics computeCurrentWindowMetrics(android.app.Activity activity); |
| method public default androidx.window.layout.WindowMetrics computeCurrentWindowMetrics(@UiContext android.content.Context context); |
| method public androidx.window.layout.WindowMetrics computeMaximumWindowMetrics(android.app.Activity activity); |
| method public default androidx.window.layout.WindowMetrics computeMaximumWindowMetrics(@UiContext android.content.Context context); |
| method public static androidx.window.layout.WindowMetricsCalculator getOrCreate(); |
| field public static final androidx.window.layout.WindowMetricsCalculator.Companion Companion; |
| } |
| |
| public static final class WindowMetricsCalculator.Companion { |
| method public androidx.window.layout.WindowMetricsCalculator getOrCreate(); |
| } |
| |
| } |
| |
| package androidx.window.layout.adapter { |
| |
| public final class WindowSizeClassFactory { |
| method public static androidx.window.core.layout.WindowSizeClass computeWindowSizeClass(java.util.Set<androidx.window.core.layout.WindowSizeClass>, androidx.window.layout.WindowMetrics windowMetrics); |
| } |
| |
| } |
| |