pubiqq
41eb6d0ff4
[ShapeAppearance] Fix rotation angle calculation
...
Resolves https://github.com/material-components/material-components-android/pull/2915
GIT_ORIGIN_REV_ID=4d738687c2023f2e9ec527c84ff0ec5ae9dba08e
PiperOrigin-RevId: 468608301
2022-08-19 11:01:53 -04:00
marianomartin
c59c04639c
[MaterialShapeDrawable] Convert ShapeAppearancePathProvider to a singleton.
...
Also allocate less path objects.
PiperOrigin-RevId: 325287653
2020-08-06 21:10:36 -04:00
cketcham
8ed1484690
Update MaterialShapeDrawable to handle overlapping edge and corners
...
PiperOrigin-RevId: 281498365
2019-11-20 14:39:06 -05:00
cketcham
0547d2a06b
Uncouple CornerSize from CornerTreatment
...
This allows for more easily updating the CornerSize independently from the CornerTreatment and makes it possible to create different types of CornerSizes such as percentage based corners. However, this means corner sizes can be different depending on the bounds of the shape, so the bounds need to be provided. MaterialShapeDrawable has bounds and the ShapeAppearanceModel, so there are new convenience methods there which return the current corner size for the current bounds of the drawable.
PiperOrigin-RevId: 272908508
2019-10-04 15:23:16 -04:00
afohrman
f6a67eb9f6
Fix issues with javadocs.
...
PiperOrigin-RevId: 269825611
2019-09-18 14:24:31 -04: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
cc73c2a630
Update TODOs
...
PiperOrigin-RevId: 259535844
2019-07-23 11:21:39 -04:00
marianomartin
1c5df57127
Make ShapeAppearancePathProvider not restricted
...
PiperOrigin-RevId: 254229963
2019-06-24 17:03:52 -04:00
gauthams
32db2e2af1
Update shape path edge length to prevent concave path
...
PiperOrigin-RevId: 228238196
2019-01-10 16:35:58 -05:00
cketcham
dc72aaeed4
Migrate Gradle build and sources to androidx
...
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
marianomartin
cf69538c9c
Refactor path logic out of MSD
...
PiperOrigin-RevId: 224182175
2018-12-06 12:05:06 -05:00