xref: /aosp_15_r20/external/accompanist/placeholder/api/current.api (revision fa44fe6ae8e729aa3cfe5c03eedbbf98fb44e2c6)
1// Signature format: 4.0
2package com.google.accompanist.placeholder {
3
4  @Deprecated public final class PlaceholderDefaults {
5    method @Deprecated public androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> getFadeAnimationSpec();
6    method @Deprecated public androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> getShimmerAnimationSpec();
7    property public final androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> fadeAnimationSpec;
8    property public final androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> shimmerAnimationSpec;
9    field @Deprecated public static final com.google.accompanist.placeholder.PlaceholderDefaults INSTANCE;
10  }
11
12  @Deprecated @androidx.compose.runtime.Stable public interface PlaceholderHighlight {
13    method @Deprecated @FloatRange(from=0.0, to=1.0) public float alpha(float progress);
14    method @Deprecated public androidx.compose.ui.graphics.Brush brush(@FloatRange(from=0.0, to=1.0) float progress, long size);
15    method @Deprecated public androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float>? getAnimationSpec();
16    property public abstract androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float>? animationSpec;
17    field @Deprecated public static final com.google.accompanist.placeholder.PlaceholderHighlight.Companion Companion;
18  }
19
20  @Deprecated public static final class PlaceholderHighlight.Companion {
21  }
22
23  public final class PlaceholderHighlightKt {
24    method @Deprecated public static com.google.accompanist.placeholder.PlaceholderHighlight fade(com.google.accompanist.placeholder.PlaceholderHighlight.Companion, long highlightColor, optional androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> animationSpec);
25    method @Deprecated public static com.google.accompanist.placeholder.PlaceholderHighlight shimmer(com.google.accompanist.placeholder.PlaceholderHighlight.Companion, long highlightColor, optional androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> animationSpec, optional @FloatRange(from=0.0, to=1.0) float progressForMaxAlpha);
26  }
27
28  public final class PlaceholderKt {
29    method @Deprecated public static androidx.compose.ui.Modifier placeholder(androidx.compose.ui.Modifier, boolean visible, long color, optional androidx.compose.ui.graphics.Shape shape, optional com.google.accompanist.placeholder.PlaceholderHighlight? highlight, optional kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.Transition.Segment<java.lang.Boolean>,? extends androidx.compose.animation.core.FiniteAnimationSpec<java.lang.Float>> placeholderFadeTransitionSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.Transition.Segment<java.lang.Boolean>,? extends androidx.compose.animation.core.FiniteAnimationSpec<java.lang.Float>> contentFadeTransitionSpec);
30  }
31
32}
33
34