xref: /aosp_15_r20/external/accompanist/placeholder/api/current.api (revision fa44fe6ae8e729aa3cfe5c03eedbbf98fb44e2c6)
1*fa44fe6aSInna Palant// Signature format: 4.0
2*fa44fe6aSInna Palantpackage com.google.accompanist.placeholder {
3*fa44fe6aSInna Palant
4*fa44fe6aSInna Palant  @Deprecated public final class PlaceholderDefaults {
5*fa44fe6aSInna Palant    method @Deprecated public androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> getFadeAnimationSpec();
6*fa44fe6aSInna Palant    method @Deprecated public androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> getShimmerAnimationSpec();
7*fa44fe6aSInna Palant    property public final androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> fadeAnimationSpec;
8*fa44fe6aSInna Palant    property public final androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> shimmerAnimationSpec;
9*fa44fe6aSInna Palant    field @Deprecated public static final com.google.accompanist.placeholder.PlaceholderDefaults INSTANCE;
10*fa44fe6aSInna Palant  }
11*fa44fe6aSInna Palant
12*fa44fe6aSInna Palant  @Deprecated @androidx.compose.runtime.Stable public interface PlaceholderHighlight {
13*fa44fe6aSInna Palant    method @Deprecated @FloatRange(from=0.0, to=1.0) public float alpha(float progress);
14*fa44fe6aSInna Palant    method @Deprecated public androidx.compose.ui.graphics.Brush brush(@FloatRange(from=0.0, to=1.0) float progress, long size);
15*fa44fe6aSInna Palant    method @Deprecated public androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float>? getAnimationSpec();
16*fa44fe6aSInna Palant    property public abstract androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float>? animationSpec;
17*fa44fe6aSInna Palant    field @Deprecated public static final com.google.accompanist.placeholder.PlaceholderHighlight.Companion Companion;
18*fa44fe6aSInna Palant  }
19*fa44fe6aSInna Palant
20*fa44fe6aSInna Palant  @Deprecated public static final class PlaceholderHighlight.Companion {
21*fa44fe6aSInna Palant  }
22*fa44fe6aSInna Palant
23*fa44fe6aSInna Palant  public final class PlaceholderHighlightKt {
24*fa44fe6aSInna Palant    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*fa44fe6aSInna Palant    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*fa44fe6aSInna Palant  }
27*fa44fe6aSInna Palant
28*fa44fe6aSInna Palant  public final class PlaceholderKt {
29*fa44fe6aSInna Palant    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*fa44fe6aSInna Palant  }
31*fa44fe6aSInna Palant
32*fa44fe6aSInna Palant}
33*fa44fe6aSInna Palant
34