File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
lib/java/com/google/android/material/carousel Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 2424import androidx .recyclerview .widget .RecyclerView .LayoutParams ;
2525import android .view .View ;
2626import androidx .annotation .NonNull ;
27- import androidx .annotation .RestrictTo ;
28- import androidx .annotation .RestrictTo .Scope ;
2927
3028/**
3129 * A {@link CarouselStrategy} that does not resize the original item width and fits as many as it
3230 * can into the container, cutting off the rest. Cut off items may be resized in order to show an
3331 * effect of items getting smaller at the ends.
3432 *
35- * Note that this strategy does not adjust the size of large items. Item widths are taken
36- * from the {@link androidx.recyclerview.widget.RecyclerView} item width.
33+ * <p> Note that this strategy does not adjust the size of large items. Item widths are taken from
34+ * the {@link androidx.recyclerview.widget.RecyclerView} item width.
3735 *
3836 * <p>This class will automatically be reversed by {@link CarouselLayoutManager} if being laid out
3937 * right-to-left and does not need to make any account for layout direction itself.
@@ -47,10 +45,6 @@ public final class UncontainedCarouselStrategy extends CarouselStrategy {
4745
4846 private static final float MEDIUM_LARGE_ITEM_PERCENTAGE_THRESHOLD = 0.85F ;
4947
50- @ RestrictTo (Scope .LIBRARY_GROUP )
51- public UncontainedCarouselStrategy () {
52- }
53-
5448 @ Override
5549 @ NonNull
5650 KeylineState onFirstChildMeasuredWithMargins (@ NonNull Carousel carousel , @ NonNull View child ) {
You can’t perform that action at this time.
0 commit comments