6 Commits

Author SHA1 Message Date
marianomartin
90837ec485 Internal cleanup
PiperOrigin-RevId: 249243403
2019-05-21 12:15:07 -04:00
dniz
18f30248c1 Add ElevationOverlayProvider util method for getting surface color with overlay
Also rename getColorSurface method to getSurfaceColor

PiperOrigin-RevId: 244392744
2019-04-19 22:00:45 -04:00
ldjesper
59070cc111 Simplified the redundant naming of MaterialAttributes static methods.
Added default values for non-throw cases.
Avoid returning TypedValue to simplify code using the helper methods.

PiperOrigin-RevId: 244007695
2019-04-19 21:27:28 -04:00
dniz
858dd77976 Update Dark Theme Elevation Overlay equation to add an extra 2% of alpha
PiperOrigin-RevId: 242527904
2019-04-19 12:58:46 -04:00
dniz
be564e558b Update ElevationOverlayProvider to not throw an exception if related attributes
are missing from theme

PiperOrigin-RevId: 238584902
2019-03-22 16:14:51 -04:00
dniz
7b594393c8 Dark Theme Elevation Overlay system
PiperOrigin-RevId: 237829773
2019-03-22 16:02:26 -04:00