File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
lib/java/com/google/android/material/progressindicator Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1515 */
1616package com .google .android .material .progressindicator ;
1717
18+ import static androidx .annotation .RestrictTo .Scope .LIBRARY_GROUP ;
19+
1820import android .content .ContentResolver ;
1921import android .os .Build .VERSION ;
2022import android .provider .Settings .Global ;
2123import android .provider .Settings .System ;
2224import androidx .annotation .NonNull ;
25+ import androidx .annotation .RestrictTo ;
2326import androidx .annotation .VisibleForTesting ;
2427
2528/**
2629 * This is a utility class to get system animator duration scale from the system settings. It's used
2730 * as instances so that some requirements for testing can be met by mocking.
31+ *
32+ * @hide
2833 */
34+ @ RestrictTo (LIBRARY_GROUP )
2935public class AnimatorDurationScaleProvider {
3036
3137 /** The emulated system animator duration scale setting for SDK_INT < 16. */
Original file line number Diff line number Diff line change @@ -754,6 +754,8 @@ public void setVisibilityAfterHide(int visibility) {
754754 visibilityAfterHide = visibility ;
755755 }
756756
757+ /** @hide */
758+ @ RestrictTo (Scope .LIBRARY_GROUP )
757759 @ VisibleForTesting
758760 public void setAnimatorDurationScaleProvider (
759761 @ NonNull AnimatorDurationScaleProvider animatorDurationScaleProvider ) {
You can’t perform that action at this time.
0 commit comments