5 Commits

Author SHA1 Message Date
marianomartin
cf69538c9c Refactor path logic out of MSD
PiperOrigin-RevId: 224182175
2018-12-06 12:05:06 -05:00
isabellekim
2997b6995f Add shadow compat support for cut corners and triangle edge treatments, updating ShapePath to add extra shadow arcs when needed:
+ Updates LineShadowOperation to call drawEdgeShadow with a horizontal edge
+ ShapePath has a start & end shadow angle and will add shadow arcs to fill in gaps between shadow operations

PiperOrigin-RevId: 219686107
2018-11-01 16:22:14 -07:00
cketcham
b623595c7f Fix logic which determines when shadow should be drawn inside the bounds of an arc vs outside
PiperOrigin-RevId: 218525816
2018-10-28 19:12:19 -04:00
cketcham
2edfef1a6c Draw compatibility shadows if the shape is concave or native shadows aren't supported.
PiperOrigin-RevId: 217689320
2018-10-28 18:28:35 -04:00
dniz
9ca33544ac Update package name to com.google.android.material
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00