Commit Graph
239 Commits
Author SHA1 Message Date
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 8785ad08ce Add docs link 2025-09-16 00:14:55 +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 4ba62d75ea Fix wrong bottom tabs shape 2025-09-15 18:40:02 +08:00
Kyant0 be0972d81d Update default highlight falloff 2025-09-15 18:39:51 +08:00
Kyant0 de945ad2b5 Use Android APIs 2025-09-15 18:01:32 +08:00
Kyant0 f9ea321205 Add onDrawBehind 2025-09-15 12:57:54 +08:00
Kyant0 11f68a363b Add bottom tabs in catalog, delete glass music demo 2025-09-15 12:50:41 +08:00
Kyant0 016a140891 Update dispersion shader 2025-09-15 11:39:24 +08:00
Kyant0 29a733d547 Improve performance for refractionWithDispersion 2025-09-15 11:22:40 +08:00
Kyant0 8f4cbb3aa7 Update rounded rectangle SDF with four corner radius 2025-09-15 11:14:56 +08:00
Kyant0 27cbc2aa23 Simplify code 2025-09-15 00:43:52 +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
Kyant0 0a392ee43d Rename drawChild with drawBackdrop in Backdrop 2025-09-13 18:19:45 +08:00
Kyant0 2ce6910a99 Rename saturate with saturation 2025-09-13 17:28:28 +08:00
Kyant0 bbca9c23d4 New Backdrop API, deprecate liquid-glass module 2025-09-13 17:15:34 +08:00
Kyant0 3e66f84d9b Add new blur module 2025-09-13 11:14:56 +08:00
Kyant0 3eaf794064 Add new backdrop module 2025-09-13 10:23:13 +08:00
Kyant0 090374a06d New Backdrop API to replace LiquidGlassProviderState 2025-09-13 00:43:24 +08:00
Kyant0 118fee0b0a New BackdropDrawScope API to replace transformBlock and provide more flexible drawing.
To migrate, replace `scale(scaleX, scaleY, Offset.Zero)` with `scale(scaleX, scaleY, Offset.Zero) { this@liquidGlass.drawBackdrop() }`.

You can draw additional things on the glass with refraction effect.
2025-09-12 23:53:22 +08:00
Kyant0 93227fb6a7 New BackdropDrawScope API to replace transformBlock and provide more flexible drawing.
To migrate, replace `scale(scaleX, scaleY, Offset.Zero)` with `scale(scaleX, scaleY, Offset.Zero) { this@liquidGlass.drawBackdrop() }`.

You can draw additional things on the glass with refraction effect.
2025-09-12 23:52:13 +08:00
Kyant0 7f0c4b49e6 More bouncy bottom bar in music demo 2025-09-12 23:08:49 +08:00
Kyant0 e2f5f16fec More bouncy bottom bar in music demo 2025-09-12 23:07:06 +08:00
Kyant0 9202d30a43 Use delegating node 2025-09-12 22:35:47 +08:00
Kyant0 6305d83046 Mask out the shadow under the glass, the shadow won't affect transparent content. 2025-09-12 22:31:21 +08:00
Kyant0 c3c023dfcc Fix a small performance regression 2025-09-12 21:03:08 +08:00
Kyant0 dec4ce41f5 Fix #19 2025-09-12 20:47:34 +08:00
Kyant0 69be4233ea Fix #19 2025-09-12 20:42:32 +08:00
Kyant0 11f1575e67 Fix dispersion doesn't take effect in block modifier variant, extract common code 2025-09-12 14:41:47 +08:00
Kyant0 e9b69a6206 Don't cache highlight shader 2025-09-12 14:26:18 +08:00
Kyant0 2815d8d7ed Update highlight APIs 2025-09-12 14:21:11 +08:00
Kyant0 d07e755fd6 Update default highlight color and default material color filter 2025-09-12 14:07:34 +08:00
Kyant0 78d4393908 Update highlight shader algorithm 2025-09-12 13:51:46 +08:00
Kyant0 80562325cf Rename decay to falloff in GlassHighlight.Dynamic, update docs 2025-09-12 13:05:35 +08:00
Kyant0 3966c1be60 Add toggle for dispersion in playground app 2025-09-12 11:21:28 +08:00
Kyant0 e9da3e9238 Update dependencies 2025-09-12 10:53:29 +08:00
Kyant0 6504aabeef Add dispersion effect 2025-09-12 10:52:37 +08:00
Kyant0 52378a1d54 Update docs 2025-09-08 19:40:57 +08:00
Kyant0 5e4b0fb9b6 Update docs 2025-09-08 19:40:43 +08:00
Kyant0 054f8a9cb5 Update docs 2025-09-08 19:37:56 +08:00
Kyant0 7263d5d875 Use Float.dp instead of Int.dp 2025-09-08 14:27:16 +08:00
Kyant0 8bb42cdd47 Add simple modifier elements without observer to improve performance 2025-09-08 14:25:03 +08:00
Kyant0 9ffde7dc1e Remove LuminanceSampler APIs, don't cache too many things in modifier nodes 2025-09-08 14:07:17 +08:00
Kyant0 fd55f936e9 Update AGP to 8.13.0 2025-09-05 15:28:12 +08:00
Kyant0 0f63f35f55 Fix highlight update 2025-09-02 18:08:16 +08:00