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
pekingme
b597c1e218
[ProgressIndicator] Removed the call to draw a transparent full track.
...
PiperOrigin-RevId: 597992011
2024-01-16 19:23:30 +00:00
pekingme
5e185db21d
[ProgressIndicator] Flip the canvas for different circular directions.
...
PiperOrigin-RevId: 597652047
2024-01-16 19:15:09 +00:00
pekingme
f5a54d2264
[ProgressIndicator] Split stop indicator drawing from indicator drawing.
...
PiperOrigin-RevId: 597537696
2024-01-16 19:14:11 +00:00
pekingme
6fd920a2c1
[ProgressIndicator] Added ActiveIndicator to improve readability.
...
- Removed unnecessary access modifiers.
- Removed unnecessary doc comments.
PiperOrigin-RevId: 597062929
2024-01-10 18:58:32 +00:00
dsn5ft
c8b9b1c0bb
[Predictive Back][Navigation Drawer] Animate corners during predictive back when no drawerLayoutCornerSize is set
...
PiperOrigin-RevId: 596056382
2024-01-05 23:58:37 +00:00
pfthomas
c218b3c983
[NTC][Slider] Update styles
...
Update the Material Slider to be compliant with the latest accessibility requirements.
PiperOrigin-RevId: 595740932
2024-01-04 19:25:12 +00:00
pekingme
98284e74ad
[ProgressIndicator] Fixed ESCAPE animation in linear and added ESCAPE animation in circular.
...
PiperOrigin-RevId: 595720674
2024-01-04 19:24:29 +00:00
pfthomas
b84e6549d4
[NTC][ProgressIndicator] Internal changes
...
PiperOrigin-RevId: 595708057
2024-01-04 19:23:44 +00:00
pekingme
52b48450fc
[ProgressIndicator] Updated to use the same drawing delegate object between determinate drawable and indeterminate drawable to prevent inconsistent drawings when specs update.
...
PiperOrigin-RevId: 595468907
2024-01-03 21:01:37 +00:00
rightnao
1ef42e2f23
[Carousel] Shift keylines in contained strategies when there exists padding, and clipToPadding=false
...
PiperOrigin-RevId: 595162372
2024-01-03 20:58:38 +00:00
pekingme
93b30109b0
[ProgressIndicator] Added missing graphics updates when spec changes.
...
PiperOrigin-RevId: 592008309
2023-12-19 12:17:32 -08:00
pfthomas
15b533fffb
[NTC][ProgressIndicator] Update styles
...
Update the Material ProgressIndicator to be compliant with the latest accessibility requirements.
PiperOrigin-RevId: 591927327
2023-12-19 12:15:54 -08:00
afohrman
a0a1c6e044
[Carousel][Docs] Fixed Javadoc formatting error in FullScreenCarouselStrategy class documentation.
...
PiperOrigin-RevId: 591041703
2023-12-15 19:56:19 +00:00
dsn5ft
ce386e4c20
[Search] Make searchbar_scrolling_view_behavior string public
...
Resolves https://github.com/material-components/material-components-android/issues/3358
PiperOrigin-RevId: 590950516
2023-12-14 18:20:31 +00:00
dsn5ft
3b278d7097
[Side Sheet] Move modal side sheet default width/height into style so they can be customized
...
Resolves https://github.com/material-components/material-components-android/issues/3492
PiperOrigin-RevId: 590915421
2023-12-14 15:45:53 +00:00
hunterstich
e88a1b98d2
[Carousel] Added support for cross axis wrap_content RecyclerViews
...
PiperOrigin-RevId: 590637698
2023-12-14 15:45:23 +00:00
pfthomas
631065488c
[NTC][Slider] Internal changes
...
PiperOrigin-RevId: 590310941
2023-12-13 16:29:33 +00:00
pfthomas
5843e61031
[NTC][ProgressIndicator] Internal changes
...
PiperOrigin-RevId: 588545406
2023-12-07 18:59:05 +00:00
pfthomas
fb6a97ce2c
[NTC][ProgressIndicator] Internal changes
...
PiperOrigin-RevId: 588435272
2023-12-06 08:48:11 -08:00
rightnao
16eca7eef3
[NavRail] Increase padding in between items as per design specs
...
PiperOrigin-RevId: 588126139
2023-12-05 22:53:59 +00:00
pfthomas
95e1c441c2
[NTC][Slider] Internal changes
...
PiperOrigin-RevId: 587826282
2023-12-05 16:14:39 +00:00