Kyant0
0859dc1a0d
Add LiquidBottomTabs component
2025-09-26 17:25:04 +08:00
Kyant0
0251265eca
Update bottom tabs
2025-09-25 20:06:02 +08:00
Kyant0
ce55bc930a
Rename layer with layerBlock for Modifier.drawBackdrop
2025-09-25 11:22:03 +08:00
Kyant0
cf745433dd
Simplify shadow mask
2025-09-25 00:39:47 +08:00
Kyant0
62ca933253
Simplify shadow mask
2025-09-25 00:24:10 +08:00
Kyant0
86ab3fdc0e
Use GPU compositing for highlight and shadow.
...
This is a compromise. The overall performance is improved. But non-lazy scrollable layouts can be surprisingly laggy on device with poor GPU performance.
2025-09-24 23:47:20 +08:00
Kyant0
455f81b221
Simplify shadow drawing
2025-09-24 21:25:18 +08:00
Kyant0
11312bb028
Reorder params of Modifier.drawBackdrop
2025-09-24 16:05:24 +08:00
Kyant0
00e9479e32
Merge Modifier.contentBackdrop into Modifier.drawBackdrop
2025-09-24 11:00:05 +08:00
Kyant0
f23b9e5408
Fix solid highlight blend mode
2025-09-24 10:58:42 +08:00
Kyant0
7f468fbb74
Add drawContent param for Modifier.contentBackdrop
2025-09-24 10:17:28 +08:00
Kyant0
83c8de42ed
Add opacity color filter
2025-09-24 10:07:27 +08:00
Kyant0
53766b2874
Add many color filters
2025-09-23 20:27:51 +08:00
Kyant0
3456ea7463
Rename saturation with vibrancy
2025-09-23 19:21:25 +08:00
Kyant0
1181945c4b
Fix highlight canvas doesn't restore clip
2025-09-23 13:59:11 +08:00
Kyant0
6ba9f87ab6
Add exportedBackdrop param for Modifier.drawBackdrop, see #25
2025-09-23 13:09:29 +08:00
Kyant0
4841314568
New Backdrop API
2025-09-23 12:04:13 +08:00
Kyant0
5abcb17389
Add new BackdropDrawers, update glass playground to support parameter adjustment
2025-09-22 23:21:27 +08:00
Kyant0
98094adf9b
Fix effects are failed to be observed
2025-09-22 22:46:53 +08:00
Kyant0
47efb1ec77
Update ambient highlight and inner shadow
2025-09-22 20:52:13 +08:00
Kyant0
9d33570561
Update Highlight and Shadow APIs. Support ambient highlight
2025-09-22 15:16:04 +08:00
Kyant0
2c54bd7eb4
Reset InverseLayerScope
2025-09-21 18:21:58 +08:00
Kyant0
12ea7d2357
Add slider demo
2025-09-21 17:23:14 +08:00
Kyant0
4d7797e305
Add CombinedBackdropDrawer to support drawing multiple backdrops together
2025-09-21 16:35:59 +08:00
Kyant0
a9034abaed
Change param name: shapeProvider -> shape, layerBlock -> layer, add onDrawFront. Refactor catalog, add image selection, add Buttons demo
2025-09-21 15:21:59 +08:00
Kyant0
6f51aeaec8
Fix crash caused by Density. Add AdaptiveLuminanceGlass demo. Add compose backdrop effects.
2025-09-20 23:44:28 +08:00
Kyant0
23a250b1ba
Don't call bitmap.prepareToDraw()
2025-09-20 14:17:38 +08:00
Kyant0
efa16d4287
Improve performance for shadow
2025-09-20 13:13:32 +08:00
Kyant0
11b03cdbb5
Rename SimpleGraphicsLayerScope with InverseLayerScope
2025-09-20 12:24:05 +08:00
Kyant0
1a2e29a07e
Improve performance for matrix inversion
2025-09-20 12:00:59 +08:00
Kyant0
4f6a483c3c
Improve performance for the inverse transformation greatly
2025-09-20 10:49:22 +08:00
Kyant0
a1047ae66a
Improve performance for highlight greatly, update control center demo
2025-09-19 23:15:41 +08:00
Kyant0
b7aa21485f
Optimize for Android 12-, fix content backdrop doesn't have effects
2025-09-19 00:44:17 +08:00
Kyant0
8821cdde60
Remove a mutable state
2025-09-18 21:41:05 +08:00
Kyant0
54e6021697
Add layerBlock for drawBackdrop modifier. Add two demos in catalog
2025-09-18 21:04:57 +08:00
Kyant0
d167fdd576
Update default highlight style
2025-09-18 15:09:42 +08:00
Kyant0
f10e8951e8
buildToolsVersion = "36.1.0"
2025-09-18 14:01:19 +08:00
Kyant0
bf3321b896
Fix shape can't be updated
2025-09-17 19:20:57 +08:00
Kyant0
ce8bfab7ae
Update highlight, fix a crash caused by Compose bug, update bottom tabs
2025-09-17 18:20:48 +08:00
Kyant0
5953764cbb
Use own cache drawing to prevent delegating
2025-09-17 12:54:39 +08:00
Kyant0
71fe874b4e
Update coordinate calculation
2025-09-17 12:02:40 +08:00
Kyant0
1810bc64f3
Update highlight implementation to use BlurMaskFilter
2025-09-17 11:20:29 +08:00
Kyant0
79e69f8137
Emphasize the license
2025-09-16 17:14:13 +08:00
Kyant0
f190d314a8
Rename shaders
2025-09-16 12:08:55 +08:00
Kyant0
d3901e680c
Coerce corner radius to safe value
2025-09-16 12:06:41 +08:00
Kyant0
84e7324cba
Small clean
2025-09-16 11:17:34 +08:00
Kyant0
73bcce5cd8
Small clean
2025-09-16 11:16:49 +08:00
Kyant0
2700c40514
Rename rememberLayerBackdrop with rememberBackdrop, add Modifier.contentBackdrop
2025-09-15 22:37:15 +08:00
Kyant0
7697b3bf97
Fix outline drawing
2025-09-15 19:54:13 +08:00
Kyant0
be0972d81d
Update default highlight falloff
2025-09-15 18:39:51 +08:00