1215 Commits

Author SHA1 Message Date
ldjesper
a402ece66e Fix fuzzy boundary on selected year in MaterialDatePicker dialog mode
PiperOrigin-RevId: 268274108
2019-09-12 13:58:40 -04:00
ldjesper
d78d93577f Remove Month from the public API
PiperOrigin-RevId: 268242042
2019-09-12 13:57:19 -04:00
cketcham
8f6d446ad9 Remove shadowPadding rect from ExtendedFloatingActionButton
It seems that shadowPadding was copied over from FloatingActionButton. ExtendedFloatingActionButton extends MaterialButton which uses a MaterialShapeDrawable for its shadow so it shouldn't need to handle this case.

PiperOrigin-RevId: 268057304
2019-09-12 13:56:13 -04:00
marianomartin
c178633441 Internal cleanup
PiperOrigin-RevId: 268017966
2019-09-12 13:55:18 -04:00
ldjesper
38e01beb1d MaterialDatePicker forces UTC
PiperOrigin-RevId: 267992416
2019-09-12 13:52:21 -04:00
Material Design Team
5e9b0dd917 Automated g4 rollback of changelist 267646424
PiperOrigin-RevId: 267814621
2019-09-12 13:51:28 -04:00
Material Design Team
2d03e4084d Migrate away from deprecated behavior annotation
PiperOrigin-RevId: 267646424
2019-09-12 13:49:58 -04:00
marianomartin
215a839598 Internal cleanup
PiperOrigin-RevId: 267504117
2019-09-12 13:48:16 -04:00
marianomartin
53d4185ff9 Internal cleanup
PiperOrigin-RevId: 267368841
2019-09-12 13:47:15 -04:00
ldjesper
e6cb937ca1 Remove MaterialDatePicker testing tags from the public scope in favor of package scope.
PiperOrigin-RevId: 267009956
2019-09-04 18:09:37 -04:00
ldjesper
72d54c653c Change picker package to com.google.android.material.datepicker
PiperOrigin-RevId: 267004501
2019-09-04 18:07:59 -04:00
marianomartin
3b75a113a7 Remove OnChangeListener from ExtendedFab
PiperOrigin-RevId: 266955697
2019-09-04 18:06:55 -04:00
ldjesper
2d428aee7c Fix today marker colors in MaterialDatePicker
PiperOrigin-RevId: 266942500
2019-09-04 18:06:10 -04:00
cketcham
f52407e1e3 Make cornerSize a private field
PiperOrigin-RevId: 266924741
2019-09-04 18:04:37 -04:00
cketcham
0ad01010b9 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 266817244
2019-09-04 18:03:53 -04:00
marianomartin
3beaee4f94 Change extended fab API to make it simpler.
PiperOrigin-RevId: 266669035
2019-09-04 18:03:01 -04:00
ldjesper
6e9b3c6b30 In MaterialDatePicker after rotation, open to the same page if it was changed via swipe
PiperOrigin-RevId: 266462896
2019-09-04 18:01:33 -04:00
cketcham
fb272f84b4 Remove cloneable from corner treatments since ShapeAppearance and CornerTreatments are now immutable
PiperOrigin-RevId: 266422300
2019-09-04 18:00:22 -04:00
Material Design Team
a41d340b0d Add more a11y support to BottomSheetBehavior.
PiperOrigin-RevId: 266403799
2019-09-04 17:56:27 -04:00
ldjesper
2b57e89303 Cannonicalize on Month creation
PiperOrigin-RevId: 266384073
2019-09-04 14:22:29 -04:00
cketcham
27b58f1611 Make ShapeAppearanceModel immutable
PiperOrigin-RevId: 266378228
2019-09-04 14:20:35 -04:00
Connie
9ed90216a3 Revert "Fixed issue 531 by removing unnecessary calls to set compound drawables"
This reverts commit faf60b15bea73588e8c76fc348ace50dd430cf55.
2019-08-29 15:55:46 -04:00
Connie
b814e8ef74 Revert "Changed naming"
This reverts commit b467b494d9f87581c20009706bce4dc9a7cb8c44.
2019-08-29 15:55:46 -04:00
Sam
b467b494d9 Changed naming 2019-08-29 15:53:24 -04:00
Sam
faf60b15be Fixed issue 531 by removing unnecessary calls to set compound drawables 2019-08-29 15:53:24 -04:00
cketcham
7bb525ff59 Update usages of ShapeAppearanceModel to use Builder pattern
PiperOrigin-RevId: 266144471
2019-08-29 15:39:51 -04:00
cketcham
1f1871f634 Update usages of ShapeAppearanceModel to use Builder pattern
PiperOrigin-RevId: 266133670
2019-08-29 15:37:04 -04:00
cketcham
89026898dc Fix ActionMenuView position in RTL for BottomAppBar
PiperOrigin-RevId: 265997768
2019-08-29 15:35:04 -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
marianomartin
c99f9522c7 Update peekHeight's getter and setter to be not final.
PiperOrigin-RevId: 265891346
2019-08-29 14:51:33 -04:00
cketcham
ca91442ba2 Add builder to ShapeAppearanceModel
PiperOrigin-RevId: 265806696
2019-08-29 12:21:55 -04:00
Material Design Team
79953b02e3 if we don't set anything, talkback will announce it as checkbox because this class extends AppCompatCheckBox. This fix set the class name to be generic android view so nothing is announced if view is not checkable or clickable
PiperOrigin-RevId: 265746456
2019-08-29 12:19:52 -04:00
dniz
72cfef981b Rename prefix mtrl_ to material_ in public resources
PiperOrigin-RevId: 265729121
2019-08-29 12:16:13 -04:00
marianomartin
71f65908fa Remove final from BottomSheetBehavior (set/get)State
PiperOrigin-RevId: 265685873
2019-08-29 12:09:31 -04:00
marianomartin
f5c9026efa Internal cleanup
PiperOrigin-RevId: 265550877
2019-08-29 11:39:58 -04:00
cketcham
5d99b1d693 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 265525971
2019-08-29 11:37:11 -04:00
marianomartin
a5a300e171 Internal cleanup
PiperOrigin-RevId: 265503887
2019-08-29 11:26:23 -04:00
cketcham
86d4328e24 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 265447585
2019-08-29 11:24:58 -04:00
cketcham
e2df233f5a Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 265133572
2019-08-29 11:23:29 -04:00
cketcham
1d2cb7aa35 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 265133488
2019-08-29 11:21:03 -04:00
cketcham
9aa7c6c5e8 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 265133335
2019-08-29 11:16:11 -04:00
cketcham
78f945776a Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 265057424
2019-08-29 11:08:56 -04:00
cketcham
440b6e7753 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 265057396
2019-08-29 10:30:58 -04:00
cketcham
1538729814 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 265057078
2019-08-29 10:28:12 -04:00
cketcham
4211a8a794 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 265057036
2019-08-29 10:25:19 -04:00
cketcham
11755edd24 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264942383
2019-08-29 10:20:46 -04:00
connieshi
31d0c08300 Update BadgeDrawble's center coordinate calculation to alleviate anchor content being overlapped by badge content.
Also limit on 1 character to be displayed in a round badge, 2+ characters will now be displayed in a pill shaped badge.

PiperOrigin-RevId: 264904269
2019-08-29 10:19:37 -04:00
cketcham
96c8d908a3 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264899677
2019-08-29 10:16:03 -04:00