1// Signature format: 4.0 2package androidx.wear.compose.material { 3 4 @androidx.compose.runtime.Immutable public final class AutoCenteringParams { 5 ctor public AutoCenteringParams(optional int itemIndex, optional int itemOffset); 6 } 7 8 @androidx.compose.runtime.Stable public interface ButtonColors { 9 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> backgroundColor(boolean enabled); 10 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> contentColor(boolean enabled); 11 } 12 13 public final class ButtonDefaults { 14 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ButtonColors buttonColors(optional long backgroundColor, optional long contentColor, optional long disabledBackgroundColor, optional long disabledContentColor); 15 method public float getCompactButtonBackgroundPadding(); 16 method public float getDefaultButtonSize(); 17 method public float getDefaultIconSize(); 18 method public float getExtraSmallButtonSize(); 19 method public float getLargeButtonSize(); 20 method public float getLargeIconSize(); 21 method public float getSmallButtonSize(); 22 method public float getSmallIconSize(); 23 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ButtonColors iconButtonColors(optional long contentColor); 24 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ButtonColors primaryButtonColors(optional long backgroundColor, optional long contentColor); 25 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ButtonColors secondaryButtonColors(optional long backgroundColor, optional long contentColor); 26 property public final float CompactButtonBackgroundPadding; 27 property public final float DefaultButtonSize; 28 property public final float DefaultIconSize; 29 property public final float ExtraSmallButtonSize; 30 property public final float LargeButtonSize; 31 property public final float LargeIconSize; 32 property public final float SmallButtonSize; 33 property public final float SmallIconSize; 34 field public static final androidx.wear.compose.material.ButtonDefaults INSTANCE; 35 } 36 37 public final class ButtonKt { 38 method @androidx.compose.runtime.Composable public static void Button(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional androidx.wear.compose.material.ButtonColors colors, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> content); 39 method @androidx.compose.runtime.Composable public static void CompactButton(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional androidx.wear.compose.material.ButtonColors colors, optional float backgroundPadding, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> content); 40 } 41 42 public final class CardDefaults { 43 method @androidx.compose.runtime.Composable public androidx.compose.ui.graphics.painter.Painter cardBackgroundPainter(optional long startBackgroundColor, optional long endBackgroundColor, optional androidx.compose.ui.unit.LayoutDirection gradientDirection); 44 method public float getAppImageSize(); 45 method public androidx.compose.foundation.layout.PaddingValues getContentPadding(); 46 method @androidx.compose.runtime.Composable public androidx.compose.ui.graphics.painter.Painter imageWithScrimBackgroundPainter(androidx.compose.ui.graphics.painter.Painter backgroundImagePainter, optional androidx.compose.ui.graphics.Brush backgroundImageScrimBrush); 47 property public final float AppImageSize; 48 property public final androidx.compose.foundation.layout.PaddingValues ContentPadding; 49 field public static final androidx.wear.compose.material.CardDefaults INSTANCE; 50 } 51 52 public final class CardKt { 53 method @androidx.compose.runtime.Composable public static void AppCard(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> appName, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> time, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> title, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit>? appImage, optional androidx.compose.ui.graphics.painter.Painter backgroundPainter, optional long contentColor, optional long appColor, optional long timeColor, optional long titleColor, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit> content); 54 method @androidx.compose.runtime.Composable public static void Card(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.graphics.painter.Painter backgroundPainter, optional long contentColor, optional boolean enabled, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional androidx.compose.ui.graphics.Shape shape, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource, optional androidx.compose.ui.semantics.Role? role, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit> content); 55 method @androidx.compose.runtime.Composable public static void TitleCard(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> title, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit>? time, optional androidx.compose.ui.graphics.painter.Painter backgroundPainter, optional long contentColor, optional long titleColor, optional long timeColor, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit> content); 56 } 57 58 @androidx.compose.runtime.Stable public interface ChipColors { 59 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.painter.Painter> background(boolean enabled); 60 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> contentColor(boolean enabled); 61 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> iconColor(boolean enabled); 62 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> secondaryContentColor(boolean enabled); 63 } 64 65 public final class ChipDefaults { 66 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors childChipColors(optional long contentColor, optional long secondaryContentColor, optional long iconColor); 67 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors chipColors(optional long backgroundColor, optional long contentColor, optional long secondaryContentColor, optional long iconColor, optional long disabledBackgroundColor, optional long disabledContentColor, optional long disabledSecondaryContentColor, optional long disabledIconColor); 68 method public androidx.compose.foundation.layout.PaddingValues getCompactChipContentPadding(); 69 method public androidx.compose.foundation.layout.PaddingValues getContentPadding(); 70 method public float getIconSize(); 71 method public float getLargeIconSize(); 72 method public float getSmallIconSize(); 73 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors gradientBackgroundChipColors(optional long startBackgroundColor, optional long endBackgroundColor, optional long contentColor, optional long secondaryContentColor, optional long iconColor, optional androidx.compose.ui.unit.LayoutDirection gradientDirection); 74 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors imageBackgroundChipColors(androidx.compose.ui.graphics.painter.Painter backgroundImagePainter, optional androidx.compose.ui.graphics.Brush backgroundImageScrimBrush, optional long contentColor, optional long secondaryContentColor, optional long iconColor); 75 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors primaryChipColors(optional long backgroundColor, optional long contentColor, optional long secondaryContentColor, optional long iconColor); 76 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors secondaryChipColors(optional long backgroundColor, optional long contentColor, optional long secondaryContentColor, optional long iconColor); 77 property public final androidx.compose.foundation.layout.PaddingValues CompactChipContentPadding; 78 property public final androidx.compose.foundation.layout.PaddingValues ContentPadding; 79 property public final float IconSize; 80 property public final float LargeIconSize; 81 property public final float SmallIconSize; 82 field public static final androidx.wear.compose.material.ChipDefaults INSTANCE; 83 } 84 85 public final class ChipKt { 86 method @androidx.compose.runtime.Composable public static void Chip(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, androidx.wear.compose.material.ChipColors colors, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional androidx.compose.ui.graphics.Shape shape, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource, optional androidx.compose.ui.semantics.Role? role, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> content); 87 method @androidx.compose.runtime.Composable public static void Chip(kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> label, kotlin.jvm.functions.Function0<kotlin.Unit> onClick, optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit>? secondaryLabel, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit>? icon, optional androidx.wear.compose.material.ChipColors colors, optional boolean enabled, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource, optional androidx.compose.foundation.layout.PaddingValues contentPadding); 88 method @androidx.compose.runtime.Composable public static void CompactChip(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit>? label, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit>? icon, optional androidx.wear.compose.material.ChipColors colors, optional boolean enabled, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource, optional androidx.compose.foundation.layout.PaddingValues contentPadding); 89 } 90 91 @androidx.compose.runtime.Stable public final class Colors { 92 ctor public Colors(optional long primary, optional long primaryVariant, optional long secondary, optional long secondaryVariant, optional long background, optional long surface, optional long error, optional long onPrimary, optional long onSecondary, optional long onBackground, optional long onSurface, optional long onSurfaceVariant, optional long onError); 93 method public androidx.wear.compose.material.Colors copy(optional long primary, optional long primaryVariant, optional long secondary, optional long secondaryVariant, optional long background, optional long surface, optional long error, optional long onPrimary, optional long onSecondary, optional long onBackground, optional long onSurface, optional long onSurfaceVariant, optional long onError); 94 method public long getBackground(); 95 method public long getError(); 96 method public long getOnBackground(); 97 method public long getOnError(); 98 method public long getOnPrimary(); 99 method public long getOnSecondary(); 100 method public long getOnSurface(); 101 method public long getOnSurfaceVariant(); 102 method public long getPrimary(); 103 method public long getPrimaryVariant(); 104 method public long getSecondary(); 105 method public long getSecondaryVariant(); 106 method public long getSurface(); 107 property public final long background; 108 property public final long error; 109 property public final long onBackground; 110 property public final long onError; 111 property public final long onPrimary; 112 property public final long onSecondary; 113 property public final long onSurface; 114 property public final long onSurfaceVariant; 115 property public final long primary; 116 property public final long primaryVariant; 117 property public final long secondary; 118 property public final long secondaryVariant; 119 property public final long surface; 120 } 121 122 public final class ColorsKt { 123 method public static long contentColorFor(androidx.wear.compose.material.Colors, long backgroundColor); 124 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static long contentColorFor(long backgroundColor); 125 } 126 127 public final class ContentAlpha { 128 method @androidx.compose.runtime.Composable public float getDisabled(); 129 method @androidx.compose.runtime.Composable public float getHigh(); 130 method @androidx.compose.runtime.Composable public float getMedium(); 131 property @androidx.compose.runtime.Composable public final float disabled; 132 property @androidx.compose.runtime.Composable public final float high; 133 property @androidx.compose.runtime.Composable public final float medium; 134 field public static final androidx.wear.compose.material.ContentAlpha INSTANCE; 135 } 136 137 public final class ContentAlphaKt { 138 method public static androidx.compose.runtime.ProvidableCompositionLocal<java.lang.Float> getLocalContentAlpha(); 139 property public static final androidx.compose.runtime.ProvidableCompositionLocal<java.lang.Float> LocalContentAlpha; 140 } 141 142 public final class ContentColorKt { 143 method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.ui.graphics.Color> getLocalContentColor(); 144 property public static final androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.ui.graphics.Color> LocalContentColor; 145 } 146 147 public final class CurvedTextKt { 148 method public static void curvedText(androidx.wear.compose.foundation.CurvedScope, String text, optional androidx.wear.compose.foundation.CurvedModifier modifier, optional long background, optional long color, optional long fontSize, optional androidx.wear.compose.foundation.CurvedTextStyle? style, optional androidx.wear.compose.foundation.CurvedDirection.Angular? angularDirection, optional int overflow); 149 } 150 151 public final class DefaultTimeSourceKt { 152 } 153 154 @kotlin.RequiresOptIn(message="This Wear Material API is experimental and is likely to change or to be removed in" + " the future.") public @interface ExperimentalWearMaterialApi { 155 } 156 157 @androidx.compose.runtime.Immutable @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class FixedThreshold implements androidx.wear.compose.material.ThresholdConfig { 158 ctor public FixedThreshold(float offset); 159 method public float computeThreshold(androidx.compose.ui.unit.Density, float fromValue, float toValue); 160 method public androidx.wear.compose.material.FixedThreshold copy-0680j_4(float offset); 161 } 162 163 @androidx.compose.runtime.Immutable @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class FractionalThreshold implements androidx.wear.compose.material.ThresholdConfig { 164 ctor public FractionalThreshold(float fraction); 165 method public float computeThreshold(androidx.compose.ui.unit.Density, float fromValue, float toValue); 166 method public androidx.wear.compose.material.FractionalThreshold copy(float fraction); 167 } 168 169 public final class HorizontalPageIndicatorKt { 170 method @androidx.compose.runtime.Composable public static void HorizontalPageIndicator(androidx.wear.compose.material.PageIndicatorState pageIndicatorState, optional androidx.compose.ui.Modifier modifier, optional int indicatorStyle, optional long selectedColor, optional long unselectedColor, optional float indicatorSize, optional float spacing, optional androidx.compose.ui.graphics.Shape indicatorShape); 171 } 172 173 public final class IconKt { 174 method @androidx.compose.runtime.Composable public static void Icon(androidx.compose.ui.graphics.ImageBitmap bitmap, String? contentDescription, optional androidx.compose.ui.Modifier modifier, optional long tint); 175 method @androidx.compose.runtime.Composable public static void Icon(androidx.compose.ui.graphics.painter.Painter painter, String? contentDescription, optional androidx.compose.ui.Modifier modifier, optional long tint); 176 method @androidx.compose.runtime.Composable public static void Icon(androidx.compose.ui.graphics.vector.ImageVector imageVector, String? contentDescription, optional androidx.compose.ui.Modifier modifier, optional long tint); 177 } 178 179 @androidx.compose.runtime.Stable public interface InlineSliderColors { 180 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> backgroundColor(boolean enabled); 181 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> barColor(boolean enabled, boolean selected); 182 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> spacerColor(boolean enabled); 183 } 184 185 public final class InlineSliderDefaults { 186 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.InlineSliderColors colors(optional long backgroundColor, optional long spacerColor, optional long selectedBarColor, optional long unselectedBarColor, optional long disabledBackgroundColor, optional long disabledSpacerColor, optional long disabledSelectedBarColor, optional long disabledUnselectedBarColor); 187 method public androidx.compose.ui.graphics.vector.ImageVector getDecrease(); 188 method public androidx.compose.ui.graphics.vector.ImageVector getIncrease(); 189 property public final androidx.compose.ui.graphics.vector.ImageVector Decrease; 190 property public final androidx.compose.ui.graphics.vector.ImageVector Increase; 191 field public static final androidx.wear.compose.material.InlineSliderDefaults INSTANCE; 192 } 193 194 public final class ListHeaderKt { 195 method @androidx.compose.runtime.Composable public static void ListHeader(optional androidx.compose.ui.Modifier modifier, optional long backgroundColor, optional long contentColor, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> content); 196 } 197 198 public final class MaterialTextSelectionColorsKt { 199 } 200 201 public final class MaterialTheme { 202 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public androidx.wear.compose.material.Colors getColors(); 203 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public androidx.wear.compose.material.Shapes getShapes(); 204 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public androidx.wear.compose.material.Typography getTypography(); 205 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final androidx.wear.compose.material.Colors colors; 206 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final androidx.wear.compose.material.Shapes shapes; 207 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final androidx.wear.compose.material.Typography typography; 208 field public static final androidx.wear.compose.material.MaterialTheme INSTANCE; 209 } 210 211 public final class MaterialThemeKt { 212 method @androidx.compose.runtime.Composable public static void MaterialTheme(optional androidx.wear.compose.material.Colors colors, optional androidx.wear.compose.material.Typography typography, optional androidx.wear.compose.material.Shapes shapes, kotlin.jvm.functions.Function0<kotlin.Unit> content); 213 } 214 215 public final class PageIndicatorDefaults { 216 method @androidx.compose.runtime.Composable public int style(); 217 field public static final androidx.wear.compose.material.PageIndicatorDefaults INSTANCE; 218 } 219 220 public interface PageIndicatorState { 221 method public int getPageCount(); 222 method public float getPageOffset(); 223 method public int getSelectedPage(); 224 property public abstract int pageCount; 225 property public abstract float pageOffset; 226 property public abstract int selectedPage; 227 } 228 229 @kotlin.jvm.JvmInline public final value class PageIndicatorStyle { 230 field public static final androidx.wear.compose.material.PageIndicatorStyle.Companion Companion; 231 } 232 233 public static final class PageIndicatorStyle.Companion { 234 method public int getCurved(); 235 method public int getLinear(); 236 property public final int Curved; 237 property public final int Linear; 238 } 239 240 public final class PickerDefaults { 241 method @androidx.compose.runtime.Composable public androidx.compose.foundation.gestures.FlingBehavior flingBehavior(androidx.wear.compose.material.PickerState state, optional androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> decay); 242 method public float getDefaultGradientRatio(); 243 method public androidx.wear.compose.material.ScalingParams scalingParams(optional float edgeScale, optional float edgeAlpha, optional float minElementHeight, optional float maxElementHeight, optional float minTransitionArea, optional float maxTransitionArea, optional androidx.compose.animation.core.Easing scaleInterpolator, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Constraints,java.lang.Integer> viewportVerticalOffsetResolver); 244 property public final float DefaultGradientRatio; 245 field public static final androidx.wear.compose.material.PickerDefaults INSTANCE; 246 } 247 248 public final class PickerKt { 249 method @androidx.compose.runtime.Composable public static void Picker(androidx.wear.compose.material.PickerState state, optional androidx.compose.ui.Modifier modifier, optional boolean readOnly, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit>? readOnlyLabel, optional androidx.wear.compose.material.ScalingParams scalingParams, optional float separation, optional float gradientRatio, optional long gradientColor, optional androidx.compose.foundation.gestures.FlingBehavior flingBehavior, kotlin.jvm.functions.Function2<? super androidx.wear.compose.material.PickerScope,? super java.lang.Integer,kotlin.Unit> option); 250 method @androidx.compose.runtime.Composable public static androidx.wear.compose.material.PickerState rememberPickerState(int initialNumberOfOptions, optional int initiallySelectedOption, optional boolean repeatItems); 251 } 252 253 public interface PickerScope { 254 method public int getSelectedOption(); 255 property public abstract int selectedOption; 256 } 257 258 @androidx.compose.runtime.Stable public final class PickerState implements androidx.compose.foundation.gestures.ScrollableState { 259 ctor public PickerState(int initialNumberOfOptions, optional int initiallySelectedOption, optional boolean repeatItems); 260 method public float dispatchRawDelta(float delta); 261 method public int getNumberOfOptions(); 262 method public boolean getRepeatItems(); 263 method public int getSelectedOption(); 264 method public boolean isScrollInProgress(); 265 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>,?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 266 method public suspend Object? scrollToOption(int index, kotlin.coroutines.Continuation<? super kotlin.Unit>); 267 method public void setNumberOfOptions(int); 268 property public boolean isScrollInProgress; 269 property public final int numberOfOptions; 270 property public final boolean repeatItems; 271 property public final int selectedOption; 272 field public static final androidx.wear.compose.material.PickerState.Companion Companion; 273 } 274 275 public static final class PickerState.Companion { 276 method public androidx.compose.runtime.saveable.Saver<androidx.wear.compose.material.PickerState,java.lang.Object> getSaver(); 277 property public final androidx.compose.runtime.saveable.Saver<androidx.wear.compose.material.PickerState,java.lang.Object> Saver; 278 } 279 280 @kotlin.jvm.JvmInline public final value class PositionIndicatorAlignment { 281 field public static final androidx.wear.compose.material.PositionIndicatorAlignment.Companion Companion; 282 } 283 284 public static final class PositionIndicatorAlignment.Companion { 285 method public int getEnd(); 286 method public int getLeft(); 287 method public int getOppositeRsb(); 288 method public int getRight(); 289 property public final int End; 290 property public final int Left; 291 property public final int OppositeRsb; 292 property public final int Right; 293 } 294 295 public final class PositionIndicatorKt { 296 method @androidx.compose.runtime.Composable public static void PositionIndicator(androidx.compose.foundation.lazy.LazyListState lazyListState, optional androidx.compose.ui.Modifier modifier, optional boolean reverseDirection); 297 method @androidx.compose.runtime.Composable public static void PositionIndicator(androidx.compose.foundation.ScrollState scrollState, optional androidx.compose.ui.Modifier modifier, optional boolean reverseDirection); 298 method @androidx.compose.runtime.Composable public static void PositionIndicator(androidx.wear.compose.material.PositionIndicatorState state, float indicatorHeight, float indicatorWidth, float paddingHorizontal, optional androidx.compose.ui.Modifier modifier, optional long background, optional long color, optional boolean reverseDirection, optional int position); 299 method @androidx.compose.runtime.Composable public static void PositionIndicator(androidx.wear.compose.material.ScalingLazyListState scalingLazyListState, optional androidx.compose.ui.Modifier modifier, optional boolean reverseDirection); 300 method @androidx.compose.runtime.Composable public static void PositionIndicator(kotlin.jvm.functions.Function0<java.lang.Float> value, optional androidx.compose.ui.Modifier modifier, optional kotlin.ranges.ClosedFloatingPointRange<java.lang.Float> range, optional long color, optional boolean reverseDirection, optional int position); 301 } 302 303 @androidx.compose.runtime.Stable public interface PositionIndicatorState { 304 method public float getPositionFraction(); 305 method public float sizeFraction(float scrollableContainerSizePx); 306 method public int visibility(float scrollableContainerSizePx); 307 property public abstract float positionFraction; 308 } 309 310 @kotlin.jvm.JvmInline public final value class PositionIndicatorVisibility { 311 field public static final androidx.wear.compose.material.PositionIndicatorVisibility.Companion Companion; 312 } 313 314 public static final class PositionIndicatorVisibility.Companion { 315 method public int getAutoHide(); 316 method public int getHide(); 317 method public int getShow(); 318 property public final int AutoHide; 319 property public final int Hide; 320 property public final int Show; 321 } 322 323 public final class ProgressIndicatorDefaults { 324 method public androidx.compose.animation.core.SpringSpec<java.lang.Float> getProgressAnimationSpec(); 325 method public float getStrokeWidth(); 326 property public final androidx.compose.animation.core.SpringSpec<java.lang.Float> ProgressAnimationSpec; 327 property public final float StrokeWidth; 328 field public static final androidx.wear.compose.material.ProgressIndicatorDefaults INSTANCE; 329 } 330 331 public final class ProgressIndicatorKt { 332 method @androidx.compose.runtime.Composable public static void CircularProgressIndicator(optional androidx.compose.ui.Modifier modifier, optional float startAngle, optional long indicatorColor, optional long trackColor, optional float strokeWidth); 333 method @androidx.compose.runtime.Composable public static void CircularProgressIndicator(float progress, optional androidx.compose.ui.Modifier modifier, optional float startAngle, optional float endAngle, optional long indicatorColor, optional long trackColor, optional float strokeWidth); 334 } 335 336 public final class RangeDefaultsKt { 337 } 338 339 @androidx.compose.runtime.Immutable @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class ResistanceConfig { 340 ctor public ResistanceConfig(float basis, optional float factorAtMin, optional float factorAtMax); 341 method public float computeResistance(float overflow); 342 method public float getBasis(); 343 method public float getFactorAtMax(); 344 method public float getFactorAtMin(); 345 property public final float basis; 346 property public final float factorAtMax; 347 property public final float factorAtMin; 348 } 349 350 public final class Resources_androidKt { 351 } 352 353 public final class ScaffoldKt { 354 method @androidx.compose.runtime.Composable public static void Scaffold(optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function0<kotlin.Unit>? vignette, optional kotlin.jvm.functions.Function0<kotlin.Unit>? positionIndicator, optional kotlin.jvm.functions.Function0<kotlin.Unit>? pageIndicator, optional kotlin.jvm.functions.Function0<kotlin.Unit>? timeText, kotlin.jvm.functions.Function0<kotlin.Unit> content); 355 } 356 357 public final class ScalingLazyColumnDefaults { 358 method public androidx.wear.compose.material.ScalingParams scalingParams(optional float edgeScale, optional float edgeAlpha, optional float minElementHeight, optional float maxElementHeight, optional float minTransitionArea, optional float maxTransitionArea, optional androidx.compose.animation.core.Easing scaleInterpolator, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Constraints,java.lang.Integer> viewportVerticalOffsetResolver); 359 method @androidx.compose.runtime.Composable public androidx.compose.foundation.gestures.FlingBehavior snapFlingBehavior(androidx.wear.compose.material.ScalingLazyListState state, optional float snapOffset, optional androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float> decay); 360 field public static final androidx.wear.compose.material.ScalingLazyColumnDefaults INSTANCE; 361 } 362 363 public final class ScalingLazyColumnKt { 364 method @androidx.compose.runtime.Composable public static void ScalingLazyColumn(optional androidx.compose.ui.Modifier modifier, optional androidx.wear.compose.material.ScalingLazyListState 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.wear.compose.material.ScalingParams scalingParams, optional int anchorType, optional androidx.wear.compose.material.AutoCenteringParams? autoCentering, kotlin.jvm.functions.Function1<? super androidx.wear.compose.material.ScalingLazyListScope,kotlin.Unit> content); 365 method public static inline <T> void items(androidx.wear.compose.material.ScalingLazyListScope, java.util.List<? extends T> items, optional kotlin.jvm.functions.Function1<? super T,?>? key, kotlin.jvm.functions.Function2<? super androidx.wear.compose.material.ScalingLazyListItemScope,? super T,kotlin.Unit> itemContent); 366 method public static inline <T> void items(androidx.wear.compose.material.ScalingLazyListScope, T![] items, optional kotlin.jvm.functions.Function1<? super T,?>? key, kotlin.jvm.functions.Function2<? super androidx.wear.compose.material.ScalingLazyListItemScope,? super T,kotlin.Unit> itemContent); 367 method public static inline <T> void itemsIndexed(androidx.wear.compose.material.ScalingLazyListScope, java.util.List<? extends T> items, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,?>? key, kotlin.jvm.functions.Function3<? super androidx.wear.compose.material.ScalingLazyListItemScope,? super java.lang.Integer,? super T,kotlin.Unit> itemContent); 368 method public static inline <T> void itemsIndexed(androidx.wear.compose.material.ScalingLazyListScope, T![] items, optional kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,?>? key, kotlin.jvm.functions.Function3<? super androidx.wear.compose.material.ScalingLazyListItemScope,? super java.lang.Integer,? super T,kotlin.Unit> itemContent); 369 } 370 371 public final class ScalingLazyColumnMeasureKt { 372 } 373 374 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class ScalingLazyListAnchorType { 375 field public static final androidx.wear.compose.material.ScalingLazyListAnchorType.Companion Companion; 376 } 377 378 public static final class ScalingLazyListAnchorType.Companion { 379 method public int getItemCenter(); 380 method public int getItemStart(); 381 property public final int ItemCenter; 382 property public final int ItemStart; 383 } 384 385 public sealed interface ScalingLazyListItemInfo { 386 method public float getAlpha(); 387 method public int getIndex(); 388 method public Object getKey(); 389 method public int getOffset(); 390 method public float getScale(); 391 method public int getSize(); 392 method public int getUnadjustedOffset(); 393 method public int getUnadjustedSize(); 394 property public abstract float alpha; 395 property public abstract int index; 396 property public abstract Object key; 397 property public abstract int offset; 398 property public abstract float scale; 399 property public abstract int size; 400 property public abstract int unadjustedOffset; 401 property public abstract int unadjustedSize; 402 } 403 404 @androidx.compose.runtime.Stable @androidx.wear.compose.material.ScalingLazyScopeMarker public sealed interface ScalingLazyListItemScope { 405 method public androidx.compose.ui.Modifier fillParentMaxHeight(androidx.compose.ui.Modifier, optional float fraction); 406 method public androidx.compose.ui.Modifier fillParentMaxSize(androidx.compose.ui.Modifier, optional float fraction); 407 method public androidx.compose.ui.Modifier fillParentMaxWidth(androidx.compose.ui.Modifier, optional float fraction); 408 } 409 410 public sealed interface ScalingLazyListLayoutInfo { 411 method public int getAfterAutoCenteringPadding(); 412 method public int getAfterContentPadding(); 413 method public int getBeforeAutoCenteringPadding(); 414 method public int getBeforeContentPadding(); 415 method public androidx.compose.foundation.gestures.Orientation getOrientation(); 416 method public boolean getReverseLayout(); 417 method public int getTotalItemsCount(); 418 method public int getViewportEndOffset(); 419 method public long getViewportSize(); 420 method public int getViewportStartOffset(); 421 method public java.util.List<androidx.wear.compose.material.ScalingLazyListItemInfo> getVisibleItemsInfo(); 422 property public abstract int afterAutoCenteringPadding; 423 property public abstract int afterContentPadding; 424 property public abstract int beforeAutoCenteringPadding; 425 property public abstract int beforeContentPadding; 426 property public abstract androidx.compose.foundation.gestures.Orientation orientation; 427 property public abstract boolean reverseLayout; 428 property public abstract int totalItemsCount; 429 property public abstract int viewportEndOffset; 430 property public abstract long viewportSize; 431 property public abstract int viewportStartOffset; 432 property public abstract java.util.List<androidx.wear.compose.material.ScalingLazyListItemInfo> visibleItemsInfo; 433 } 434 435 @androidx.wear.compose.material.ScalingLazyScopeMarker public sealed interface ScalingLazyListScope { 436 method public void item(optional Object? key, kotlin.jvm.functions.Function1<? super androidx.wear.compose.material.ScalingLazyListItemScope,kotlin.Unit> content); 437 method public void items(int count, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,?>? key, kotlin.jvm.functions.Function2<? super androidx.wear.compose.material.ScalingLazyListItemScope,? super java.lang.Integer,kotlin.Unit> itemContent); 438 } 439 440 @androidx.compose.runtime.Stable public final class ScalingLazyListState implements androidx.compose.foundation.gestures.ScrollableState { 441 ctor public ScalingLazyListState(optional int initialCenterItemIndex, optional int initialCenterItemScrollOffset); 442 method public suspend Object? animateScrollToItem(int index, optional int scrollOffset, optional kotlin.coroutines.Continuation<? super kotlin.Unit>); 443 method public float dispatchRawDelta(float delta); 444 method public int getCenterItemIndex(); 445 method public int getCenterItemScrollOffset(); 446 method public androidx.wear.compose.material.ScalingLazyListLayoutInfo getLayoutInfo(); 447 method public boolean isScrollInProgress(); 448 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>,?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 449 method public suspend Object? scrollToItem(int index, optional int scrollOffset, optional kotlin.coroutines.Continuation<? super kotlin.Unit>); 450 property public final int centerItemIndex; 451 property public final int centerItemScrollOffset; 452 property public boolean isScrollInProgress; 453 property public final androidx.wear.compose.material.ScalingLazyListLayoutInfo layoutInfo; 454 field public static final androidx.wear.compose.material.ScalingLazyListState.Companion Companion; 455 } 456 457 public static final class ScalingLazyListState.Companion { 458 method public androidx.compose.runtime.saveable.Saver<androidx.wear.compose.material.ScalingLazyListState,java.lang.Object> getSaver(); 459 property public final androidx.compose.runtime.saveable.Saver<androidx.wear.compose.material.ScalingLazyListState,java.lang.Object> Saver; 460 } 461 462 public final class ScalingLazyListStateKt { 463 method @androidx.compose.runtime.Composable public static androidx.wear.compose.material.ScalingLazyListState rememberScalingLazyListState(optional int initialCenterItemIndex, optional int initialCenterItemScrollOffset); 464 } 465 466 @kotlin.DslMarker public @interface ScalingLazyScopeMarker { 467 } 468 469 @androidx.compose.runtime.Stable public interface ScalingParams { 470 method public float getEdgeAlpha(); 471 method public float getEdgeScale(); 472 method public float getMaxElementHeight(); 473 method public float getMaxTransitionArea(); 474 method public float getMinElementHeight(); 475 method public float getMinTransitionArea(); 476 method public androidx.compose.animation.core.Easing getScaleInterpolator(); 477 method public int resolveViewportVerticalOffset(long viewportConstraints); 478 property public abstract float edgeAlpha; 479 property public abstract float edgeScale; 480 property public abstract float maxElementHeight; 481 property public abstract float maxTransitionArea; 482 property public abstract float minElementHeight; 483 property public abstract float minTransitionArea; 484 property public abstract androidx.compose.animation.core.Easing scaleInterpolator; 485 } 486 487 @androidx.compose.runtime.Immutable public final class Shapes { 488 ctor public Shapes(optional androidx.compose.foundation.shape.CornerBasedShape small, optional androidx.compose.foundation.shape.CornerBasedShape medium, optional androidx.compose.foundation.shape.CornerBasedShape large); 489 method public androidx.wear.compose.material.Shapes copy(optional androidx.compose.foundation.shape.CornerBasedShape small, optional androidx.compose.foundation.shape.CornerBasedShape medium, optional androidx.compose.foundation.shape.CornerBasedShape large); 490 method public androidx.compose.foundation.shape.CornerBasedShape getLarge(); 491 method public androidx.compose.foundation.shape.CornerBasedShape getMedium(); 492 method public androidx.compose.foundation.shape.CornerBasedShape getSmall(); 493 property public final androidx.compose.foundation.shape.CornerBasedShape large; 494 property public final androidx.compose.foundation.shape.CornerBasedShape medium; 495 property public final androidx.compose.foundation.shape.CornerBasedShape small; 496 } 497 498 public final class ShapesKt { 499 } 500 501 public final class SliderKt { 502 method @androidx.compose.runtime.Composable public static void InlineSlider(float value, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onValueChange, int steps, kotlin.jvm.functions.Function0<kotlin.Unit> decreaseIcon, kotlin.jvm.functions.Function0<kotlin.Unit> increaseIcon, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional kotlin.ranges.ClosedFloatingPointRange<java.lang.Float> valueRange, optional boolean segmented, optional androidx.wear.compose.material.InlineSliderColors colors); 503 method @androidx.compose.runtime.Composable public static void InlineSlider(int value, kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit> onValueChange, kotlin.ranges.IntProgression valueProgression, kotlin.jvm.functions.Function0<kotlin.Unit> decreaseIcon, kotlin.jvm.functions.Function0<kotlin.Unit> increaseIcon, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional boolean segmented, optional androidx.wear.compose.material.InlineSliderColors colors); 504 } 505 506 @androidx.compose.runtime.Stable public interface SplitToggleChipColors { 507 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> backgroundColor(boolean enabled); 508 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> contentColor(boolean enabled); 509 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> secondaryContentColor(boolean enabled); 510 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> splitBackgroundOverlay(boolean enabled, boolean checked); 511 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> toggleControlColor(boolean enabled, boolean checked); 512 } 513 514 public final class StepperDefaults { 515 method public androidx.compose.ui.graphics.vector.ImageVector getDecrease(); 516 method public androidx.compose.ui.graphics.vector.ImageVector getIncrease(); 517 property public final androidx.compose.ui.graphics.vector.ImageVector Decrease; 518 property public final androidx.compose.ui.graphics.vector.ImageVector Increase; 519 field public static final androidx.wear.compose.material.StepperDefaults INSTANCE; 520 } 521 522 public final class StepperKt { 523 method @androidx.compose.runtime.Composable public static void Stepper(float value, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onValueChange, int steps, kotlin.jvm.functions.Function0<kotlin.Unit> decreaseIcon, kotlin.jvm.functions.Function0<kotlin.Unit> increaseIcon, optional androidx.compose.ui.Modifier modifier, optional kotlin.ranges.ClosedFloatingPointRange<java.lang.Float> valueRange, optional long backgroundColor, optional long contentColor, optional long iconColor, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> content); 524 method @androidx.compose.runtime.Composable public static void Stepper(int value, kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit> onValueChange, kotlin.ranges.IntProgression valueProgression, kotlin.jvm.functions.Function0<kotlin.Unit> decreaseIcon, kotlin.jvm.functions.Function0<kotlin.Unit> increaseIcon, optional androidx.compose.ui.Modifier modifier, optional long backgroundColor, optional long contentColor, optional long iconColor, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> content); 525 } 526 527 @androidx.compose.runtime.Immutable @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class SwipeProgress<T> { 528 ctor public SwipeProgress(T? from, T? to, float fraction); 529 method public float getFraction(); 530 method public T! getFrom(); 531 method public T! getTo(); 532 property public final float fraction; 533 property public final T! from; 534 property public final T! to; 535 } 536 537 public final class SwipeToDismissBoxDefaults { 538 method public androidx.compose.animation.core.SpringSpec<java.lang.Float> getAnimationSpec(); 539 method public float getEdgeWidth(); 540 property public final androidx.compose.animation.core.SpringSpec<java.lang.Float> AnimationSpec; 541 property public final float EdgeWidth; 542 field public static final androidx.wear.compose.material.SwipeToDismissBoxDefaults INSTANCE; 543 } 544 545 public final class SwipeToDismissBoxKt { 546 method @androidx.compose.runtime.Composable public static void SwipeToDismissBox(androidx.wear.compose.material.SwipeToDismissBoxState state, optional androidx.compose.ui.Modifier modifier, optional long backgroundScrimColor, optional long contentScrimColor, optional Object backgroundKey, optional Object contentKey, optional boolean hasBackground, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.layout.BoxScope,? super java.lang.Boolean,kotlin.Unit> content); 547 method @androidx.compose.runtime.Composable public static void SwipeToDismissBox(kotlin.jvm.functions.Function0<kotlin.Unit> onDismissed, optional androidx.compose.ui.Modifier modifier, optional androidx.wear.compose.material.SwipeToDismissBoxState state, optional long backgroundScrimColor, optional long contentScrimColor, optional Object backgroundKey, optional Object contentKey, optional boolean hasBackground, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.layout.BoxScope,? super java.lang.Boolean,kotlin.Unit> content); 548 method public static androidx.compose.ui.Modifier edgeSwipeToDismiss(androidx.compose.ui.Modifier, androidx.wear.compose.material.SwipeToDismissBoxState swipeToDismissBoxState, optional float edgeWidth); 549 method @androidx.compose.runtime.Composable public static androidx.wear.compose.material.SwipeToDismissBoxState rememberSwipeToDismissBoxState(optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.wear.compose.material.SwipeToDismissValue,java.lang.Boolean> confirmStateChange); 550 } 551 552 @androidx.compose.runtime.Stable public final class SwipeToDismissBoxState { 553 ctor public SwipeToDismissBoxState(optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.wear.compose.material.SwipeToDismissValue,java.lang.Boolean> confirmStateChange); 554 method public androidx.wear.compose.material.SwipeToDismissValue getCurrentValue(); 555 method public androidx.wear.compose.material.SwipeToDismissValue getTargetValue(); 556 method public boolean isAnimationRunning(); 557 method public suspend Object? snapTo(androidx.wear.compose.material.SwipeToDismissValue targetValue, kotlin.coroutines.Continuation<? super kotlin.Unit>); 558 property public final androidx.wear.compose.material.SwipeToDismissValue currentValue; 559 property public final boolean isAnimationRunning; 560 property public final androidx.wear.compose.material.SwipeToDismissValue targetValue; 561 } 562 563 public enum SwipeToDismissKeys { 564 enum_constant public static final androidx.wear.compose.material.SwipeToDismissKeys Background; 565 enum_constant public static final androidx.wear.compose.material.SwipeToDismissKeys Content; 566 } 567 568 public enum SwipeToDismissValue { 569 enum_constant public static final androidx.wear.compose.material.SwipeToDismissValue Default; 570 enum_constant public static final androidx.wear.compose.material.SwipeToDismissValue Dismissed; 571 } 572 573 @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class SwipeableDefaults { 574 method public androidx.compose.animation.core.SpringSpec<java.lang.Float> getAnimationSpec(); 575 method public float getVelocityThreshold(); 576 method public androidx.wear.compose.material.ResistanceConfig? resistanceConfig(java.util.Set<java.lang.Float> anchors, optional float factorAtMin, optional float factorAtMax); 577 property public final androidx.compose.animation.core.SpringSpec<java.lang.Float> AnimationSpec; 578 property public final float VelocityThreshold; 579 field public static final androidx.wear.compose.material.SwipeableDefaults INSTANCE; 580 field public static final float StandardResistanceFactor = 10.0f; 581 field public static final float StiffResistanceFactor = 20.0f; 582 } 583 584 public final class SwipeableKt { 585 method @androidx.compose.runtime.Composable @androidx.wear.compose.material.ExperimentalWearMaterialApi public static <T> androidx.wear.compose.material.SwipeableState<T> rememberSwipeableState(T initialValue, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, optional kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> confirmStateChange); 586 method @androidx.wear.compose.material.ExperimentalWearMaterialApi public static <T> androidx.compose.ui.Modifier swipeable(androidx.compose.ui.Modifier, androidx.wear.compose.material.SwipeableState<T> state, java.util.Map<java.lang.Float,? extends T> anchors, androidx.compose.foundation.gestures.Orientation orientation, optional boolean enabled, optional boolean reverseDirection, optional androidx.compose.foundation.interaction.MutableInteractionSource? interactionSource, optional kotlin.jvm.functions.Function2<? super T,? super T,? extends androidx.wear.compose.material.ThresholdConfig> thresholds, optional androidx.wear.compose.material.ResistanceConfig? resistance, optional float velocityThreshold); 587 } 588 589 @androidx.compose.runtime.Stable @androidx.wear.compose.material.ExperimentalWearMaterialApi public class SwipeableState<T> { 590 ctor public SwipeableState(T? initialValue, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, optional kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> confirmStateChange); 591 method @androidx.wear.compose.material.ExperimentalWearMaterialApi public final suspend Object? animateTo(T? targetValue, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> anim, optional kotlin.coroutines.Continuation<? super kotlin.Unit>); 592 method public final T! getCurrentValue(); 593 method public final float getDirection(); 594 method public final androidx.compose.runtime.State<java.lang.Float> getOffset(); 595 method public final androidx.compose.runtime.State<java.lang.Float> getOverflow(); 596 method public final androidx.wear.compose.material.SwipeProgress<T> getProgress(); 597 method public final T! getTargetValue(); 598 method public final boolean isAnimationRunning(); 599 method @androidx.wear.compose.material.ExperimentalWearMaterialApi public final suspend Object? performFling(float velocity, kotlin.coroutines.Continuation<? super kotlin.Unit>); 600 method @androidx.wear.compose.material.ExperimentalWearMaterialApi public final suspend Object? snapTo(T? targetValue, kotlin.coroutines.Continuation<? super kotlin.Unit>); 601 property public final T! currentValue; 602 property public final float direction; 603 property public final boolean isAnimationRunning; 604 property public final androidx.compose.runtime.State<java.lang.Float> offset; 605 property public final androidx.compose.runtime.State<java.lang.Float> overflow; 606 property public final androidx.wear.compose.material.SwipeProgress<T> progress; 607 property public final T! targetValue; 608 field public static final androidx.wear.compose.material.SwipeableState.Companion Companion; 609 } 610 611 public static final class SwipeableState.Companion { 612 method public <T> androidx.compose.runtime.saveable.Saver<androidx.wear.compose.material.SwipeableState<T>,T> Saver(androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> confirmStateChange); 613 } 614 615 public final class TextKt { 616 method @androidx.compose.runtime.Composable public static void ProvideTextStyle(androidx.compose.ui.text.TextStyle value, kotlin.jvm.functions.Function0<kotlin.Unit> content); 617 method @androidx.compose.runtime.Composable public static void Text(androidx.compose.ui.text.AnnotatedString text, optional androidx.compose.ui.Modifier modifier, optional long color, optional long fontSize, optional androidx.compose.ui.text.font.FontStyle? fontStyle, optional androidx.compose.ui.text.font.FontWeight? fontWeight, optional androidx.compose.ui.text.font.FontFamily? fontFamily, optional long letterSpacing, optional androidx.compose.ui.text.style.TextDecoration? textDecoration, optional androidx.compose.ui.text.style.TextAlign? textAlign, optional long lineHeight, optional int overflow, optional boolean softWrap, optional int maxLines, optional java.util.Map<java.lang.String,androidx.compose.foundation.text.InlineTextContent> inlineContent, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit> onTextLayout, optional androidx.compose.ui.text.TextStyle style); 618 method @androidx.compose.runtime.Composable public static void Text(String text, optional androidx.compose.ui.Modifier modifier, optional long color, optional long fontSize, optional androidx.compose.ui.text.font.FontStyle? fontStyle, optional androidx.compose.ui.text.font.FontWeight? fontWeight, optional androidx.compose.ui.text.font.FontFamily? fontFamily, optional long letterSpacing, optional androidx.compose.ui.text.style.TextDecoration? textDecoration, optional androidx.compose.ui.text.style.TextAlign? textAlign, optional long lineHeight, optional int overflow, optional boolean softWrap, optional int maxLines, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.TextLayoutResult,kotlin.Unit> onTextLayout, optional androidx.compose.ui.text.TextStyle style); 619 method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.ui.text.TextStyle> getLocalTextStyle(); 620 property public static final androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.ui.text.TextStyle> LocalTextStyle; 621 } 622 623 @androidx.compose.runtime.Stable @androidx.wear.compose.material.ExperimentalWearMaterialApi public interface ThresholdConfig { 624 method public float computeThreshold(androidx.compose.ui.unit.Density, float fromValue, float toValue); 625 } 626 627 public interface TimeSource { 628 method @androidx.compose.runtime.Composable public String getCurrentTime(); 629 property @androidx.compose.runtime.Composable public abstract String currentTime; 630 } 631 632 public final class TimeTextDefaults { 633 method public void CurvedTextSeparator(androidx.wear.compose.foundation.CurvedScope, optional androidx.wear.compose.foundation.CurvedTextStyle? curvedTextStyle, optional androidx.wear.compose.foundation.ArcPaddingValues contentArcPadding); 634 method @androidx.compose.runtime.Composable public void TextSeparator(optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.text.TextStyle textStyle, optional androidx.compose.foundation.layout.PaddingValues contentPadding); 635 method public androidx.compose.foundation.layout.PaddingValues getContentPadding(); 636 method @androidx.compose.runtime.Composable public String timeFormat(); 637 method public androidx.wear.compose.material.TimeSource timeSource(String timeFormat); 638 method @androidx.compose.runtime.Composable public androidx.compose.ui.text.TextStyle timeTextStyle(optional long background, optional long color, optional long fontSize); 639 property public final androidx.compose.foundation.layout.PaddingValues ContentPadding; 640 field public static final androidx.wear.compose.material.TimeTextDefaults INSTANCE; 641 field public static final String TimeFormat12Hours = "h:mm a"; 642 field public static final String TimeFormat24Hours = "HH:mm"; 643 } 644 645 public final class TimeTextKt { 646 method @androidx.compose.runtime.Composable public static void TimeText(optional androidx.compose.ui.Modifier modifier, optional androidx.wear.compose.material.TimeSource timeSource, optional androidx.compose.ui.text.TextStyle timeTextStyle, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional kotlin.jvm.functions.Function0<kotlin.Unit>? startLinearContent, optional kotlin.jvm.functions.Function1<? super androidx.wear.compose.foundation.CurvedScope,kotlin.Unit>? startCurvedContent, optional kotlin.jvm.functions.Function0<kotlin.Unit>? endLinearContent, optional kotlin.jvm.functions.Function1<? super androidx.wear.compose.foundation.CurvedScope,kotlin.Unit>? endCurvedContent, optional kotlin.jvm.functions.Function0<kotlin.Unit> textLinearSeparator, optional kotlin.jvm.functions.Function1<? super androidx.wear.compose.foundation.CurvedScope,kotlin.Unit> textCurvedSeparator); 647 } 648 649 @androidx.compose.runtime.Stable public interface ToggleButtonColors { 650 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> backgroundColor(boolean enabled, boolean checked); 651 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> contentColor(boolean enabled, boolean checked); 652 } 653 654 public final class ToggleButtonDefaults { 655 method public float getDefaultIconSize(); 656 method public float getDefaultToggleButtonSize(); 657 method public float getSmallIconSize(); 658 method public float getSmallToggleButtonSize(); 659 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ToggleButtonColors toggleButtonColors(optional long checkedBackgroundColor, optional long checkedContentColor, optional long disabledCheckedBackgroundColor, optional long disabledCheckedContentColor, optional long uncheckedBackgroundColor, optional long uncheckedContentColor, optional long disabledUncheckedBackgroundColor, optional long disabledUncheckedContentColor); 660 property public final float DefaultIconSize; 661 property public final float DefaultToggleButtonSize; 662 property public final float SmallIconSize; 663 property public final float SmallToggleButtonSize; 664 field public static final androidx.wear.compose.material.ToggleButtonDefaults INSTANCE; 665 } 666 667 public final class ToggleButtonKt { 668 method @androidx.compose.runtime.Composable public static void ToggleButton(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> onCheckedChange, optional androidx.compose.ui.Modifier modifier, optional boolean enabled, optional androidx.wear.compose.material.ToggleButtonColors colors, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> content); 669 } 670 671 @androidx.compose.runtime.Stable public interface ToggleChipColors { 672 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.painter.Painter> background(boolean enabled, boolean checked); 673 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> contentColor(boolean enabled, boolean checked); 674 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> secondaryContentColor(boolean enabled, boolean checked); 675 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> toggleControlColor(boolean enabled, boolean checked); 676 } 677 678 public final class ToggleChipDefaults { 679 method public androidx.compose.ui.graphics.vector.ImageVector checkboxIcon(boolean checked); 680 method public androidx.compose.ui.graphics.vector.ImageVector getCheckboxOn(); 681 method public androidx.compose.foundation.layout.PaddingValues getContentPadding(); 682 method public float getIconSize(); 683 method public androidx.compose.ui.graphics.vector.ImageVector getRadioOff(); 684 method public androidx.compose.ui.graphics.vector.ImageVector getRadioOn(); 685 method @androidx.compose.runtime.Composable public long getSwitchUncheckedIconColor(); 686 method public androidx.compose.ui.graphics.vector.ImageVector radioIcon(boolean checked); 687 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.SplitToggleChipColors splitToggleChipColors(optional long backgroundColor, optional long contentColor, optional long secondaryContentColor, optional long checkedToggleControlColor, optional long uncheckedToggleControlColor, optional long splitBackgroundOverlayColor); 688 method public androidx.compose.ui.graphics.vector.ImageVector switchIcon(boolean checked); 689 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ToggleChipColors toggleChipColors(optional long checkedStartBackgroundColor, optional long checkedEndBackgroundColor, optional long checkedContentColor, optional long checkedSecondaryContentColor, optional long checkedToggleControlColor, optional long uncheckedStartBackgroundColor, optional long uncheckedEndBackgroundColor, optional long uncheckedContentColor, optional long uncheckedSecondaryContentColor, optional long uncheckedToggleControlColor, optional androidx.compose.ui.unit.LayoutDirection gradientDirection); 690 property public final androidx.compose.ui.graphics.vector.ImageVector CheckboxOn; 691 property public final androidx.compose.foundation.layout.PaddingValues ContentPadding; 692 property public final float IconSize; 693 property public final androidx.compose.ui.graphics.vector.ImageVector RadioOff; 694 property public final androidx.compose.ui.graphics.vector.ImageVector RadioOn; 695 property @androidx.compose.runtime.Composable public final long SwitchUncheckedIconColor; 696 field public static final androidx.wear.compose.material.ToggleChipDefaults INSTANCE; 697 } 698 699 public final class ToggleChipKt { 700 method @androidx.compose.runtime.Composable public static void SplitToggleChip(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> onCheckedChange, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> label, kotlin.jvm.functions.Function0<kotlin.Unit> onClick, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> toggleControl, optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit>? secondaryLabel, optional androidx.wear.compose.material.SplitToggleChipColors colors, optional boolean enabled, optional androidx.compose.foundation.interaction.MutableInteractionSource checkedInteractionSource, optional androidx.compose.foundation.interaction.MutableInteractionSource clickInteractionSource, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional androidx.compose.ui.graphics.Shape shape); 701 method @androidx.compose.runtime.Composable public static void ToggleChip(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> onCheckedChange, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> label, kotlin.jvm.functions.Function0<kotlin.Unit> toggleControl, optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit>? appIcon, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit>? secondaryLabel, optional androidx.wear.compose.material.ToggleChipColors colors, optional boolean enabled, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional androidx.compose.ui.graphics.Shape shape); 702 } 703 704 @androidx.compose.runtime.Immutable public final class Typography { 705 ctor public Typography(optional androidx.compose.ui.text.font.FontFamily defaultFontFamily, optional androidx.compose.ui.text.TextStyle display1, optional androidx.compose.ui.text.TextStyle display2, optional androidx.compose.ui.text.TextStyle display3, optional androidx.compose.ui.text.TextStyle title1, optional androidx.compose.ui.text.TextStyle title2, optional androidx.compose.ui.text.TextStyle title3, optional androidx.compose.ui.text.TextStyle body1, optional androidx.compose.ui.text.TextStyle body2, optional androidx.compose.ui.text.TextStyle button, optional androidx.compose.ui.text.TextStyle caption1, optional androidx.compose.ui.text.TextStyle caption2, optional androidx.compose.ui.text.TextStyle caption3); 706 method public androidx.wear.compose.material.Typography copy(optional androidx.compose.ui.text.TextStyle display1, optional androidx.compose.ui.text.TextStyle display2, optional androidx.compose.ui.text.TextStyle display3, optional androidx.compose.ui.text.TextStyle title1, optional androidx.compose.ui.text.TextStyle title2, optional androidx.compose.ui.text.TextStyle title3, optional androidx.compose.ui.text.TextStyle body1, optional androidx.compose.ui.text.TextStyle body2, optional androidx.compose.ui.text.TextStyle button, optional androidx.compose.ui.text.TextStyle caption1, optional androidx.compose.ui.text.TextStyle caption2, optional androidx.compose.ui.text.TextStyle caption3); 707 method public androidx.compose.ui.text.TextStyle getBody1(); 708 method public androidx.compose.ui.text.TextStyle getBody2(); 709 method public androidx.compose.ui.text.TextStyle getButton(); 710 method public androidx.compose.ui.text.TextStyle getCaption1(); 711 method public androidx.compose.ui.text.TextStyle getCaption2(); 712 method public androidx.compose.ui.text.TextStyle getCaption3(); 713 method public androidx.compose.ui.text.TextStyle getDisplay1(); 714 method public androidx.compose.ui.text.TextStyle getDisplay2(); 715 method public androidx.compose.ui.text.TextStyle getDisplay3(); 716 method public androidx.compose.ui.text.TextStyle getTitle1(); 717 method public androidx.compose.ui.text.TextStyle getTitle2(); 718 method public androidx.compose.ui.text.TextStyle getTitle3(); 719 property public final androidx.compose.ui.text.TextStyle body1; 720 property public final androidx.compose.ui.text.TextStyle body2; 721 property public final androidx.compose.ui.text.TextStyle button; 722 property public final androidx.compose.ui.text.TextStyle caption1; 723 property public final androidx.compose.ui.text.TextStyle caption2; 724 property public final androidx.compose.ui.text.TextStyle caption3; 725 property public final androidx.compose.ui.text.TextStyle display1; 726 property public final androidx.compose.ui.text.TextStyle display2; 727 property public final androidx.compose.ui.text.TextStyle display3; 728 property public final androidx.compose.ui.text.TextStyle title1; 729 property public final androidx.compose.ui.text.TextStyle title2; 730 property public final androidx.compose.ui.text.TextStyle title3; 731 } 732 733 public final class TypographyKt { 734 } 735 736 public final class VignetteKt { 737 method @androidx.compose.runtime.Composable public static void Vignette(int vignettePosition, optional androidx.compose.ui.Modifier modifier); 738 } 739 740 @kotlin.jvm.JvmInline public final value class VignettePosition { 741 ctor public VignettePosition(int key); 742 field public static final androidx.wear.compose.material.VignettePosition.Companion Companion; 743 } 744 745 public static final class VignettePosition.Companion { 746 method public int getBottom(); 747 method public int getTop(); 748 method public int getTopAndBottom(); 749 property public final int Bottom; 750 property public final int Top; 751 property public final int TopAndBottom; 752 } 753 754} 755 756package androidx.wear.compose.material.dialog { 757 758 public final class DialogDefaults { 759 method public androidx.compose.foundation.layout.Arrangement.Vertical getAlertVerticalArrangement(); 760 method public androidx.compose.foundation.layout.Arrangement.Vertical getConfirmationVerticalArrangement(); 761 method public androidx.compose.foundation.layout.PaddingValues getContentPadding(); 762 method public long getIndefiniteDurationMillis(); 763 method public long getLongDurationMillis(); 764 method public long getShortDurationMillis(); 765 property public final androidx.compose.foundation.layout.Arrangement.Vertical AlertVerticalArrangement; 766 property public final androidx.compose.foundation.layout.Arrangement.Vertical ConfirmationVerticalArrangement; 767 property public final androidx.compose.foundation.layout.PaddingValues ContentPadding; 768 property public final long IndefiniteDurationMillis; 769 property public final long LongDurationMillis; 770 property public final long ShortDurationMillis; 771 field public static final androidx.wear.compose.material.dialog.DialogDefaults INSTANCE; 772 } 773 774 public final class DialogKt { 775 method @androidx.compose.runtime.Composable public static void Alert(kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit> title, optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit>? icon, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit>? message, optional androidx.wear.compose.material.ScalingLazyListState scrollState, optional long backgroundColor, optional long titleColor, optional long messageColor, optional long iconColor, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional androidx.compose.foundation.layout.PaddingValues contentPadding, kotlin.jvm.functions.Function1<? super androidx.wear.compose.material.ScalingLazyListScope,kotlin.Unit> content); 776 method @androidx.compose.runtime.Composable public static void Alert(kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit> title, kotlin.jvm.functions.Function0<kotlin.Unit> negativeButton, kotlin.jvm.functions.Function0<kotlin.Unit> positiveButton, optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit>? icon, optional androidx.wear.compose.material.ScalingLazyListState scrollState, optional long backgroundColor, optional long contentColor, optional long titleColor, optional long iconColor, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional androidx.compose.foundation.layout.PaddingValues contentPadding, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit>? content); 777 method @androidx.compose.runtime.Composable public static void Confirmation(kotlin.jvm.functions.Function0<kotlin.Unit> onTimeout, optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit>? icon, optional androidx.wear.compose.material.ScalingLazyListState scrollState, optional long durationMillis, optional long backgroundColor, optional long contentColor, optional long iconColor, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional androidx.compose.foundation.layout.PaddingValues contentPadding, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit> content); 778 } 779 780 public final class Dialog_androidKt { 781 method @androidx.compose.runtime.Composable public static void Dialog(boolean showDialog, kotlin.jvm.functions.Function0<kotlin.Unit> onDismissRequest, optional androidx.compose.ui.Modifier modifier, optional androidx.wear.compose.material.ScalingLazyListState? scrollState, optional androidx.compose.ui.window.DialogProperties properties, kotlin.jvm.functions.Function0<kotlin.Unit> content); 782 } 783 784} 785 786