Material Design Team
cfc00aa5a3
Update android core class definitions across material
...
PiperOrigin-RevId: 414839941
2021-12-08 14:56:25 +00:00
Material Design Team
43cfc050f8
[Elevation] Added manual constructor for ElevationOverlayProvider.
...
Allow instantiating ElevationOverlayProvider without access to a Context object, e.g. in Drawables where only Resources and Theme might be available.
PiperOrigin-RevId: 372977696
2021-05-11 12:58:36 -04:00
dniz
2c557b6833
[Elevation] Added elevation overlay accent color option
...
PiperOrigin-RevId: 371106569
2021-04-29 14:51:28 -04:00
marianomartin
555356b03f
Internal cleanup
...
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
dniz
7f043206c0
Update ElevationOverlayProvider compositeOverlay() to preserve original background color alpha
...
PiperOrigin-RevId: 278625128
2019-11-06 10:17:01 -05:00
dniz
bcd8a55e30
Update ElevationOverlayProvider overlayView parameter to be @NonNull
...
PiperOrigin-RevId: 269364084
2019-09-18 14:16:49 -04:00
marianomartin
0d4515cb46
Internal cleanup
...
PiperOrigin-RevId: 265971745
2019-08-29 14:59:20 -04:00
dniz
102125d4b0
Fix ElevationOverlayProvider javadoc reference to absolute elevation @code view
...
PiperOrigin-RevId: 265923937
2019-08-29 14:58:05 -04:00
dniz
fe259b05f4
Add absolute elevation utilities to ElevationOverlayProvider
...
Resolves https://github.com/material-components/material-components-android/issues/483
Resolves https://github.com/material-components/material-components-android/issues/521
PiperOrigin-RevId: 265907637
2019-08-29 14:54:25 -04:00
cketcham
e2df233f5a
Add @NonNull and @Nullable annotations
...
PiperOrigin-RevId: 265133572
2019-08-29 11:23:29 -04:00
dniz
6783f9e1cd
Clean up naming of elevation overlay methods and attributes
...
PiperOrigin-RevId: 253283047
2019-06-18 13:34:29 -04:00
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