36 Commits

Author SHA1 Message Date
pekingme
28cc2441d0 [Tokens] Updated to version 2.3.4.
PiperOrigin-RevId: 610835532
2024-02-29 08:36:02 -08:00
pekingme
ee7b4bddb4 [Tokens] Added formatting to break long lines and differentiate different comments.
PiperOrigin-RevId: 605684816
2024-02-12 18:03:59 +00:00
pekingme
89212044a9 [Tokens] Updated to v0.213.
PiperOrigin-RevId: 603749766
2024-02-06 14:30:16 +00:00
pekingme
08d7ded67b [Tokens] Upgraded to v0.207.
PiperOrigin-RevId: 600947836
2024-01-24 21:05:53 +00:00
pekingme
4ccaaaa31d [Tokens] Upgraded to v0.203
PiperOrigin-RevId: 579928128
2023-11-08 15:12:21 +00:00
pekingme
637362d597 [Tokens] Upgraded to v0.195
PiperOrigin-RevId: 579905417
2023-11-06 20:27:15 +00:00
pekingme
0463c507d7 [Tokens] Upgraded to v0.185
PiperOrigin-RevId: 579904837
2023-11-06 20:26:18 +00:00
pekingme
bfee8a74d7 [Tokens] Upgraded to v0.175.
PiperOrigin-RevId: 572648883
2023-10-12 11:04:28 -07:00
pekingme
8204856dd4 [Token][Color] Upgraded to v0.170 for tonal surface colors.
PiperOrigin-RevId: 555230534
2023-08-09 19:03:25 +00:00
pfthomas
db9a6412ec [MaterialSwitch] Amendments to thumb icon size support
Resolves https://github.com/material-components/material-components-android/pull/3364

PiperOrigin-RevId: 549627031
2023-07-20 22:17:48 +00:00
pubiqq
2e85f06247 [MaterialSwitch] Add support for setting thumb icon size
Resolves https://github.com/material-components/material-components-android/pull/2960

GIT_ORIGIN_REV_ID=8af4d0f06e98f4ffced715b2dcde78d7186e1afb
PiperOrigin-RevId: 526984037
2023-04-25 17:08:20 -04:00
conradchen
23a2b17355 [Switch] Fix morphing time of switch thumbs
The switch thumb position animation time is hard-coded by SwitchCompat and we have no way to override it. Therefore, the morphing time has to follow the position animation time, instead of the design spec.

Resolves https://github.com/material-components/material-components-android/issues/3340

PiperOrigin-RevId: 523415316
2023-04-11 20:47:59 -07:00
pekingme
9f1caa2c64 [Tokens] Upgraded to v0.162.
PiperOrigin-RevId: 517446114
2023-03-20 21:23:07 +00:00
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
hunterstich
8aab29ad97 Automated g4 rollback of changelist 487605338
PiperOrigin-RevId: 490469343
2022-11-23 15:14:05 -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
hunterstich
0b72e3ad4f Automated g4 rollback of changelist 487228839
PiperOrigin-RevId: 487605338
2022-11-18 16:53:43 -05:00
hunterstich
3fc3ec1153 [Switch] Update animations to use motion themeing.
PiperOrigin-RevId: 487228839
2022-11-10 18:22:05 +00:00
pekingme
112378dcfd [Switch] Removed resources from deprecated tokens.
PiperOrigin-RevId: 478539069
2022-10-03 19:38:45 +00:00
pekingme
1ef53e2b37 [Tokens] Upgraded to v0.126 for 1p and 3p.
PiperOrigin-RevId: 475355503
2022-09-20 12:59:30 -04:00
pekingme
cc317e15d7 [Tokens] Included parent display group names in the output file comments.
PiperOrigin-RevId: 457503467
2022-06-27 17:25:31 -04:00
conradchen
e9b5328490 [Switch] Tokenize the new switch styles
PiperOrigin-RevId: 452763569
2022-06-03 11:56:35 -07:00
pekingme
d0c3ea0eb5 [Tokens] Upgraded token resources to v0.99.
PiperOrigin-RevId: 452574141
2022-06-02 15:41:39 -07:00
conradchen
2f33cfc213 [Switch] Add thumb icon tint to the new switch styles
PiperOrigin-RevId: 451422588
2022-05-31 13:32:39 -07:00
conradchen
06bba009d4 [Switch] Add associated text styles
Also increases the min height to match the min touch target size.

PiperOrigin-RevId: 450987495
2022-05-26 16:16:11 -04:00
conradchen
a3ca744776 [Switch] Create icon style for the new switch design
PiperOrigin-RevId: 450037491
2022-05-23 11:19:33 -04:00
pekingme
65120923d5 [Token][Switch] Added token generated resources.
PiperOrigin-RevId: 449904422
2022-05-23 11:04:09 -04:00
conradchen
1e7bd27a29 [Switch] Implement track decoration in the new design
The default decoration will be a track outline in the unchecked state.

PiperOrigin-RevId: 449013525
2022-05-16 15:14:47 -04:00
conradchen
1414f9e480 [Switch] Add thumb and track drawables for the new switch design
PiperOrigin-RevId: 448253424
2022-05-12 17:18:46 -04:00
conradchen
b2a3fbe1f3 [Switch] Create a base skeleton of the new MaterialSwitch package/class
PiperOrigin-RevId: 447532839
2022-05-10 09:37:52 -04:00
dniz
e4c8535352 Remove backlayer and materialswitch
PiperOrigin-RevId: 195148145
2018-05-02 17:07:28 -04:00
dniz
9ca33544ac Update package name to com.google.android.material
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00