99 Commits

Author SHA1 Message Date
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
haodong
33494486c8 Automated g4 rollback of changelist 336313426
PiperOrigin-RevId: 336388324
2020-10-15 13:11:59 -07:00
haodong
42840c0e24 Automated g4 rollback of changelist 336314674
PiperOrigin-RevId: 336388120
2020-10-15 13:10:39 -07:00
haodong
9199b49bca Automated g4 rollback of changelist 336315813
PiperOrigin-RevId: 336387821
2020-10-15 13:07:44 -07:00
haodong
8c3e3bf955 Automated g4 rollback of changelist 336326618
PiperOrigin-RevId: 336379824
2020-10-15 13:01:51 -07:00
haodong
64561681dd [ProgressIndicator] Update GM testing and catalog.
PiperOrigin-RevId: 336326618
2020-10-15 12:59:40 -07:00
haodong
322d073036 [ProgressIndicator] Moved the logic from ProgressIndicator to BaseProgressIndicator and made CircularProgressIndicator functional.
PiperOrigin-RevId: 336315813
2020-10-15 12:55:30 -07:00
haodong
9215166f7e [ProgressIndicator] Use CircularProgressIndicatorSpec in CIRCULAR type.
PiperOrigin-RevId: 336314674
2020-10-15 12:49:05 -07:00
haodong
5cfcc2e317 [ProgressIndicator] Added CircularProgressIndicator and CircularProgressIndicatorSpec.
PiperOrigin-RevId: 336313426
2020-10-15 12:41:02 -07:00
haodong
80aefb3ac7 [ProgressIndicator] Updated ProgressIndicatorSpec to use BaseProgressIndicatorSpec.
PiperOrigin-RevId: 336312110
2020-10-15 12:40:13 -07:00
haodong
e73d383b17 [ProgressIndicator] Added BaseProgressIndicator and BaseProgressIndicatorSpec.
PiperOrigin-RevId: 336311648
2020-10-15 12:39:06 -07:00
haodong
df6334fb0e [ProgressIndicator] Detach spec object from the drawable classes.
PiperOrigin-RevId: 336311315
2020-10-15 12:37:12 -07:00
haodong
1acb23bb0c [ProgressIndicator] Let indeterminate animator delegate classes use spec directly.
This is another step towards detaching the spec from drawable classes.

PiperOrigin-RevId: 336311000
2020-10-15 12:35:10 -07:00
haodong
e77fe1ea9a [ProgressIndicator] Let drawing delegate classes use spec directly.
This is one step towards detaching the spec from drawable classes.

PiperOrigin-RevId: 336309131
2020-10-15 12:34:15 -07:00
haodong
1c135f040c [ProgressIndicator] Added new attributes and styles for LinearProgressIndicator and CircularProgressIndicator.
PiperOrigin-RevId: 336308622
2020-10-15 12:32:41 -07:00
Thomas Vos
38697f5496 [ProgressIndicator] Fix typos in ProgressIndicator.java
Resolves https://github.com/material-components/material-components-android/pull/1772

GIT_ORIGIN_REV_ID=1ac091ca239b7e3c09fed4fe165257fb54671dd8
PiperOrigin-RevId: 335674338
2020-10-08 15:52:53 +00:00
haodong
8bba732aaa Automated g4 rollback of changelist 328982034
PiperOrigin-RevId: 329810012
2020-09-09 11:23:29 -04:00
haodong
f330ee8eb5 [ProgressIndicator] Fixed update listener for determinate drawable.
PiperOrigin-RevId: 329806314
2020-09-09 11:22:40 -04:00
haodong
395c2cda63 [ProgressIndicator] Removed custom drawing support to minimize API exposure.
PiperOrigin-RevId: 329001093
2020-08-28 18:07:25 -04:00