pekingme
23dc14ca3a
[Tokens] Updated to v0.157.
...
PiperOrigin-RevId: 505978081
2023-01-31 20:01:13 +00:00
pekingme
2019bf90be
[Tokens] Upgraded to version v0.147.
...
PiperOrigin-RevId: 492551875
2022-12-02 18:34:12 -05:00
pekingme
17e3581642
[Tokens] Upgraded to v0.145
...
PiperOrigin-RevId: 492291163
2022-12-02 15:11:37 +00:00
pekingme
8ee6c00f73
[Tokens] Upgraded to v0.142
...
Added lStar CSLs for new neutral palettes in v31 and above.
PiperOrigin-RevId: 491693724
2022-11-30 17:31:11 -05:00
pekingme
12ef329276
[Tokens] Upgraded to v0.141
...
PiperOrigin-RevId: 490324728
2022-11-23 15:13:20 -05:00
pekingme
b2b546b205
[Tokens] Internal updates.
...
PiperOrigin-RevId: 490295053
2022-11-23 15:11:19 -05:00
pekingme
ed77ab36cc
[Tokens] Refreshed outdated component token resources files.
...
PiperOrigin-RevId: 477262742
2022-09-28 00:07:41 +00:00
pekingme
ab063b7b7f
[ProgressIndicator] Integrates tokens into M3 styles.
...
PiperOrigin-RevId: 474592726
2022-09-15 14:20:29 -04:00
pubiqq
26aa22b26d
[ProgressIndicator] Finish all visibility animations when animate = false
...
Resolves https://github.com/material-components/material-components-android/pull/2740
GIT_ORIGIN_REV_ID=3b1513b589f4f0fa7d3c3f47ccb74661a4ba7e2a
PiperOrigin-RevId: 465570258
2022-08-08 10:49:05 -04:00
pekingme
04f4a1abc0
[ProgressIndicator] Renamed res/animator to res/anim.
...
PiperOrigin-RevId: 458269849
2022-07-06 04:56:28 -07:00
conradchen
71bfaca706
[ProgressIndicator] Fix ProgressIndicator's size under a complex measurement
...
When a ProgressIndicator doesn't have a preferred width or height, its size will be calculated incorrectly as we rely on its super class, ProgressBar's onMeasure() method to decide its size. But ProgressBar doesn't support "unspecified" preferred width/height, in this case it will set measured dimensions to fixed values based on the incorrect "preferred size".
Fixes this issue by fallback to the default View.onMeasure() logic when no preferred width or height is specified.
Resolves https://github.com/material-components/material-components-android/issues/2163
PiperOrigin-RevId: 452795304
2022-06-03 12:10:03 -07:00
conradchen
69e484dd1e
[ProgressIndicator] Make progress indicator drawables scalable by setBounds()
...
Resolves https://github.com/material-components/material-components-android/issues/2364
PiperOrigin-RevId: 451214292
2022-05-26 16:16:49 -04:00
Sebastian K\u00fcrten
61cbb8c9a6
[ProgressIndicator] Fix indeterminate progress indicator not working on API 22
...
Resolves https://github.com/material-components/material-components-android/pull/2675
Resolves https://github.com/material-components/material-components-android/issues/2028
GIT_ORIGIN_REV_ID=eaf535ee18b85d8c062eeb58f59a7ea2fdb91f48
PiperOrigin-RevId: 445914955
2022-05-02 09:31:49 -04:00
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