Commit Graph
154 Commits
Author SHA1 Message Date
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
Kyant0 9dcfa0aa8c Update banner 2025-09-16 23:28:12 +08:00
Kyant0 bf9b341c80 Add banner 2025-09-16 23:11:11 +08:00
Kyant0 79e69f8137 Emphasize the license 2025-09-16 17:14:13 +08:00
Kyant0 380b53c3f0 Bump to 1.0.0-alpha11 2025-09-16 15:50:37 +08:00
Kyant0 3e7f246dca Update code for old APIs to make it work 2025-09-16 15:44:52 +08:00
Kyant0 7049081d54 Rearrange sections 2025-09-16 15:04:34 +08:00
Kyant0 5313ad8939 Move previous docs to legacy docs 2025-09-16 15:01:58 +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 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