Commit Graph
198 Commits
Author SHA1 Message Date
Kyant0 0251265eca Update bottom tabs 2025-09-25 20:06:02 +08:00
Kyant0 cb36cb96be compose = "1.9.2" 2025-09-25 11:29:58 +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 422423aed1 Delete legacy docs 2025-09-23 21:07:23 +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 2bc3c70991 Remove app and liquid-glass modules 2025-09-21 15:34:24 +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 a808d613cb Add scroll container demos 2025-09-20 13:14:12 +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 65537b3a5f Gradle 9.1.0 2025-09-20 10:43:56 +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 dfefe5ea50 Update docs link description 2025-09-18 21:18:42 +08:00
Kyant0 54e6021697 Add layerBlock for drawBackdrop modifier. Add two demos in catalog 2025-09-18 21:04:57 +08:00
Kyant0 417628093f Fix bottom tabs padding issue 2025-09-18 15:17:01 +08:00
Kyant0 74bd6dfe38 Update catalog 2025-09-18 15:10:42 +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 4d00ee3062 Reduce sensor sampling frequency 2025-09-17 20:10:39 +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