117 Commits

Author SHA1 Message Date
pubiqq
3ca41be8f0 [General] Fix typos
Resolves https://github.com/material-components/material-components-android/pull/2654

GIT_ORIGIN_REV_ID=b8f6728979875629f2c813ef90d2f671cf56b4eb
PiperOrigin-RevId: 442852630
2022-04-19 14:48:55 -04:00
Material Design Team
a487c89185 Internal change
PiperOrigin-RevId: 412135443
2021-11-29 17:35:39 +00:00
dsn5ft
9ae56ceedd [Javadocs] Remove all broken attr links from Javadocs
PiperOrigin-RevId: 404246710
2021-10-20 19:06:18 +00:00
pekingme
e9bca65652 Automated g4 rollback of changelist 398768587
PiperOrigin-RevId: 401342017
2021-10-06 20:14:36 -04:00
Material Design Team
bc201c61fd Automated g4 rollback of changelist 396584016
PiperOrigin-RevId: 398768587
2021-09-24 18:13:06 +00:00
pekingme
e9e393dcbc [M3][ProgressIndicator] Updated progress indicator dev doc with M3 themes/styles.
PiperOrigin-RevId: 396615622
2021-09-16 11:46:03 -07:00
pekingme
2161743bdc [LinearProgressIndicator] Improved the smooth transition from indeterminate mode to determinate mode for some APIs.
PiperOrigin-RevId: 396584016
2021-09-16 11:37:01 -07:00
pekingme
5c2a5920d5 [M3][ProgressIndicator] Created progress indicator's M3 styles.
PiperOrigin-RevId: 394263058
2021-09-01 17:07:57 -04:00
pekingme
a55f3b8ee9 [LinearProgressIndicator] Fixed the transparent strip drawn at the ends of the indicator.
Resolves https://github.com/material-components/material-components-android/issues/1947

PiperOrigin-RevId: 388966812
2021-08-05 18:24:15 -04:00
pekingme
456abd5471 [LinearProgressIndicator] Added null check in requestAnimatorAfterCurrentCycle for disjoint indeterminate animator.
PiperOrigin-RevId: 388962420
2021-08-05 18:22:17 -04:00
pekingme
f9f57d7d3c [CircularProgressIndicator] Fixed the transparent strip drawn at the ends of the indicator.
Resolves partially https://github.com/material-components/material-components-android/issues/1947

PiperOrigin-RevId: 388953254
2021-08-05 18:21:37 -04:00
haodong
cd5c2cc03f [ProgressIndicator] Added the OnAnimationEndListener adder and remover for spring animation used in determinate drawable.
Resolves https://github.com/material-components/material-components-android/issues/1919

PiperOrigin-RevId: 379523158
2021-06-15 22:04:10 -07:00
conradchen
f732070619 [ProgressIndicator] Fix NPE caused by animatorCompleteCallback not set
PiperOrigin-RevId: 379509725
2021-06-15 22:03:11 -07:00
haodong
209bad3299 [ProgressIndicator] Enabled switch from indeterminate mode to determinate mode while visible.
Resolves https://github.com/material-components/material-components-android/issues/1921

PiperOrigin-RevId: 378944543
2021-06-14 18:33:33 +00:00
haodong
f9687312cb [ProgressIndicator] Fix first animated progress update issue.
Resolves https://github.com/material-components/material-components-android/issues/2051

PiperOrigin-RevId: 374712804
2021-05-19 13:23:36 -07:00
Material Design Team
dca33e3952 [ProgressIndicator] Move canvas to the middle of the bounds, rather than by half the width/height.
PiperOrigin-RevId: 359827025
2021-03-03 14:23:54 -05:00
haodong
d6ddf00dbf [ProgressIndicator] Internal cleanup.
PiperOrigin-RevId: 358217922
2021-02-18 14:35:40 -08:00
haodong
1fb57bcaa2 [ProgressIndicator] Updated "indicatorSize" in CircularProgressIndicatorSpec to be never less than twice of "trackThickness".
Resolves https://github.com/material-components/material-components-android/issues/2005

PiperOrigin-RevId: 353887395
2021-01-26 14:08:04 -08:00
haodong
7a9e3f6d89 [ProgressIndicator] Fixed NPE while setting progress in the indeterminate mode after inflation.
PiperOrigin-RevId: 351656379
2021-01-14 09:51:52 -05:00
haodong
5910955990 [ProgressIndicator] Fixed the visibility bug in RecyclerView.
PiperOrigin-RevId: 351655786
2021-01-14 09:49:54 -05:00
haodong
196116ffa4 [ProgressIndicator] Fixed not hidden when committed hiding is interrupted by window hiding (i.e., home button pressed).
Resolves https://github.com/material-components/material-components-android/issues/1937

PiperOrigin-RevId: 350789077
2021-01-08 14:15:01 -05:00
haodong
712f5f3c99 [ProgressIndicator] Fixed determinate drawable not fully shown when switched from indeterminate mode for the second time in SDK 19/21/23.
PiperOrigin-RevId: 350786230
2021-01-08 14:12:49 -05:00
haodong
86b70d7bf7 [ProgressIndicator] Fixed indeterminate animation not playing after inflation/being visible in SDK 21.
PiperOrigin-RevId: 350783980
2021-01-08 13:51:57 -05:00
haodong
fdb420f540 [ProgressIndicator] Updated linear indeterminate animation.
PiperOrigin-RevId: 350781463
2021-01-08 13:48:00 -05:00
haodong
2163e3d2cb [ProgressIndicator] Updated circular indeterminate animation.
Resolves https://github.com/material-components/material-components-android/issues/1852

PiperOrigin-RevId: 350781191
2021-01-08 13:35:44 -05:00
haodong
9ccad21510 [ProgressIndicator] Fixed incorrect visibility when used in the recycler view.
Resolves https://github.com/material-components/material-components-android/issues/1902
Resolves https://github.com/material-components/material-components-android/issues/1914

PiperOrigin-RevId: 347417506
2020-12-14 15:12:08 -05:00
haodong
e5375fcb69 [ProgressIndicator] Renamed indeterminateAnimationType enums "seamless" and "spacing".
PiperOrigin-RevId: 345467359
2020-12-03 14:46:51 -05:00
haodong
4ab8cb1d4c [ProgressIndicator] Added sized styles for circular type.
PiperOrigin-RevId: 344141496
2020-11-25 10:26:48 -05:00
haodong
379519765a [ProgressIndicator] Corrected comments for javadoc.
PiperOrigin-RevId: 343570043
2020-11-23 09:07:44 -05:00
haodong
9d7ae04e0e [ProgressIndicator] Renamed some attributes.
PiperOrigin-RevId: 343299956
2020-11-19 12:33:42 -05:00
haodong
5ff62d3098 [ProgressIndicator] Hided AnimatorDurationScaleProvider from API.
PiperOrigin-RevId: 343124032
2020-11-18 16:11:21 -05:00
haodong
a99966a162 [ProgressIndicator] Made BaseProgressIndicator and BaseProgressIndicatorSpec abstract.
PiperOrigin-RevId: 342737029
2020-11-17 15:50:41 -05:00
haodong
be6ed3da48 [ProgressIndicator] Updated class visibility.
PiperOrigin-RevId: 342664697
2020-11-16 16:40:34 -05:00
haodong
e1d979631d [ProgressIndicator] Combined attributes show/hideBehaviorLinear and show/hideBehaviorCircular.
PiperOrigin-RevId: 342086777
2020-11-14 10:07:06 -05:00
haodong
b1ef02a16b [ProgressIndicator] Cleaned up deprecated class and resources.
PiperOrigin-RevId: 342076767
2020-11-12 13:53:23 -05:00
haodong
c76665bc11 [ProgressIndicator] Deprecated LINEAR type in ProgressIndicator and ProgressIndicator.
PiperOrigin-RevId: 342069665
2020-11-12 13:49:35 -05:00
haodong
a5890bfe6b [ProgressIndicator] Fixed incorrect visibility when Recyclerview is used.
Resolves https://github.com/material-components/material-components-android/issues/1662

PiperOrigin-RevId: 341845553
2020-11-12 10:55:00 -05:00
haodong
8b38e32829 [ProgressIndicator] Added attribute tests and parameter tests for LinearProgressIndicator.
PiperOrigin-RevId: 338754297
2020-10-27 05:09:24 -07:00
haodong
298dbe75f6 [ProgressIndicator] Made LinearProgressIndicator functional and optimized readability of CircularProgressIndicator.
PiperOrigin-RevId: 338753954
2020-10-27 05:08:39 -07:00
haodong
757b4fac85 [ProgressIndicator] Use LinearProgressIndicatorSpec in LINEAR type.
PiperOrigin-RevId: 338753632
2020-10-27 04:36:39 -07:00
haodong
b6643204a6 [ProgressIndicator] Added LinearProgressIndicator and LinearProgressIndicatorSpec.
PiperOrigin-RevId: 338738646
2020-10-27 04:35:45 -07:00
haodong
e019b02bb5 [ProgressIndicator] Fixed attribute's references and added spec validation to setting indicatorSize in CircularProgressIndicator.
PiperOrigin-RevId: 338163182
2020-10-21 15:47:52 -07:00
haodong
a7f1430f62 [ProgressIndicator] Deprecated CIRCULAR type in ProgressIndicator.
PiperOrigin-RevId: 337590517
2020-10-19 05:57:40 -07:00
hunterstich
cdea820c0f [ProgressIndicator] Moved comment into constructor body.
PiperOrigin-RevId: 337307024
2020-10-15 13:38:41 -07:00
haodong
c3d59395a5 [ProgressIndicator] Update GM testing and catalog.
PiperOrigin-RevId: 337198418
2020-10-15 13:37:00 -07:00
haodong
10e7349853 [ProgressIndicator] Moved the logic from ProgressIndicator to BaseProgressIndicator and made CircularProgressIndicator functional.
PiperOrigin-RevId: 337188667
2020-10-15 13:34:50 -07:00
haodong
113bff7dd7 [ProgressIndicator] Use CircularProgressIndicatorSpec in CIRCULAR type.
PiperOrigin-RevId: 337106191
2020-10-15 13:27:53 -07:00
haodong
0a75c746ff [ProgressIndicator] Added CircularProgressIndicator and CircularProgressIndicatorSpec.
PiperOrigin-RevId: 337009157
2020-10-15 13:24:45 -07:00
haodong
95677464fd [ProgressIndicator] Updated ProgressIndicatorSpec to use BaseProgressIndicatorSpec.
PiperOrigin-RevId: 336944763
2020-10-15 13:22:15 -07:00
haodong
4a56bca6c8 Automated g4 rollback of changelist 336312110
PiperOrigin-RevId: 336562092
2020-10-15 13:12:42 -07:00