1// Signature format: 4.0 2package androidx.wear.compose.material { 3 4 public final class AnimationKt { 5 } 6 7 @androidx.compose.runtime.Immutable public final class AutoCenteringParams { 8 ctor public AutoCenteringParams(optional int itemIndex, optional int itemOffset); 9 } 10 11 @androidx.compose.runtime.Stable public interface ButtonBorder { 12 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.foundation.BorderStroke> borderStroke(boolean enabled); 13 } 14 15 @androidx.compose.runtime.Stable public interface ButtonColors { 16 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> backgroundColor(boolean enabled); 17 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> contentColor(boolean enabled); 18 } 19 20 public final class ButtonDefaults { 21 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ButtonBorder buttonBorder(optional androidx.compose.foundation.BorderStroke? borderStroke, optional androidx.compose.foundation.BorderStroke? disabledBorderStroke); 22 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ButtonColors buttonColors(optional long backgroundColor, optional long contentColor, optional long disabledBackgroundColor, optional long disabledContentColor); 23 method public float getCompactButtonBackgroundPadding(); 24 method public float getDefaultButtonSize(); 25 method public float getDefaultIconSize(); 26 method public float getExtraSmallButtonSize(); 27 method public float getLargeButtonSize(); 28 method public float getLargeIconSize(); 29 method public float getSmallButtonSize(); 30 method public float getSmallIconSize(); 31 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ButtonColors iconButtonColors(optional long contentColor); 32 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ButtonBorder outlinedButtonBorder(optional long borderColor, optional long disabledBorderColor, optional float borderWidth); 33 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ButtonColors outlinedButtonColors(optional long contentColor); 34 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ButtonColors primaryButtonColors(optional long backgroundColor, optional long contentColor); 35 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ButtonColors secondaryButtonColors(optional long backgroundColor, optional long contentColor); 36 property public final float CompactButtonBackgroundPadding; 37 property public final float DefaultButtonSize; 38 property public final float DefaultIconSize; 39 property public final float ExtraSmallButtonSize; 40 property public final float LargeButtonSize; 41 property public final float LargeIconSize; 42 property public final float SmallButtonSize; 43 property public final float SmallIconSize; 44 field public static final androidx.wear.compose.material.ButtonDefaults INSTANCE; 45 } 46 47 public final class ButtonKt { 48 method @Deprecated @androidx.compose.runtime.Composable public static void Button(kotlin.jvm.functions.Function0<? extends 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,? extends kotlin.Unit> content); 49 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, optional androidx.compose.ui.graphics.Shape shape, optional androidx.wear.compose.material.ButtonBorder border, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> content); 50 method @Deprecated @androidx.compose.runtime.Composable public static void CompactButton(kotlin.jvm.functions.Function0<? extends 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,? extends kotlin.Unit> content); 51 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, optional androidx.compose.ui.graphics.Shape shape, optional androidx.wear.compose.material.ButtonBorder border, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> content); 52 method @androidx.compose.runtime.Composable public static void OutlinedButton(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, optional androidx.compose.ui.graphics.Shape shape, optional androidx.wear.compose.material.ButtonBorder border, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> content); 53 method @androidx.compose.runtime.Composable public static void OutlinedCompactButton(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, optional androidx.compose.ui.graphics.Shape shape, optional androidx.wear.compose.material.ButtonBorder border, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> content); 54 } 55 56 public final class CardDefaults { 57 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); 58 method public float getAppImageSize(); 59 method public androidx.compose.foundation.layout.PaddingValues getContentPadding(); 60 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); 61 property public final float AppImageSize; 62 property public final androidx.compose.foundation.layout.PaddingValues ContentPadding; 63 field public static final androidx.wear.compose.material.CardDefaults INSTANCE; 64 } 65 66 public final class CardKt { 67 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); 68 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); 69 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); 70 } 71 72 @androidx.compose.runtime.Stable public interface CheckboxColors { 73 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> boxColor(boolean enabled, boolean checked); 74 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> checkmarkColor(boolean enabled, boolean checked); 75 } 76 77 public final class CheckboxDefaults { 78 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.CheckboxColors colors(optional long checkedBoxColor, optional long checkedCheckmarkColor, optional long uncheckedBoxColor, optional long uncheckedCheckmarkColor); 79 field public static final androidx.wear.compose.material.CheckboxDefaults INSTANCE; 80 } 81 82 @androidx.compose.runtime.Stable public interface ChipBorder { 83 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.foundation.BorderStroke> borderStroke(boolean enabled); 84 } 85 86 @androidx.compose.runtime.Stable public interface ChipColors { 87 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.painter.Painter> background(boolean enabled); 88 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> contentColor(boolean enabled); 89 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> iconColor(boolean enabled); 90 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> secondaryContentColor(boolean enabled); 91 } 92 93 public final class ChipDefaults { 94 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors childChipColors(optional long contentColor, optional long secondaryContentColor, optional long iconColor); 95 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipBorder chipBorder(optional androidx.compose.foundation.BorderStroke? borderStroke, optional androidx.compose.foundation.BorderStroke? disabledBorderStroke); 96 method @androidx.wear.compose.material.ExperimentalWearMaterialApi public androidx.wear.compose.material.ChipColors chipColors(androidx.compose.ui.graphics.painter.Painter backgroundPainter, long contentColor, long secondaryContentColor, long iconColor, androidx.compose.ui.graphics.painter.Painter disabledBackgroundPainter, long disabledContentColor, long disabledSecondaryContentColor, long disabledIconColor); 97 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); 98 method public androidx.compose.foundation.layout.PaddingValues getCompactChipContentPadding(); 99 method public androidx.compose.foundation.layout.PaddingValues getContentPadding(); 100 method public float getIconSize(); 101 method public float getLargeIconSize(); 102 method public float getSmallIconSize(); 103 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); 104 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); 105 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipBorder outlinedChipBorder(optional long borderColor, optional long disabledBorderColor, optional float borderWidth); 106 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors outlinedChipColors(optional long contentColor, optional long secondaryContentColor, optional long iconColor); 107 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors primaryChipColors(optional long backgroundColor, optional long contentColor, optional long secondaryContentColor, optional long iconColor); 108 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors secondaryChipColors(optional long backgroundColor, optional long contentColor, optional long secondaryContentColor, optional long iconColor); 109 property public final androidx.compose.foundation.layout.PaddingValues CompactChipContentPadding; 110 property public final androidx.compose.foundation.layout.PaddingValues ContentPadding; 111 property public final float IconSize; 112 property public final float LargeIconSize; 113 property public final float SmallIconSize; 114 field public static final androidx.wear.compose.material.ChipDefaults INSTANCE; 115 } 116 117 public final class ChipKt { 118 method @Deprecated @androidx.compose.runtime.Composable public static void Chip(kotlin.jvm.functions.Function0<? extends 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,? extends kotlin.Unit> content); 119 method @androidx.compose.runtime.Composable public static void Chip(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, androidx.wear.compose.material.ChipColors colors, androidx.wear.compose.material.ChipBorder border, 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); 120 method @Deprecated @androidx.compose.runtime.Composable public static void Chip(kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,? extends kotlin.Unit> label, kotlin.jvm.functions.Function0<? extends kotlin.Unit> onClick, optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,? extends kotlin.Unit>? secondaryLabel, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,? extends 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); 121 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, optional androidx.compose.ui.graphics.Shape shape, optional androidx.wear.compose.material.ChipBorder border); 122 method @Deprecated @androidx.compose.runtime.Composable public static void CompactChip(kotlin.jvm.functions.Function0<? extends kotlin.Unit> onClick, optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,? extends kotlin.Unit>? label, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,? extends 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); 123 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, optional androidx.compose.ui.graphics.Shape shape, optional androidx.wear.compose.material.ChipBorder border); 124 method @androidx.compose.runtime.Composable public static void OutlinedChip(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, optional androidx.compose.ui.graphics.Shape shape, optional androidx.wear.compose.material.ChipBorder border); 125 method @androidx.compose.runtime.Composable public static void OutlinedCompactChip(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, optional androidx.compose.ui.graphics.Shape shape, optional androidx.wear.compose.material.ChipBorder border); 126 } 127 128 @androidx.compose.runtime.Stable public final class Colors { 129 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); 130 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); 131 method public long getBackground(); 132 method public long getError(); 133 method public long getOnBackground(); 134 method public long getOnError(); 135 method public long getOnPrimary(); 136 method public long getOnSecondary(); 137 method public long getOnSurface(); 138 method public long getOnSurfaceVariant(); 139 method public long getPrimary(); 140 method public long getPrimaryVariant(); 141 method public long getSecondary(); 142 method public long getSecondaryVariant(); 143 method public long getSurface(); 144 property public final long background; 145 property public final long error; 146 property public final long onBackground; 147 property public final long onError; 148 property public final long onPrimary; 149 property public final long onSecondary; 150 property public final long onSurface; 151 property public final long onSurfaceVariant; 152 property public final long primary; 153 property public final long primaryVariant; 154 property public final long secondary; 155 property public final long secondaryVariant; 156 property public final long surface; 157 } 158 159 public final class ColorsKt { 160 method public static long contentColorFor(androidx.wear.compose.material.Colors, long backgroundColor); 161 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static long contentColorFor(long backgroundColor); 162 } 163 164 public final class ContentAlpha { 165 method @androidx.compose.runtime.Composable public float getDisabled(); 166 method @androidx.compose.runtime.Composable public float getHigh(); 167 method @androidx.compose.runtime.Composable public float getMedium(); 168 property @androidx.compose.runtime.Composable public final float disabled; 169 property @androidx.compose.runtime.Composable public final float high; 170 property @androidx.compose.runtime.Composable public final float medium; 171 field public static final androidx.wear.compose.material.ContentAlpha INSTANCE; 172 } 173 174 public final class ContentAlphaKt { 175 method public static androidx.compose.runtime.ProvidableCompositionLocal<java.lang.Float> getLocalContentAlpha(); 176 property public static final androidx.compose.runtime.ProvidableCompositionLocal<java.lang.Float> LocalContentAlpha; 177 } 178 179 public final class ContentColorKt { 180 method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.ui.graphics.Color> getLocalContentColor(); 181 property public static final androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.ui.graphics.Color> LocalContentColor; 182 } 183 184 public final class CurvedTextKt { 185 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.compose.ui.text.font.FontFamily? fontFamily, optional androidx.compose.ui.text.font.FontWeight? fontWeight, optional androidx.compose.ui.text.font.FontStyle? fontStyle, optional androidx.compose.ui.text.font.FontSynthesis? fontSynthesis, optional androidx.wear.compose.foundation.CurvedTextStyle? style, optional androidx.wear.compose.foundation.CurvedDirection.Angular? angularDirection, optional int overflow); 186 method @Deprecated 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); 187 } 188 189 public final class DefaultTimeSourceKt { 190 } 191 192 @kotlin.RequiresOptIn(message="This Wear Material API is experimental and is likely to change or to be removed in" + " the future.") public @interface ExperimentalWearMaterialApi { 193 } 194 195 @androidx.compose.runtime.Immutable @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class FixedThreshold implements androidx.wear.compose.material.ThresholdConfig { 196 ctor public FixedThreshold(float offset); 197 method public float computeThreshold(androidx.compose.ui.unit.Density, float fromValue, float toValue); 198 method public androidx.wear.compose.material.FixedThreshold copy-0680j_4(float offset); 199 } 200 201 @androidx.compose.runtime.Immutable @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class FractionalThreshold implements androidx.wear.compose.material.ThresholdConfig { 202 ctor public FractionalThreshold(float fraction); 203 method public float computeThreshold(androidx.compose.ui.unit.Density, float fromValue, float toValue); 204 method public androidx.wear.compose.material.FractionalThreshold copy(float fraction); 205 } 206 207 public final class HorizontalPageIndicatorKt { 208 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); 209 } 210 211 public final class IconKt { 212 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); 213 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); 214 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); 215 } 216 217 @androidx.compose.runtime.Stable public interface InlineSliderColors { 218 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> backgroundColor(boolean enabled); 219 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> barColor(boolean enabled, boolean selected); 220 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> spacerColor(boolean enabled); 221 } 222 223 public final class InlineSliderDefaults { 224 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); 225 method public androidx.compose.ui.graphics.vector.ImageVector getDecrease(); 226 method public androidx.compose.ui.graphics.vector.ImageVector getIncrease(); 227 property public final androidx.compose.ui.graphics.vector.ImageVector Decrease; 228 property public final androidx.compose.ui.graphics.vector.ImageVector Increase; 229 field public static final androidx.wear.compose.material.InlineSliderDefaults INSTANCE; 230 } 231 232 public final class ListHeaderKt { 233 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); 234 } 235 236 public final class MaterialTextSelectionColorsKt { 237 } 238 239 public final class MaterialTheme { 240 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public androidx.wear.compose.material.Colors getColors(); 241 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public androidx.wear.compose.material.Shapes getShapes(); 242 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public androidx.wear.compose.material.Typography getTypography(); 243 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final androidx.wear.compose.material.Colors colors; 244 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final androidx.wear.compose.material.Shapes shapes; 245 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final androidx.wear.compose.material.Typography typography; 246 field public static final androidx.wear.compose.material.MaterialTheme INSTANCE; 247 } 248 249 public final class MaterialThemeKt { 250 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); 251 } 252 253 public final class PageIndicatorDefaults { 254 method @androidx.compose.runtime.Composable public int style(); 255 field public static final androidx.wear.compose.material.PageIndicatorDefaults INSTANCE; 256 } 257 258 public interface PageIndicatorState { 259 method public int getPageCount(); 260 method public float getPageOffset(); 261 method public int getSelectedPage(); 262 property public abstract int pageCount; 263 property public abstract float pageOffset; 264 property public abstract int selectedPage; 265 } 266 267 @kotlin.jvm.JvmInline public final value class PageIndicatorStyle { 268 field public static final androidx.wear.compose.material.PageIndicatorStyle.Companion Companion; 269 } 270 271 public static final class PageIndicatorStyle.Companion { 272 method public int getCurved(); 273 method public int getLinear(); 274 property public final int Curved; 275 property public final int Linear; 276 } 277 278 public final class PickerDefaults { 279 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); 280 method public float getDefaultGradientRatio(); 281 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); 282 property public final float DefaultGradientRatio; 283 field public static final androidx.wear.compose.material.PickerDefaults INSTANCE; 284 } 285 286 public final class PickerKt { 287 method @Deprecated @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); 288 method @androidx.compose.runtime.Composable public static void Picker(androidx.wear.compose.material.PickerState state, String? contentDescription, optional androidx.compose.ui.Modifier modifier, optional boolean readOnly, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit>? readOnlyLabel, optional kotlin.jvm.functions.Function0<kotlin.Unit> onSelected, 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); 289 method @androidx.compose.runtime.Composable public static androidx.wear.compose.material.PickerState rememberPickerState(int initialNumberOfOptions, optional int initiallySelectedOption, optional boolean repeatItems); 290 } 291 292 public interface PickerScope { 293 method public int getSelectedOption(); 294 property public abstract int selectedOption; 295 } 296 297 @androidx.compose.runtime.Stable public final class PickerState implements androidx.compose.foundation.gestures.ScrollableState { 298 ctor public PickerState(int initialNumberOfOptions, optional int initiallySelectedOption, optional boolean repeatItems); 299 method public float dispatchRawDelta(float delta); 300 method public int getNumberOfOptions(); 301 method public boolean getRepeatItems(); 302 method public int getSelectedOption(); 303 method public boolean isScrollInProgress(); 304 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>); 305 method public suspend Object? scrollToOption(int index, kotlin.coroutines.Continuation<? super kotlin.Unit>); 306 method public void setNumberOfOptions(int); 307 property public boolean isScrollInProgress; 308 property public final int numberOfOptions; 309 property public final boolean repeatItems; 310 property public final int selectedOption; 311 field public static final androidx.wear.compose.material.PickerState.Companion Companion; 312 } 313 314 public static final class PickerState.Companion { 315 method public androidx.compose.runtime.saveable.Saver<androidx.wear.compose.material.PickerState,java.lang.Object> getSaver(); 316 property public final androidx.compose.runtime.saveable.Saver<androidx.wear.compose.material.PickerState,java.lang.Object> Saver; 317 } 318 319 @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class PlaceholderDefaults { 320 method @androidx.compose.runtime.Composable public androidx.compose.ui.graphics.painter.Painter painterWithPlaceholderOverlayBackgroundBrush(androidx.wear.compose.material.PlaceholderState placeholderState, androidx.compose.ui.graphics.painter.Painter painter, optional long color); 321 method @androidx.compose.runtime.Composable public androidx.compose.ui.graphics.painter.Painter placeholderBackgroundBrush(androidx.wear.compose.material.PlaceholderState placeholderState, optional long color); 322 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors placeholderChipColors(androidx.wear.compose.material.ChipColors originalChipColors, androidx.wear.compose.material.PlaceholderState placeholderState, optional long color); 323 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.ChipColors placeholderChipColors(androidx.wear.compose.material.PlaceholderState placeholderState, optional long color); 324 field public static final androidx.wear.compose.material.PlaceholderDefaults INSTANCE; 325 } 326 327 public final class PlaceholderKt { 328 method @androidx.compose.runtime.Composable @androidx.wear.compose.material.ExperimentalWearMaterialApi public static androidx.compose.ui.Modifier placeholder(androidx.compose.ui.Modifier, androidx.wear.compose.material.PlaceholderState placeholderState, optional androidx.compose.ui.graphics.Shape shape, optional long color); 329 method @androidx.compose.runtime.Composable @androidx.wear.compose.material.ExperimentalWearMaterialApi public static androidx.compose.ui.Modifier placeholderShimmer(androidx.compose.ui.Modifier, androidx.wear.compose.material.PlaceholderState placeholderState, optional androidx.compose.ui.graphics.Shape shape, optional long color); 330 method @androidx.compose.runtime.Composable @androidx.wear.compose.material.ExperimentalWearMaterialApi public static androidx.wear.compose.material.PlaceholderState rememberPlaceholderState(kotlin.jvm.functions.Function0<java.lang.Boolean> isContentReady); 331 } 332 333 @androidx.compose.runtime.Stable @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class PlaceholderState { 334 method public float getPlaceholderProgression(); 335 method public boolean isShowContent(); 336 method public boolean isWipeOff(); 337 method public suspend Object? startPlaceholderAnimation(kotlin.coroutines.Continuation<? super kotlin.Unit>); 338 property public final boolean isShowContent; 339 property public final boolean isWipeOff; 340 property public final float placeholderProgression; 341 } 342 343 @kotlin.jvm.JvmInline public final value class PositionIndicatorAlignment { 344 field public static final androidx.wear.compose.material.PositionIndicatorAlignment.Companion Companion; 345 } 346 347 public static final class PositionIndicatorAlignment.Companion { 348 method public int getEnd(); 349 method public int getLeft(); 350 method public int getOppositeRsb(); 351 method public int getRight(); 352 property public final int End; 353 property public final int Left; 354 property public final int OppositeRsb; 355 property public final int Right; 356 } 357 358 public final class PositionIndicatorKt { 359 method @androidx.compose.runtime.Composable public static void PositionIndicator(androidx.compose.foundation.lazy.LazyListState lazyListState, optional androidx.compose.ui.Modifier modifier, optional boolean reverseDirection); 360 method @androidx.compose.runtime.Composable public static void PositionIndicator(androidx.compose.foundation.ScrollState scrollState, optional androidx.compose.ui.Modifier modifier, optional boolean reverseDirection); 361 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); 362 method @androidx.compose.runtime.Composable public static void PositionIndicator(androidx.wear.compose.material.ScalingLazyListState scalingLazyListState, optional androidx.compose.ui.Modifier modifier, optional boolean reverseDirection); 363 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); 364 } 365 366 @androidx.compose.runtime.Stable public interface PositionIndicatorState { 367 method public float getPositionFraction(); 368 method public float sizeFraction(float scrollableContainerSizePx); 369 method public int visibility(float scrollableContainerSizePx); 370 property public abstract float positionFraction; 371 } 372 373 @kotlin.jvm.JvmInline public final value class PositionIndicatorVisibility { 374 field public static final androidx.wear.compose.material.PositionIndicatorVisibility.Companion Companion; 375 } 376 377 public static final class PositionIndicatorVisibility.Companion { 378 method public int getAutoHide(); 379 method public int getHide(); 380 method public int getShow(); 381 property public final int AutoHide; 382 property public final int Hide; 383 property public final int Show; 384 } 385 386 public final class ProgressIndicatorDefaults { 387 method public androidx.compose.animation.core.SpringSpec<java.lang.Float> getProgressAnimationSpec(); 388 method public float getStrokeWidth(); 389 property public final androidx.compose.animation.core.SpringSpec<java.lang.Float> ProgressAnimationSpec; 390 property public final float StrokeWidth; 391 field public static final androidx.wear.compose.material.ProgressIndicatorDefaults INSTANCE; 392 } 393 394 public final class ProgressIndicatorKt { 395 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); 396 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); 397 } 398 399 @androidx.compose.runtime.Stable public interface RadioButtonColors { 400 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> dotColor(boolean enabled, boolean selected); 401 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> ringColor(boolean enabled, boolean selected); 402 } 403 404 public final class RadioButtonDefaults { 405 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.RadioButtonColors colors(optional long selectedRingColor, optional long selectedDotColor, optional long unselectedRingColor, optional long unselectedDotColor); 406 field public static final androidx.wear.compose.material.RadioButtonDefaults INSTANCE; 407 } 408 409 public final class RangeDefaultsKt { 410 } 411 412 @androidx.compose.runtime.Immutable @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class ResistanceConfig { 413 ctor public ResistanceConfig(float basis, optional float factorAtMin, optional float factorAtMax); 414 method public float computeResistance(float overflow); 415 method public float getBasis(); 416 method public float getFactorAtMax(); 417 method public float getFactorAtMin(); 418 property public final float basis; 419 property public final float factorAtMax; 420 property public final float factorAtMin; 421 } 422 423 public final class Resources_androidKt { 424 } 425 426 public final class ScaffoldKt { 427 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); 428 } 429 430 public final class ScalingLazyColumnDefaults { 431 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); 432 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); 433 field public static final androidx.wear.compose.material.ScalingLazyColumnDefaults INSTANCE; 434 } 435 436 public final class ScalingLazyColumnKt { 437 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); 438 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); 439 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); 440 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); 441 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); 442 } 443 444 public final class ScalingLazyColumnMeasureKt { 445 } 446 447 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class ScalingLazyListAnchorType { 448 field public static final androidx.wear.compose.material.ScalingLazyListAnchorType.Companion Companion; 449 } 450 451 public static final class ScalingLazyListAnchorType.Companion { 452 method public int getItemCenter(); 453 method public int getItemStart(); 454 property public final int ItemCenter; 455 property public final int ItemStart; 456 } 457 458 public sealed interface ScalingLazyListItemInfo { 459 method public float getAlpha(); 460 method public int getIndex(); 461 method public Object getKey(); 462 method public int getOffset(); 463 method public float getScale(); 464 method public int getSize(); 465 method public int getUnadjustedOffset(); 466 method public int getUnadjustedSize(); 467 property public abstract float alpha; 468 property public abstract int index; 469 property public abstract Object key; 470 property public abstract int offset; 471 property public abstract float scale; 472 property public abstract int size; 473 property public abstract int unadjustedOffset; 474 property public abstract int unadjustedSize; 475 } 476 477 @androidx.compose.runtime.Stable @androidx.wear.compose.material.ScalingLazyScopeMarker public sealed interface ScalingLazyListItemScope { 478 method public androidx.compose.ui.Modifier fillParentMaxHeight(androidx.compose.ui.Modifier, optional float fraction); 479 method public androidx.compose.ui.Modifier fillParentMaxSize(androidx.compose.ui.Modifier, optional float fraction); 480 method public androidx.compose.ui.Modifier fillParentMaxWidth(androidx.compose.ui.Modifier, optional float fraction); 481 } 482 483 public sealed interface ScalingLazyListLayoutInfo { 484 method public int getAfterAutoCenteringPadding(); 485 method public int getAfterContentPadding(); 486 method public int getBeforeAutoCenteringPadding(); 487 method public int getBeforeContentPadding(); 488 method public androidx.compose.foundation.gestures.Orientation getOrientation(); 489 method public boolean getReverseLayout(); 490 method public int getTotalItemsCount(); 491 method public int getViewportEndOffset(); 492 method public long getViewportSize(); 493 method public int getViewportStartOffset(); 494 method public java.util.List<androidx.wear.compose.material.ScalingLazyListItemInfo> getVisibleItemsInfo(); 495 property public abstract int afterAutoCenteringPadding; 496 property public abstract int afterContentPadding; 497 property public abstract int beforeAutoCenteringPadding; 498 property public abstract int beforeContentPadding; 499 property public abstract androidx.compose.foundation.gestures.Orientation orientation; 500 property public abstract boolean reverseLayout; 501 property public abstract int totalItemsCount; 502 property public abstract int viewportEndOffset; 503 property public abstract long viewportSize; 504 property public abstract int viewportStartOffset; 505 property public abstract java.util.List<androidx.wear.compose.material.ScalingLazyListItemInfo> visibleItemsInfo; 506 } 507 508 @androidx.wear.compose.material.ScalingLazyScopeMarker public sealed interface ScalingLazyListScope { 509 method public void item(optional Object? key, kotlin.jvm.functions.Function1<? super androidx.wear.compose.material.ScalingLazyListItemScope,kotlin.Unit> content); 510 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); 511 } 512 513 @androidx.compose.runtime.Stable public final class ScalingLazyListState implements androidx.compose.foundation.gestures.ScrollableState { 514 ctor public ScalingLazyListState(optional int initialCenterItemIndex, optional int initialCenterItemScrollOffset); 515 method public suspend Object? animateScrollToItem(int index, optional int scrollOffset, optional kotlin.coroutines.Continuation<? super kotlin.Unit>); 516 method public float dispatchRawDelta(float delta); 517 method public int getCenterItemIndex(); 518 method public int getCenterItemScrollOffset(); 519 method public androidx.wear.compose.material.ScalingLazyListLayoutInfo getLayoutInfo(); 520 method public boolean isScrollInProgress(); 521 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>); 522 method public suspend Object? scrollToItem(int index, optional int scrollOffset, optional kotlin.coroutines.Continuation<? super kotlin.Unit>); 523 property public final int centerItemIndex; 524 property public final int centerItemScrollOffset; 525 property public boolean isScrollInProgress; 526 property public final androidx.wear.compose.material.ScalingLazyListLayoutInfo layoutInfo; 527 field public static final androidx.wear.compose.material.ScalingLazyListState.Companion Companion; 528 } 529 530 public static final class ScalingLazyListState.Companion { 531 method public androidx.compose.runtime.saveable.Saver<androidx.wear.compose.material.ScalingLazyListState,java.lang.Object> getSaver(); 532 property public final androidx.compose.runtime.saveable.Saver<androidx.wear.compose.material.ScalingLazyListState,java.lang.Object> Saver; 533 } 534 535 public final class ScalingLazyListStateKt { 536 method @androidx.compose.runtime.Composable public static androidx.wear.compose.material.ScalingLazyListState rememberScalingLazyListState(optional int initialCenterItemIndex, optional int initialCenterItemScrollOffset); 537 } 538 539 @kotlin.DslMarker public @interface ScalingLazyScopeMarker { 540 } 541 542 @androidx.compose.runtime.Stable public interface ScalingParams { 543 method public float getEdgeAlpha(); 544 method public float getEdgeScale(); 545 method public float getMaxElementHeight(); 546 method public float getMaxTransitionArea(); 547 method public float getMinElementHeight(); 548 method public float getMinTransitionArea(); 549 method public androidx.compose.animation.core.Easing getScaleInterpolator(); 550 method public int resolveViewportVerticalOffset(long viewportConstraints); 551 property public abstract float edgeAlpha; 552 property public abstract float edgeScale; 553 property public abstract float maxElementHeight; 554 property public abstract float maxTransitionArea; 555 property public abstract float minElementHeight; 556 property public abstract float minTransitionArea; 557 property public abstract androidx.compose.animation.core.Easing scaleInterpolator; 558 } 559 560 public final class ScrollAwayKt { 561 method public static androidx.compose.ui.Modifier scrollAway(androidx.compose.ui.Modifier, androidx.compose.foundation.lazy.LazyListState scrollState, optional int itemIndex, optional float offset); 562 method public static androidx.compose.ui.Modifier scrollAway(androidx.compose.ui.Modifier, androidx.compose.foundation.ScrollState scrollState, optional float offset); 563 method public static androidx.compose.ui.Modifier scrollAway(androidx.compose.ui.Modifier, androidx.wear.compose.material.ScalingLazyListState scrollState, optional int itemIndex, optional float offset); 564 } 565 566 @androidx.compose.runtime.Immutable public final class Shapes { 567 ctor public Shapes(optional androidx.compose.foundation.shape.CornerBasedShape small, optional androidx.compose.foundation.shape.CornerBasedShape medium, optional androidx.compose.foundation.shape.CornerBasedShape large); 568 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); 569 method public androidx.compose.foundation.shape.CornerBasedShape getLarge(); 570 method public androidx.compose.foundation.shape.CornerBasedShape getMedium(); 571 method public androidx.compose.foundation.shape.CornerBasedShape getSmall(); 572 property public final androidx.compose.foundation.shape.CornerBasedShape large; 573 property public final androidx.compose.foundation.shape.CornerBasedShape medium; 574 property public final androidx.compose.foundation.shape.CornerBasedShape small; 575 } 576 577 public final class ShapesKt { 578 } 579 580 public final class SliderKt { 581 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); 582 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); 583 } 584 585 @androidx.compose.runtime.Stable public interface SplitToggleChipColors { 586 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> backgroundColor(boolean enabled); 587 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> contentColor(boolean enabled); 588 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> secondaryContentColor(boolean enabled); 589 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> splitBackgroundOverlay(boolean enabled, boolean checked); 590 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> toggleControlColor(boolean enabled, boolean checked); 591 } 592 593 public final class StepperDefaults { 594 method public androidx.compose.ui.graphics.vector.ImageVector getDecrease(); 595 method public androidx.compose.ui.graphics.vector.ImageVector getIncrease(); 596 property public final androidx.compose.ui.graphics.vector.ImageVector Decrease; 597 property public final androidx.compose.ui.graphics.vector.ImageVector Increase; 598 field public static final androidx.wear.compose.material.StepperDefaults INSTANCE; 599 } 600 601 public final class StepperKt { 602 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); 603 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); 604 } 605 606 @androidx.compose.runtime.Immutable @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class SwipeProgress<T> { 607 ctor public SwipeProgress(T? from, T? to, float fraction); 608 method public float getFraction(); 609 method public T! getFrom(); 610 method public T! getTo(); 611 property public final float fraction; 612 property public final T! from; 613 property public final T! to; 614 } 615 616 public final class SwipeToDismissBoxDefaults { 617 method public androidx.compose.animation.core.SpringSpec<java.lang.Float> getAnimationSpec(); 618 method public float getEdgeWidth(); 619 property public final androidx.compose.animation.core.SpringSpec<java.lang.Float> AnimationSpec; 620 property public final float EdgeWidth; 621 field public static final androidx.wear.compose.material.SwipeToDismissBoxDefaults INSTANCE; 622 } 623 624 public final class SwipeToDismissBoxKt { 625 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); 626 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); 627 method public static androidx.compose.ui.Modifier edgeSwipeToDismiss(androidx.compose.ui.Modifier, androidx.wear.compose.material.SwipeToDismissBoxState swipeToDismissBoxState, optional float edgeWidth); 628 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); 629 } 630 631 @androidx.compose.runtime.Stable public final class SwipeToDismissBoxState { 632 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); 633 method public androidx.wear.compose.material.SwipeToDismissValue getCurrentValue(); 634 method public androidx.wear.compose.material.SwipeToDismissValue getTargetValue(); 635 method public boolean isAnimationRunning(); 636 method public suspend Object? snapTo(androidx.wear.compose.material.SwipeToDismissValue targetValue, kotlin.coroutines.Continuation<? super kotlin.Unit>); 637 property public final androidx.wear.compose.material.SwipeToDismissValue currentValue; 638 property public final boolean isAnimationRunning; 639 property public final androidx.wear.compose.material.SwipeToDismissValue targetValue; 640 } 641 642 public enum SwipeToDismissKeys { 643 enum_constant public static final androidx.wear.compose.material.SwipeToDismissKeys Background; 644 enum_constant public static final androidx.wear.compose.material.SwipeToDismissKeys Content; 645 } 646 647 public enum SwipeToDismissValue { 648 enum_constant public static final androidx.wear.compose.material.SwipeToDismissValue Default; 649 enum_constant public static final androidx.wear.compose.material.SwipeToDismissValue Dismissed; 650 } 651 652 @androidx.wear.compose.material.ExperimentalWearMaterialApi public final class SwipeableDefaults { 653 method public androidx.compose.animation.core.SpringSpec<java.lang.Float> getAnimationSpec(); 654 method public float getVelocityThreshold(); 655 method public androidx.wear.compose.material.ResistanceConfig? resistanceConfig(java.util.Set<java.lang.Float> anchors, optional float factorAtMin, optional float factorAtMax); 656 property public final androidx.compose.animation.core.SpringSpec<java.lang.Float> AnimationSpec; 657 property public final float VelocityThreshold; 658 field public static final androidx.wear.compose.material.SwipeableDefaults INSTANCE; 659 field public static final float StandardResistanceFactor = 10.0f; 660 field public static final float StiffResistanceFactor = 20.0f; 661 } 662 663 public final class SwipeableKt { 664 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); 665 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); 666 } 667 668 @androidx.compose.runtime.Stable @androidx.wear.compose.material.ExperimentalWearMaterialApi public class SwipeableState<T> { 669 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); 670 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>); 671 method public final T! getCurrentValue(); 672 method public final float getDirection(); 673 method public final androidx.compose.runtime.State<java.lang.Float> getOffset(); 674 method public final androidx.compose.runtime.State<java.lang.Float> getOverflow(); 675 method public final androidx.wear.compose.material.SwipeProgress<T> getProgress(); 676 method public final T! getTargetValue(); 677 method public final boolean isAnimationRunning(); 678 method @androidx.wear.compose.material.ExperimentalWearMaterialApi public final suspend Object? performFling(float velocity, kotlin.coroutines.Continuation<? super kotlin.Unit>); 679 method @androidx.wear.compose.material.ExperimentalWearMaterialApi public final suspend Object? snapTo(T? targetValue, kotlin.coroutines.Continuation<? super kotlin.Unit>); 680 property public final T! currentValue; 681 property public final float direction; 682 property public final boolean isAnimationRunning; 683 property public final androidx.compose.runtime.State<java.lang.Float> offset; 684 property public final androidx.compose.runtime.State<java.lang.Float> overflow; 685 property public final androidx.wear.compose.material.SwipeProgress<T> progress; 686 property public final T! targetValue; 687 field public static final androidx.wear.compose.material.SwipeableState.Companion Companion; 688 } 689 690 public static final class SwipeableState.Companion { 691 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); 692 } 693 694 @androidx.compose.runtime.Stable public interface SwitchColors { 695 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> thumbColor(boolean enabled, boolean checked); 696 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> trackColor(boolean enabled, boolean checked); 697 } 698 699 public final class SwitchDefaults { 700 method @androidx.compose.runtime.Composable public androidx.wear.compose.material.SwitchColors colors(optional long checkedThumbColor, optional long checkedTrackColor, optional long uncheckedThumbColor, optional long uncheckedTrackColor); 701 field public static final androidx.wear.compose.material.SwitchDefaults INSTANCE; 702 } 703 704 public final class TextKt { 705 method @androidx.compose.runtime.Composable public static void ProvideTextStyle(androidx.compose.ui.text.TextStyle value, kotlin.jvm.functions.Function0<kotlin.Unit> content); 706 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); 707 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); 708 method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.ui.text.TextStyle> getLocalTextStyle(); 709 property public static final androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.ui.text.TextStyle> LocalTextStyle; 710 } 711 712 @androidx.compose.runtime.Stable @androidx.wear.compose.material.ExperimentalWearMaterialApi public interface ThresholdConfig { 713 method public float computeThreshold(androidx.compose.ui.unit.Density, float fromValue, float toValue); 714 } 715 716 public interface TimeSource { 717 method @androidx.compose.runtime.Composable public String getCurrentTime(); 718 property @androidx.compose.runtime.Composable public abstract String currentTime; 719 } 720 721 public final class TimeTextDefaults { 722 method public void CurvedTextSeparator(androidx.wear.compose.foundation.CurvedScope, optional androidx.wear.compose.foundation.CurvedTextStyle? curvedTextStyle, optional androidx.wear.compose.foundation.ArcPaddingValues contentArcPadding); 723 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); 724 method public androidx.compose.foundation.layout.PaddingValues getContentPadding(); 725 method @androidx.compose.runtime.Composable public String timeFormat(); 726 method public androidx.wear.compose.material.TimeSource timeSource(String timeFormat); 727 method @androidx.compose.runtime.Composable public androidx.compose.ui.text.TextStyle timeTextStyle(optional long background, optional long color, optional long fontSize); 728 property public final androidx.compose.foundation.layout.PaddingValues ContentPadding; 729 field public static final androidx.wear.compose.material.TimeTextDefaults INSTANCE; 730 field public static final String TimeFormat12Hours = "h:mm a"; 731 field public static final String TimeFormat24Hours = "HH:mm"; 732 } 733 734 public final class TimeTextKt { 735 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); 736 } 737 738 @androidx.compose.runtime.Stable public interface ToggleButtonColors { 739 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> backgroundColor(boolean enabled, boolean checked); 740 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> contentColor(boolean enabled, boolean checked); 741 } 742 743 public final class ToggleButtonDefaults { 744 method public float getDefaultIconSize(); 745 method public float getDefaultToggleButtonSize(); 746 method public float getSmallIconSize(); 747 method public float getSmallToggleButtonSize(); 748 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); 749 property public final float DefaultIconSize; 750 property public final float DefaultToggleButtonSize; 751 property public final float SmallIconSize; 752 property public final float SmallToggleButtonSize; 753 field public static final androidx.wear.compose.material.ToggleButtonDefaults INSTANCE; 754 } 755 756 public final class ToggleButtonKt { 757 method @Deprecated @androidx.compose.runtime.Composable public static void ToggleButton(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,? extends 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,? extends kotlin.Unit> content); 758 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, optional androidx.compose.ui.graphics.Shape shape, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> content); 759 } 760 761 @androidx.compose.runtime.Stable public interface ToggleChipColors { 762 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.painter.Painter> background(boolean enabled, boolean checked); 763 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> contentColor(boolean enabled, boolean checked); 764 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> secondaryContentColor(boolean enabled, boolean checked); 765 method @androidx.compose.runtime.Composable public androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> toggleControlColor(boolean enabled, boolean checked); 766 } 767 768 public final class ToggleChipDefaults { 769 method public androidx.compose.ui.graphics.vector.ImageVector checkboxIcon(boolean checked); 770 method public androidx.compose.ui.graphics.vector.ImageVector getCheckboxOn(); 771 method public androidx.compose.foundation.layout.PaddingValues getContentPadding(); 772 method public float getIconSize(); 773 method public androidx.compose.ui.graphics.vector.ImageVector getRadioOff(); 774 method public androidx.compose.ui.graphics.vector.ImageVector getRadioOn(); 775 method @androidx.compose.runtime.Composable public long getSwitchUncheckedIconColor(); 776 method public androidx.compose.ui.graphics.vector.ImageVector radioIcon(boolean checked); 777 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); 778 method public androidx.compose.ui.graphics.vector.ImageVector switchIcon(boolean checked); 779 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); 780 property public final androidx.compose.ui.graphics.vector.ImageVector CheckboxOn; 781 property public final androidx.compose.foundation.layout.PaddingValues ContentPadding; 782 property public final float IconSize; 783 property public final androidx.compose.ui.graphics.vector.ImageVector RadioOff; 784 property public final androidx.compose.ui.graphics.vector.ImageVector RadioOn; 785 property @androidx.compose.runtime.Composable public final long SwitchUncheckedIconColor; 786 field public static final androidx.wear.compose.material.ToggleChipDefaults INSTANCE; 787 } 788 789 public final class ToggleChipKt { 790 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); 791 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); 792 } 793 794 public final class ToggleControlKt { 795 method @androidx.compose.runtime.Composable public static void Checkbox(boolean checked, optional androidx.compose.ui.Modifier modifier, optional androidx.wear.compose.material.CheckboxColors colors, optional boolean enabled, optional kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? onCheckedChange, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource); 796 method @androidx.compose.runtime.Composable public static void RadioButton(boolean selected, optional androidx.compose.ui.Modifier modifier, optional androidx.wear.compose.material.RadioButtonColors colors, optional boolean enabled, optional kotlin.jvm.functions.Function0<kotlin.Unit>? onClick, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource); 797 method @androidx.compose.runtime.Composable public static void Switch(boolean checked, optional androidx.compose.ui.Modifier modifier, optional androidx.wear.compose.material.SwitchColors colors, optional boolean enabled, optional kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? onCheckedChange, optional androidx.compose.foundation.interaction.MutableInteractionSource interactionSource); 798 } 799 800 @androidx.compose.runtime.Immutable public final class Typography { 801 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); 802 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); 803 method public androidx.compose.ui.text.TextStyle getBody1(); 804 method public androidx.compose.ui.text.TextStyle getBody2(); 805 method public androidx.compose.ui.text.TextStyle getButton(); 806 method public androidx.compose.ui.text.TextStyle getCaption1(); 807 method public androidx.compose.ui.text.TextStyle getCaption2(); 808 method public androidx.compose.ui.text.TextStyle getCaption3(); 809 method public androidx.compose.ui.text.TextStyle getDisplay1(); 810 method public androidx.compose.ui.text.TextStyle getDisplay2(); 811 method public androidx.compose.ui.text.TextStyle getDisplay3(); 812 method public androidx.compose.ui.text.TextStyle getTitle1(); 813 method public androidx.compose.ui.text.TextStyle getTitle2(); 814 method public androidx.compose.ui.text.TextStyle getTitle3(); 815 property public final androidx.compose.ui.text.TextStyle body1; 816 property public final androidx.compose.ui.text.TextStyle body2; 817 property public final androidx.compose.ui.text.TextStyle button; 818 property public final androidx.compose.ui.text.TextStyle caption1; 819 property public final androidx.compose.ui.text.TextStyle caption2; 820 property public final androidx.compose.ui.text.TextStyle caption3; 821 property public final androidx.compose.ui.text.TextStyle display1; 822 property public final androidx.compose.ui.text.TextStyle display2; 823 property public final androidx.compose.ui.text.TextStyle display3; 824 property public final androidx.compose.ui.text.TextStyle title1; 825 property public final androidx.compose.ui.text.TextStyle title2; 826 property public final androidx.compose.ui.text.TextStyle title3; 827 } 828 829 public final class TypographyKt { 830 } 831 832 public final class VignetteKt { 833 method @androidx.compose.runtime.Composable public static void Vignette(int vignettePosition, optional androidx.compose.ui.Modifier modifier); 834 } 835 836 @kotlin.jvm.JvmInline public final value class VignettePosition { 837 ctor public VignettePosition(int key); 838 field public static final androidx.wear.compose.material.VignettePosition.Companion Companion; 839 } 840 841 public static final class VignettePosition.Companion { 842 method public int getBottom(); 843 method public int getTop(); 844 method public int getTopAndBottom(); 845 property public final int Bottom; 846 property public final int Top; 847 property public final int TopAndBottom; 848 } 849 850} 851 852package androidx.wear.compose.material.dialog { 853 854 public final class DialogDefaults { 855 method public androidx.compose.foundation.layout.Arrangement.Vertical getAlertVerticalArrangement(); 856 method public androidx.compose.foundation.layout.Arrangement.Vertical getConfirmationVerticalArrangement(); 857 method public androidx.compose.foundation.layout.PaddingValues getContentPadding(); 858 method public long getIndefiniteDurationMillis(); 859 method public long getLongDurationMillis(); 860 method public long getShortDurationMillis(); 861 property public final androidx.compose.foundation.layout.Arrangement.Vertical AlertVerticalArrangement; 862 property public final androidx.compose.foundation.layout.Arrangement.Vertical ConfirmationVerticalArrangement; 863 property public final androidx.compose.foundation.layout.PaddingValues ContentPadding; 864 property public final long IndefiniteDurationMillis; 865 property public final long LongDurationMillis; 866 property public final long ShortDurationMillis; 867 field public static final androidx.wear.compose.material.dialog.DialogDefaults INSTANCE; 868 } 869 870 public final class DialogKt { 871 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); 872 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); 873 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); 874 } 875 876 public final class Dialog_androidKt { 877 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); 878 } 879 880} 881 882