Skip to content

Commit

Permalink
Regenerate public API surface
Browse files Browse the repository at this point in the history
  • Loading branch information
saket committed Oct 19, 2024
1 parent 9f9953d commit f59d2bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions zoomable/api/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ package me.saket.telephoto.zoomable {

public interface ZoomableContentLocation {
method public androidx.compose.ui.geometry.Rect location(long layoutSize, androidx.compose.ui.unit.LayoutDirection direction);
method public long size(long layoutSize);
method @Deprecated public default long size(long layoutSize);
field public static final me.saket.telephoto.zoomable.ZoomableContentLocation.Companion Companion;
}

Expand All @@ -113,7 +113,7 @@ package me.saket.telephoto.zoomable {
}

public static final class ZoomableContentLocation.Unspecified implements me.saket.telephoto.zoomable.ZoomableContentLocation {
method public Void location(long layoutSize, androidx.compose.ui.unit.LayoutDirection direction);
method public androidx.compose.ui.geometry.Rect location(long layoutSize, androidx.compose.ui.unit.LayoutDirection direction);
method public long size(long layoutSize);
field public static final me.saket.telephoto.zoomable.ZoomableContentLocation.Unspecified INSTANCE;
}
Expand Down Expand Up @@ -164,7 +164,7 @@ package me.saket.telephoto.zoomable {
method @Deprecated public default suspend Object? resetZoom(boolean withAnimation, kotlin.coroutines.Continuation<? super kotlin.Unit>);
method public void setAutoApplyTransformations(boolean);
method public void setContentAlignment(androidx.compose.ui.Alignment);
method public suspend Object? setContentLocation(me.saket.telephoto.zoomable.ZoomableContentLocation location, kotlin.coroutines.Continuation<? super kotlin.Unit>);
method public void setContentLocation(me.saket.telephoto.zoomable.ZoomableContentLocation location);
method public void setContentScale(androidx.compose.ui.layout.ContentScale);
method public suspend Object? zoomBy(float zoomFactor, optional long centroid, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, optional kotlin.coroutines.Continuation<? super kotlin.Unit>);
method public suspend Object? zoomTo(float zoomFactor, optional long centroid, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, optional kotlin.coroutines.Continuation<? super kotlin.Unit>);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ interface ZoomableContentLocation {
* isn't calculated yet. The content will stay hidden until this is replaced.
*/
data object Unspecified : ZoomableContentLocation {
@Deprecated("No longer used")
@Suppress("OVERRIDE_DEPRECATION")
override fun size(layoutSize: Size): Size = Size.Unspecified
override fun location(layoutSize: Size, direction: LayoutDirection): Rect = throw UnsupportedOperationException()
}
Expand All @@ -123,7 +123,7 @@ interface ZoomableContentLocation {
* size, you should provide a different value using [ZoomableState.setContentLocation].
*/
data object SameAsLayoutBounds : ZoomableContentLocation {
@Deprecated("No longer used")
@Suppress("OVERRIDE_DEPRECATION")
override fun size(layoutSize: Size): Size = layoutSize
override fun location(layoutSize: Size, direction: LayoutDirection) = Rect(Offset.Zero, layoutSize)
}
Expand Down

0 comments on commit f59d2bf

Please sign in to comment.