Commit Graph
28 Commits
Author SHA1 Message Date
Kyant0 0251265eca Update bottom tabs 2025-09-25 20:06:02 +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 11312bb028 Reorder params of Modifier.drawBackdrop 2025-09-24 16:05:24 +08:00
Kyant0 1181945c4b Fix highlight canvas doesn't restore clip 2025-09-23 13:59:11 +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 9d33570561 Update Highlight and Shadow APIs. Support ambient highlight 2025-09-22 15:16:04 +08:00
Kyant0 12ea7d2357 Add slider demo 2025-09-21 17:23:14 +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 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 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 4d00ee3062 Reduce sensor sampling frequency 2025-09-17 20:10:39 +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 2700c40514 Rename rememberLayerBackdrop with rememberBackdrop, add Modifier.contentBackdrop 2025-09-15 22:37:15 +08:00
Kyant0 4ba62d75ea Fix wrong bottom tabs shape 2025-09-15 18:40:02 +08:00
Kyant0 11f68a363b Add bottom tabs in catalog, delete glass music demo 2025-09-15 12:50:41 +08:00
Kyant0 aef7990fb1 More bouncy control center 2025-09-14 23:50:07 +08:00
Kyant0 584ca32137 Fix crash for the negative blur radius 2025-09-14 23:26:35 +08:00
Kyant0 370cb51cb5 Add control center expanding gesture 2025-09-14 23:20:09 +08:00
Kyant0 256331232b Refactor Backdrop API to be more friendly to use. Add a catalog demo. 2025-09-14 22:50:17 +08:00