1// Signature format: 4.0 2package androidx.compose.foundation { 3 4 public interface AndroidExternalSurfaceScope { 5 method public void onSurface(kotlin.jvm.functions.Function5<? super androidx.compose.foundation.SurfaceCoroutineScope,? super android.view.Surface,? super java.lang.Integer,? super java.lang.Integer,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> onSurface); 6 } 7 8 @kotlin.jvm.JvmInline public final value class AndroidExternalSurfaceZOrder { 9 method public int getZOrder(); 10 property public int zOrder; 11 field public static final androidx.compose.foundation.AndroidExternalSurfaceZOrder.Companion Companion; 12 } 13 14 public static final class AndroidExternalSurfaceZOrder.Companion { 15 method public int getBehind(); 16 method public int getMediaOverlay(); 17 method public int getOnTop(); 18 property public int Behind; 19 property public int MediaOverlay; 20 property public int OnTop; 21 } 22 23 public final class AndroidExternalSurface_androidKt { 24 method @androidx.compose.runtime.Composable public static void AndroidEmbeddedExternalSurface(optional androidx.compose.ui.Modifier modifier, optional boolean isOpaque, optional long surfaceSize, optional float[]? transform, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.AndroidExternalSurfaceScope,kotlin.Unit> onInit); 25 method @androidx.compose.runtime.Composable public static void AndroidExternalSurface(optional androidx.compose.ui.Modifier modifier, optional boolean isOpaque, optional long surfaceSize, optional int zOrder, optional boolean isSecure, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.AndroidExternalSurfaceScope,kotlin.Unit> onInit); 26 } 27 28 public final class AndroidOverscroll_androidKt { 29 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.OverscrollFactory rememberPlatformOverscrollFactory(optional long glowColor, optional androidx.compose.foundation.layout.PaddingValues glowDrawPadding); 30 } 31 32 public final class BackgroundKt { 33 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier background(androidx.compose.ui.Modifier, androidx.compose.ui.graphics.Brush brush, optional androidx.compose.ui.graphics.Shape shape, optional @FloatRange(from=0.0, to=1.0) float alpha); 34 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier background(androidx.compose.ui.Modifier, long color, optional androidx.compose.ui.graphics.Shape shape); 35 } 36 37 public final class BasicMarqueeKt { 38 method public static androidx.compose.foundation.MarqueeSpacing MarqueeSpacing(float spacing); 39 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier basicMarquee(androidx.compose.ui.Modifier, optional int iterations, optional int animationMode, optional int repeatDelayMillis, optional int initialDelayMillis, optional androidx.compose.foundation.MarqueeSpacing spacing, optional float velocity); 40 } 41 42 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public final class BasicTooltipDefaults { 43 method public androidx.compose.foundation.MutatorMutex getGlobalMutatorMutex(); 44 property public androidx.compose.foundation.MutatorMutex GlobalMutatorMutex; 45 property public static long TooltipDuration; 46 field public static final androidx.compose.foundation.BasicTooltipDefaults INSTANCE; 47 field public static final long TooltipDuration = 1500L; // 0x5dcL 48 } 49 50 public final class BasicTooltipKt { 51 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Composable public static void BasicTooltipBox(androidx.compose.ui.window.PopupPositionProvider positionProvider, kotlin.jvm.functions.Function0<kotlin.Unit> tooltip, androidx.compose.foundation.BasicTooltipState state, optional androidx.compose.ui.Modifier modifier, optional boolean focusable, optional boolean enableUserInput, kotlin.jvm.functions.Function0<kotlin.Unit> content); 52 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Stable public static androidx.compose.foundation.BasicTooltipState BasicTooltipState(optional boolean initialIsVisible, optional boolean isPersistent, optional androidx.compose.foundation.MutatorMutex mutatorMutex); 53 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Composable public static androidx.compose.foundation.BasicTooltipState rememberBasicTooltipState(optional boolean initialIsVisible, optional boolean isPersistent, optional androidx.compose.foundation.MutatorMutex mutatorMutex); 54 } 55 56 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Stable public interface BasicTooltipState { 57 method public void dismiss(); 58 method public boolean isPersistent(); 59 method public boolean isVisible(); 60 method public void onDispose(); 61 method public suspend Object? show(optional androidx.compose.foundation.MutatePriority mutatePriority, kotlin.coroutines.Continuation<? super kotlin.Unit>); 62 property public abstract boolean isPersistent; 63 property public abstract boolean isVisible; 64 } 65 66 public final class BasicTooltip_androidKt { 67 method @Deprecated @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Composable public static void BasicTooltipBox(androidx.compose.ui.window.PopupPositionProvider positionProvider, kotlin.jvm.functions.Function0<kotlin.Unit> tooltip, androidx.compose.foundation.BasicTooltipState state, optional androidx.compose.ui.Modifier modifier, optional boolean focusable, optional boolean enableUserInput, kotlin.jvm.functions.Function0<kotlin.Unit> content); 68 } 69 70 public final class BorderKt { 71 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier border(androidx.compose.ui.Modifier, androidx.compose.foundation.BorderStroke border, optional androidx.compose.ui.graphics.Shape shape); 72 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier border(androidx.compose.ui.Modifier, float width, androidx.compose.ui.graphics.Brush brush, androidx.compose.ui.graphics.Shape shape); 73 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier border(androidx.compose.ui.Modifier, float width, long color, optional androidx.compose.ui.graphics.Shape shape); 74 } 75 76 @androidx.compose.runtime.Immutable public final class BorderStroke { 77 ctor public BorderStroke(float width, androidx.compose.ui.graphics.Brush brush); 78 method public androidx.compose.foundation.BorderStroke copy(optional float width, optional androidx.compose.ui.graphics.Brush brush); 79 method public androidx.compose.ui.graphics.Brush getBrush(); 80 method public float getWidth(); 81 property public androidx.compose.ui.graphics.Brush brush; 82 property public float width; 83 } 84 85 public final class BorderStrokeKt { 86 method @androidx.compose.runtime.Stable public static androidx.compose.foundation.BorderStroke BorderStroke(float width, long color); 87 } 88 89 public final class CanvasKt { 90 method @androidx.compose.runtime.Composable public static void Canvas(androidx.compose.ui.Modifier modifier, String contentDescription, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> onDraw); 91 method @androidx.compose.runtime.Composable public static void Canvas(androidx.compose.ui.Modifier modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> onDraw); 92 } 93 94 public final class CheckScrollableContainerConstraintsKt { 95 method public static void checkScrollableContainerConstraints(long constraints, androidx.compose.foundation.gestures.Orientation orientation); 96 } 97 98 public final class ClickableKt { 99 method public static androidx.compose.ui.Modifier clickable(androidx.compose.ui.Modifier, androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, androidx.compose.foundation.Indication? indication, optional boolean enabled, optional String? onClickLabel, optional androidx.compose.ui.semantics.Role? role, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 100 method public static androidx.compose.ui.Modifier clickable(androidx.compose.ui.Modifier, optional boolean enabled, optional String? onClickLabel, optional androidx.compose.ui.semantics.Role? role, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 101 method @Deprecated public static androidx.compose.ui.Modifier clickable(androidx.compose.ui.Modifier, optional boolean enabled, optional String? onClickLabel, optional androidx.compose.ui.semantics.Role? role, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 102 method public static androidx.compose.ui.Modifier combinedClickable(androidx.compose.ui.Modifier, androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, androidx.compose.foundation.Indication? indication, optional boolean enabled, optional String? onClickLabel, optional androidx.compose.ui.semantics.Role? role, optional String? onLongClickLabel, optional kotlin.jvm.functions.Function0<kotlin.Unit>? onLongClick, optional kotlin.jvm.functions.Function0<kotlin.Unit>? onDoubleClick, optional boolean hapticFeedbackEnabled, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 103 method @Deprecated public static androidx.compose.ui.Modifier combinedClickable(androidx.compose.ui.Modifier, androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, androidx.compose.foundation.Indication? indication, optional boolean enabled, optional String? onClickLabel, optional androidx.compose.ui.semantics.Role? role, optional String? onLongClickLabel, optional kotlin.jvm.functions.Function0<kotlin.Unit>? onLongClick, optional kotlin.jvm.functions.Function0<kotlin.Unit>? onDoubleClick, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 104 method public static androidx.compose.ui.Modifier combinedClickable(androidx.compose.ui.Modifier, optional boolean enabled, optional String? onClickLabel, optional androidx.compose.ui.semantics.Role? role, optional String? onLongClickLabel, optional kotlin.jvm.functions.Function0<kotlin.Unit>? onLongClick, optional kotlin.jvm.functions.Function0<kotlin.Unit>? onDoubleClick, optional boolean hapticFeedbackEnabled, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 105 method @Deprecated public static androidx.compose.ui.Modifier combinedClickable(androidx.compose.ui.Modifier, optional boolean enabled, optional String? onClickLabel, optional androidx.compose.ui.semantics.Role? role, optional String? onLongClickLabel, optional kotlin.jvm.functions.Function0<kotlin.Unit>? onLongClick, optional kotlin.jvm.functions.Function0<kotlin.Unit>? onDoubleClick, optional boolean hapticFeedbackEnabled, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 106 method @Deprecated public static androidx.compose.ui.Modifier combinedClickable(androidx.compose.ui.Modifier, optional boolean enabled, optional String? onClickLabel, optional androidx.compose.ui.semantics.Role? role, optional String? onLongClickLabel, optional kotlin.jvm.functions.Function0<kotlin.Unit>? onLongClick, optional kotlin.jvm.functions.Function0<kotlin.Unit>? onDoubleClick, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 107 } 108 109 public final class ClipScrollableContainerKt { 110 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier clipScrollableContainer(androidx.compose.ui.Modifier, androidx.compose.foundation.gestures.Orientation orientation); 111 } 112 113 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public final class ComposeFoundationFlags { 114 property public boolean DragGesturePickUpEnabled; 115 property public boolean isAutomaticNestedPrefetchEnabled; 116 property public boolean isDetectTapGesturesImmediateCoroutineDispatchEnabled; 117 property public boolean isNonComposedClickableEnabled; 118 property public boolean isOnScrollChangedCallbackEnabled; 119 property public boolean isPausableCompositionInPrefetchEnabled; 120 field public static boolean DragGesturePickUpEnabled; 121 field public static final androidx.compose.foundation.ComposeFoundationFlags INSTANCE; 122 field public static boolean isAutomaticNestedPrefetchEnabled; 123 field public static boolean isDetectTapGesturesImmediateCoroutineDispatchEnabled; 124 field public static boolean isNonComposedClickableEnabled; 125 field public static boolean isOnScrollChangedCallbackEnabled; 126 field public static boolean isPausableCompositionInPrefetchEnabled; 127 } 128 129 public final class DarkThemeKt { 130 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static boolean isSystemInDarkTheme(); 131 } 132 133 public final class ExcludeFromSystemGestureKt { 134 method @Deprecated public static androidx.compose.ui.Modifier excludeFromSystemGesture(androidx.compose.ui.Modifier); 135 method @Deprecated public static androidx.compose.ui.Modifier excludeFromSystemGesture(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.layout.LayoutCoordinates,androidx.compose.ui.geometry.Rect> exclusion); 136 } 137 138 @SuppressCompatibility @kotlin.RequiresOptIn(message="This foundation API is experimental and is likely to change or be removed in the " + "future.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalFoundationApi { 139 } 140 141 public final class FocusableKt { 142 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier focusGroup(androidx.compose.ui.Modifier); 143 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier focusable(androidx.compose.ui.Modifier, optional boolean enabled, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource); 144 } 145 146 public final class FocusedBoundsKt { 147 method public static androidx.compose.ui.Modifier onFocusedBoundsChanged(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.layout.LayoutCoordinates?,kotlin.Unit> onPositioned); 148 } 149 150 public final class HoverableKt { 151 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier hoverable(androidx.compose.ui.Modifier, androidx.compose.foundation.interaction.MutableInteractionSource interactionSource, optional boolean enabled); 152 } 153 154 public final class ImageKt { 155 method @Deprecated @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void Image(androidx.compose.ui.graphics.ImageBitmap bitmap, String? contentDescription, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.Alignment alignment, optional androidx.compose.ui.layout.ContentScale contentScale, optional float alpha, optional androidx.compose.ui.graphics.ColorFilter? colorFilter); 156 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void Image(androidx.compose.ui.graphics.ImageBitmap bitmap, String? contentDescription, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.Alignment alignment, optional androidx.compose.ui.layout.ContentScale contentScale, optional float alpha, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int filterQuality); 157 method @androidx.compose.runtime.Composable public static void Image(androidx.compose.ui.graphics.painter.Painter painter, String? contentDescription, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.Alignment alignment, optional androidx.compose.ui.layout.ContentScale contentScale, optional float alpha, optional androidx.compose.ui.graphics.ColorFilter? colorFilter); 158 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void Image(androidx.compose.ui.graphics.vector.ImageVector imageVector, String? contentDescription, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.Alignment alignment, optional androidx.compose.ui.layout.ContentScale contentScale, optional float alpha, optional androidx.compose.ui.graphics.ColorFilter? colorFilter); 159 } 160 161 @androidx.compose.runtime.Stable public interface Indication { 162 method @Deprecated @androidx.compose.runtime.Composable public default androidx.compose.foundation.IndicationInstance rememberUpdatedInstance(androidx.compose.foundation.interaction.InteractionSource interactionSource); 163 } 164 165 @Deprecated public interface IndicationInstance { 166 method @Deprecated public void drawIndication(androidx.compose.ui.graphics.drawscope.ContentDrawScope); 167 } 168 169 public final class IndicationKt { 170 method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.foundation.Indication> getLocalIndication(); 171 method public static androidx.compose.ui.Modifier indication(androidx.compose.ui.Modifier, androidx.compose.foundation.interaction.InteractionSource interactionSource, androidx.compose.foundation.Indication? indication); 172 property public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.foundation.Indication> LocalIndication; 173 } 174 175 @androidx.compose.runtime.Stable public interface IndicationNodeFactory extends androidx.compose.foundation.Indication { 176 method public androidx.compose.ui.node.DelegatableNode create(androidx.compose.foundation.interaction.InteractionSource interactionSource); 177 method public boolean equals(Object? other); 178 method public int hashCode(); 179 } 180 181 @SuppressCompatibility @kotlin.RequiresOptIn(message="This API is internal to library.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER, kotlin.annotation.AnnotationTarget.PROPERTY_SETTER}) public @interface InternalFoundationApi { 182 } 183 184 public final class Magnifier_androidKt { 185 method public static androidx.compose.ui.Modifier magnifier(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Density,androidx.compose.ui.geometry.Offset> sourceCenter, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Density,androidx.compose.ui.geometry.Offset>? magnifierCenter, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.DpSize,kotlin.Unit>? onSizeChanged, optional float zoom, optional long size, optional float cornerRadius, optional float elevation, optional boolean clip); 186 } 187 188 @kotlin.jvm.JvmInline public final value class MarqueeAnimationMode { 189 field public static final androidx.compose.foundation.MarqueeAnimationMode.Companion Companion; 190 } 191 192 public static final class MarqueeAnimationMode.Companion { 193 method public int getImmediately(); 194 method public int getWhileFocused(); 195 property public int Immediately; 196 property public int WhileFocused; 197 } 198 199 public final class MarqueeDefaults { 200 method public int getIterations(); 201 method public int getRepeatDelayMillis(); 202 method public androidx.compose.foundation.MarqueeSpacing getSpacing(); 203 method public float getVelocity(); 204 property public int Iterations; 205 property public int RepeatDelayMillis; 206 property public androidx.compose.foundation.MarqueeSpacing Spacing; 207 property public float Velocity; 208 field public static final androidx.compose.foundation.MarqueeDefaults INSTANCE; 209 } 210 211 @androidx.compose.runtime.Stable public fun interface MarqueeSpacing { 212 method public int calculateSpacing(androidx.compose.ui.unit.Density, int contentWidth, int containerWidth); 213 field public static final androidx.compose.foundation.MarqueeSpacing.Companion Companion; 214 } 215 216 public static final class MarqueeSpacing.Companion { 217 method public androidx.compose.foundation.MarqueeSpacing fractionOfContainer(float fraction); 218 } 219 220 public enum MutatePriority { 221 enum_constant public static final androidx.compose.foundation.MutatePriority Default; 222 enum_constant public static final androidx.compose.foundation.MutatePriority PreventUserInput; 223 enum_constant public static final androidx.compose.foundation.MutatePriority UserInput; 224 } 225 226 @androidx.compose.runtime.Stable public final class MutatorMutex { 227 ctor public MutatorMutex(); 228 method public suspend <R> Object? mutate(optional androidx.compose.foundation.MutatePriority priority, kotlin.jvm.functions.Function1<? super kotlin.coroutines.Continuation<? super R>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super R>); 229 method public suspend <T, R> Object? mutateWith(T receiver, optional androidx.compose.foundation.MutatePriority priority, kotlin.jvm.functions.Function2<? super T,? super kotlin.coroutines.Continuation<? super R>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super R>); 230 method public inline boolean tryMutate(kotlin.jvm.functions.Function0<kotlin.Unit> block); 231 } 232 233 @Deprecated @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Stable public final class OverscrollConfiguration { 234 ctor @Deprecated public OverscrollConfiguration(); 235 ctor @Deprecated public OverscrollConfiguration(optional long glowColor, optional androidx.compose.foundation.layout.PaddingValues drawPadding); 236 method @Deprecated public androidx.compose.foundation.layout.PaddingValues getDrawPadding(); 237 method @Deprecated public long getGlowColor(); 238 property @Deprecated public androidx.compose.foundation.layout.PaddingValues drawPadding; 239 property @Deprecated public long glowColor; 240 } 241 242 public final class OverscrollConfiguration_androidKt { 243 method @Deprecated @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.foundation.OverscrollConfiguration?> getLocalOverscrollConfiguration(); 244 property @Deprecated @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.foundation.OverscrollConfiguration?> LocalOverscrollConfiguration; 245 } 246 247 @androidx.compose.runtime.Stable public interface OverscrollEffect { 248 method public suspend Object? applyToFling(long velocity, kotlin.jvm.functions.Function2<? super androidx.compose.ui.unit.Velocity,? super kotlin.coroutines.Continuation<? super androidx.compose.ui.unit.Velocity>,? extends java.lang.Object?> performFling, kotlin.coroutines.Continuation<? super kotlin.Unit>); 249 method public long applyToScroll(long delta, int source, kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,androidx.compose.ui.geometry.Offset> performScroll); 250 method @Deprecated public default androidx.compose.ui.Modifier getEffectModifier(); 251 method public default androidx.compose.ui.node.DelegatableNode getNode(); 252 method public boolean isInProgress(); 253 property @Deprecated public default androidx.compose.ui.Modifier effectModifier; 254 property public abstract boolean isInProgress; 255 property public default androidx.compose.ui.node.DelegatableNode node; 256 } 257 258 public interface OverscrollFactory { 259 method public androidx.compose.foundation.OverscrollEffect createOverscrollEffect(); 260 method public boolean equals(Object? other); 261 method public int hashCode(); 262 } 263 264 public final class OverscrollKt { 265 method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.foundation.OverscrollFactory?> getLocalOverscrollFactory(); 266 method public static androidx.compose.ui.Modifier overscroll(androidx.compose.ui.Modifier, androidx.compose.foundation.OverscrollEffect? overscrollEffect); 267 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.OverscrollEffect? rememberOverscrollEffect(); 268 method @androidx.compose.runtime.Stable public static androidx.compose.foundation.OverscrollEffect withoutEventHandling(androidx.compose.foundation.OverscrollEffect); 269 method @androidx.compose.runtime.Stable public static androidx.compose.foundation.OverscrollEffect withoutVisualEffect(androidx.compose.foundation.OverscrollEffect); 270 property public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.foundation.OverscrollFactory?> LocalOverscrollFactory; 271 } 272 273 public final class PreferKeepClear_androidKt { 274 method public static androidx.compose.ui.Modifier preferKeepClear(androidx.compose.ui.Modifier); 275 method public static androidx.compose.ui.Modifier preferKeepClear(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.layout.LayoutCoordinates,androidx.compose.ui.geometry.Rect> rectProvider); 276 } 277 278 public final class ProgressSemanticsKt { 279 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier progressSemantics(androidx.compose.ui.Modifier); 280 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier progressSemantics(androidx.compose.ui.Modifier, float value, optional kotlin.ranges.ClosedFloatingPointRange<java.lang.Float> valueRange, optional @IntRange(from=0L) int steps); 281 } 282 283 public final class ScrollKt { 284 method public static androidx.compose.ui.Modifier horizontalScroll(androidx.compose.ui.Modifier, androidx.compose.foundation.ScrollState state, androidx.compose.foundation.OverscrollEffect? overscrollEffect, optional boolean enabled, optional androidx.compose.foundation.gestures.FlingBehavior? flingBehavior, optional boolean reverseScrolling); 285 method public static androidx.compose.ui.Modifier horizontalScroll(androidx.compose.ui.Modifier, androidx.compose.foundation.ScrollState state, optional boolean enabled, optional androidx.compose.foundation.gestures.FlingBehavior? flingBehavior, optional boolean reverseScrolling); 286 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.ScrollState rememberScrollState(optional int initial); 287 method public static androidx.compose.ui.Modifier verticalScroll(androidx.compose.ui.Modifier, androidx.compose.foundation.ScrollState state, androidx.compose.foundation.OverscrollEffect? overscrollEffect, optional boolean enabled, optional androidx.compose.foundation.gestures.FlingBehavior? flingBehavior, optional boolean reverseScrolling); 288 method public static androidx.compose.ui.Modifier verticalScroll(androidx.compose.ui.Modifier, androidx.compose.foundation.ScrollState state, optional boolean enabled, optional androidx.compose.foundation.gestures.FlingBehavior? flingBehavior, optional boolean reverseScrolling); 289 } 290 291 @androidx.compose.runtime.Stable public final class ScrollState implements androidx.compose.foundation.gestures.ScrollableState { 292 ctor public ScrollState(int initial); 293 method public suspend Object? animateScrollTo(int value, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, kotlin.coroutines.Continuation<? super kotlin.Unit>); 294 method public float dispatchRawDelta(float delta); 295 method public androidx.compose.foundation.interaction.InteractionSource getInteractionSource(); 296 method public int getMaxValue(); 297 method public int getValue(); 298 method public int getViewportSize(); 299 method public boolean isScrollInProgress(); 300 method public suspend Object? scroll(androidx.compose.foundation.MutatePriority scrollPriority, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.gestures.ScrollScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 301 method public suspend Object? scrollTo(int value, kotlin.coroutines.Continuation<? super java.lang.Float>); 302 property public boolean canScrollBackward; 303 property public boolean canScrollForward; 304 property public androidx.compose.foundation.interaction.InteractionSource interactionSource; 305 property public boolean isScrollInProgress; 306 property public boolean lastScrolledBackward; 307 property public boolean lastScrolledForward; 308 property public int maxValue; 309 property public int value; 310 property public int viewportSize; 311 field public static final androidx.compose.foundation.ScrollState.Companion Companion; 312 } 313 314 public static final class ScrollState.Companion { 315 method public androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.ScrollState,? extends java.lang.Object?> getSaver(); 316 property public androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.ScrollState,? extends java.lang.Object?> Saver; 317 } 318 319 public interface SurfaceCoroutineScope extends androidx.compose.foundation.SurfaceScope kotlinx.coroutines.CoroutineScope { 320 } 321 322 public interface SurfaceScope { 323 method public void onChanged(android.view.Surface, kotlin.jvm.functions.Function3<? super android.view.Surface,? super java.lang.Integer,? super java.lang.Integer,kotlin.Unit> onChanged); 324 method public void onDestroyed(android.view.Surface, kotlin.jvm.functions.Function1<? super android.view.Surface,kotlin.Unit> onDestroyed); 325 } 326 327 public final class SystemGestureExclusionKt { 328 method public static androidx.compose.ui.Modifier systemGestureExclusion(androidx.compose.ui.Modifier); 329 method public static androidx.compose.ui.Modifier systemGestureExclusion(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.layout.LayoutCoordinates,androidx.compose.ui.geometry.Rect> exclusion); 330 } 331 332} 333 334package androidx.compose.foundation.content { 335 336 public final class MediaType { 337 ctor public MediaType(String representation); 338 method public String getRepresentation(); 339 property public String representation; 340 field public static final androidx.compose.foundation.content.MediaType.Companion Companion; 341 } 342 343 public static final class MediaType.Companion { 344 method public androidx.compose.foundation.content.MediaType getAll(); 345 method public androidx.compose.foundation.content.MediaType getHtmlText(); 346 method public androidx.compose.foundation.content.MediaType getImage(); 347 method public androidx.compose.foundation.content.MediaType getPlainText(); 348 method public androidx.compose.foundation.content.MediaType getText(); 349 property public androidx.compose.foundation.content.MediaType All; 350 property public androidx.compose.foundation.content.MediaType HtmlText; 351 property public androidx.compose.foundation.content.MediaType Image; 352 property public androidx.compose.foundation.content.MediaType PlainText; 353 property public androidx.compose.foundation.content.MediaType Text; 354 } 355 356 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public final class PlatformTransferableContent { 357 method public android.os.Bundle getExtras(); 358 method public android.net.Uri? getLinkUri(); 359 property public android.os.Bundle extras; 360 property public android.net.Uri? linkUri; 361 } 362 363 public final class ReceiveContentKt { 364 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.ui.Modifier contentReceiver(androidx.compose.ui.Modifier, androidx.compose.foundation.content.ReceiveContentListener receiveContentListener); 365 } 366 367 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public fun interface ReceiveContentListener { 368 method public default void onDragEnd(); 369 method public default void onDragEnter(); 370 method public default void onDragExit(); 371 method public default void onDragStart(); 372 method public androidx.compose.foundation.content.TransferableContent? onReceive(androidx.compose.foundation.content.TransferableContent transferableContent); 373 } 374 375 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public final class TransferableContent { 376 method public androidx.compose.ui.platform.ClipEntry getClipEntry(); 377 method public androidx.compose.ui.platform.ClipMetadata getClipMetadata(); 378 method public androidx.compose.foundation.content.PlatformTransferableContent? getPlatformTransferableContent(); 379 method public int getSource(); 380 property public androidx.compose.ui.platform.ClipEntry clipEntry; 381 property public androidx.compose.ui.platform.ClipMetadata clipMetadata; 382 property public androidx.compose.foundation.content.PlatformTransferableContent? platformTransferableContent; 383 property public int source; 384 } 385 386 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @kotlin.jvm.JvmInline public static final value class TransferableContent.Source { 387 field public static final androidx.compose.foundation.content.TransferableContent.Source.Companion Companion; 388 } 389 390 public static final class TransferableContent.Source.Companion { 391 method public int getClipboard(); 392 method public int getDragAndDrop(); 393 method public int getKeyboard(); 394 property public int Clipboard; 395 property public int DragAndDrop; 396 property public int Keyboard; 397 } 398 399 public final class TransferableContent_androidKt { 400 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.foundation.content.TransferableContent? consume(androidx.compose.foundation.content.TransferableContent, kotlin.jvm.functions.Function1<? super android.content.ClipData.Item,java.lang.Boolean> predicate); 401 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static boolean hasMediaType(androidx.compose.foundation.content.TransferableContent, androidx.compose.foundation.content.MediaType mediaType); 402 } 403 404} 405 406package androidx.compose.foundation.draganddrop { 407 408 public final class AndroidDragAndDropSource_androidKt { 409 method @Deprecated @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.ui.Modifier dragAndDropSource(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.draganddrop.DragAndDropSourceScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block); 410 } 411 412 public final class DragAndDropSourceKt { 413 method public static androidx.compose.ui.Modifier dragAndDropSource(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,androidx.compose.ui.draganddrop.DragAndDropTransferData?> transferData); 414 method public static androidx.compose.ui.Modifier dragAndDropSource(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> drawDragDecoration, kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,androidx.compose.ui.draganddrop.DragAndDropTransferData?> transferData); 415 method @Deprecated @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.ui.Modifier dragAndDropSource(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> drawDragDecoration, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.draganddrop.DragAndDropSourceScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block); 416 } 417 418 @Deprecated @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public interface DragAndDropSourceScope extends androidx.compose.ui.input.pointer.PointerInputScope { 419 method @Deprecated public void startTransfer(androidx.compose.ui.draganddrop.DragAndDropTransferData transferData); 420 } 421 422 public final class DragAndDropTargetKt { 423 method public static androidx.compose.ui.Modifier dragAndDropTarget(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.draganddrop.DragAndDropEvent,java.lang.Boolean> shouldStartDragAndDrop, androidx.compose.ui.draganddrop.DragAndDropTarget target); 424 } 425 426} 427 428package androidx.compose.foundation.gestures { 429 430 public interface AnchoredDragScope { 431 method public void dragTo(float newOffset, optional float lastKnownVelocity); 432 } 433 434 public final class AnchoredDraggableDefaults { 435 method @androidx.compose.runtime.Composable public <T> androidx.compose.foundation.gestures.TargetedFlingBehavior flingBehavior(androidx.compose.foundation.gestures.AnchoredDraggableState<T> state, optional kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> positionalThreshold, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec); 436 method public androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> getDecayAnimationSpec(); 437 method public kotlin.jvm.functions.Function1<java.lang.Float,java.lang.Float> getPositionalThreshold(); 438 method public androidx.compose.animation.core.AnimationSpec<java.lang.Float> getSnapAnimationSpec(); 439 property public androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> DecayAnimationSpec; 440 property public kotlin.jvm.functions.Function1<java.lang.Float,java.lang.Float> PositionalThreshold; 441 property public androidx.compose.animation.core.AnimationSpec<java.lang.Float> SnapAnimationSpec; 442 field public static final androidx.compose.foundation.gestures.AnchoredDraggableDefaults INSTANCE; 443 } 444 445 public final class AnchoredDraggableKt { 446 method @Deprecated public static <T> androidx.compose.foundation.gestures.AnchoredDraggableState<T> AnchoredDraggableState(T initialValue, androidx.compose.foundation.gestures.DraggableAnchors<T> anchors, kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> positionalThreshold, kotlin.jvm.functions.Function0<java.lang.Float> velocityThreshold, androidx.compose.animation.core.AnimationSpec<java.lang.Float> snapAnimationSpec, androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> decayAnimationSpec, optional kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> confirmValueChange); 447 method @Deprecated public static <T> androidx.compose.foundation.gestures.AnchoredDraggableState<T> AnchoredDraggableState(T initialValue, kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> positionalThreshold, kotlin.jvm.functions.Function0<java.lang.Float> velocityThreshold, androidx.compose.animation.core.AnimationSpec<java.lang.Float> snapAnimationSpec, androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> decayAnimationSpec, optional kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> confirmValueChange); 448 method public static <T> androidx.compose.foundation.gestures.DraggableAnchors<T> DraggableAnchors(kotlin.jvm.functions.Function1<? super androidx.compose.foundation.gestures.DraggableAnchorsConfig<T>,kotlin.Unit> builder); 449 method public static <T> androidx.compose.ui.Modifier anchoredDraggable(androidx.compose.ui.Modifier, androidx.compose.foundation.gestures.AnchoredDraggableState<T> state, androidx.compose.foundation.gestures.Orientation orientation, optional boolean enabled, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, optional androidx.compose.foundation.gestures.FlingBehavior? flingBehavior); 450 method @Deprecated public static <T> androidx.compose.ui.Modifier anchoredDraggable(androidx.compose.ui.Modifier, androidx.compose.foundation.gestures.AnchoredDraggableState<T> state, androidx.compose.foundation.gestures.Orientation orientation, optional boolean enabled, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, optional boolean startDragImmediately, optional androidx.compose.foundation.gestures.FlingBehavior? flingBehavior); 451 method public static <T> androidx.compose.ui.Modifier anchoredDraggable(androidx.compose.ui.Modifier, androidx.compose.foundation.gestures.AnchoredDraggableState<T> state, boolean reverseDirection, androidx.compose.foundation.gestures.Orientation orientation, optional boolean enabled, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, optional androidx.compose.foundation.gestures.FlingBehavior? flingBehavior); 452 method @Deprecated public static <T> androidx.compose.ui.Modifier anchoredDraggable(androidx.compose.ui.Modifier, androidx.compose.foundation.gestures.AnchoredDraggableState<T> state, boolean reverseDirection, androidx.compose.foundation.gestures.Orientation orientation, optional boolean enabled, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, optional boolean startDragImmediately, optional androidx.compose.foundation.gestures.FlingBehavior? flingBehavior); 453 method public static suspend <T> Object? animateTo(androidx.compose.foundation.gestures.AnchoredDraggableState<T>, T targetValue, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, kotlin.coroutines.Continuation<? super kotlin.Unit>); 454 method public static suspend <T> Object? animateToWithDecay(androidx.compose.foundation.gestures.AnchoredDraggableState<T>, T targetValue, float velocity, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> snapAnimationSpec, optional androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> decayAnimationSpec, kotlin.coroutines.Continuation<? super java.lang.Float>); 455 method public static inline <T> void forEach(androidx.compose.foundation.gestures.DraggableAnchors<T>, kotlin.jvm.functions.Function2<? super T,? super java.lang.Float,kotlin.Unit> block); 456 method public static suspend <T> Object? snapTo(androidx.compose.foundation.gestures.AnchoredDraggableState<T>, T targetValue, kotlin.coroutines.Continuation<? super kotlin.Unit>); 457 } 458 459 @androidx.compose.runtime.Stable public final class AnchoredDraggableState<T> { 460 ctor public AnchoredDraggableState(T initialValue); 461 ctor public AnchoredDraggableState(T initialValue, androidx.compose.foundation.gestures.DraggableAnchors<T> anchors); 462 ctor @Deprecated public AnchoredDraggableState(T initialValue, androidx.compose.foundation.gestures.DraggableAnchors<T> anchors, optional kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> confirmValueChange); 463 ctor @Deprecated public AnchoredDraggableState(T initialValue, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> confirmValueChange); 464 method public suspend Object? anchoredDrag(optional androidx.compose.foundation.MutatePriority dragPriority, kotlin.jvm.functions.Function3<? super androidx.compose.foundation.gestures.AnchoredDragScope,? super androidx.compose.foundation.gestures.DraggableAnchors<T>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 465 method public suspend Object? anchoredDrag(T targetValue, optional androidx.compose.foundation.MutatePriority dragPriority, kotlin.jvm.functions.Function4<? super androidx.compose.foundation.gestures.AnchoredDragScope,? super androidx.compose.foundation.gestures.DraggableAnchors<T>,? super T,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 466 method public float dispatchRawDelta(float delta); 467 method public androidx.compose.foundation.gestures.DraggableAnchors<T> getAnchors(); 468 method public T getCurrentValue(); 469 method @Deprecated public androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> getDecayAnimationSpec(); 470 method public float getLastVelocity(); 471 method public float getOffset(); 472 method @Deprecated @FloatRange(from=0.0, to=1.0) public float getProgress(); 473 method public T getSettledValue(); 474 method @Deprecated public androidx.compose.animation.core.AnimationSpec<java.lang.Float> getSnapAnimationSpec(); 475 method public T getTargetValue(); 476 method public boolean isAnimationRunning(); 477 method @FloatRange(from=0.0, to=1.0) public float progress(T from, T to); 478 method public float requireOffset(); 479 method public suspend Object? settle(androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, kotlin.coroutines.Continuation<? super kotlin.Unit>); 480 method @Deprecated public suspend Object? settle(float velocity, kotlin.coroutines.Continuation<? super java.lang.Float>); 481 method public void updateAnchors(androidx.compose.foundation.gestures.DraggableAnchors<T> newAnchors, optional T newTarget); 482 property public androidx.compose.foundation.gestures.DraggableAnchors<T> anchors; 483 property public T currentValue; 484 property @Deprecated public androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> decayAnimationSpec; 485 property public boolean isAnimationRunning; 486 property public float lastVelocity; 487 property public float offset; 488 property @Deprecated @FloatRange(from=0.0, to=1.0) public float progress; 489 property public T settledValue; 490 property @Deprecated public androidx.compose.animation.core.AnimationSpec<java.lang.Float> snapAnimationSpec; 491 property public T targetValue; 492 field public static final androidx.compose.foundation.gestures.AnchoredDraggableState.Companion Companion; 493 field @Deprecated public androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> decayAnimationSpec; 494 field @Deprecated public androidx.compose.animation.core.AnimationSpec<java.lang.Float> snapAnimationSpec; 495 } 496 497 public static final class AnchoredDraggableState.Companion { 498 method public <T> androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.gestures.AnchoredDraggableState<T>,T> Saver(); 499 method @Deprecated public <T> androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.gestures.AnchoredDraggableState<T>,T> Saver(androidx.compose.animation.core.AnimationSpec<java.lang.Float> snapAnimationSpec, androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> decayAnimationSpec, kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> positionalThreshold, kotlin.jvm.functions.Function0<java.lang.Float> velocityThreshold, optional kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> confirmValueChange); 500 method @Deprecated public <T> androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.gestures.AnchoredDraggableState<T>,T> Saver(optional kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> confirmValueChange); 501 } 502 503 @androidx.compose.runtime.Stable public interface BringIntoViewSpec { 504 method public default float calculateScrollDistance(float offset, float size, float containerSize); 505 method @Deprecated public default androidx.compose.animation.core.AnimationSpec<java.lang.Float> getScrollAnimationSpec(); 506 property @Deprecated public default androidx.compose.animation.core.AnimationSpec<java.lang.Float> scrollAnimationSpec; 507 field public static final androidx.compose.foundation.gestures.BringIntoViewSpec.Companion Companion; 508 } 509 510 public static final class BringIntoViewSpec.Companion { 511 } 512 513 public final class BringIntoViewSpec_androidKt { 514 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.foundation.gestures.BringIntoViewSpec> getLocalBringIntoViewSpec(); 515 property @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.foundation.gestures.BringIntoViewSpec> LocalBringIntoViewSpec; 516 } 517 518 public interface Drag2DScope { 519 method public void dragBy(long pixels); 520 } 521 522 public final class DragGestureDetectorKt { 523 method public static suspend Object? awaitDragOrCancellation(androidx.compose.ui.input.pointer.AwaitPointerEventScope, long pointerId, kotlin.coroutines.Continuation<? super androidx.compose.ui.input.pointer.PointerInputChange?>); 524 method public static suspend Object? awaitHorizontalDragOrCancellation(androidx.compose.ui.input.pointer.AwaitPointerEventScope, long pointerId, kotlin.coroutines.Continuation<? super androidx.compose.ui.input.pointer.PointerInputChange?>); 525 method public static suspend Object? awaitHorizontalTouchSlopOrCancellation(androidx.compose.ui.input.pointer.AwaitPointerEventScope, long pointerId, kotlin.jvm.functions.Function2<? super androidx.compose.ui.input.pointer.PointerInputChange,? super java.lang.Float,kotlin.Unit> onTouchSlopReached, kotlin.coroutines.Continuation<? super androidx.compose.ui.input.pointer.PointerInputChange?>); 526 method public static suspend Object? awaitLongPressOrCancellation(androidx.compose.ui.input.pointer.AwaitPointerEventScope, long pointerId, kotlin.coroutines.Continuation<? super androidx.compose.ui.input.pointer.PointerInputChange?>); 527 method public static suspend Object? awaitTouchSlopOrCancellation(androidx.compose.ui.input.pointer.AwaitPointerEventScope, long pointerId, kotlin.jvm.functions.Function2<? super androidx.compose.ui.input.pointer.PointerInputChange,? super androidx.compose.ui.geometry.Offset,kotlin.Unit> onTouchSlopReached, kotlin.coroutines.Continuation<? super androidx.compose.ui.input.pointer.PointerInputChange?>); 528 method public static suspend Object? awaitVerticalDragOrCancellation(androidx.compose.ui.input.pointer.AwaitPointerEventScope, long pointerId, kotlin.coroutines.Continuation<? super androidx.compose.ui.input.pointer.PointerInputChange?>); 529 method public static suspend Object? awaitVerticalTouchSlopOrCancellation(androidx.compose.ui.input.pointer.AwaitPointerEventScope, long pointerId, kotlin.jvm.functions.Function2<? super androidx.compose.ui.input.pointer.PointerInputChange,? super java.lang.Float,kotlin.Unit> onTouchSlopReached, kotlin.coroutines.Continuation<? super androidx.compose.ui.input.pointer.PointerInputChange?>); 530 method public static suspend Object? detectDragGestures(androidx.compose.ui.input.pointer.PointerInputScope, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit> onDragStart, optional kotlin.jvm.functions.Function0<kotlin.Unit> onDragEnd, optional kotlin.jvm.functions.Function0<kotlin.Unit> onDragCancel, kotlin.jvm.functions.Function2<? super androidx.compose.ui.input.pointer.PointerInputChange,? super androidx.compose.ui.geometry.Offset,kotlin.Unit> onDrag, kotlin.coroutines.Continuation<? super kotlin.Unit>); 531 method public static suspend Object? detectDragGesturesAfterLongPress(androidx.compose.ui.input.pointer.PointerInputScope, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit> onDragStart, optional kotlin.jvm.functions.Function0<kotlin.Unit> onDragEnd, optional kotlin.jvm.functions.Function0<kotlin.Unit> onDragCancel, kotlin.jvm.functions.Function2<? super androidx.compose.ui.input.pointer.PointerInputChange,? super androidx.compose.ui.geometry.Offset,kotlin.Unit> onDrag, kotlin.coroutines.Continuation<? super kotlin.Unit>); 532 method public static suspend Object? detectHorizontalDragGestures(androidx.compose.ui.input.pointer.PointerInputScope, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit> onDragStart, optional kotlin.jvm.functions.Function0<kotlin.Unit> onDragEnd, optional kotlin.jvm.functions.Function0<kotlin.Unit> onDragCancel, kotlin.jvm.functions.Function2<? super androidx.compose.ui.input.pointer.PointerInputChange,? super java.lang.Float,kotlin.Unit> onHorizontalDrag, kotlin.coroutines.Continuation<? super kotlin.Unit>); 533 method public static suspend Object? detectVerticalDragGestures(androidx.compose.ui.input.pointer.PointerInputScope, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit> onDragStart, optional kotlin.jvm.functions.Function0<kotlin.Unit> onDragEnd, optional kotlin.jvm.functions.Function0<kotlin.Unit> onDragCancel, kotlin.jvm.functions.Function2<? super androidx.compose.ui.input.pointer.PointerInputChange,? super java.lang.Float,kotlin.Unit> onVerticalDrag, kotlin.coroutines.Continuation<? super kotlin.Unit>); 534 method public static suspend Object? drag(androidx.compose.ui.input.pointer.AwaitPointerEventScope, long pointerId, kotlin.jvm.functions.Function1<? super androidx.compose.ui.input.pointer.PointerInputChange,kotlin.Unit> onDrag, kotlin.coroutines.Continuation<? super java.lang.Boolean>); 535 method public static suspend Object? horizontalDrag(androidx.compose.ui.input.pointer.AwaitPointerEventScope, long pointerId, kotlin.jvm.functions.Function1<? super androidx.compose.ui.input.pointer.PointerInputChange,kotlin.Unit> onDrag, kotlin.coroutines.Continuation<? super java.lang.Boolean>); 536 method public static suspend Object? verticalDrag(androidx.compose.ui.input.pointer.AwaitPointerEventScope, long pointerId, kotlin.jvm.functions.Function1<? super androidx.compose.ui.input.pointer.PointerInputChange,kotlin.Unit> onDrag, kotlin.coroutines.Continuation<? super java.lang.Boolean>); 537 } 538 539 public interface DragScope { 540 method public void dragBy(float pixels); 541 } 542 543 public final class Draggable2DKt { 544 method public static androidx.compose.foundation.gestures.Draggable2DState Draggable2DState(kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit> onDelta); 545 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier draggable2D(androidx.compose.ui.Modifier, androidx.compose.foundation.gestures.Draggable2DState state, optional boolean enabled, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional boolean startDragImmediately, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit> onDragStarted, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Velocity,kotlin.Unit> onDragStopped, optional boolean reverseDirection); 546 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.gestures.Draggable2DState rememberDraggable2DState(kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit> onDelta); 547 } 548 549 public interface Draggable2DState { 550 method public void dispatchRawDelta(long delta); 551 method public suspend Object? drag(optional androidx.compose.foundation.MutatePriority dragPriority, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.gestures.Drag2DScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 552 } 553 554 public interface DraggableAnchors<T> { 555 method public T? anchorAt(int index); 556 method public T? closestAnchor(float position); 557 method public T? closestAnchor(float position, boolean searchUpwards); 558 method public int getSize(); 559 method public boolean hasPositionFor(T anchor); 560 method public float maxPosition(); 561 method public float minPosition(); 562 method public float positionAt(int index); 563 method public float positionOf(T anchor); 564 property public abstract int size; 565 } 566 567 public final class DraggableAnchorsConfig<T> { 568 ctor public DraggableAnchorsConfig(); 569 method public infix void at(T, float position); 570 } 571 572 public final class DraggableKt { 573 method public static androidx.compose.foundation.gestures.DraggableState DraggableState(kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onDelta); 574 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier draggable(androidx.compose.ui.Modifier, androidx.compose.foundation.gestures.DraggableState state, androidx.compose.foundation.gestures.Orientation orientation, optional boolean enabled, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional boolean startDragImmediately, optional kotlin.jvm.functions.Function3<? super kotlinx.coroutines.CoroutineScope,? super androidx.compose.ui.geometry.Offset,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> onDragStarted, optional kotlin.jvm.functions.Function3<? super kotlinx.coroutines.CoroutineScope,? super java.lang.Float,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> onDragStopped, optional boolean reverseDirection); 575 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.gestures.DraggableState rememberDraggableState(kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onDelta); 576 } 577 578 @kotlin.jvm.JvmDefaultWithCompatibility public interface DraggableState { 579 method public void dispatchRawDelta(float delta); 580 method public suspend Object? drag(optional androidx.compose.foundation.MutatePriority dragPriority, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.gestures.DragScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 581 } 582 583 @Deprecated @SuppressCompatibility @kotlin.RequiresOptIn(message="This API feature-flags new behavior and will be removed in the future.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalTapGestureDetectorBehaviorApi { 584 } 585 586 @androidx.compose.runtime.Stable public interface FlingBehavior { 587 method public suspend Object? performFling(androidx.compose.foundation.gestures.ScrollScope, float initialVelocity, kotlin.coroutines.Continuation<? super java.lang.Float>); 588 } 589 590 public final class ForEachGestureKt { 591 method public static suspend Object? awaitEachGesture(androidx.compose.ui.input.pointer.PointerInputScope, kotlin.jvm.functions.Function2<? super androidx.compose.ui.input.pointer.AwaitPointerEventScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 592 method @Deprecated public static suspend Object? forEachGesture(androidx.compose.ui.input.pointer.PointerInputScope, kotlin.jvm.functions.Function2<? super androidx.compose.ui.input.pointer.PointerInputScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 593 } 594 595 public final class GestureCancellationException extends java.util.concurrent.CancellationException { 596 ctor public GestureCancellationException(); 597 ctor public GestureCancellationException(optional String? message); 598 } 599 600 public enum Orientation { 601 enum_constant public static final androidx.compose.foundation.gestures.Orientation Horizontal; 602 enum_constant public static final androidx.compose.foundation.gestures.Orientation Vertical; 603 } 604 605 @kotlin.jvm.JvmDefaultWithCompatibility public interface PressGestureScope extends androidx.compose.ui.unit.Density { 606 method public suspend Object? awaitRelease(kotlin.coroutines.Continuation<? super kotlin.Unit>); 607 method public suspend Object? tryAwaitRelease(kotlin.coroutines.Continuation<? super java.lang.Boolean>); 608 } 609 610 public final class ScrollExtensionsKt { 611 method public static suspend Object? animateScrollBy(androidx.compose.foundation.gestures.ScrollableState, float value, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, kotlin.coroutines.Continuation<? super java.lang.Float>); 612 method public static suspend Object? scrollBy(androidx.compose.foundation.gestures.ScrollableState, float value, kotlin.coroutines.Continuation<? super java.lang.Float>); 613 method public static suspend Object? stopScroll(androidx.compose.foundation.gestures.ScrollableState, optional androidx.compose.foundation.MutatePriority scrollPriority, kotlin.coroutines.Continuation<? super kotlin.Unit>); 614 } 615 616 public interface ScrollScope { 617 method public float scrollBy(float pixels); 618 } 619 620 public final class ScrollableDefaults { 621 method @androidx.compose.runtime.Composable public androidx.compose.foundation.gestures.FlingBehavior flingBehavior(); 622 method @Deprecated @androidx.compose.runtime.Composable public androidx.compose.foundation.OverscrollEffect overscrollEffect(); 623 method public boolean reverseDirection(androidx.compose.ui.unit.LayoutDirection layoutDirection, androidx.compose.foundation.gestures.Orientation orientation, boolean reverseScrolling); 624 field public static final androidx.compose.foundation.gestures.ScrollableDefaults INSTANCE; 625 } 626 627 public final class ScrollableKt { 628 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier scrollable(androidx.compose.ui.Modifier, androidx.compose.foundation.gestures.ScrollableState state, androidx.compose.foundation.gestures.Orientation orientation, androidx.compose.foundation.OverscrollEffect? overscrollEffect, optional boolean enabled, optional boolean reverseDirection, optional androidx.compose.foundation.gestures.FlingBehavior? flingBehavior, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional androidx.compose.foundation.gestures.BringIntoViewSpec? bringIntoViewSpec); 629 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier scrollable(androidx.compose.ui.Modifier, androidx.compose.foundation.gestures.ScrollableState state, androidx.compose.foundation.gestures.Orientation orientation, optional boolean enabled, optional boolean reverseDirection, optional androidx.compose.foundation.gestures.FlingBehavior? flingBehavior, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource); 630 } 631 632 @kotlin.jvm.JvmDefaultWithCompatibility public interface ScrollableState { 633 method public float dispatchRawDelta(float delta); 634 method public default boolean getCanScrollBackward(); 635 method public default boolean getCanScrollForward(); 636 method public default boolean getLastScrolledBackward(); 637 method public default boolean getLastScrolledForward(); 638 method public boolean isScrollInProgress(); 639 method public suspend Object? scroll(optional androidx.compose.foundation.MutatePriority scrollPriority, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.gestures.ScrollScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 640 property public default boolean canScrollBackward; 641 property public default boolean canScrollForward; 642 property public abstract boolean isScrollInProgress; 643 property public default boolean lastScrolledBackward; 644 property public default boolean lastScrolledForward; 645 } 646 647 public final class ScrollableStateKt { 648 method public static androidx.compose.foundation.gestures.ScrollableState ScrollableState(kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> consumeScrollDelta); 649 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.gestures.ScrollableState rememberScrollableState(kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> consumeScrollDelta); 650 } 651 652 public final class TapGestureDetectorKt { 653 method public static suspend Object? awaitFirstDown(androidx.compose.ui.input.pointer.AwaitPointerEventScope, optional boolean requireUnconsumed, optional androidx.compose.ui.input.pointer.PointerEventPass pass, kotlin.coroutines.Continuation<? super androidx.compose.ui.input.pointer.PointerInputChange>); 654 method @Deprecated public static suspend Object? awaitFirstDown(androidx.compose.ui.input.pointer.AwaitPointerEventScope, optional boolean requireUnconsumed, kotlin.coroutines.Continuation<? super androidx.compose.ui.input.pointer.PointerInputChange>); 655 method public static suspend Object? detectTapGestures(androidx.compose.ui.input.pointer.PointerInputScope, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit>? onDoubleTap, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit>? onLongPress, optional kotlin.jvm.functions.Function3<? super androidx.compose.foundation.gestures.PressGestureScope,? super androidx.compose.ui.geometry.Offset,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> onPress, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit>? onTap, kotlin.coroutines.Continuation<? super kotlin.Unit>); 656 method @Deprecated @SuppressCompatibility @androidx.compose.foundation.gestures.ExperimentalTapGestureDetectorBehaviorApi public static boolean getDetectTapGesturesEnableNewDispatchingBehavior(); 657 method @Deprecated @SuppressCompatibility @androidx.compose.foundation.gestures.ExperimentalTapGestureDetectorBehaviorApi public static void setDetectTapGesturesEnableNewDispatchingBehavior(boolean); 658 method public static suspend Object? waitForUpOrCancellation(androidx.compose.ui.input.pointer.AwaitPointerEventScope, optional androidx.compose.ui.input.pointer.PointerEventPass pass, kotlin.coroutines.Continuation<? super androidx.compose.ui.input.pointer.PointerInputChange?>); 659 method @Deprecated public static suspend Object? waitForUpOrCancellation(androidx.compose.ui.input.pointer.AwaitPointerEventScope, kotlin.coroutines.Continuation<? super androidx.compose.ui.input.pointer.PointerInputChange?>); 660 property @Deprecated @SuppressCompatibility @androidx.compose.foundation.gestures.ExperimentalTapGestureDetectorBehaviorApi public static boolean DetectTapGesturesEnableNewDispatchingBehavior; 661 } 662 663 @androidx.compose.runtime.Stable public interface TargetedFlingBehavior extends androidx.compose.foundation.gestures.FlingBehavior { 664 method public default suspend Object? performFling(androidx.compose.foundation.gestures.ScrollScope, float initialVelocity, kotlin.coroutines.Continuation<? super java.lang.Float>); 665 method public suspend Object? performFling(androidx.compose.foundation.gestures.ScrollScope, float initialVelocity, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onRemainingDistanceUpdated, kotlin.coroutines.Continuation<? super java.lang.Float>); 666 } 667 668 public final class TransformGestureDetectorKt { 669 method public static long calculateCentroid(androidx.compose.ui.input.pointer.PointerEvent, optional boolean useCurrent); 670 method public static float calculateCentroidSize(androidx.compose.ui.input.pointer.PointerEvent, optional boolean useCurrent); 671 method public static long calculatePan(androidx.compose.ui.input.pointer.PointerEvent); 672 method public static float calculateRotation(androidx.compose.ui.input.pointer.PointerEvent); 673 method public static float calculateZoom(androidx.compose.ui.input.pointer.PointerEvent); 674 method public static suspend Object? detectTransformGestures(androidx.compose.ui.input.pointer.PointerInputScope, optional boolean panZoomLock, kotlin.jvm.functions.Function4<? super androidx.compose.ui.geometry.Offset,? super androidx.compose.ui.geometry.Offset,? super java.lang.Float,? super java.lang.Float,kotlin.Unit> onGesture, kotlin.coroutines.Continuation<? super kotlin.Unit>); 675 } 676 677 @kotlin.jvm.JvmDefaultWithCompatibility public interface TransformScope { 678 method public void transformBy(optional float zoomChange, optional long panChange, optional float rotationChange); 679 } 680 681 public final class TransformableKt { 682 method public static androidx.compose.ui.Modifier transformable(androidx.compose.ui.Modifier, androidx.compose.foundation.gestures.TransformableState state, optional boolean lockRotationOnZoomPan, optional boolean enabled); 683 method public static androidx.compose.ui.Modifier transformable(androidx.compose.ui.Modifier, androidx.compose.foundation.gestures.TransformableState state, kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,java.lang.Boolean> canPan, optional boolean lockRotationOnZoomPan, optional boolean enabled); 684 } 685 686 @kotlin.jvm.JvmDefaultWithCompatibility public interface TransformableState { 687 method public boolean isTransformInProgress(); 688 method public suspend Object? transform(optional androidx.compose.foundation.MutatePriority transformPriority, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.gestures.TransformScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 689 property public abstract boolean isTransformInProgress; 690 } 691 692 public final class TransformableStateKt { 693 method public static androidx.compose.foundation.gestures.TransformableState TransformableState(kotlin.jvm.functions.Function3<? super java.lang.Float,? super androidx.compose.ui.geometry.Offset,? super java.lang.Float,kotlin.Unit> onTransformation); 694 method public static suspend Object? animateBy(androidx.compose.foundation.gestures.TransformableState, float zoomFactor, long panOffset, float rotationDegrees, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> zoomAnimationSpec, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Offset> panAnimationSpec, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> rotationAnimationSpec, kotlin.coroutines.Continuation<? super kotlin.Unit>); 695 method public static suspend Object? animatePanBy(androidx.compose.foundation.gestures.TransformableState, long offset, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Offset> animationSpec, kotlin.coroutines.Continuation<? super kotlin.Unit>); 696 method public static suspend Object? animateRotateBy(androidx.compose.foundation.gestures.TransformableState, float degrees, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, kotlin.coroutines.Continuation<? super kotlin.Unit>); 697 method public static suspend Object? animateZoomBy(androidx.compose.foundation.gestures.TransformableState, float zoomFactor, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, kotlin.coroutines.Continuation<? super kotlin.Unit>); 698 method public static suspend Object? panBy(androidx.compose.foundation.gestures.TransformableState, long offset, kotlin.coroutines.Continuation<? super kotlin.Unit>); 699 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.gestures.TransformableState rememberTransformableState(kotlin.jvm.functions.Function3<? super java.lang.Float,? super androidx.compose.ui.geometry.Offset,? super java.lang.Float,kotlin.Unit> onTransformation); 700 method public static suspend Object? rotateBy(androidx.compose.foundation.gestures.TransformableState, float degrees, kotlin.coroutines.Continuation<? super kotlin.Unit>); 701 method public static suspend Object? stopTransformation(androidx.compose.foundation.gestures.TransformableState, optional androidx.compose.foundation.MutatePriority terminationPriority, kotlin.coroutines.Continuation<? super kotlin.Unit>); 702 method public static suspend Object? zoomBy(androidx.compose.foundation.gestures.TransformableState, float zoomFactor, kotlin.coroutines.Continuation<? super kotlin.Unit>); 703 } 704 705} 706 707package androidx.compose.foundation.gestures.snapping { 708 709 public final class LazyGridSnapLayoutInfoProviderKt { 710 method public static androidx.compose.foundation.gestures.snapping.SnapLayoutInfoProvider SnapLayoutInfoProvider(androidx.compose.foundation.lazy.grid.LazyGridState lazyGridState, optional androidx.compose.foundation.gestures.snapping.SnapPosition snapPosition); 711 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.gestures.FlingBehavior rememberSnapFlingBehavior(androidx.compose.foundation.lazy.grid.LazyGridState lazyGridState, optional androidx.compose.foundation.gestures.snapping.SnapPosition snapPosition); 712 } 713 714 public final class LazyListSnapLayoutInfoProviderKt { 715 method public static androidx.compose.foundation.gestures.snapping.SnapLayoutInfoProvider SnapLayoutInfoProvider(androidx.compose.foundation.lazy.LazyListState lazyListState, optional androidx.compose.foundation.gestures.snapping.SnapPosition snapPosition); 716 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.gestures.FlingBehavior rememberSnapFlingBehavior(androidx.compose.foundation.lazy.LazyListState lazyListState, optional androidx.compose.foundation.gestures.snapping.SnapPosition snapPosition); 717 } 718 719 public final class SnapFlingBehaviorKt { 720 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.gestures.TargetedFlingBehavior rememberSnapFlingBehavior(androidx.compose.foundation.gestures.snapping.SnapLayoutInfoProvider snapLayoutInfoProvider); 721 method public static androidx.compose.foundation.gestures.TargetedFlingBehavior snapFlingBehavior(androidx.compose.foundation.gestures.snapping.SnapLayoutInfoProvider snapLayoutInfoProvider, androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> decayAnimationSpec, androidx.compose.animation.core.AnimationSpec<java.lang.Float> snapAnimationSpec); 722 } 723 724 public interface SnapLayoutInfoProvider { 725 method public default float calculateApproachOffset(float velocity, float decayOffset); 726 method public float calculateSnapOffset(float velocity); 727 } 728 729 @androidx.compose.runtime.Stable public interface SnapPosition { 730 method public int position(int layoutSize, int itemSize, int beforeContentPadding, int afterContentPadding, int itemIndex, int itemCount); 731 } 732 733 public static final class SnapPosition.Center implements androidx.compose.foundation.gestures.snapping.SnapPosition { 734 method public int position(int layoutSize, int itemSize, int beforeContentPadding, int afterContentPadding, int itemIndex, int itemCount); 735 field public static final androidx.compose.foundation.gestures.snapping.SnapPosition.Center INSTANCE; 736 } 737 738 public static final class SnapPosition.End implements androidx.compose.foundation.gestures.snapping.SnapPosition { 739 method public int position(int layoutSize, int itemSize, int beforeContentPadding, int afterContentPadding, int itemIndex, int itemCount); 740 field public static final androidx.compose.foundation.gestures.snapping.SnapPosition.End INSTANCE; 741 } 742 743 public static final class SnapPosition.Start implements androidx.compose.foundation.gestures.snapping.SnapPosition { 744 method public int position(int layoutSize, int itemSize, int beforeContentPadding, int afterContentPadding, int itemIndex, int itemCount); 745 field public static final androidx.compose.foundation.gestures.snapping.SnapPosition.Start INSTANCE; 746 } 747 748} 749 750package androidx.compose.foundation.interaction { 751 752 public interface DragInteraction extends androidx.compose.foundation.interaction.Interaction { 753 } 754 755 public static final class DragInteraction.Cancel implements androidx.compose.foundation.interaction.DragInteraction { 756 ctor public DragInteraction.Cancel(androidx.compose.foundation.interaction.DragInteraction.Start start); 757 method public androidx.compose.foundation.interaction.DragInteraction.Start getStart(); 758 property public androidx.compose.foundation.interaction.DragInteraction.Start start; 759 } 760 761 public static final class DragInteraction.Start implements androidx.compose.foundation.interaction.DragInteraction { 762 ctor public DragInteraction.Start(); 763 } 764 765 public static final class DragInteraction.Stop implements androidx.compose.foundation.interaction.DragInteraction { 766 ctor public DragInteraction.Stop(androidx.compose.foundation.interaction.DragInteraction.Start start); 767 method public androidx.compose.foundation.interaction.DragInteraction.Start getStart(); 768 property public androidx.compose.foundation.interaction.DragInteraction.Start start; 769 } 770 771 public final class DragInteractionKt { 772 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<java.lang.Boolean> collectIsDraggedAsState(androidx.compose.foundation.interaction.InteractionSource); 773 } 774 775 public interface FocusInteraction extends androidx.compose.foundation.interaction.Interaction { 776 } 777 778 public static final class FocusInteraction.Focus implements androidx.compose.foundation.interaction.FocusInteraction { 779 ctor public FocusInteraction.Focus(); 780 } 781 782 public static final class FocusInteraction.Unfocus implements androidx.compose.foundation.interaction.FocusInteraction { 783 ctor public FocusInteraction.Unfocus(androidx.compose.foundation.interaction.FocusInteraction.Focus focus); 784 method public androidx.compose.foundation.interaction.FocusInteraction.Focus getFocus(); 785 property public androidx.compose.foundation.interaction.FocusInteraction.Focus focus; 786 } 787 788 public final class FocusInteractionKt { 789 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<java.lang.Boolean> collectIsFocusedAsState(androidx.compose.foundation.interaction.InteractionSource); 790 } 791 792 public interface HoverInteraction extends androidx.compose.foundation.interaction.Interaction { 793 } 794 795 public static final class HoverInteraction.Enter implements androidx.compose.foundation.interaction.HoverInteraction { 796 ctor public HoverInteraction.Enter(); 797 } 798 799 public static final class HoverInteraction.Exit implements androidx.compose.foundation.interaction.HoverInteraction { 800 ctor public HoverInteraction.Exit(androidx.compose.foundation.interaction.HoverInteraction.Enter enter); 801 method public androidx.compose.foundation.interaction.HoverInteraction.Enter getEnter(); 802 property public androidx.compose.foundation.interaction.HoverInteraction.Enter enter; 803 } 804 805 public final class HoverInteractionKt { 806 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<java.lang.Boolean> collectIsHoveredAsState(androidx.compose.foundation.interaction.InteractionSource); 807 } 808 809 public interface Interaction { 810 } 811 812 @androidx.compose.runtime.Stable public interface InteractionSource { 813 method public kotlinx.coroutines.flow.Flow<androidx.compose.foundation.interaction.Interaction> getInteractions(); 814 property public abstract kotlinx.coroutines.flow.Flow<androidx.compose.foundation.interaction.Interaction> interactions; 815 } 816 817 public final class InteractionSourceKt { 818 method @androidx.compose.runtime.annotation.RememberInComposition public static androidx.compose.foundation.interaction.MutableInteractionSource MutableInteractionSource(); 819 } 820 821 @androidx.compose.runtime.Stable public interface MutableInteractionSource extends androidx.compose.foundation.interaction.InteractionSource { 822 method public suspend Object? emit(androidx.compose.foundation.interaction.Interaction interaction, kotlin.coroutines.Continuation<? super kotlin.Unit>); 823 method public boolean tryEmit(androidx.compose.foundation.interaction.Interaction interaction); 824 } 825 826 public interface PressInteraction extends androidx.compose.foundation.interaction.Interaction { 827 } 828 829 public static final class PressInteraction.Cancel implements androidx.compose.foundation.interaction.PressInteraction { 830 ctor public PressInteraction.Cancel(androidx.compose.foundation.interaction.PressInteraction.Press press); 831 method public androidx.compose.foundation.interaction.PressInteraction.Press getPress(); 832 property public androidx.compose.foundation.interaction.PressInteraction.Press press; 833 } 834 835 public static final class PressInteraction.Press implements androidx.compose.foundation.interaction.PressInteraction { 836 ctor public PressInteraction.Press(long pressPosition); 837 method public long getPressPosition(); 838 property public long pressPosition; 839 } 840 841 public static final class PressInteraction.Release implements androidx.compose.foundation.interaction.PressInteraction { 842 ctor public PressInteraction.Release(androidx.compose.foundation.interaction.PressInteraction.Press press); 843 method public androidx.compose.foundation.interaction.PressInteraction.Press getPress(); 844 property public androidx.compose.foundation.interaction.PressInteraction.Press press; 845 } 846 847 public final class PressInteractionKt { 848 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<java.lang.Boolean> collectIsPressedAsState(androidx.compose.foundation.interaction.InteractionSource); 849 } 850 851} 852 853package androidx.compose.foundation.lazy { 854 855 public final class LazyDslKt { 856 method @androidx.compose.runtime.Composable public static void LazyColumn(optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.LazyListState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional androidx.compose.ui.Alignment.Horizontal horizontalAlignment, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.LazyListScope,kotlin.Unit> content); 857 method @Deprecated @androidx.compose.runtime.Composable public static void LazyColumn(optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.LazyListState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional androidx.compose.ui.Alignment.Horizontal horizontalAlignment, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.LazyListScope,kotlin.Unit> content); 858 method @Deprecated @androidx.compose.runtime.Composable public static void LazyColumn(optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.LazyListState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional androidx.compose.ui.Alignment.Horizontal horizontalAlignment, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.LazyListScope,kotlin.Unit> content); 859 method @androidx.compose.runtime.Composable public static void LazyRow(optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.LazyListState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Horizontal horizontalArrangement, optional androidx.compose.ui.Alignment.Vertical verticalAlignment, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.LazyListScope,kotlin.Unit> content); 860 method @Deprecated @androidx.compose.runtime.Composable public static void LazyRow(optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.LazyListState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Horizontal horizontalArrangement, optional androidx.compose.ui.Alignment.Vertical verticalAlignment, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.LazyListScope,kotlin.Unit> content); 861 method @Deprecated @androidx.compose.runtime.Composable public static void LazyRow(optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.LazyListState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Horizontal horizontalArrangement, optional androidx.compose.ui.Alignment.Vertical verticalAlignment, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.LazyListScope,kotlin.Unit> content); 862 method public static inline <T> void items(androidx.compose.foundation.lazy.LazyListScope, java.util.List<? extends T> items, optional kotlin.jvm.functions.Function1<? super T,?>? key, optional kotlin.jvm.functions.Function1<? super T,? extends java.lang.Object?> contentType, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.LazyItemScope,? super T,kotlin.Unit> itemContent); 863 method @Deprecated public static inline <T> void items(androidx.compose.foundation.lazy.LazyListScope, java.util.List<? extends T> items, optional kotlin.jvm.functions.Function1<? super T,?>? key, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.LazyItemScope,? super T,kotlin.Unit> itemContent); 864 method public static inline <T> void items(androidx.compose.foundation.lazy.LazyListScope, T[] items, optional kotlin.jvm.functions.Function1<? super T,?>? key, optional kotlin.jvm.functions.Function1<? super T,? extends java.lang.Object?> contentType, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.LazyItemScope,? super T,kotlin.Unit> itemContent); 865 method @Deprecated public static inline <T> void items(androidx.compose.foundation.lazy.LazyListScope, T[] items, optional kotlin.jvm.functions.Function1<? super T,?>? key, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.LazyItemScope,? super T,kotlin.Unit> itemContent); 866 method public static inline <T> void itemsIndexed(androidx.compose.foundation.lazy.LazyListScope, java.util.List<? extends T> items, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,?>? key, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends java.lang.Object?> contentType, kotlin.jvm.functions.Function3<? super androidx.compose.foundation.lazy.LazyItemScope,? super java.lang.Integer,? super T,kotlin.Unit> itemContent); 867 method @Deprecated public static inline <T> void itemsIndexed(androidx.compose.foundation.lazy.LazyListScope, java.util.List<? extends T> items, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,?>? key, kotlin.jvm.functions.Function3<? super androidx.compose.foundation.lazy.LazyItemScope,? super java.lang.Integer,? super T,kotlin.Unit> itemContent); 868 method public static inline <T> void itemsIndexed(androidx.compose.foundation.lazy.LazyListScope, T[] items, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,?>? key, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends java.lang.Object?> contentType, kotlin.jvm.functions.Function3<? super androidx.compose.foundation.lazy.LazyItemScope,? super java.lang.Integer,? super T,kotlin.Unit> itemContent); 869 method @Deprecated public static inline <T> void itemsIndexed(androidx.compose.foundation.lazy.LazyListScope, T[] items, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,?>? key, kotlin.jvm.functions.Function3<? super androidx.compose.foundation.lazy.LazyItemScope,? super java.lang.Integer,? super T,kotlin.Unit> itemContent); 870 } 871 872 @androidx.compose.foundation.lazy.LazyScopeMarker @androidx.compose.runtime.Stable @kotlin.jvm.JvmDefaultWithCompatibility public interface LazyItemScope { 873 method public default androidx.compose.ui.Modifier animateItem(androidx.compose.ui.Modifier, optional androidx.compose.animation.core.FiniteAnimationSpec<java.lang.Float>? fadeInSpec, optional androidx.compose.animation.core.FiniteAnimationSpec<androidx.compose.ui.unit.IntOffset>? placementSpec, optional androidx.compose.animation.core.FiniteAnimationSpec<java.lang.Float>? fadeOutSpec); 874 method public androidx.compose.ui.Modifier fillParentMaxHeight(androidx.compose.ui.Modifier, optional @FloatRange(from=0.0, to=1.0) float fraction); 875 method public androidx.compose.ui.Modifier fillParentMaxSize(androidx.compose.ui.Modifier, optional @FloatRange(from=0.0, to=1.0) float fraction); 876 method public androidx.compose.ui.Modifier fillParentMaxWidth(androidx.compose.ui.Modifier, optional @FloatRange(from=0.0, to=1.0) float fraction); 877 } 878 879 public interface LazyListItemInfo { 880 method public default Object? getContentType(); 881 method public int getIndex(); 882 method public Object getKey(); 883 method public int getOffset(); 884 method public int getSize(); 885 property public default Object? contentType; 886 property public abstract int index; 887 property public abstract Object key; 888 property public abstract int offset; 889 property public abstract int size; 890 } 891 892 @kotlin.jvm.JvmDefaultWithCompatibility public interface LazyListLayoutInfo { 893 method public default int getAfterContentPadding(); 894 method public default int getBeforeContentPadding(); 895 method public default int getMainAxisItemSpacing(); 896 method public default androidx.compose.foundation.gestures.Orientation getOrientation(); 897 method public default boolean getReverseLayout(); 898 method public int getTotalItemsCount(); 899 method public int getViewportEndOffset(); 900 method public default long getViewportSize(); 901 method public int getViewportStartOffset(); 902 method public java.util.List<androidx.compose.foundation.lazy.LazyListItemInfo> getVisibleItemsInfo(); 903 property public default int afterContentPadding; 904 property public default int beforeContentPadding; 905 property public default int mainAxisItemSpacing; 906 property public default androidx.compose.foundation.gestures.Orientation orientation; 907 property public default boolean reverseLayout; 908 property public abstract int totalItemsCount; 909 property public abstract int viewportEndOffset; 910 property public default long viewportSize; 911 property public abstract int viewportStartOffset; 912 property public abstract java.util.List<androidx.compose.foundation.lazy.LazyListItemInfo> visibleItemsInfo; 913 } 914 915 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public interface LazyListPrefetchResultScope { 916 method public int getIndex(); 917 method public int getMainAxisSize(); 918 property public abstract int index; 919 property public abstract int mainAxisSize; 920 } 921 922 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public interface LazyListPrefetchScope { 923 method public androidx.compose.foundation.lazy.layout.LazyLayoutPrefetchState.PrefetchHandle schedulePrefetch(int index, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.LazyListPrefetchResultScope,kotlin.Unit>? onPrefetchFinished); 924 } 925 926 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public interface LazyListPrefetchStrategy { 927 method public default androidx.compose.foundation.lazy.layout.PrefetchScheduler? getPrefetchScheduler(); 928 method public void onNestedPrefetch(androidx.compose.foundation.lazy.layout.NestedPrefetchScope, int firstVisibleItemIndex); 929 method public void onScroll(androidx.compose.foundation.lazy.LazyListPrefetchScope, float delta, androidx.compose.foundation.lazy.LazyListLayoutInfo layoutInfo); 930 method public void onVisibleItemsUpdated(androidx.compose.foundation.lazy.LazyListPrefetchScope, androidx.compose.foundation.lazy.LazyListLayoutInfo layoutInfo); 931 property public default androidx.compose.foundation.lazy.layout.PrefetchScheduler? prefetchScheduler; 932 } 933 934 public final class LazyListPrefetchStrategyKt { 935 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.foundation.lazy.LazyListPrefetchStrategy LazyListPrefetchStrategy(optional int nestedPrefetchItemCount); 936 } 937 938 @androidx.compose.foundation.lazy.LazyScopeMarker @kotlin.jvm.JvmDefaultWithCompatibility public interface LazyListScope { 939 method public default void item(optional Object? key, optional Object? contentType, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.LazyItemScope,kotlin.Unit> content); 940 method @Deprecated public default void item(optional Object? key, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.LazyItemScope,kotlin.Unit> content); 941 method public default void items(int count, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,?>? key, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,? extends java.lang.Object?> contentType, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.LazyItemScope,? super java.lang.Integer,kotlin.Unit> itemContent); 942 method @Deprecated public default void items(int count, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,?>? key, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.LazyItemScope,? super java.lang.Integer,kotlin.Unit> itemContent); 943 method @Deprecated public default void stickyHeader(optional Object? key, optional Object? contentType, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.LazyItemScope,kotlin.Unit> content); 944 method public default void stickyHeader(optional Object? key, optional Object? contentType, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.LazyItemScope,? super java.lang.Integer,kotlin.Unit> content); 945 } 946 947 public final class LazyListScrollScopeKt { 948 method public static androidx.compose.foundation.lazy.layout.LazyLayoutScrollScope LazyLayoutScrollScope(androidx.compose.foundation.lazy.LazyListState state, androidx.compose.foundation.gestures.ScrollScope scrollScope); 949 } 950 951 @androidx.compose.runtime.Stable public final class LazyListState implements androidx.compose.foundation.gestures.ScrollableState { 952 ctor @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public LazyListState(); 953 ctor @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public LazyListState(androidx.compose.foundation.lazy.layout.LazyLayoutCacheWindow cacheWindow, optional int firstVisibleItemIndex, optional int firstVisibleItemScrollOffset); 954 ctor public LazyListState(optional int firstVisibleItemIndex, optional int firstVisibleItemScrollOffset); 955 ctor @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public LazyListState(optional int firstVisibleItemIndex, optional int firstVisibleItemScrollOffset, optional androidx.compose.foundation.lazy.LazyListPrefetchStrategy prefetchStrategy); 956 method public suspend Object? animateScrollToItem(@IntRange(from=0L) int index, optional int scrollOffset, kotlin.coroutines.Continuation<? super kotlin.Unit>); 957 method public float dispatchRawDelta(float delta); 958 method @androidx.compose.runtime.annotation.FrequentlyChangingValue public int getFirstVisibleItemIndex(); 959 method @androidx.compose.runtime.annotation.FrequentlyChangingValue public int getFirstVisibleItemScrollOffset(); 960 method public androidx.compose.foundation.interaction.InteractionSource getInteractionSource(); 961 method @androidx.compose.runtime.annotation.FrequentlyChangingValue public androidx.compose.foundation.lazy.LazyListLayoutInfo getLayoutInfo(); 962 method public boolean isScrollInProgress(); 963 method public void requestScrollToItem(@IntRange(from=0L) int index, optional int scrollOffset); 964 method public suspend Object? scroll(androidx.compose.foundation.MutatePriority scrollPriority, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.gestures.ScrollScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 965 method public suspend Object? scrollToItem(@IntRange(from=0L) int index, optional int scrollOffset, kotlin.coroutines.Continuation<? super kotlin.Unit>); 966 property public boolean canScrollBackward; 967 property public boolean canScrollForward; 968 property @androidx.compose.runtime.annotation.FrequentlyChangingValue public int firstVisibleItemIndex; 969 property @androidx.compose.runtime.annotation.FrequentlyChangingValue public int firstVisibleItemScrollOffset; 970 property public androidx.compose.foundation.interaction.InteractionSource interactionSource; 971 property public boolean isScrollInProgress; 972 property public boolean lastScrolledBackward; 973 property public boolean lastScrolledForward; 974 property @androidx.compose.runtime.annotation.FrequentlyChangingValue public androidx.compose.foundation.lazy.LazyListLayoutInfo layoutInfo; 975 field public static final androidx.compose.foundation.lazy.LazyListState.Companion Companion; 976 } 977 978 public static final class LazyListState.Companion { 979 method public androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.lazy.LazyListState,? extends java.lang.Object?> getSaver(); 980 property public androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.lazy.LazyListState,? extends java.lang.Object?> Saver; 981 } 982 983 public final class LazyListStateKt { 984 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Composable public static androidx.compose.foundation.lazy.LazyListState rememberLazyListState(androidx.compose.foundation.lazy.layout.LazyLayoutCacheWindow cacheWindow, optional int initialFirstVisibleItemIndex, optional int initialFirstVisibleItemScrollOffset); 985 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.lazy.LazyListState rememberLazyListState(optional int initialFirstVisibleItemIndex, optional int initialFirstVisibleItemScrollOffset); 986 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Composable public static androidx.compose.foundation.lazy.LazyListState rememberLazyListState(optional int initialFirstVisibleItemIndex, optional int initialFirstVisibleItemScrollOffset, optional androidx.compose.foundation.lazy.LazyListPrefetchStrategy prefetchStrategy); 987 } 988 989 @kotlin.DslMarker public @interface LazyScopeMarker { 990 } 991 992} 993 994package androidx.compose.foundation.lazy.grid { 995 996 @androidx.compose.runtime.Stable public interface GridCells { 997 method public java.util.List<java.lang.Integer> calculateCrossAxisCellSizes(androidx.compose.ui.unit.Density, int availableSize, int spacing); 998 } 999 1000 public static final class GridCells.Adaptive implements androidx.compose.foundation.lazy.grid.GridCells { 1001 ctor public GridCells.Adaptive(float minSize); 1002 method public java.util.List<java.lang.Integer> calculateCrossAxisCellSizes(androidx.compose.ui.unit.Density, int availableSize, int spacing); 1003 } 1004 1005 public static final class GridCells.Fixed implements androidx.compose.foundation.lazy.grid.GridCells { 1006 ctor public GridCells.Fixed(int count); 1007 method public java.util.List<java.lang.Integer> calculateCrossAxisCellSizes(androidx.compose.ui.unit.Density, int availableSize, int spacing); 1008 } 1009 1010 public static final class GridCells.FixedSize implements androidx.compose.foundation.lazy.grid.GridCells { 1011 ctor public GridCells.FixedSize(float size); 1012 method public java.util.List<java.lang.Integer> calculateCrossAxisCellSizes(androidx.compose.ui.unit.Density, int availableSize, int spacing); 1013 } 1014 1015 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class GridItemSpan { 1016 property public int currentLineSpan; 1017 } 1018 1019 public final class LazyGridDslKt { 1020 method @androidx.compose.runtime.Composable public static void LazyHorizontalGrid(androidx.compose.foundation.lazy.grid.GridCells rows, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.grid.LazyGridState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Horizontal horizontalArrangement, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.grid.LazyGridScope,kotlin.Unit> content); 1021 method @Deprecated @androidx.compose.runtime.Composable public static void LazyHorizontalGrid(androidx.compose.foundation.lazy.grid.GridCells rows, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.grid.LazyGridState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Horizontal horizontalArrangement, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.grid.LazyGridScope,kotlin.Unit> content); 1022 method @androidx.compose.runtime.Composable public static void LazyVerticalGrid(androidx.compose.foundation.lazy.grid.GridCells columns, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.grid.LazyGridState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional androidx.compose.foundation.layout.Arrangement.Horizontal horizontalArrangement, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.grid.LazyGridScope,kotlin.Unit> content); 1023 method @Deprecated @androidx.compose.runtime.Composable public static void LazyVerticalGrid(androidx.compose.foundation.lazy.grid.GridCells columns, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.grid.LazyGridState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional androidx.compose.foundation.layout.Arrangement.Horizontal horizontalArrangement, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.grid.LazyGridScope,kotlin.Unit> content); 1024 method public static inline <T> void items(androidx.compose.foundation.lazy.grid.LazyGridScope, java.util.List<? extends T> items, optional kotlin.jvm.functions.Function1<? super T,?>? key, optional kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.grid.LazyGridItemSpanScope,? super T,androidx.compose.foundation.lazy.grid.GridItemSpan>? span, optional kotlin.jvm.functions.Function1<? super T,? extends java.lang.Object?> contentType, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.grid.LazyGridItemScope,? super T,kotlin.Unit> itemContent); 1025 method public static inline <T> void items(androidx.compose.foundation.lazy.grid.LazyGridScope, T[] items, optional kotlin.jvm.functions.Function1<? super T,?>? key, optional kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.grid.LazyGridItemSpanScope,? super T,androidx.compose.foundation.lazy.grid.GridItemSpan>? span, optional kotlin.jvm.functions.Function1<? super T,? extends java.lang.Object?> contentType, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.grid.LazyGridItemScope,? super T,kotlin.Unit> itemContent); 1026 method public static inline <T> void itemsIndexed(androidx.compose.foundation.lazy.grid.LazyGridScope, java.util.List<? extends T> items, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,?>? key, optional kotlin.jvm.functions.Function3<? super androidx.compose.foundation.lazy.grid.LazyGridItemSpanScope,? super java.lang.Integer,? super T,androidx.compose.foundation.lazy.grid.GridItemSpan>? span, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends java.lang.Object?> contentType, kotlin.jvm.functions.Function3<? super androidx.compose.foundation.lazy.grid.LazyGridItemScope,? super java.lang.Integer,? super T,kotlin.Unit> itemContent); 1027 method public static inline <T> void itemsIndexed(androidx.compose.foundation.lazy.grid.LazyGridScope, T[] items, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,?>? key, optional kotlin.jvm.functions.Function3<? super androidx.compose.foundation.lazy.grid.LazyGridItemSpanScope,? super java.lang.Integer,? super T,androidx.compose.foundation.lazy.grid.GridItemSpan>? span, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends java.lang.Object?> contentType, kotlin.jvm.functions.Function3<? super androidx.compose.foundation.lazy.grid.LazyGridItemScope,? super java.lang.Integer,? super T,kotlin.Unit> itemContent); 1028 } 1029 1030 public sealed interface LazyGridItemInfo { 1031 method public int getColumn(); 1032 method public Object? getContentType(); 1033 method public int getIndex(); 1034 method public Object getKey(); 1035 method public long getOffset(); 1036 method public int getRow(); 1037 method public long getSize(); 1038 method public int getSpan(); 1039 property public abstract int column; 1040 property public abstract Object? contentType; 1041 property public abstract int index; 1042 property public abstract Object key; 1043 property public abstract long offset; 1044 property public abstract int row; 1045 property public abstract long size; 1046 property public abstract int span; 1047 field public static final androidx.compose.foundation.lazy.grid.LazyGridItemInfo.Companion Companion; 1048 field public static final int UnknownColumn = -1; // 0xffffffff 1049 field public static final int UnknownRow = -1; // 0xffffffff 1050 } 1051 1052 public static final class LazyGridItemInfo.Companion { 1053 property public static int UnknownColumn; 1054 property public static int UnknownRow; 1055 field public static final int UnknownColumn = -1; // 0xffffffff 1056 field public static final int UnknownRow = -1; // 0xffffffff 1057 } 1058 1059 @androidx.compose.foundation.lazy.grid.LazyGridScopeMarker @androidx.compose.runtime.Stable public sealed interface LazyGridItemScope { 1060 method public androidx.compose.ui.Modifier animateItem(androidx.compose.ui.Modifier, optional androidx.compose.animation.core.FiniteAnimationSpec<java.lang.Float>? fadeInSpec, optional androidx.compose.animation.core.FiniteAnimationSpec<androidx.compose.ui.unit.IntOffset>? placementSpec, optional androidx.compose.animation.core.FiniteAnimationSpec<java.lang.Float>? fadeOutSpec); 1061 } 1062 1063 @androidx.compose.foundation.lazy.grid.LazyGridScopeMarker public sealed interface LazyGridItemSpanScope { 1064 method public int getMaxCurrentLineSpan(); 1065 method public int getMaxLineSpan(); 1066 property public abstract int maxCurrentLineSpan; 1067 property public abstract int maxLineSpan; 1068 } 1069 1070 public sealed interface LazyGridLayoutInfo { 1071 method public int getAfterContentPadding(); 1072 method public int getBeforeContentPadding(); 1073 method public int getMainAxisItemSpacing(); 1074 method public int getMaxSpan(); 1075 method public androidx.compose.foundation.gestures.Orientation getOrientation(); 1076 method public boolean getReverseLayout(); 1077 method public int getTotalItemsCount(); 1078 method public int getViewportEndOffset(); 1079 method public long getViewportSize(); 1080 method public int getViewportStartOffset(); 1081 method public java.util.List<androidx.compose.foundation.lazy.grid.LazyGridItemInfo> getVisibleItemsInfo(); 1082 property public abstract int afterContentPadding; 1083 property public abstract int beforeContentPadding; 1084 property public abstract int mainAxisItemSpacing; 1085 property public abstract int maxSpan; 1086 property public abstract androidx.compose.foundation.gestures.Orientation orientation; 1087 property public abstract boolean reverseLayout; 1088 property public abstract int totalItemsCount; 1089 property public abstract int viewportEndOffset; 1090 property public abstract long viewportSize; 1091 property public abstract int viewportStartOffset; 1092 property public abstract java.util.List<androidx.compose.foundation.lazy.grid.LazyGridItemInfo> visibleItemsInfo; 1093 } 1094 1095 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public interface LazyGridPrefetchResultScope { 1096 method public int getLineIndex(); 1097 method public int getLineItemCount(); 1098 method public int getMainAxisSize(int itemIndexInLine); 1099 property public abstract int lineIndex; 1100 property public abstract int lineItemCount; 1101 } 1102 1103 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public interface LazyGridPrefetchScope { 1104 method public java.util.List<androidx.compose.foundation.lazy.layout.LazyLayoutPrefetchState.PrefetchHandle> scheduleLinePrefetch(int lineIndex); 1105 method public default java.util.List<androidx.compose.foundation.lazy.layout.LazyLayoutPrefetchState.PrefetchHandle> scheduleLinePrefetch(int lineIndex, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.grid.LazyGridPrefetchResultScope,kotlin.Unit>? onPrefetchFinished); 1106 } 1107 1108 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public interface LazyGridPrefetchStrategy { 1109 method public default androidx.compose.foundation.lazy.layout.PrefetchScheduler? getPrefetchScheduler(); 1110 method public void onNestedPrefetch(androidx.compose.foundation.lazy.layout.NestedPrefetchScope, int firstVisibleItemIndex); 1111 method public void onScroll(androidx.compose.foundation.lazy.grid.LazyGridPrefetchScope, float delta, androidx.compose.foundation.lazy.grid.LazyGridLayoutInfo layoutInfo); 1112 method public void onVisibleItemsUpdated(androidx.compose.foundation.lazy.grid.LazyGridPrefetchScope, androidx.compose.foundation.lazy.grid.LazyGridLayoutInfo layoutInfo); 1113 property public default androidx.compose.foundation.lazy.layout.PrefetchScheduler? prefetchScheduler; 1114 } 1115 1116 public final class LazyGridPrefetchStrategyKt { 1117 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.foundation.lazy.grid.LazyGridPrefetchStrategy LazyGridPrefetchStrategy(optional int nestedPrefetchItemCount); 1118 } 1119 1120 @androidx.compose.foundation.lazy.grid.LazyGridScopeMarker public sealed interface LazyGridScope { 1121 method public void item(optional Object? key, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.grid.LazyGridItemSpanScope,androidx.compose.foundation.lazy.grid.GridItemSpan>? span, optional Object? contentType, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.grid.LazyGridItemScope,kotlin.Unit> content); 1122 method public void items(int count, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,?>? key, optional kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.grid.LazyGridItemSpanScope,? super java.lang.Integer,androidx.compose.foundation.lazy.grid.GridItemSpan>? span, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,? extends java.lang.Object?> contentType, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.grid.LazyGridItemScope,? super java.lang.Integer,kotlin.Unit> itemContent); 1123 method public void stickyHeader(optional Object? key, optional Object? contentType, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.grid.LazyGridItemScope,? super java.lang.Integer,kotlin.Unit> content); 1124 } 1125 1126 @kotlin.DslMarker public @interface LazyGridScopeMarker { 1127 } 1128 1129 public final class LazyGridScrollScopeKt { 1130 method public static androidx.compose.foundation.lazy.layout.LazyLayoutScrollScope LazyLayoutScrollScope(androidx.compose.foundation.lazy.grid.LazyGridState state, androidx.compose.foundation.gestures.ScrollScope scrollScope); 1131 } 1132 1133 public final class LazyGridSpanKt { 1134 method public static long GridItemSpan(@IntRange(from=1L) int currentLineSpan); 1135 } 1136 1137 @androidx.compose.runtime.Stable public final class LazyGridState implements androidx.compose.foundation.gestures.ScrollableState { 1138 ctor @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public LazyGridState(); 1139 ctor @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public LazyGridState(androidx.compose.foundation.lazy.layout.LazyLayoutCacheWindow cacheWindow, optional int firstVisibleItemIndex, optional int firstVisibleItemScrollOffset); 1140 ctor public LazyGridState(optional int firstVisibleItemIndex, optional int firstVisibleItemScrollOffset); 1141 ctor @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public LazyGridState(optional int firstVisibleItemIndex, optional int firstVisibleItemScrollOffset, optional androidx.compose.foundation.lazy.grid.LazyGridPrefetchStrategy prefetchStrategy); 1142 method public suspend Object? animateScrollToItem(@IntRange(from=0L) int index, optional int scrollOffset, kotlin.coroutines.Continuation<? super kotlin.Unit>); 1143 method public float dispatchRawDelta(float delta); 1144 method @androidx.compose.runtime.annotation.FrequentlyChangingValue public int getFirstVisibleItemIndex(); 1145 method @androidx.compose.runtime.annotation.FrequentlyChangingValue public int getFirstVisibleItemScrollOffset(); 1146 method public androidx.compose.foundation.interaction.InteractionSource getInteractionSource(); 1147 method @androidx.compose.runtime.annotation.FrequentlyChangingValue public androidx.compose.foundation.lazy.grid.LazyGridLayoutInfo getLayoutInfo(); 1148 method public boolean isScrollInProgress(); 1149 method public void requestScrollToItem(@IntRange(from=0L) int index, optional int scrollOffset); 1150 method public suspend Object? scroll(androidx.compose.foundation.MutatePriority scrollPriority, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.gestures.ScrollScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 1151 method public suspend Object? scrollToItem(@IntRange(from=0L) int index, optional int scrollOffset, kotlin.coroutines.Continuation<? super kotlin.Unit>); 1152 property public boolean canScrollBackward; 1153 property public boolean canScrollForward; 1154 property @androidx.compose.runtime.annotation.FrequentlyChangingValue public int firstVisibleItemIndex; 1155 property @androidx.compose.runtime.annotation.FrequentlyChangingValue public int firstVisibleItemScrollOffset; 1156 property public androidx.compose.foundation.interaction.InteractionSource interactionSource; 1157 property public boolean isScrollInProgress; 1158 property public boolean lastScrolledBackward; 1159 property public boolean lastScrolledForward; 1160 property @androidx.compose.runtime.annotation.FrequentlyChangingValue public androidx.compose.foundation.lazy.grid.LazyGridLayoutInfo layoutInfo; 1161 field public static final androidx.compose.foundation.lazy.grid.LazyGridState.Companion Companion; 1162 } 1163 1164 public static final class LazyGridState.Companion { 1165 method public androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.lazy.grid.LazyGridState,? extends java.lang.Object?> getSaver(); 1166 property public androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.lazy.grid.LazyGridState,? extends java.lang.Object?> Saver; 1167 } 1168 1169 public final class LazyGridStateKt { 1170 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Composable public static androidx.compose.foundation.lazy.grid.LazyGridState rememberLazyGridState(androidx.compose.foundation.lazy.layout.LazyLayoutCacheWindow cacheWindow, optional int initialFirstVisibleItemIndex, optional int initialFirstVisibleItemScrollOffset); 1171 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.lazy.grid.LazyGridState rememberLazyGridState(optional int initialFirstVisibleItemIndex, optional int initialFirstVisibleItemScrollOffset); 1172 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Composable public static androidx.compose.foundation.lazy.grid.LazyGridState rememberLazyGridState(optional int initialFirstVisibleItemIndex, optional int initialFirstVisibleItemScrollOffset, optional androidx.compose.foundation.lazy.grid.LazyGridPrefetchStrategy prefetchStrategy); 1173 } 1174 1175} 1176 1177package androidx.compose.foundation.lazy.layout { 1178 1179 public sealed interface IntervalList<T> { 1180 method public void forEach(optional int fromIndex, optional int toIndex, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.layout.IntervalList.Interval<? extends T>,kotlin.Unit> block); 1181 method public operator androidx.compose.foundation.lazy.layout.IntervalList.Interval<T> get(int index); 1182 method public int getSize(); 1183 property public abstract int size; 1184 } 1185 1186 public static final class IntervalList.Interval<T> { 1187 method public int getSize(); 1188 method public int getStartIndex(); 1189 method public T getValue(); 1190 property public int size; 1191 property public int startIndex; 1192 property public T value; 1193 } 1194 1195 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Stable public interface LazyLayoutCacheWindow { 1196 method public default int calculateAheadWindow(androidx.compose.ui.unit.Density, int viewport); 1197 method public default int calculateBehindWindow(androidx.compose.ui.unit.Density, int viewport); 1198 } 1199 1200 public final class LazyLayoutCacheWindowKt { 1201 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.foundation.lazy.layout.LazyLayoutCacheWindow LazyLayoutCacheWindow(optional float ahead, optional float behind); 1202 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static androidx.compose.foundation.lazy.layout.LazyLayoutCacheWindow LazyLayoutCacheWindow(optional @FloatRange(from=0.0) float aheadFraction, optional @FloatRange(from=0.0) float behindFraction); 1203 } 1204 1205 public abstract class LazyLayoutIntervalContent<Interval extends androidx.compose.foundation.lazy.layout.LazyLayoutIntervalContent.Interval> { 1206 ctor public LazyLayoutIntervalContent(); 1207 method public final Object? getContentType(int index); 1208 method public abstract androidx.compose.foundation.lazy.layout.IntervalList<Interval> getIntervals(); 1209 method public final int getItemCount(); 1210 method public final Object getKey(int index); 1211 method public final inline <T> T withInterval(int globalIndex, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super Interval,? extends T> block); 1212 property public abstract androidx.compose.foundation.lazy.layout.IntervalList<Interval> intervals; 1213 property public final int itemCount; 1214 } 1215 1216 public static interface LazyLayoutIntervalContent.Interval { 1217 method public default kotlin.jvm.functions.Function1<java.lang.Integer,java.lang.Object>? getKey(); 1218 method public default kotlin.jvm.functions.Function1<java.lang.Integer,java.lang.Object?> getType(); 1219 property public default kotlin.jvm.functions.Function1<java.lang.Integer,java.lang.Object>? key; 1220 property public default kotlin.jvm.functions.Function1<java.lang.Integer,java.lang.Object?> type; 1221 } 1222 1223 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Stable public interface LazyLayoutItemProvider { 1224 method @androidx.compose.runtime.Composable public void Item(int index, Object key); 1225 method public default Object? getContentType(int index); 1226 method public default int getIndex(Object key); 1227 method public int getItemCount(); 1228 method public default Object getKey(int index); 1229 property public abstract int itemCount; 1230 } 1231 1232 public final class LazyLayoutKt { 1233 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Composable public static void LazyLayout(kotlin.jvm.functions.Function0<? extends androidx.compose.foundation.lazy.layout.LazyLayoutItemProvider> itemProvider, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.layout.LazyLayoutPrefetchState? prefetchState, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.layout.LazyLayoutMeasureScope,? super androidx.compose.ui.unit.Constraints,? extends androidx.compose.ui.layout.MeasureResult> measurePolicy); 1234 } 1235 1236 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Stable public sealed interface LazyLayoutMeasureScope extends androidx.compose.ui.layout.MeasureScope { 1237 method public java.util.List<androidx.compose.ui.layout.Placeable> measure(int index, long constraints); 1238 method @androidx.compose.runtime.Stable public default float toDp(float); 1239 method @androidx.compose.runtime.Stable public default float toDp(int); 1240 method @androidx.compose.runtime.Stable public default float toDp(long); 1241 method @androidx.compose.runtime.Stable public default long toDpSize(long); 1242 method @androidx.compose.runtime.Stable public default long toSize(long); 1243 method @androidx.compose.runtime.Stable public default long toSp(float); 1244 method @androidx.compose.runtime.Stable public default long toSp(float); 1245 method @androidx.compose.runtime.Stable public default long toSp(int); 1246 } 1247 1248 public final class LazyLayoutPinnableItemKt { 1249 method @androidx.compose.runtime.Composable public static void LazyLayoutPinnableItem(Object? key, int index, androidx.compose.foundation.lazy.layout.LazyLayoutPinnedItemList pinnedItemList, kotlin.jvm.functions.Function0<kotlin.Unit> content); 1250 } 1251 1252 public final class LazyLayoutPinnedItemList implements kotlin.jvm.internal.markers.KMappedMarker java.util.List<androidx.compose.foundation.lazy.layout.LazyLayoutPinnedItemList.PinnedItem> { 1253 ctor public LazyLayoutPinnedItemList(); 1254 } 1255 1256 public static sealed interface LazyLayoutPinnedItemList.PinnedItem { 1257 method public int getIndex(); 1258 method public Object? getKey(); 1259 property public abstract int index; 1260 property public abstract Object? key; 1261 } 1262 1263 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi @androidx.compose.runtime.Stable public final class LazyLayoutPrefetchState { 1264 ctor public LazyLayoutPrefetchState(); 1265 ctor public LazyLayoutPrefetchState(optional androidx.compose.foundation.lazy.layout.PrefetchScheduler? prefetchScheduler, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.layout.NestedPrefetchScope,kotlin.Unit>? onNestedPrefetch); 1266 method public androidx.compose.foundation.lazy.layout.LazyLayoutPrefetchState.PrefetchHandle schedulePrecomposition(int index); 1267 method public androidx.compose.foundation.lazy.layout.LazyLayoutPrefetchState.PrefetchHandle schedulePrecompositionAndPremeasure(int index, long constraints, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.layout.LazyLayoutPrefetchState.LazyLayoutPrefetchResultScope,kotlin.Unit>? onItemPremeasured); 1268 method @Deprecated public androidx.compose.foundation.lazy.layout.LazyLayoutPrefetchState.PrefetchHandle schedulePrefetch(int index); 1269 method @Deprecated public androidx.compose.foundation.lazy.layout.LazyLayoutPrefetchState.PrefetchHandle schedulePrefetch(int index, long constraints); 1270 } 1271 1272 public static interface LazyLayoutPrefetchState.LazyLayoutPrefetchResultScope { 1273 method public int getIndex(); 1274 method public int getPlaceablesCount(); 1275 method public long getSize(int placeableIndex); 1276 property public abstract int index; 1277 property public abstract int placeablesCount; 1278 } 1279 1280 public static sealed interface LazyLayoutPrefetchState.PrefetchHandle { 1281 method public void cancel(); 1282 method public void markAsUrgent(); 1283 } 1284 1285 public interface LazyLayoutScrollScope extends androidx.compose.foundation.gestures.ScrollScope { 1286 method public int calculateDistanceTo(int targetIndex, optional int targetOffset); 1287 method public int getFirstVisibleItemIndex(); 1288 method public int getFirstVisibleItemScrollOffset(); 1289 method public int getItemCount(); 1290 method public int getLastVisibleItemIndex(); 1291 method public void snapToItem(int index, optional int offset); 1292 property public abstract int firstVisibleItemIndex; 1293 property public abstract int firstVisibleItemScrollOffset; 1294 property public abstract int itemCount; 1295 property public abstract int lastVisibleItemIndex; 1296 } 1297 1298 public final class Lazy_androidKt { 1299 method public static Object getDefaultLazyLayoutKey(int index); 1300 } 1301 1302 public final class MutableIntervalList<T> implements androidx.compose.foundation.lazy.layout.IntervalList<T> { 1303 ctor public MutableIntervalList(); 1304 method public void addInterval(int size, T value); 1305 method public void forEach(int fromIndex, int toIndex, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.layout.IntervalList.Interval<? extends T>,kotlin.Unit> block); 1306 method public androidx.compose.foundation.lazy.layout.IntervalList.Interval<T> get(int index); 1307 method public int getSize(); 1308 property public int size; 1309 } 1310 1311 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public sealed interface NestedPrefetchScope { 1312 method public default int getNestedPrefetchItemCount(); 1313 method public void schedulePrecomposition(int index); 1314 method public void schedulePrecompositionAndPremeasure(int index, long constraints); 1315 method @Deprecated public default void schedulePrefetch(int index); 1316 method @Deprecated public default void schedulePrefetch(int index, long constraints); 1317 property public default int nestedPrefetchItemCount; 1318 } 1319 1320 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public sealed interface PrefetchRequest { 1321 method public boolean execute(androidx.compose.foundation.lazy.layout.PrefetchRequestScope); 1322 } 1323 1324 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public interface PrefetchRequestScope { 1325 method public long availableTimeNanos(); 1326 } 1327 1328 @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public interface PrefetchScheduler { 1329 method public void schedulePrefetch(androidx.compose.foundation.lazy.layout.PrefetchRequest prefetchRequest); 1330 } 1331 1332} 1333 1334package androidx.compose.foundation.lazy.staggeredgrid { 1335 1336 public final class LazyStaggeredGridDslKt { 1337 method @androidx.compose.runtime.Composable public static void LazyHorizontalStaggeredGrid(androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridCells rows, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional float horizontalItemSpacing, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridScope,kotlin.Unit> content); 1338 method @Deprecated @androidx.compose.runtime.Composable public static void LazyHorizontalStaggeredGrid(androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridCells rows, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional float horizontalItemSpacing, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridScope,kotlin.Unit> content); 1339 method @androidx.compose.runtime.Composable public static void LazyVerticalStaggeredGrid(androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridCells columns, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional float verticalItemSpacing, optional androidx.compose.foundation.layout.Arrangement.Horizontal horizontalArrangement, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridScope,kotlin.Unit> content); 1340 method @Deprecated @androidx.compose.runtime.Composable public static void LazyVerticalStaggeredGrid(androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridCells columns, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridState state, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional boolean reverseLayout, optional float verticalItemSpacing, optional androidx.compose.foundation.layout.Arrangement.Horizontal horizontalArrangement, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, optional boolean userScrollEnabled, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridScope,kotlin.Unit> content); 1341 method public static inline <T> void items(androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridScope, java.util.List<? extends T> items, optional kotlin.jvm.functions.Function1<? super T,?>? key, optional kotlin.jvm.functions.Function1<? super T,? extends java.lang.Object?> contentType, optional kotlin.jvm.functions.Function1<? super T,androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridItemSpan>? span, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridItemScope,? super T,kotlin.Unit> itemContent); 1342 method public static inline <T> void items(androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridScope, T[] items, optional kotlin.jvm.functions.Function1<? super T,?>? key, optional kotlin.jvm.functions.Function1<? super T,? extends java.lang.Object?> contentType, optional kotlin.jvm.functions.Function1<? super T,androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridItemSpan>? span, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridItemScope,? super T,kotlin.Unit> itemContent); 1343 method public static inline <T> void itemsIndexed(androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridScope, java.util.List<? extends T> items, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,?>? key, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends java.lang.Object?> contentType, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridItemSpan>? span, kotlin.jvm.functions.Function3<? super androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridItemScope,? super java.lang.Integer,? super T,kotlin.Unit> itemContent); 1344 method public static inline <T> void itemsIndexed(androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridScope, T[] items, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,?>? key, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends java.lang.Object?> contentType, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridItemSpan>? span, kotlin.jvm.functions.Function3<? super androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridItemScope,? super java.lang.Integer,? super T,kotlin.Unit> itemContent); 1345 } 1346 1347 public sealed interface LazyStaggeredGridItemInfo { 1348 method public Object? getContentType(); 1349 method public int getIndex(); 1350 method public Object getKey(); 1351 method public int getLane(); 1352 method public long getOffset(); 1353 method public long getSize(); 1354 property public abstract Object? contentType; 1355 property public abstract int index; 1356 property public abstract Object key; 1357 property public abstract int lane; 1358 property public abstract long offset; 1359 property public abstract long size; 1360 } 1361 1362 @androidx.compose.runtime.Stable public sealed interface LazyStaggeredGridItemScope { 1363 method public androidx.compose.ui.Modifier animateItem(androidx.compose.ui.Modifier, optional androidx.compose.animation.core.FiniteAnimationSpec<java.lang.Float>? fadeInSpec, optional androidx.compose.animation.core.FiniteAnimationSpec<androidx.compose.ui.unit.IntOffset>? placementSpec, optional androidx.compose.animation.core.FiniteAnimationSpec<java.lang.Float>? fadeOutSpec); 1364 } 1365 1366 public sealed interface LazyStaggeredGridLayoutInfo { 1367 method public int getAfterContentPadding(); 1368 method public int getBeforeContentPadding(); 1369 method public int getMainAxisItemSpacing(); 1370 method public androidx.compose.foundation.gestures.Orientation getOrientation(); 1371 method public int getTotalItemsCount(); 1372 method public int getViewportEndOffset(); 1373 method public long getViewportSize(); 1374 method public int getViewportStartOffset(); 1375 method public java.util.List<androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridItemInfo> getVisibleItemsInfo(); 1376 property public abstract int afterContentPadding; 1377 property public abstract int beforeContentPadding; 1378 property public abstract int mainAxisItemSpacing; 1379 property public abstract androidx.compose.foundation.gestures.Orientation orientation; 1380 property public abstract int totalItemsCount; 1381 property public abstract int viewportEndOffset; 1382 property public abstract long viewportSize; 1383 property public abstract int viewportStartOffset; 1384 property public abstract java.util.List<androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridItemInfo> visibleItemsInfo; 1385 } 1386 1387 public sealed interface LazyStaggeredGridScope { 1388 method public void item(optional Object? key, optional Object? contentType, optional androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridItemSpan? span, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridItemScope,kotlin.Unit> content); 1389 method public void items(int count, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,?>? key, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,? extends java.lang.Object?> contentType, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridItemSpan>? span, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridItemScope,? super java.lang.Integer,kotlin.Unit> itemContent); 1390 } 1391 1392 public final class LazyStaggeredGridScrollScopeKt { 1393 method public static androidx.compose.foundation.lazy.layout.LazyLayoutScrollScope LazyLayoutScrollScope(androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridState state, androidx.compose.foundation.gestures.ScrollScope scrollScope); 1394 } 1395 1396 @androidx.compose.runtime.Stable public final class LazyStaggeredGridState implements androidx.compose.foundation.gestures.ScrollableState { 1397 ctor public LazyStaggeredGridState(optional int initialFirstVisibleItemIndex, optional int initialFirstVisibleItemOffset); 1398 method public suspend Object? animateScrollToItem(int index, optional int scrollOffset, kotlin.coroutines.Continuation<? super kotlin.Unit>); 1399 method public float dispatchRawDelta(float delta); 1400 method public int getFirstVisibleItemIndex(); 1401 method public int getFirstVisibleItemScrollOffset(); 1402 method public androidx.compose.foundation.interaction.InteractionSource getInteractionSource(); 1403 method public androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridLayoutInfo getLayoutInfo(); 1404 method public boolean isScrollInProgress(); 1405 method public void requestScrollToItem(@IntRange(from=0L) int index, optional int scrollOffset); 1406 method public suspend Object? scroll(androidx.compose.foundation.MutatePriority scrollPriority, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.gestures.ScrollScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 1407 method public suspend Object? scrollToItem(int index, optional int scrollOffset, kotlin.coroutines.Continuation<? super kotlin.Unit>); 1408 property public boolean canScrollBackward; 1409 property public boolean canScrollForward; 1410 property public int firstVisibleItemIndex; 1411 property public int firstVisibleItemScrollOffset; 1412 property public androidx.compose.foundation.interaction.InteractionSource interactionSource; 1413 property public boolean isScrollInProgress; 1414 property public boolean lastScrolledBackward; 1415 property public boolean lastScrolledForward; 1416 property public androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridLayoutInfo layoutInfo; 1417 field public static final androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridState.Companion Companion; 1418 } 1419 1420 public static final class LazyStaggeredGridState.Companion { 1421 method public androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridState,java.lang.Object> getSaver(); 1422 property public androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridState,java.lang.Object> Saver; 1423 } 1424 1425 public final class LazyStaggeredGridStateKt { 1426 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridState rememberLazyStaggeredGridState(optional int initialFirstVisibleItemIndex, optional int initialFirstVisibleItemScrollOffset); 1427 } 1428 1429 @androidx.compose.runtime.Stable public interface StaggeredGridCells { 1430 method public int[] calculateCrossAxisCellSizes(androidx.compose.ui.unit.Density, int availableSize, int spacing); 1431 } 1432 1433 public static final class StaggeredGridCells.Adaptive implements androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridCells { 1434 ctor public StaggeredGridCells.Adaptive(float minSize); 1435 method public int[] calculateCrossAxisCellSizes(androidx.compose.ui.unit.Density, int availableSize, int spacing); 1436 } 1437 1438 public static final class StaggeredGridCells.Fixed implements androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridCells { 1439 ctor public StaggeredGridCells.Fixed(int count); 1440 method public int[] calculateCrossAxisCellSizes(androidx.compose.ui.unit.Density, int availableSize, int spacing); 1441 } 1442 1443 public static final class StaggeredGridCells.FixedSize implements androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridCells { 1444 ctor public StaggeredGridCells.FixedSize(float size); 1445 method public int[] calculateCrossAxisCellSizes(androidx.compose.ui.unit.Density, int availableSize, int spacing); 1446 } 1447 1448 public final class StaggeredGridItemSpan { 1449 field public static final androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridItemSpan.Companion Companion; 1450 } 1451 1452 public static final class StaggeredGridItemSpan.Companion { 1453 method public androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridItemSpan getFullLine(); 1454 method public androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridItemSpan getSingleLane(); 1455 property public androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridItemSpan FullLine; 1456 property public androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridItemSpan SingleLane; 1457 } 1458 1459} 1460 1461package androidx.compose.foundation.pager { 1462 1463 public sealed interface PageInfo { 1464 method public int getIndex(); 1465 method public Object getKey(); 1466 method public int getOffset(); 1467 property public abstract int index; 1468 property public abstract Object key; 1469 property public abstract int offset; 1470 } 1471 1472 @androidx.compose.runtime.Stable public interface PageSize { 1473 method public int calculateMainAxisPageSize(androidx.compose.ui.unit.Density, int availableSpace, int pageSpacing); 1474 } 1475 1476 public static final class PageSize.Fill implements androidx.compose.foundation.pager.PageSize { 1477 method public int calculateMainAxisPageSize(androidx.compose.ui.unit.Density, int availableSpace, int pageSpacing); 1478 field public static final androidx.compose.foundation.pager.PageSize.Fill INSTANCE; 1479 } 1480 1481 public static final class PageSize.Fixed implements androidx.compose.foundation.pager.PageSize { 1482 ctor public PageSize.Fixed(float pageSize); 1483 method public int calculateMainAxisPageSize(androidx.compose.ui.unit.Density, int availableSpace, int pageSpacing); 1484 method public float getPageSize(); 1485 property public float pageSize; 1486 } 1487 1488 public final class PagerDefaults { 1489 method @androidx.compose.runtime.Composable public androidx.compose.foundation.gestures.TargetedFlingBehavior flingBehavior(androidx.compose.foundation.pager.PagerState state, optional androidx.compose.foundation.pager.PagerSnapDistance pagerSnapDistance, optional androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> decayAnimationSpec, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> snapAnimationSpec, optional @FloatRange(from=0.0, to=1.0) float snapPositionalThreshold); 1490 method @androidx.compose.runtime.Composable public androidx.compose.ui.input.nestedscroll.NestedScrollConnection pageNestedScrollConnection(androidx.compose.foundation.pager.PagerState state, androidx.compose.foundation.gestures.Orientation orientation); 1491 property public static int BeyondViewportPageCount; 1492 field public static final int BeyondViewportPageCount = 0; // 0x0 1493 field public static final androidx.compose.foundation.pager.PagerDefaults INSTANCE; 1494 } 1495 1496 public final class PagerKt { 1497 method @androidx.compose.runtime.Composable public static void HorizontalPager(androidx.compose.foundation.pager.PagerState state, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional androidx.compose.foundation.pager.PageSize pageSize, optional int beyondViewportPageCount, optional float pageSpacing, optional androidx.compose.ui.Alignment.Vertical verticalAlignment, optional androidx.compose.foundation.gestures.TargetedFlingBehavior flingBehavior, optional boolean userScrollEnabled, optional boolean reverseLayout, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,?>? key, optional androidx.compose.ui.input.nestedscroll.NestedScrollConnection pageNestedScrollConnection, optional androidx.compose.foundation.gestures.snapping.SnapPosition snapPosition, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.pager.PagerScope,? super java.lang.Integer,kotlin.Unit> pageContent); 1498 method @Deprecated @androidx.compose.runtime.Composable public static void HorizontalPager(androidx.compose.foundation.pager.PagerState state, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional androidx.compose.foundation.pager.PageSize pageSize, optional int beyondViewportPageCount, optional float pageSpacing, optional androidx.compose.ui.Alignment.Vertical verticalAlignment, optional androidx.compose.foundation.gestures.TargetedFlingBehavior flingBehavior, optional boolean userScrollEnabled, optional boolean reverseLayout, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,?>? key, optional androidx.compose.ui.input.nestedscroll.NestedScrollConnection pageNestedScrollConnection, optional androidx.compose.foundation.gestures.snapping.SnapPosition snapPosition, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.pager.PagerScope,? super java.lang.Integer,kotlin.Unit> pageContent); 1499 method @androidx.compose.runtime.Composable public static void VerticalPager(androidx.compose.foundation.pager.PagerState state, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional androidx.compose.foundation.pager.PageSize pageSize, optional int beyondViewportPageCount, optional float pageSpacing, optional androidx.compose.ui.Alignment.Horizontal horizontalAlignment, optional androidx.compose.foundation.gestures.TargetedFlingBehavior flingBehavior, optional boolean userScrollEnabled, optional boolean reverseLayout, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,?>? key, optional androidx.compose.ui.input.nestedscroll.NestedScrollConnection pageNestedScrollConnection, optional androidx.compose.foundation.gestures.snapping.SnapPosition snapPosition, optional androidx.compose.foundation.OverscrollEffect? overscrollEffect, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.pager.PagerScope,? super java.lang.Integer,kotlin.Unit> pageContent); 1500 method @Deprecated @androidx.compose.runtime.Composable public static void VerticalPager(androidx.compose.foundation.pager.PagerState state, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional androidx.compose.foundation.pager.PageSize pageSize, optional int beyondViewportPageCount, optional float pageSpacing, optional androidx.compose.ui.Alignment.Horizontal horizontalAlignment, optional androidx.compose.foundation.gestures.TargetedFlingBehavior flingBehavior, optional boolean userScrollEnabled, optional boolean reverseLayout, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,?>? key, optional androidx.compose.ui.input.nestedscroll.NestedScrollConnection pageNestedScrollConnection, optional androidx.compose.foundation.gestures.snapping.SnapPosition snapPosition, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.pager.PagerScope,? super java.lang.Integer,kotlin.Unit> pageContent); 1501 } 1502 1503 public sealed interface PagerLayoutInfo { 1504 method public int getAfterContentPadding(); 1505 method public int getBeforeContentPadding(); 1506 method public int getBeyondViewportPageCount(); 1507 method public androidx.compose.foundation.gestures.Orientation getOrientation(); 1508 method public int getPageSize(); 1509 method public int getPageSpacing(); 1510 method public boolean getReverseLayout(); 1511 method public androidx.compose.foundation.gestures.snapping.SnapPosition getSnapPosition(); 1512 method public int getViewportEndOffset(); 1513 method public long getViewportSize(); 1514 method public int getViewportStartOffset(); 1515 method public java.util.List<androidx.compose.foundation.pager.PageInfo> getVisiblePagesInfo(); 1516 property public abstract int afterContentPadding; 1517 property public abstract int beforeContentPadding; 1518 property public abstract int beyondViewportPageCount; 1519 property public abstract androidx.compose.foundation.gestures.Orientation orientation; 1520 property public abstract int pageSize; 1521 property public abstract int pageSpacing; 1522 property public abstract boolean reverseLayout; 1523 property public abstract androidx.compose.foundation.gestures.snapping.SnapPosition snapPosition; 1524 property public abstract int viewportEndOffset; 1525 property public abstract long viewportSize; 1526 property public abstract int viewportStartOffset; 1527 property public abstract java.util.List<androidx.compose.foundation.pager.PageInfo> visiblePagesInfo; 1528 } 1529 1530 public sealed interface PagerScope { 1531 } 1532 1533 public final class PagerScrollScopeKt { 1534 method public static androidx.compose.foundation.lazy.layout.LazyLayoutScrollScope LazyLayoutScrollScope(androidx.compose.foundation.pager.PagerState state, androidx.compose.foundation.gestures.ScrollScope scrollScope); 1535 } 1536 1537 @androidx.compose.runtime.Stable public interface PagerSnapDistance { 1538 method public int calculateTargetPage(int startPage, int suggestedTargetPage, float velocity, int pageSize, int pageSpacing); 1539 field public static final androidx.compose.foundation.pager.PagerSnapDistance.Companion Companion; 1540 } 1541 1542 public static final class PagerSnapDistance.Companion { 1543 method public androidx.compose.foundation.pager.PagerSnapDistance atMost(int pages); 1544 } 1545 1546 @androidx.compose.runtime.Stable public abstract class PagerState implements androidx.compose.foundation.gestures.ScrollableState { 1547 ctor public PagerState(optional int currentPage, optional @FloatRange(from=-0.5, to=0.5) float currentPageOffsetFraction); 1548 method public final suspend Object? animateScrollToPage(int page, optional @FloatRange(from=-0.5, to=0.5) float pageOffsetFraction, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, kotlin.coroutines.Continuation<? super kotlin.Unit>); 1549 method public float dispatchRawDelta(float delta); 1550 method public final boolean getCanScrollBackward(); 1551 method public final boolean getCanScrollForward(); 1552 method public final int getCurrentPage(); 1553 method public final float getCurrentPageOffsetFraction(); 1554 method public final androidx.compose.foundation.interaction.InteractionSource getInteractionSource(); 1555 method public final androidx.compose.foundation.pager.PagerLayoutInfo getLayoutInfo(); 1556 method public final float getOffsetDistanceInPages(int page); 1557 method public abstract int getPageCount(); 1558 method public final int getSettledPage(); 1559 method public final int getTargetPage(); 1560 method public boolean isScrollInProgress(); 1561 method public final void requestScrollToPage(@IntRange(from=0L) int page, optional @FloatRange(from=-0.5, to=0.5) float pageOffsetFraction); 1562 method public suspend Object? scroll(androidx.compose.foundation.MutatePriority scrollPriority, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.gestures.ScrollScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 1563 method public final suspend Object? scrollToPage(int page, optional @FloatRange(from=-0.5, to=0.5) float pageOffsetFraction, kotlin.coroutines.Continuation<? super kotlin.Unit>); 1564 method public final void updateCurrentPage(androidx.compose.foundation.gestures.ScrollScope, int page, optional @FloatRange(from=-0.5, to=0.5) float pageOffsetFraction); 1565 method public final void updateTargetPage(androidx.compose.foundation.gestures.ScrollScope, int targetPage); 1566 property public final boolean canScrollBackward; 1567 property public final boolean canScrollForward; 1568 property public final int currentPage; 1569 property public final float currentPageOffsetFraction; 1570 property public final androidx.compose.foundation.interaction.InteractionSource interactionSource; 1571 property public boolean isScrollInProgress; 1572 property public boolean lastScrolledBackward; 1573 property public boolean lastScrolledForward; 1574 property public final androidx.compose.foundation.pager.PagerLayoutInfo layoutInfo; 1575 property public abstract int pageCount; 1576 property public final int settledPage; 1577 property public final int targetPage; 1578 } 1579 1580 public final class PagerStateKt { 1581 method public static androidx.compose.foundation.pager.PagerState PagerState(optional int currentPage, optional @FloatRange(from=-0.5, to=0.5) float currentPageOffsetFraction, kotlin.jvm.functions.Function0<java.lang.Integer> pageCount); 1582 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.pager.PagerState rememberPagerState(optional int initialPage, optional @FloatRange(from=-0.5, to=0.5) float initialPageOffsetFraction, kotlin.jvm.functions.Function0<java.lang.Integer> pageCount); 1583 } 1584 1585} 1586 1587package androidx.compose.foundation.relocation { 1588 1589 public sealed interface BringIntoViewRequester { 1590 method public suspend Object? bringIntoView(optional androidx.compose.ui.geometry.Rect? rect, kotlin.coroutines.Continuation<? super kotlin.Unit>); 1591 } 1592 1593 public final class BringIntoViewRequesterKt { 1594 method @androidx.compose.runtime.annotation.RememberInComposition public static androidx.compose.foundation.relocation.BringIntoViewRequester BringIntoViewRequester(); 1595 method public static androidx.compose.ui.Modifier bringIntoViewRequester(androidx.compose.ui.Modifier, androidx.compose.foundation.relocation.BringIntoViewRequester bringIntoViewRequester); 1596 method @Deprecated public static androidx.compose.ui.Modifier bringIntoViewResponder(androidx.compose.ui.Modifier, androidx.compose.foundation.relocation.BringIntoViewResponder responder); 1597 } 1598 1599 @Deprecated public interface BringIntoViewResponder { 1600 method @Deprecated public suspend Object? bringChildIntoView(kotlin.jvm.functions.Function0<androidx.compose.ui.geometry.Rect?> localRect, kotlin.coroutines.Continuation<? super kotlin.Unit>); 1601 method @Deprecated public androidx.compose.ui.geometry.Rect calculateRectForParent(androidx.compose.ui.geometry.Rect localRect); 1602 } 1603 1604} 1605 1606package androidx.compose.foundation.selection { 1607 1608 public final class SelectableGroupKt { 1609 method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier selectableGroup(androidx.compose.ui.Modifier); 1610 } 1611 1612 public final class SelectableKt { 1613 method public static androidx.compose.ui.Modifier selectable(androidx.compose.ui.Modifier, boolean selected, androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, androidx.compose.foundation.Indication? indication, optional boolean enabled, optional androidx.compose.ui.semantics.Role? role, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 1614 method public static androidx.compose.ui.Modifier selectable(androidx.compose.ui.Modifier, boolean selected, optional boolean enabled, optional androidx.compose.ui.semantics.Role? role, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 1615 method @Deprecated public static androidx.compose.ui.Modifier selectable(androidx.compose.ui.Modifier, boolean selected, optional boolean enabled, optional androidx.compose.ui.semantics.Role? role, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 1616 } 1617 1618 public final class ToggleableKt { 1619 method public static androidx.compose.ui.Modifier toggleable(androidx.compose.ui.Modifier, boolean value, androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, androidx.compose.foundation.Indication? indication, optional boolean enabled, optional androidx.compose.ui.semantics.Role? role, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> onValueChange); 1620 method public static androidx.compose.ui.Modifier toggleable(androidx.compose.ui.Modifier, boolean value, optional boolean enabled, optional androidx.compose.ui.semantics.Role? role, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> onValueChange); 1621 method @Deprecated public static androidx.compose.ui.Modifier toggleable(androidx.compose.ui.Modifier, boolean value, optional boolean enabled, optional androidx.compose.ui.semantics.Role? role, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> onValueChange); 1622 method public static androidx.compose.ui.Modifier triStateToggleable(androidx.compose.ui.Modifier, androidx.compose.ui.state.ToggleableState state, androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, androidx.compose.foundation.Indication? indication, optional boolean enabled, optional androidx.compose.ui.semantics.Role? role, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 1623 method public static androidx.compose.ui.Modifier triStateToggleable(androidx.compose.ui.Modifier, androidx.compose.ui.state.ToggleableState state, optional boolean enabled, optional androidx.compose.ui.semantics.Role? role, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 1624 method @Deprecated public static androidx.compose.ui.Modifier triStateToggleable(androidx.compose.ui.Modifier, androidx.compose.ui.state.ToggleableState state, optional boolean enabled, optional androidx.compose.ui.semantics.Role? role, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); 1625 } 1626 1627} 1628 1629package androidx.compose.foundation.shape { 1630 1631 public final class AbsoluteCutCornerShape extends androidx.compose.foundation.shape.CornerBasedShape { 1632 ctor public AbsoluteCutCornerShape(androidx.compose.foundation.shape.CornerSize topLeft, androidx.compose.foundation.shape.CornerSize topRight, androidx.compose.foundation.shape.CornerSize bottomRight, androidx.compose.foundation.shape.CornerSize bottomLeft); 1633 method public androidx.compose.foundation.shape.AbsoluteCutCornerShape copy(androidx.compose.foundation.shape.CornerSize topStart, androidx.compose.foundation.shape.CornerSize topEnd, androidx.compose.foundation.shape.CornerSize bottomEnd, androidx.compose.foundation.shape.CornerSize bottomStart); 1634 method public androidx.compose.ui.graphics.Outline createOutline(long size, float topStart, float topEnd, float bottomEnd, float bottomStart, androidx.compose.ui.unit.LayoutDirection layoutDirection); 1635 } 1636 1637 public final class AbsoluteCutCornerShapeKt { 1638 method public static androidx.compose.foundation.shape.AbsoluteCutCornerShape AbsoluteCutCornerShape(androidx.compose.foundation.shape.CornerSize corner); 1639 method public static androidx.compose.foundation.shape.AbsoluteCutCornerShape AbsoluteCutCornerShape(float size); 1640 method public static androidx.compose.foundation.shape.AbsoluteCutCornerShape AbsoluteCutCornerShape(float size); 1641 method public static androidx.compose.foundation.shape.AbsoluteCutCornerShape AbsoluteCutCornerShape(optional float topLeft, optional float topRight, optional float bottomRight, optional float bottomLeft); 1642 method public static androidx.compose.foundation.shape.AbsoluteCutCornerShape AbsoluteCutCornerShape(optional float topLeft, optional float topRight, optional float bottomRight, optional float bottomLeft); 1643 method public static androidx.compose.foundation.shape.AbsoluteCutCornerShape AbsoluteCutCornerShape(int percent); 1644 method public static androidx.compose.foundation.shape.AbsoluteCutCornerShape AbsoluteCutCornerShape(optional @IntRange(from=0L, to=100L) int topLeftPercent, optional @IntRange(from=0L, to=100L) int topRightPercent, optional @IntRange(from=0L, to=100L) int bottomRightPercent, optional @IntRange(from=0L, to=100L) int bottomLeftPercent); 1645 } 1646 1647 public final class AbsoluteRoundedCornerShape extends androidx.compose.foundation.shape.CornerBasedShape { 1648 ctor public AbsoluteRoundedCornerShape(androidx.compose.foundation.shape.CornerSize topLeft, androidx.compose.foundation.shape.CornerSize topRight, androidx.compose.foundation.shape.CornerSize bottomRight, androidx.compose.foundation.shape.CornerSize bottomLeft); 1649 method public androidx.compose.foundation.shape.AbsoluteRoundedCornerShape copy(androidx.compose.foundation.shape.CornerSize topStart, androidx.compose.foundation.shape.CornerSize topEnd, androidx.compose.foundation.shape.CornerSize bottomEnd, androidx.compose.foundation.shape.CornerSize bottomStart); 1650 method public androidx.compose.ui.graphics.Outline createOutline(long size, float topStart, float topEnd, float bottomEnd, float bottomStart, androidx.compose.ui.unit.LayoutDirection layoutDirection); 1651 } 1652 1653 public final class AbsoluteRoundedCornerShapeKt { 1654 method public static androidx.compose.foundation.shape.AbsoluteRoundedCornerShape AbsoluteRoundedCornerShape(androidx.compose.foundation.shape.CornerSize corner); 1655 method public static androidx.compose.foundation.shape.AbsoluteRoundedCornerShape AbsoluteRoundedCornerShape(float size); 1656 method public static androidx.compose.foundation.shape.AbsoluteRoundedCornerShape AbsoluteRoundedCornerShape(float size); 1657 method public static androidx.compose.foundation.shape.AbsoluteRoundedCornerShape AbsoluteRoundedCornerShape(optional float topLeft, optional float topRight, optional float bottomRight, optional float bottomLeft); 1658 method public static androidx.compose.foundation.shape.AbsoluteRoundedCornerShape AbsoluteRoundedCornerShape(optional float topLeft, optional float topRight, optional float bottomRight, optional float bottomLeft); 1659 method public static androidx.compose.foundation.shape.AbsoluteRoundedCornerShape AbsoluteRoundedCornerShape(int percent); 1660 method public static androidx.compose.foundation.shape.AbsoluteRoundedCornerShape AbsoluteRoundedCornerShape(optional @IntRange(from=0L, to=100L) int topLeftPercent, optional @IntRange(from=0L, to=100L) int topRightPercent, optional @IntRange(from=0L, to=100L) int bottomRightPercent, optional @IntRange(from=0L, to=100L) int bottomLeftPercent); 1661 } 1662 1663 public abstract class CornerBasedShape implements androidx.compose.ui.graphics.Shape { 1664 ctor public CornerBasedShape(androidx.compose.foundation.shape.CornerSize topStart, androidx.compose.foundation.shape.CornerSize topEnd, androidx.compose.foundation.shape.CornerSize bottomEnd, androidx.compose.foundation.shape.CornerSize bottomStart); 1665 method public final androidx.compose.foundation.shape.CornerBasedShape copy(androidx.compose.foundation.shape.CornerSize all); 1666 method public abstract androidx.compose.foundation.shape.CornerBasedShape copy(optional androidx.compose.foundation.shape.CornerSize topStart, optional androidx.compose.foundation.shape.CornerSize topEnd, optional androidx.compose.foundation.shape.CornerSize bottomEnd, optional androidx.compose.foundation.shape.CornerSize bottomStart); 1667 method public final androidx.compose.ui.graphics.Outline createOutline(long size, androidx.compose.ui.unit.LayoutDirection layoutDirection, androidx.compose.ui.unit.Density density); 1668 method public abstract androidx.compose.ui.graphics.Outline createOutline(long size, float topStart, float topEnd, float bottomEnd, float bottomStart, androidx.compose.ui.unit.LayoutDirection layoutDirection); 1669 method public final androidx.compose.foundation.shape.CornerSize getBottomEnd(); 1670 method public final androidx.compose.foundation.shape.CornerSize getBottomStart(); 1671 method public final androidx.compose.foundation.shape.CornerSize getTopEnd(); 1672 method public final androidx.compose.foundation.shape.CornerSize getTopStart(); 1673 property public final androidx.compose.foundation.shape.CornerSize bottomEnd; 1674 property public final androidx.compose.foundation.shape.CornerSize bottomStart; 1675 property public final androidx.compose.foundation.shape.CornerSize topEnd; 1676 property public final androidx.compose.foundation.shape.CornerSize topStart; 1677 } 1678 1679 @androidx.compose.runtime.Immutable public interface CornerSize { 1680 method public float toPx(long shapeSize, androidx.compose.ui.unit.Density density); 1681 } 1682 1683 public final class CornerSizeKt { 1684 method @androidx.compose.runtime.Stable public static androidx.compose.foundation.shape.CornerSize CornerSize(float size); 1685 method @androidx.compose.runtime.Stable public static androidx.compose.foundation.shape.CornerSize CornerSize(float size); 1686 method @androidx.compose.runtime.Stable public static androidx.compose.foundation.shape.CornerSize CornerSize(@IntRange(from=0L, to=100L) int percent); 1687 method public static androidx.compose.foundation.shape.CornerSize getZeroCornerSize(); 1688 property @androidx.compose.runtime.Stable public static androidx.compose.foundation.shape.CornerSize ZeroCornerSize; 1689 } 1690 1691 public final class CutCornerShape extends androidx.compose.foundation.shape.CornerBasedShape { 1692 ctor public CutCornerShape(androidx.compose.foundation.shape.CornerSize topStart, androidx.compose.foundation.shape.CornerSize topEnd, androidx.compose.foundation.shape.CornerSize bottomEnd, androidx.compose.foundation.shape.CornerSize bottomStart); 1693 method public androidx.compose.foundation.shape.CutCornerShape copy(androidx.compose.foundation.shape.CornerSize topStart, androidx.compose.foundation.shape.CornerSize topEnd, androidx.compose.foundation.shape.CornerSize bottomEnd, androidx.compose.foundation.shape.CornerSize bottomStart); 1694 method public androidx.compose.ui.graphics.Outline createOutline(long size, float topStart, float topEnd, float bottomEnd, float bottomStart, androidx.compose.ui.unit.LayoutDirection layoutDirection); 1695 } 1696 1697 public final class CutCornerShapeKt { 1698 method public static androidx.compose.foundation.shape.CutCornerShape CutCornerShape(androidx.compose.foundation.shape.CornerSize corner); 1699 method public static androidx.compose.foundation.shape.CutCornerShape CutCornerShape(float size); 1700 method public static androidx.compose.foundation.shape.CutCornerShape CutCornerShape(float size); 1701 method public static androidx.compose.foundation.shape.CutCornerShape CutCornerShape(optional float topStart, optional float topEnd, optional float bottomEnd, optional float bottomStart); 1702 method public static androidx.compose.foundation.shape.CutCornerShape CutCornerShape(optional float topStart, optional float topEnd, optional float bottomEnd, optional float bottomStart); 1703 method public static androidx.compose.foundation.shape.CutCornerShape CutCornerShape(int percent); 1704 method public static androidx.compose.foundation.shape.CutCornerShape CutCornerShape(optional @IntRange(from=0L, to=100L) int topStartPercent, optional @IntRange(from=0L, to=100L) int topEndPercent, optional @IntRange(from=0L, to=100L) int bottomEndPercent, optional @IntRange(from=0L, to=100L) int bottomStartPercent); 1705 } 1706 1707 public final class GenericShape implements androidx.compose.ui.graphics.Shape { 1708 ctor public GenericShape(kotlin.jvm.functions.Function3<? super androidx.compose.ui.graphics.Path,? super androidx.compose.ui.geometry.Size,? super androidx.compose.ui.unit.LayoutDirection,kotlin.Unit> builder); 1709 method public androidx.compose.ui.graphics.Outline createOutline(long size, androidx.compose.ui.unit.LayoutDirection layoutDirection, androidx.compose.ui.unit.Density density); 1710 } 1711 1712 public final class RoundedCornerShape extends androidx.compose.foundation.shape.CornerBasedShape { 1713 ctor public RoundedCornerShape(androidx.compose.foundation.shape.CornerSize topStart, androidx.compose.foundation.shape.CornerSize topEnd, androidx.compose.foundation.shape.CornerSize bottomEnd, androidx.compose.foundation.shape.CornerSize bottomStart); 1714 method public androidx.compose.foundation.shape.RoundedCornerShape copy(androidx.compose.foundation.shape.CornerSize topStart, androidx.compose.foundation.shape.CornerSize topEnd, androidx.compose.foundation.shape.CornerSize bottomEnd, androidx.compose.foundation.shape.CornerSize bottomStart); 1715 method public androidx.compose.ui.graphics.Outline createOutline(long size, float topStart, float topEnd, float bottomEnd, float bottomStart, androidx.compose.ui.unit.LayoutDirection layoutDirection); 1716 } 1717 1718 public final class RoundedCornerShapeKt { 1719 method public static androidx.compose.foundation.shape.RoundedCornerShape RoundedCornerShape(androidx.compose.foundation.shape.CornerSize corner); 1720 method public static androidx.compose.foundation.shape.RoundedCornerShape RoundedCornerShape(float size); 1721 method public static androidx.compose.foundation.shape.RoundedCornerShape RoundedCornerShape(float size); 1722 method public static androidx.compose.foundation.shape.RoundedCornerShape RoundedCornerShape(optional float topStart, optional float topEnd, optional float bottomEnd, optional float bottomStart); 1723 method public static androidx.compose.foundation.shape.RoundedCornerShape RoundedCornerShape(optional float topStart, optional float topEnd, optional float bottomEnd, optional float bottomStart); 1724 method public static androidx.compose.foundation.shape.RoundedCornerShape RoundedCornerShape(int percent); 1725 method public static androidx.compose.foundation.shape.RoundedCornerShape RoundedCornerShape(optional @IntRange(from=0L, to=100L) int topStartPercent, optional @IntRange(from=0L, to=100L) int topEndPercent, optional @IntRange(from=0L, to=100L) int bottomEndPercent, optional @IntRange(from=0L, to=100L) int bottomStartPercent); 1726 method public static androidx.compose.foundation.shape.RoundedCornerShape getCircleShape(); 1727 property public static androidx.compose.foundation.shape.RoundedCornerShape CircleShape; 1728 } 1729 1730} 1731 1732package androidx.compose.foundation.text { 1733 1734 public final class AutofillHighlightKt { 1735 method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.ui.graphics.Color> getLocalAutofillHighlightColor(); 1736 property public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.ui.graphics.Color> LocalAutofillHighlightColor; 1737 } 1738 1739 public final class BasicSecureTextFieldKt { 1740 method @Deprecated @androidx.compose.runtime.Composable public static void BasicSecureTextField(androidx.compose.foundation.text.input.TextFieldState state, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional androidx.compose.foundation.text.input.InputTransformation? inputTransformation, optional androidx.compose.ui.text.TextStyle textStyle, optional androidx.compose.foundation.text.KeyboardOptions keyboardOptions, optional androidx.compose.foundation.text.input.KeyboardActionHandler? onKeyboardAction, optional kotlin.jvm.functions.Function2<? super androidx.compose.ui.unit.Density,? super kotlin.jvm.functions.Function0<androidx.compose.ui.text.TextLayoutResult?>,kotlin.Unit>? onTextLayout, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional androidx.compose.ui.graphics.Brush cursorBrush, optional androidx.compose.foundation.text.input.TextFieldDecorator? decorator, optional int textObfuscationMode, optional char textObfuscationCharacter); 1741 method @androidx.compose.runtime.Composable public static void BasicSecureTextField(androidx.compose.foundation.text.input.TextFieldState state, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional boolean readOnly, optional androidx.compose.foundation.text.input.InputTransformation? inputTransformation, optional androidx.compose.ui.text.TextStyle textStyle, optional androidx.compose.foundation.text.KeyboardOptions keyboardOptions, optional androidx.compose.foundation.text.input.KeyboardActionHandler? onKeyboardAction, optional kotlin.jvm.functions.Function2<? super androidx.compose.ui.unit.Density,? super kotlin.jvm.functions.Function0<androidx.compose.ui.text.TextLayoutResult?>,kotlin.Unit>? onTextLayout, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional androidx.compose.ui.graphics.Brush cursorBrush, optional androidx.compose.foundation.text.input.TextFieldDecorator? decorator, optional int textObfuscationMode, optional char textObfuscationCharacter); 1742 } 1743 1744 public final class BasicTextFieldKt { 1745 method @androidx.compose.runtime.Composable public static void BasicTextField(androidx.compose.foundation.text.input.TextFieldState state, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional boolean readOnly, optional androidx.compose.foundation.text.input.InputTransformation? inputTransformation, optional androidx.compose.ui.text.TextStyle textStyle, optional androidx.compose.foundation.text.KeyboardOptions keyboardOptions, optional androidx.compose.foundation.text.input.KeyboardActionHandler? onKeyboardAction, optional androidx.compose.foundation.text.input.TextFieldLineLimits lineLimits, optional kotlin.jvm.functions.Function2<? super androidx.compose.ui.unit.Density,? super kotlin.jvm.functions.Function0<androidx.compose.ui.text.TextLayoutResult?>,kotlin.Unit>? onTextLayout, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional androidx.compose.ui.graphics.Brush cursorBrush, optional androidx.compose.foundation.text.input.OutputTransformation? outputTransformation, optional androidx.compose.foundation.text.input.TextFieldDecorator? decorator, optional androidx.compose.foundation.ScrollState scrollState); 1746 method @Deprecated @androidx.compose.runtime.Composable public static void BasicTextField(androidx.compose.ui.text.input.TextFieldValue value, kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.input.TextFieldValue,kotlin.Unit> onValueChange, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional boolean readOnly, optional androidx.compose.ui.text.TextStyle textStyle, optional androidx.compose.foundation.text.KeyboardOptions keyboardOptions, optional androidx.compose.foundation.text.KeyboardActions keyboardActions, optional boolean singleLine, optional int maxLines, optional androidx.compose.ui.text.input.VisualTransformation visualTransformation, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit> onTextLayout, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource, optional androidx.compose.ui.graphics.Brush cursorBrush, optional kotlin.jvm.functions.Function1<? super kotlin.jvm.functions.Function0<kotlin.Unit>,kotlin.Unit> decorationBox); 1747 method @androidx.compose.runtime.Composable public static void BasicTextField(androidx.compose.ui.text.input.TextFieldValue value, kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.input.TextFieldValue,kotlin.Unit> onValueChange, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional boolean readOnly, optional androidx.compose.ui.text.TextStyle textStyle, optional androidx.compose.foundation.text.KeyboardOptions keyboardOptions, optional androidx.compose.foundation.text.KeyboardActions keyboardActions, optional boolean singleLine, optional int maxLines, optional int minLines, optional androidx.compose.ui.text.input.VisualTransformation visualTransformation, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit> onTextLayout, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional androidx.compose.ui.graphics.Brush cursorBrush, optional kotlin.jvm.functions.Function1<? super kotlin.jvm.functions.Function0<kotlin.Unit>,kotlin.Unit> decorationBox); 1748 method @Deprecated @androidx.compose.runtime.Composable public static void BasicTextField(String value, kotlin.jvm.functions.Function1<? super java.lang.String,kotlin.Unit> onValueChange, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional boolean readOnly, optional androidx.compose.ui.text.TextStyle textStyle, optional androidx.compose.foundation.text.KeyboardOptions keyboardOptions, optional androidx.compose.foundation.text.KeyboardActions keyboardActions, optional boolean singleLine, optional int maxLines, optional androidx.compose.ui.text.input.VisualTransformation visualTransformation, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit> onTextLayout, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource, optional androidx.compose.ui.graphics.Brush cursorBrush, optional kotlin.jvm.functions.Function1<? super kotlin.jvm.functions.Function0<kotlin.Unit>,kotlin.Unit> decorationBox); 1749 method @androidx.compose.runtime.Composable public static void BasicTextField(String value, kotlin.jvm.functions.Function1<? super java.lang.String,kotlin.Unit> onValueChange, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional boolean readOnly, optional androidx.compose.ui.text.TextStyle textStyle, optional androidx.compose.foundation.text.KeyboardOptions keyboardOptions, optional androidx.compose.foundation.text.KeyboardActions keyboardActions, optional boolean singleLine, optional int maxLines, optional int minLines, optional androidx.compose.ui.text.input.VisualTransformation visualTransformation, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit> onTextLayout, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional androidx.compose.ui.graphics.Brush cursorBrush, optional kotlin.jvm.functions.Function1<? super kotlin.jvm.functions.Function0<kotlin.Unit>,kotlin.Unit> decorationBox); 1750 } 1751 1752 public final class BasicTextKt { 1753 method @Deprecated @androidx.compose.runtime.Composable public static void BasicText(androidx.compose.ui.text.AnnotatedString text, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.text.TextStyle style, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit>? onTextLayout, optional int overflow, optional boolean softWrap, optional int maxLines, optional int minLines, optional java.util.Map<java.lang.String,androidx.compose.foundation.text.InlineTextContent> inlineContent); 1754 method @Deprecated @androidx.compose.runtime.Composable public static void BasicText(androidx.compose.ui.text.AnnotatedString text, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.text.TextStyle style, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit>? onTextLayout, optional int overflow, optional boolean softWrap, optional int maxLines, optional int minLines, optional java.util.Map<java.lang.String,androidx.compose.foundation.text.InlineTextContent> inlineContent, optional androidx.compose.ui.graphics.ColorProducer? color); 1755 method @androidx.compose.runtime.Composable public static void BasicText(androidx.compose.ui.text.AnnotatedString text, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.text.TextStyle style, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit>? onTextLayout, optional int overflow, optional boolean softWrap, optional int maxLines, optional int minLines, optional java.util.Map<java.lang.String,androidx.compose.foundation.text.InlineTextContent> inlineContent, optional androidx.compose.ui.graphics.ColorProducer? color, optional androidx.compose.foundation.text.TextAutoSize? autoSize); 1756 method @Deprecated @androidx.compose.runtime.Composable public static void BasicText(androidx.compose.ui.text.AnnotatedString text, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.text.TextStyle style, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit>? onTextLayout, optional int overflow, optional boolean softWrap, optional int maxLines, optional java.util.Map<java.lang.String,androidx.compose.foundation.text.InlineTextContent> inlineContent); 1757 method @Deprecated @androidx.compose.runtime.Composable public static void BasicText(String text, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.text.TextStyle style, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit>? onTextLayout, optional int overflow, optional boolean softWrap, optional int maxLines); 1758 method @Deprecated @androidx.compose.runtime.Composable public static void BasicText(String text, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.text.TextStyle style, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit>? onTextLayout, optional int overflow, optional boolean softWrap, optional int maxLines, optional int minLines); 1759 method @Deprecated @androidx.compose.runtime.Composable public static void BasicText(String text, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.text.TextStyle style, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit>? onTextLayout, optional int overflow, optional boolean softWrap, optional int maxLines, optional int minLines, optional androidx.compose.ui.graphics.ColorProducer? color); 1760 method @androidx.compose.runtime.Composable public static void BasicText(String text, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.text.TextStyle style, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit>? onTextLayout, optional int overflow, optional boolean softWrap, optional int maxLines, optional int minLines, optional androidx.compose.ui.graphics.ColorProducer? color, optional androidx.compose.foundation.text.TextAutoSize? autoSize); 1761 } 1762 1763 public final class BasicText_androidKt { 1764 method public static androidx.compose.runtime.ProvidableCompositionLocal<java.util.concurrent.Executor?> getLocalBackgroundTextMeasurementExecutor(); 1765 property public static androidx.compose.runtime.ProvidableCompositionLocal<java.util.concurrent.Executor?> LocalBackgroundTextMeasurementExecutor; 1766 } 1767 1768 public final class ClickableTextKt { 1769 method @Deprecated @androidx.compose.runtime.Composable public static void ClickableText(androidx.compose.ui.text.AnnotatedString text, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.text.TextStyle style, optional boolean softWrap, optional int overflow, optional int maxLines, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit> onTextLayout, kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit> onClick); 1770 } 1771 1772 @androidx.compose.runtime.Immutable public final class InlineTextContent { 1773 ctor public InlineTextContent(androidx.compose.ui.text.Placeholder placeholder, kotlin.jvm.functions.Function1<? super java.lang.String,kotlin.Unit> children); 1774 method public kotlin.jvm.functions.Function1<java.lang.String,kotlin.Unit> getChildren(); 1775 method public androidx.compose.ui.text.Placeholder getPlaceholder(); 1776 property public kotlin.jvm.functions.Function1<java.lang.String,kotlin.Unit> children; 1777 property public androidx.compose.ui.text.Placeholder placeholder; 1778 } 1779 1780 public final class InlineTextContentKt { 1781 method public static void appendInlineContent(androidx.compose.ui.text.AnnotatedString.Builder, String id, optional String alternateText); 1782 } 1783 1784 @SuppressCompatibility @kotlin.RequiresOptIn(message="Internal/Unstable API for use only between foundation modules sharing " + "the same exact version, subject to change without notice.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER, kotlin.annotation.AnnotationTarget.PROPERTY_SETTER}) public @interface InternalFoundationTextApi { 1785 } 1786 1787 public interface KeyboardActionScope { 1788 method public void defaultKeyboardAction(int imeAction); 1789 } 1790 1791 @androidx.compose.runtime.Stable public final class KeyboardActions { 1792 ctor public KeyboardActions(); 1793 ctor public KeyboardActions(optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onDone, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onGo, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onNext, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onPrevious, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onSearch, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onSend); 1794 method public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? getOnDone(); 1795 method public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? getOnGo(); 1796 method public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? getOnNext(); 1797 method public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? getOnPrevious(); 1798 method public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? getOnSearch(); 1799 method public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? getOnSend(); 1800 property public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onDone; 1801 property public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onGo; 1802 property public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onNext; 1803 property public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onPrevious; 1804 property public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onSearch; 1805 property public kotlin.jvm.functions.Function1<androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit>? onSend; 1806 field public static final androidx.compose.foundation.text.KeyboardActions.Companion Companion; 1807 } 1808 1809 public static final class KeyboardActions.Companion { 1810 method public androidx.compose.foundation.text.KeyboardActions getDefault(); 1811 property @androidx.compose.runtime.Stable public androidx.compose.foundation.text.KeyboardActions Default; 1812 } 1813 1814 public final class KeyboardActionsKt { 1815 method public static androidx.compose.foundation.text.KeyboardActions KeyboardActions(kotlin.jvm.functions.Function1<? super androidx.compose.foundation.text.KeyboardActionScope,kotlin.Unit> onAny); 1816 } 1817 1818 @androidx.compose.runtime.Immutable public final class KeyboardOptions { 1819 ctor public KeyboardOptions(); 1820 ctor @Deprecated public KeyboardOptions(optional int capitalization, optional boolean autoCorrect, optional int keyboardType, optional int imeAction); 1821 ctor @Deprecated public KeyboardOptions(optional int capitalization, optional boolean autoCorrect, optional int keyboardType, optional int imeAction, optional androidx.compose.ui.text.input.PlatformImeOptions? platformImeOptions); 1822 ctor @Deprecated public KeyboardOptions(optional int capitalization, boolean autoCorrect, optional int keyboardType, optional int imeAction, optional androidx.compose.ui.text.input.PlatformImeOptions? platformImeOptions, optional Boolean? showKeyboardOnFocus, optional androidx.compose.ui.text.intl.LocaleList? hintLocales); 1823 ctor public KeyboardOptions(optional int capitalization, optional Boolean? autoCorrectEnabled, optional int keyboardType, optional int imeAction, optional androidx.compose.ui.text.input.PlatformImeOptions? platformImeOptions, optional Boolean? showKeyboardOnFocus, optional androidx.compose.ui.text.intl.LocaleList? hintLocales); 1824 method @Deprecated public androidx.compose.foundation.text.KeyboardOptions copy(optional int capitalization, optional boolean autoCorrect, optional int keyboardType, optional int imeAction); 1825 method @Deprecated public androidx.compose.foundation.text.KeyboardOptions copy(optional int capitalization, optional boolean autoCorrect, optional int keyboardType, optional int imeAction, optional androidx.compose.ui.text.input.PlatformImeOptions? platformImeOptions); 1826 method @Deprecated public androidx.compose.foundation.text.KeyboardOptions copy(optional int capitalization, optional boolean autoCorrect, optional int keyboardType, optional int imeAction, optional androidx.compose.ui.text.input.PlatformImeOptions? platformImeOptions, optional Boolean? showKeyboardOnFocus, optional androidx.compose.ui.text.intl.LocaleList? hintLocales); 1827 method public androidx.compose.foundation.text.KeyboardOptions copy(optional int capitalization, optional Boolean? autoCorrectEnabled, optional int keyboardType, optional int imeAction, optional androidx.compose.ui.text.input.PlatformImeOptions? platformImeOptions, optional Boolean? showKeyboardOnFocus, optional androidx.compose.ui.text.intl.LocaleList? hintLocales); 1828 method @Deprecated public boolean getAutoCorrect(); 1829 method public Boolean? getAutoCorrectEnabled(); 1830 method public int getCapitalization(); 1831 method public androidx.compose.ui.text.intl.LocaleList? getHintLocales(); 1832 method public int getImeAction(); 1833 method public int getKeyboardType(); 1834 method public androidx.compose.ui.text.input.PlatformImeOptions? getPlatformImeOptions(); 1835 method @Deprecated public boolean getShouldShowKeyboardOnFocus(); 1836 method public Boolean? getShowKeyboardOnFocus(); 1837 method public androidx.compose.foundation.text.KeyboardOptions merge(androidx.compose.foundation.text.KeyboardOptions? other); 1838 property @Deprecated public boolean autoCorrect; 1839 property public Boolean? autoCorrectEnabled; 1840 property public int capitalization; 1841 property public androidx.compose.ui.text.intl.LocaleList? hintLocales; 1842 property public int imeAction; 1843 property public int keyboardType; 1844 property public androidx.compose.ui.text.input.PlatformImeOptions? platformImeOptions; 1845 property @Deprecated public boolean shouldShowKeyboardOnFocus; 1846 property public Boolean? showKeyboardOnFocus; 1847 field public static final androidx.compose.foundation.text.KeyboardOptions.Companion Companion; 1848 } 1849 1850 public static final class KeyboardOptions.Companion { 1851 method public androidx.compose.foundation.text.KeyboardOptions getDefault(); 1852 property @androidx.compose.runtime.Stable public androidx.compose.foundation.text.KeyboardOptions Default; 1853 } 1854 1855 public interface TextAutoSize { 1856 method public boolean equals(Object? other); 1857 method public long getFontSize(androidx.compose.foundation.text.modifiers.TextAutoSizeLayoutScope, long constraints, androidx.compose.ui.text.AnnotatedString text); 1858 method public int hashCode(); 1859 field public static final androidx.compose.foundation.text.TextAutoSize.Companion Companion; 1860 } 1861 1862 public static final class TextAutoSize.Companion { 1863 method public androidx.compose.foundation.text.TextAutoSize StepBased(optional long minFontSize, optional long maxFontSize, optional long stepSize); 1864 } 1865 1866 public final class TextAutoSizeDefaults { 1867 method public long getMaxFontSize(); 1868 method public long getMinFontSize(); 1869 property public long MaxFontSize; 1870 property public long MinFontSize; 1871 field public static final androidx.compose.foundation.text.TextAutoSizeDefaults INSTANCE; 1872 } 1873 1874} 1875 1876package androidx.compose.foundation.text.handwriting { 1877 1878 public final class HandwritingDetector_androidKt { 1879 method public static androidx.compose.ui.Modifier handwritingDetector(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function0<kotlin.Unit> callback); 1880 } 1881 1882 public final class HandwritingHandler_androidKt { 1883 method public static androidx.compose.ui.Modifier handwritingHandler(androidx.compose.ui.Modifier); 1884 } 1885 1886} 1887 1888package androidx.compose.foundation.text.input { 1889 1890 @androidx.compose.runtime.Stable public fun interface InputTransformation { 1891 method public default void applySemantics(androidx.compose.ui.semantics.SemanticsPropertyReceiver); 1892 method public default androidx.compose.foundation.text.KeyboardOptions? getKeyboardOptions(); 1893 method public void transformInput(androidx.compose.foundation.text.input.TextFieldBuffer); 1894 property public default androidx.compose.foundation.text.KeyboardOptions? keyboardOptions; 1895 field public static final androidx.compose.foundation.text.input.InputTransformation.Companion Companion; 1896 } 1897 1898 public static final class InputTransformation.Companion implements androidx.compose.foundation.text.input.InputTransformation { 1899 method public void transformInput(androidx.compose.foundation.text.input.TextFieldBuffer); 1900 } 1901 1902 public final class InputTransformationKt { 1903 method @androidx.compose.runtime.Stable public static androidx.compose.foundation.text.input.InputTransformation allCaps(androidx.compose.foundation.text.input.InputTransformation, androidx.compose.ui.text.intl.Locale locale); 1904 method @androidx.compose.runtime.Stable public static androidx.compose.foundation.text.input.InputTransformation byValue(androidx.compose.foundation.text.input.InputTransformation, kotlin.jvm.functions.Function2<? super java.lang.CharSequence,? super java.lang.CharSequence,? extends java.lang.CharSequence> transformation); 1905 method @androidx.compose.runtime.Stable public static androidx.compose.foundation.text.input.InputTransformation maxLength(androidx.compose.foundation.text.input.InputTransformation, int maxLength); 1906 method @androidx.compose.runtime.Stable public static androidx.compose.foundation.text.input.InputTransformation then(androidx.compose.foundation.text.input.InputTransformation, androidx.compose.foundation.text.input.InputTransformation next); 1907 } 1908 1909 @androidx.compose.runtime.Stable public fun interface KeyboardActionHandler { 1910 method public void onKeyboardAction(kotlin.jvm.functions.Function0<kotlin.Unit> performDefaultAction); 1911 } 1912 1913 @androidx.compose.runtime.Stable public fun interface OutputTransformation { 1914 method public void transformOutput(androidx.compose.foundation.text.input.TextFieldBuffer); 1915 } 1916 1917 public final class TextFieldBuffer implements java.lang.Appendable { 1918 method public Appendable append(char char); 1919 method public Appendable append(CharSequence? text); 1920 method public Appendable append(CharSequence? text, int start, int end); 1921 method public CharSequence asCharSequence(); 1922 method public char charAt(int index); 1923 method public androidx.compose.foundation.text.input.TextFieldBuffer.ChangeList getChanges(); 1924 method public int getLength(); 1925 method public long getOriginalSelection(); 1926 method public CharSequence getOriginalText(); 1927 method public long getSelection(); 1928 method public boolean hasSelection(); 1929 method public void placeCursorAfterCharAt(int index); 1930 method public void placeCursorBeforeCharAt(int index); 1931 method public void replace(int start, int end, CharSequence text); 1932 method public void revertAllChanges(); 1933 method public void setSelection(long); 1934 property @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public androidx.compose.foundation.text.input.TextFieldBuffer.ChangeList changes; 1935 property public boolean hasSelection; 1936 property public int length; 1937 property public long originalSelection; 1938 property public CharSequence originalText; 1939 property public long selection; 1940 } 1941 1942 public static interface TextFieldBuffer.ChangeList { 1943 method public int getChangeCount(); 1944 method public long getOriginalRange(int changeIndex); 1945 method public long getRange(int changeIndex); 1946 property public abstract int changeCount; 1947 } 1948 1949 public final class TextFieldBufferKt { 1950 method public static void delete(androidx.compose.foundation.text.input.TextFieldBuffer, int start, int end); 1951 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static inline void forEachChange(androidx.compose.foundation.text.input.TextFieldBuffer.ChangeList, kotlin.jvm.functions.Function2<? super androidx.compose.ui.text.TextRange,? super androidx.compose.ui.text.TextRange,kotlin.Unit> block); 1952 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public static inline void forEachChangeReversed(androidx.compose.foundation.text.input.TextFieldBuffer.ChangeList, kotlin.jvm.functions.Function2<? super androidx.compose.ui.text.TextRange,? super androidx.compose.ui.text.TextRange,kotlin.Unit> block); 1953 method public static void insert(androidx.compose.foundation.text.input.TextFieldBuffer, int index, String text); 1954 method public static void placeCursorAtEnd(androidx.compose.foundation.text.input.TextFieldBuffer); 1955 method public static void selectAll(androidx.compose.foundation.text.input.TextFieldBuffer); 1956 } 1957 1958 public fun interface TextFieldDecorator { 1959 method @androidx.compose.runtime.Composable public void Decoration(kotlin.jvm.functions.Function0<kotlin.Unit> innerTextField); 1960 } 1961 1962 @androidx.compose.runtime.Stable public sealed interface TextFieldLineLimits { 1963 field public static final androidx.compose.foundation.text.input.TextFieldLineLimits.Companion Companion; 1964 } 1965 1966 public static final class TextFieldLineLimits.Companion { 1967 method public androidx.compose.foundation.text.input.TextFieldLineLimits getDefault(); 1968 property public androidx.compose.foundation.text.input.TextFieldLineLimits Default; 1969 } 1970 1971 @androidx.compose.runtime.Immutable public static final class TextFieldLineLimits.MultiLine implements androidx.compose.foundation.text.input.TextFieldLineLimits { 1972 ctor public TextFieldLineLimits.MultiLine(); 1973 ctor public TextFieldLineLimits.MultiLine(optional int minHeightInLines, optional int maxHeightInLines); 1974 method public int getMaxHeightInLines(); 1975 method public int getMinHeightInLines(); 1976 property public int maxHeightInLines; 1977 property public int minHeightInLines; 1978 } 1979 1980 public static final class TextFieldLineLimits.SingleLine implements androidx.compose.foundation.text.input.TextFieldLineLimits { 1981 field public static final androidx.compose.foundation.text.input.TextFieldLineLimits.SingleLine INSTANCE; 1982 } 1983 1984 @androidx.compose.runtime.Stable public final class TextFieldState { 1985 ctor @androidx.compose.runtime.annotation.RememberInComposition public TextFieldState(optional String initialText, optional long initialSelection); 1986 method public inline void edit(kotlin.jvm.functions.Function1<? super androidx.compose.foundation.text.input.TextFieldBuffer,kotlin.Unit> block); 1987 method public androidx.compose.ui.text.TextRange? getComposition(); 1988 method public long getSelection(); 1989 method public CharSequence getText(); 1990 method @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public androidx.compose.foundation.text.input.UndoState getUndoState(); 1991 property public androidx.compose.ui.text.TextRange? composition; 1992 property public long selection; 1993 property public CharSequence text; 1994 property @SuppressCompatibility @androidx.compose.foundation.ExperimentalFoundationApi public androidx.compose.foundation.text.input.UndoState undoState; 1995 } 1996 1997 public static final class TextFieldState.Saver implements androidx.compose.runtime.saveable.Saver<androidx.compose.foundation.text.input.TextFieldState,java.lang.Object> { 1998 method public androidx.compose.foundation.text.input.TextFieldState? restore(Object value); 1999 method public Object? save(androidx.compose.runtime.saveable.SaverScope, androidx.compose.foundation.text.input.TextFieldState value); 2000 field public static final androidx.compose.foundation.text.input.TextFieldState.Saver INSTANCE; 2001 } 2002 2003 public final class TextFieldStateKt { 2004 method public static void clearText(androidx.compose.foundation.text.input.TextFieldState); 2005 method @androidx.compose.runtime.Composable public static androidx.compose.foundation.text.input.TextFieldState rememberTextFieldState(optional String initialText, optional long initialSelection); 2006 method public static void setTextAndPlaceCursorAtEnd(androidx.compose.foundation.text.input.TextFieldState, String text); 2007 method public static void setTextAndSelectAll(androidx.compose.foundation.text.input.TextFieldState, String text); 2008 method public static androidx.compose.foundation.text.input.TextFieldBuffer toTextFieldBuffer(androidx.compose.foundation.text.input.TextFieldState); 2009 } 2010 2011 @kotlin.jvm.JvmInline public final value class TextObfuscationMode { 2012 method public int getValue(); 2013 property public int value; 2014 field public static final androidx.compose.foundation.text.input.TextObfuscationMode.Companion Companion; 2015 } 2016 2017 public static final class TextObfuscationMode.Companion { 2018 method public int getHidden(); 2019 method public int getRevealLastTyped(); 2020 method public int getVisible(); 2021 property public int Hidden; 2022 property public int RevealLastTyped; 2023 property public int Visible; 2024 } 2025 2026 public final class UndoState { 2027 method public void clearHistory(); 2028 method public boolean getCanRedo(); 2029 method public boolean getCanUndo(); 2030 method public void redo(); 2031 method public void undo(); 2032 property public boolean canRedo; 2033 property public boolean canUndo; 2034 } 2035 2036} 2037 2038package androidx.compose.foundation.text.modifiers { 2039 2040 public sealed interface TextAutoSizeLayoutScope extends androidx.compose.ui.unit.Density { 2041 method public androidx.compose.ui.text.TextLayoutResult performLayout(long constraints, androidx.compose.ui.text.AnnotatedString text, long fontSize); 2042 } 2043 2044} 2045 2046package androidx.compose.foundation.text.selection { 2047 2048 public final class SelectionContainerKt { 2049 method @androidx.compose.runtime.Composable public static void DisableSelection(kotlin.jvm.functions.Function0<kotlin.Unit> content); 2050 method @androidx.compose.runtime.Composable public static void SelectionContainer(optional androidx.compose.ui.Modifier modifier, kotlin.jvm.functions.Function0<kotlin.Unit> content); 2051 } 2052 2053 @androidx.compose.runtime.Immutable public final class TextSelectionColors { 2054 ctor public TextSelectionColors(long handleColor, long backgroundColor); 2055 method public long getBackgroundColor(); 2056 method public long getHandleColor(); 2057 property public long backgroundColor; 2058 property public long handleColor; 2059 } 2060 2061 public final class TextSelectionColorsKt { 2062 method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.foundation.text.selection.TextSelectionColors> getLocalTextSelectionColors(); 2063 property public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.foundation.text.selection.TextSelectionColors> LocalTextSelectionColors; 2064 } 2065 2066} 2067 2068