9 Commits

Author SHA1 Message Date
cketcham
1e1100f6a9 Clarify ShapePath#quadToPoint() will only draw native shadows
PiperOrigin-RevId: 295755346
2020-02-18 16:47:00 -05:00
cketcham
1538729814 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 265057078
2019-08-29 10:28:12 -04:00
ldjesper
ec856cdeae Deprecate fields from the public API of ShapePath
PiperOrigin-RevId: 259830158
2019-07-25 13:13:11 -04:00
dniz
03cf027bc7 Deprecate Experimental annotation and remove from Shapes
PiperOrigin-RevId: 229200655
2019-01-18 14:10:16 -05:00
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