From e2c6ee020a7c44ede5cb59b1f61334005930bbc6 Mon Sep 17 00:00:00 2001 From: Nobody Date: Tue, 11 Jun 2024 12:48:43 -0700 Subject: [PATCH] Add explicit imports for CoreGraphics in files which use it. PiperOrigin-RevId: 642360013 --- components/PageControl/src/MDCPageControl.m | 2 ++ components/PageControl/src/private/MDCPageControlIndicator.m | 2 ++ components/PageControl/src/private/MDCPageControlTrackLayer.m | 2 ++ components/PageControl/tests/unit/PageControlExampleTests.m | 2 ++ 4 files changed, 8 insertions(+) diff --git a/components/PageControl/src/MDCPageControl.m b/components/PageControl/src/MDCPageControl.m index dc912313e0f..463310ff2dc 100644 --- a/components/PageControl/src/MDCPageControl.m +++ b/components/PageControl/src/MDCPageControl.m @@ -14,6 +14,8 @@ #import "MDCPageControl.h" +#import + #import "private/MDCPageControlIndicator.h" #import "private/MDCPageControlTrackLayer.h" #import "private/MaterialPageControlStrings.h" diff --git a/components/PageControl/src/private/MDCPageControlIndicator.m b/components/PageControl/src/private/MDCPageControlIndicator.m index 15bd607c23a..b92401ab119 100644 --- a/components/PageControl/src/private/MDCPageControlIndicator.m +++ b/components/PageControl/src/private/MDCPageControlIndicator.m @@ -14,6 +14,8 @@ #import "MDCPageControlIndicator.h" +#import + static const NSTimeInterval kPageControlIndicatorAnimationDuration = 0.3; static NSString *const kPageControlIndicatorAnimationKey = @"fadeInScaleUp"; diff --git a/components/PageControl/src/private/MDCPageControlTrackLayer.m b/components/PageControl/src/private/MDCPageControlTrackLayer.m index f8f5089847e..5a29350c487 100644 --- a/components/PageControl/src/private/MDCPageControlTrackLayer.m +++ b/components/PageControl/src/private/MDCPageControlTrackLayer.m @@ -14,6 +14,8 @@ #import "MDCPageControlTrackLayer.h" +#import + static const NSTimeInterval kPageControlAnimationDuration = 0.2; static const NSInteger kPageControlKeyframeCount = 2; static NSString *const kPageControlAnimationKeyDraw = @"drawTrack"; diff --git a/components/PageControl/tests/unit/PageControlExampleTests.m b/components/PageControl/tests/unit/PageControlExampleTests.m index 303bef0c771..2fb997e8a9e 100644 --- a/components/PageControl/tests/unit/PageControlExampleTests.m +++ b/components/PageControl/tests/unit/PageControlExampleTests.m @@ -16,6 +16,8 @@ #import "MDCPageControl.h" +#import + @interface PageControlExampleTests : XCTestCase @end