dsn5ft
d056cc352f
[Bottom Sheet] Allow dragging the sheet on overscroll when draggableOnNestedScroll=false
...
PiperOrigin-RevId: 624269903
2024-04-15 17:59:25 +00:00
dsn5ft
a35b6b835c
[Bottom Sheet] Add ability to disable dragging/expanding/collapsing the sheet when touching/scrolling the nested scrolling child view
...
PiperOrigin-RevId: 624204480
2024-04-12 20:03:30 +00:00
Material Design Team
3e866b8715
[AppBarLayout] Allow scrolling up when the app bar is lifted.
...
1. Suppose the view is large enough to scroll down
2. After scrolling down, you hide a child view, which reduces the height to a value which means it would have been unscrollable in step 1
3. Now you can’t scroll back up
PiperOrigin-RevId: 623883120
2024-04-11 20:08:04 +00:00
dsn5ft
b77b1412a3
[Search] Add start delay to scrim animation during SearchBar to SearchView expand to reduce visual noise
...
PiperOrigin-RevId: 623875803
2024-04-11 20:07:18 +00:00
pekingme
c1531396de
[ProgressIndicator] Improved cold start performance.
...
PiperOrigin-RevId: 623243122
2024-04-10 18:47:15 +00:00
dsn5ft
b56afa75a9
[SearchView] Update back arrow to be auto mirrored for RTL
...
PiperOrigin-RevId: 622863529
2024-04-09 18:46:12 +00:00
pekingme
7c77d5a8eb
Automated g4 rollback of changelist 620909554
...
PiperOrigin-RevId: 621977121
2024-04-09 17:24:47 +00:00
pekingme
23bcd50682
[ProgressIndicator] Added ramping animation to wave amplitude for both Linear and Circular types. (roll forward)
...
PiperOrigin-RevId: 621631230
2024-04-03 21:15:30 +00:00
pekingme
2a80e162ce
[ProgressIndicator] Improved the smoothness of the animation when inactive track's ends are close.
...
Resolves https://github.com/material-components/material-components-android/issues/4124
PiperOrigin-RevId: 621620538
2024-04-03 21:13:50 +00:00
pekingme
e8452fb389
[ProgressIndicator] Applied a workaround in Circular counter-clockwise.
...
Resolves https://github.com/material-components/material-components-android/issues/4125
PiperOrigin-RevId: 621606567
2024-04-03 21:13:16 +00:00
pekingme
b50cb1e9a0
[ProgressIndicator] Added waggle animation (wave speed) to active indicator in both Linear and Circular types. (roll forward)
...
PiperOrigin-RevId: 621299301
2024-04-03 21:11:57 +00:00
pfthomas
d2831cbfe1
[TimePicker] Make ClockFaceView not focusable
...
Prevent keyboard navigation from unnecessarily focusing the clock face.
PiperOrigin-RevId: 620981338
2024-04-02 15:02:20 +00:00
pekingme
89d94852d5
Internal change
...
PiperOrigin-RevId: 620909554
2024-04-02 15:01:48 +00:00
pekingme
c1b1d472d8
[ProgressIndicator] Internal revert.
...
PiperOrigin-RevId: 620344595
2024-04-02 14:59:54 +00:00
pekingme
267cb184a8
[ProgressIndicator] Internal revert.
...
PiperOrigin-RevId: 620339133
2024-04-02 14:59:14 +00:00
pekingme
627d14149b
[ProgressIndicator] Added ramping animation to wave amplitude for both Linear and Circular types.
...
PiperOrigin-RevId: 620312414
2024-04-02 14:58:39 +00:00
pekingme
0f47e78010
[ProgressIndicator] Added waggle animation (wave speed) to active indicator in both Linear and Circular types.
...
PiperOrigin-RevId: 620305285
2024-04-02 14:58:02 +00:00
pfthomas
4f21b95526
[TimePicker] Only clear hour/minute fields when a digit is entered
...
Fixes issue with keyboard navigation that unnecessarily clears the text.
PiperOrigin-RevId: 620286833
2024-04-02 14:56:19 +00:00
hunterstich
17855c116b
[TopAppBar] Fixed compress effect when toolbar is set as a support action bar and hiddin/shown.
...
getSupportActionBar.show/hide uses visibility to show/hide the toolbar which conflicted with the compress effect's use of Visibility to remove the toolbar when completely masked. This updates the compress effect to use alpha instead of visibility.
PiperOrigin-RevId: 619253990
2024-03-26 21:39:03 +00:00
rightnao
d88524297c
[Carousel] Fix a11y issue with switch access highlighting incorrect bounds
...
PiperOrigin-RevId: 618961042
2024-03-26 21:20:10 +00:00
pekingme
da108f3976
[ProgressIndicator] Added wavy active indicator drawing for circular type.
...
PiperOrigin-RevId: 618216753
2024-03-25 21:17:59 +00:00
pekingme
e2cc0bb820
[ProgressIndicator] Updated the default value of wavelength and setters of wavelength and amplitude.
...
PiperOrigin-RevId: 617998236
2024-03-25 21:17:25 +00:00
pfthomas
f3a93d09a9
[NTC][Slider] Make tick size defaults to the stop indicator size if set
...
PiperOrigin-RevId: 617609939
2024-03-20 22:36:53 +00:00
Material Design Team
fb441e6cb8
[Search] Exclude icons from search bar handwriting bounds
...
PiperOrigin-RevId: 617405112
2024-03-20 22:32:30 +00:00
pekingme
ae1e710a96
[ProgressIndicator] Optimized to only leverage cached path for wavy track when necessary.
...
PiperOrigin-RevId: 616938854
2024-03-20 22:30:44 +00:00
pfthomas
5bf6831b14
[NavDrawer][a11y] Fix wrong item selected after click
...
PiperOrigin-RevId: 616214272
2024-03-20 18:47:11 +00:00
pubiqq
bb646b68af
[Slider] Fix incorrect style of stop indicators near handles
...
Resolves https://github.com/material-components/material-components-android/pull/4097
GIT_ORIGIN_REV_ID=927159e78777a16472d96b2740295bdbce6361ab
PiperOrigin-RevId: 615993493
2024-03-15 17:31:46 +00:00
pekingme
ad97194108
[ProgressIndicator] Added wavy active indicator drawing in Linear type.
...
PiperOrigin-RevId: 614773805
2024-03-15 17:28:49 +00:00
pubiqq
3bc6612536
[Slider] Use a uniform way to update labels
...
Resolves https://github.com/material-components/material-components-android/pull/4093
GIT_ORIGIN_REV_ID=7db4936713bd31a070d4bb1d9743d99222840184
PiperOrigin-RevId: 614741678
2024-03-15 17:28:06 +00:00
dsn5ft
22de817c30
[Docs] Internal change
...
PiperOrigin-RevId: 613673995
2024-03-07 20:52:14 +00:00
Park-SM
ac77b4cfb5
[RangeSlider] Resolve issues that crash when assigning a large value to valueTo
...
Resolves https://github.com/material-components/material-components-android/pull/3979
GIT_ORIGIN_REV_ID=d09a42095cda8342b1f2a0fdf3a9ab9899cace45
PiperOrigin-RevId: 613196003
2024-03-06 11:47:24 -08:00
Thomas
399817ec77
[Slider] Updated the track drawing for some corner cases.
...
Resolves https://github.com/material-components/material-components-android/pull/4071
Resolves https://github.com/material-components/material-components-android/pull/4080
Resolves https://github.com/material-components/material-components-android/issues/4079
Resolves https://github.com/material-components/material-components-android/issues/4009
GIT_ORIGIN_REV_ID=76692c595d7e798545050ec22e6fafebe64f4587
PiperOrigin-RevId: 610841961
2024-02-29 08:54:52 -08:00
pekingme
28cc2441d0
[Tokens] Updated to version 2.3.4.
...
PiperOrigin-RevId: 610835532
2024-02-29 08:36:02 -08:00
pekingme
46fa6465fe
[Cleanup] Internal change
...
PiperOrigin-RevId: 608668937
2024-02-29 08:27:55 -08:00
Material Design Team
5471b8d37a
Internal change
...
PiperOrigin-RevId: 607976596
2024-02-26 13:44:54 -08:00
pekingme
dd8f6bebdd
[ProgressIndicator] Updated inactive track color from primary container to secondary container.
...
PiperOrigin-RevId: 607113929
2024-02-14 23:56:24 +00:00
pekingme
ee7b4bddb4
[Tokens] Added formatting to break long lines and differentiate different comments.
...
PiperOrigin-RevId: 605684816
2024-02-12 18:03:59 +00:00
Material Design Team
546ca1087f
[Drawable] Resolve class verification issues for DrawableUtils
...
Post appreduce, a lot of DrawableUtils methods are horizontally merged into other classes. Since these methods are not available on older Android platform versions, ART instructs the runtime to re-verify when the app loads. When one of these methods is present in a very large horizontally merged class, it can take a lot of time to verify. On Pixel 2XL for Android Q, I have seen 12-15ms being very common.
Related docs and see linked bug:
https://chromium.googlesource.com/chromium/src/+/HEAD/build/android/docs/class_verification_failures.md#understanding-the-reason-for-the-failure
PiperOrigin-RevId: 605643227
2024-02-12 18:03:15 +00:00
pekingme
356067295f
[ProgressIndicator] Cleanup
...
PiperOrigin-RevId: 605381014
2024-02-12 16:23:16 +00:00
Material Design Team
8a71e7741a
[AppBarLayout] Use an accessibility delegate to add and perform actions
...
This replaces the use of `ViewCompat#add/removeAccessibilityAction`
Both are valid strategies, but each call to `remove` or `add` triggers an accessibility event. Since this check is done in layout (originally to fix a11y scroll state) it's sending a high number of events that create noise for accessibility services.
To avoid this, we move this code to the delegate `onInitialize` and `performAction` methods. Instead of the view dynamically adding and removing actions to itself, the node is initialized with actions only when an a11y service sends a request with a new node (likely due to some UI change).
The flow here would look like:
1. UI is scrolled/page is loaded
2. TalkBack gets a scroll event/content change event
3. TalkBack requests new snapshot of the screen
4. ABL populates the node with the actions
For a simple scroll, this change reduces the events from ~40 to ~10.
We also add the Truth library for clearer assertions.
PiperOrigin-RevId: 605333170
2024-02-12 16:14:44 +00:00
pekingme
89212044a9
[Tokens] Updated to v0.213.
...
PiperOrigin-RevId: 603749766
2024-02-06 14:30:16 +00:00
manabu-nakamura
4430bbbbd2
[Slider] Fix ripple not transparent on API 33
...
Resolves https://github.com/material-components/material-components-android/pull/4007
GIT_ORIGIN_REV_ID=e5d24cf5a8a4faada09538f566f51e3a26316052
PiperOrigin-RevId: 603425262
2024-02-02 16:39:10 +00:00
pekingme
02bd528c1c
[ProgressIndicator] Internal cleanup.
...
PiperOrigin-RevId: 601910223
2024-01-30 19:28:24 +00:00
entdark
1371091ffa
[MaterialDividerItemDecoration] Fixed divider instant appearing or disappearing on insertion or removal
...
Resolves https://github.com/material-components/material-components-android/pull/4014
Resolves https://github.com/material-components/material-components-android/issues/3651
GIT_ORIGIN_REV_ID=d044f541f9928db1d03dea1866e8b8e4c699bf87
PiperOrigin-RevId: 601257154
2024-01-25 19:56:11 +00:00
pekingme
9c216128c6
[ProgressIndicator] Updated the setter of track thickness to not update track corner radius.
...
PiperOrigin-RevId: 601245058
2024-01-25 19:54:54 +00:00
pekingme
08d7ded67b
[Tokens] Upgraded to v0.207.
...
PiperOrigin-RevId: 600947836
2024-01-24 21:05:53 +00:00
leticiars
ef60931e2b
[Tab][a11y] Fix title being announced twice when there's a badge in TalkBack mode.
...
Resolves https://github.com/material-components/material-components-android/issues/3985
PiperOrigin-RevId: 600854666
2024-01-23 20:07:04 +00:00
pekingme
ae11eb4dc2
[ProgressIndicator] Added the limit to not have stop indicator size bigger than track thickness.
...
PiperOrigin-RevId: 599948126
2024-01-22 18:25:41 +00:00
pekingme
97f18a37a4
[ProgressIndicator] Fixed the rounded ends overlapping bug with semi-transparent track/indicator color in Circular default style.
...
Workaround is applied by using the Cap.ROUND when corner radius is half of the track thickness (the case for M3 default Circular style). It doesn't fix the overlap for smaller corner radius with semi-transparent color.
PiperOrigin-RevId: 599942498
2024-01-22 18:24:58 +00:00
pekingme
7479be226f
[ProgressIndicator] Internal updates.
...
PiperOrigin-RevId: 598978387
2024-01-17 19:47:56 +00:00