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
haodong
d615d2ac37
[SwitchMaterial] Added processing status.
...
PiperOrigin-RevId: 328982034
2020-08-28 18:05:07 -04:00
haodong
f0b8c159b9
[ProgressIndicator] Added the setter for component's visibility after hide animation.
...
Resolves https://github.com/material-components/material-components-android/issues/1632
PiperOrigin-RevId: 327874780
2020-08-24 18:02:15 -04:00
haodong
7200cd52b6
[ProgressIndicator] Fixed the style used on indeterminate drawable in the standalone demo.
...
PiperOrigin-RevId: 327435884
2020-08-19 17:41:57 -04:00
haodong
90f041d5e7
[ProgressIndicator] Updated style names.
...
PiperOrigin-RevId: 326696208
2020-08-14 15:24:16 -04:00
haodong
78aa3eac95
[ProgressIndicator] More cleanup of renaming indicatorWidth to indicatorSize.
...
PiperOrigin-RevId: 326064408
2020-08-11 14:47:40 -04:00
haodong
4d866b060a
[ProgressIndicator] Corrected the behavior and comment of the setProgress to align with the framework ProgressBar API.
...
PiperOrigin-RevId: 326040256
2020-08-11 14:42:59 -04:00
haodong
416eab583c
[ProgressIndicator] Improved inflation performance.
...
- Deferred animator initialization to the moment animations start.
- Improved inflation time (1k times) from 1478 ms to 325 ms. For the framework ProgressBar, it's about 190 ms.
PiperOrigin-RevId: 325455356
2020-08-07 15:23:41 -04:00
haodong
77582b5e21
[ProgressIndicator] Renamed indicatorWidth with indicatorSize to eliminate the confusion of indicatorWidth controlling view height in LINEAR types.
...
Resolves https://github.com/material-components/material-components-android/issues/1491
PiperOrigin-RevId: 325045868
2020-08-05 16:25:19 -04:00
haodong
5a1c183b16
[ProgressIndicator] Fixed canvas state leak in IndeterminateDrawable.
...
PiperOrigin-RevId: 323615617
2020-07-29 09:16:08 -04:00
haodong
0b82e81a8b
[ProgressIndicator] Added a new attribute to delay show actions.
...
Resolves https://github.com/material-components/material-components-android/issues/1524
PiperOrigin-RevId: 323586499
2020-07-29 09:15:31 -04:00
haodong
eaa0a7f510
[ProgressIndicator] Improved the readability of initializeDrawables() function.
...
PiperOrigin-RevId: 323568162
2020-07-29 09:14:09 -04:00
haodong
ea9cce8c29
[ProgressIndicator] Fixed incorrect visibility change when the component's parent is not visible.
...
PiperOrigin-RevId: 322771684
2020-07-23 11:42:07 -04:00
haodong
aca5307d42
[ProgressIndicator] Changed class visibility of CircularDrawingDelegate.
...
PiperOrigin-RevId: 322583285
2020-07-22 14:23:25 -04:00
haodong
4005294a75
[ProgressIndicator] Added the function in ProgressIndicatorSpec to load from style.
...
PiperOrigin-RevId: 322580332
2020-07-22 14:20:51 -04:00
haodong
c4f44d2fbb
[ProgressIndicator] Revived the argument (restart) in setVisible of drawables.
...
- Changed setVisible(visible, animated) to setVisible(visible, restart, animated).
- Adjusted the visibility control based on the new setVisible().
PiperOrigin-RevId: 322223572
2020-07-21 04:22:24 -07:00