Commit Graph
123 Commits
Author SHA1 Message Date
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
Kyant0 28f28b9811 Fix default depth effect value 2025-09-02 17:53:44 +08:00
Kyant0 5c0514fe5b Add transformBlock param to liquidGlass modifiers 2025-08-21 09:51:51 +08:00
Kyant0 d1953995f9 Update dependencies 2025-08-21 09:47:02 +08:00
Kyant0 6bab19e863 Fix highlights can't be updated 2025-08-16 00:01:21 +08:00
Kyant0 5dad725354 Update dependencies to use stable version 2025-08-14 09:44:18 +08:00
Kyant0 866cf16436 Update shadow API to use drop shadow 2025-08-14 00:59:08 +08:00
Kyant0 90e7e2b525 Update unmodified brightness to 0f 2025-08-13 17:38:26 +08:00
Kyant0 aa4dbdf592 Fix DefaultColorFilter 2025-08-13 13:09:01 +08:00
Kyant0 aed978a04a Add new simpleColorFilter(brightness, contrast, saturation) function, deprecate saturationColorFilter(saturation) function
Update default color filter to `contrast = 1.5f, saturation = 1.5f`
2025-08-13 12:38:53 +08:00
Kyant0 bccee2895c Delete Compat.kt 2025-08-12 16:48:45 +08:00
Kyant0 f9aa572d6d Update default depth effect to 0f to match iOS 26 beta 6 2025-08-12 13:59:31 +08:00
Kyant0 84456cbe04 Remove all 3rd-party libraries in glassmusic demo, it doesn't depend on any UI libraries any more. Fixed #12 2025-08-09 15:28:49 +08:00
Kyant0 935693f852 Fix update of GlassShadow 2025-08-06 12:16:19 +08:00
Kyant0 721b48af40 Add GlassShadow, update default highlight to use Plus blend mode 2025-08-06 12:08:47 +08:00
Kyant0 2de499019b Reset GlassHighlightNode cache on detach, fixed #4 2025-08-04 18:32:21 +08:00
Kyant0 a0595c0af2 Update dependencies 2025-08-02 10:11:20 +08:00