File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
lib/java/com/google/android/material/carousel Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 3434import androidx .annotation .NonNull ;
3535import androidx .annotation .Nullable ;
3636import androidx .annotation .RequiresApi ;
37+ import androidx .annotation .RestrictTo ;
38+ import androidx .annotation .RestrictTo .Scope ;
3739import androidx .annotation .VisibleForTesting ;
3840import androidx .core .math .MathUtils ;
3941import com .google .android .material .animation .AnimationUtils ;
@@ -158,8 +160,15 @@ private void onMaskChanged() {
158160 }
159161 }
160162
163+
164+ /**
165+ * Set whether this view should always use canvas clipping to clip to its masked shape.
166+ *
167+ * @hide
168+ */
161169 @ VisibleForTesting
162- void setForceCompatClipping (boolean forceCompatClipping ) {
170+ @ RestrictTo (Scope .LIBRARY_GROUP )
171+ public void setForceCompatClipping (boolean forceCompatClipping ) {
163172 maskableDelegate .setForceCompatClippingEnabled (this , forceCompatClipping );
164173 }
165174
You can’t perform that action at this time.
0 commit comments