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
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