7 Commits

Author SHA1 Message Date
marianomartin
555356b03f Internal cleanup
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
cketcham
06342a1ad7 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264825115
2019-08-26 11:32:16 -04:00
isabellekim
3dcbac3255 Adds a method to RippleUtils that should be called before passing a CSL
to RippleDrawable. It will:
1. return the original non-null CSL, unmodified. If null, it will return
a transparent CSL
2. log a warning if the original CSL has a non-transparent pressed color
and a transparent default color for API levels 22-27 (this will cause
ripples to end early).

PiperOrigin-RevId: 254431342
2019-06-24 17:14:09 -04:00
isabellekim
cadd0238cf Refactor RippleDrawableCompat to add a method to RippleUtils to determine whether a compat (pre-21) "ripple" should be drawn. This will be used by components that handle their own drawing of compat ripples (like Chip).
PiperOrigin-RevId: 253992004
2019-06-24 16:51:22 -04:00
dniz
1f244318d8 Add @hide to all @RestrictTo annotations that are missing it
PiperOrigin-RevId: 243646339
2019-04-19 16:29:30 -04:00
cketcham
dc72aaeed4 Migrate Gradle build and sources to androidx
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
dniz
9ca33544ac Update package name to com.google.android.material
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00