andrew
05/06/2022, 2:00 PMColton Idle
05/06/2022, 2:13 PMandrew
05/06/2022, 2:13 PMandrew
05/06/2022, 2:14 PMAlbert Chang
05/06/2022, 4:13 PMView.draw()
+ RenderScript method, which I think is unlikely to get mature due to the severe performance issue and compatibility issue (from my real experience 🙃).andrew
05/06/2022, 4:15 PMandrew
05/06/2022, 4:16 PMAlbert Chang
05/06/2022, 4:27 PMColton Idle
05/06/2022, 4:29 PMandrew
05/06/2022, 4:29 PMandrew
05/06/2022, 4:31 PMromainguy
05/06/2022, 5:07 PMromainguy
05/06/2022, 5:08 PMandrew
05/06/2022, 5:08 PMandrew
05/06/2022, 5:09 PMandrew
05/06/2022, 5:09 PMChachako
05/06/2022, 5:34 PMRenderEffect
, @Nader Jawad made a demo before but I’m not sure when it will be available 😶andrew
05/06/2022, 6:05 PMromainguy
05/06/2022, 6:12 PMRenderEffect
type like in Compose Desktopromainguy
05/06/2022, 6:12 PMandrew
05/06/2022, 6:13 PMromainguy
05/06/2022, 6:13 PMromainguy
05/06/2022, 6:14 PMromainguy
05/06/2022, 6:15 PMandrew
05/06/2022, 6:15 PMromainguy
05/06/2022, 6:15 PMromainguy
05/06/2022, 6:15 PMromainguy
05/06/2022, 6:16 PMandrew
05/06/2022, 6:16 PMromainguy
05/06/2022, 6:16 PMromainguy
05/06/2022, 6:16 PMromainguy
05/06/2022, 6:16 PMromainguy
05/06/2022, 6:17 PMromainguy
05/06/2022, 6:17 PMColton Idle
05/06/2022, 6:17 PMNader Jawad
05/06/2022, 6:18 PMromainguy
05/06/2022, 6:18 PMHARDWARE
config, get a Surface
for it via an ImageReader
, create a hardware accelerated Canvas
from that surface, and at least you can use GPU rendering and stay on the GPU for the blur effectromainguy
05/06/2022, 6:18 PMChachako
05/06/2022, 6:20 PMblur
modifier is just the blur component itself. So all I’m doing is verifying the possibility of implementing older versions with background blur on Compose, and blurring the background with window blur on 12+ is something I’ll be working on later.
To put it simply, compatibility is necessary because in many old view system applications use things like RealtimeBlur (like Telegram, QQ) and they have always worked fine, but migrating them to Compose system is a challenge and that’s what I’m doing 😄romainguy
05/06/2022, 6:21 PMromainguy
05/06/2022, 6:21 PMromainguy
05/06/2022, 6:22 PMandrew
05/06/2022, 6:22 PMromainguy
05/06/2022, 6:22 PMChachako
05/06/2022, 6:22 PMandrew
05/06/2022, 6:22 PMromainguy
05/06/2022, 6:23 PMromainguy
05/06/2022, 6:23 PMandrew
05/06/2022, 6:23 PMromainguy
05/06/2022, 6:23 PMromainguy
05/06/2022, 6:23 PMromainguy
05/06/2022, 6:24 PMromainguy
05/06/2022, 6:24 PMromainguy
05/06/2022, 6:24 PMromainguy
05/06/2022, 6:25 PMromainguy
05/06/2022, 6:25 PMromainguy
05/06/2022, 6:26 PMromainguy
05/06/2022, 6:26 PMChachako
05/06/2022, 6:26 PMandrew
05/06/2022, 6:27 PMandrew
05/06/2022, 6:27 PMandrew
05/06/2022, 6:27 PMromainguy
05/06/2022, 6:27 PMandrew
05/06/2022, 6:27 PMromainguy
05/06/2022, 6:27 PMromainguy
05/06/2022, 6:28 PMromainguy
05/06/2022, 6:29 PMandrew
05/06/2022, 6:30 PMChachako
05/06/2022, 6:30 PMandrew
05/06/2022, 6:31 PMromainguy
05/06/2022, 6:31 PMromainguy
05/06/2022, 6:32 PMandrew
05/06/2022, 6:32 PMandrew
05/06/2022, 6:32 PMromainguy
05/06/2022, 6:32 PMromainguy
05/06/2022, 6:32 PMandrew
05/06/2022, 6:32 PMandrew
05/06/2022, 6:33 PMandrew
05/06/2022, 6:33 PMChachako
05/06/2022, 6:34 PMandrew
05/06/2022, 6:34 PMChachako
05/06/2022, 6:35 PMromainguy
05/06/2022, 6:36 PMromainguy
05/06/2022, 6:36 PMgraphicsLayer
and setting its renderEffect
to the blur effectandrew
05/06/2022, 6:36 PMandrew
05/06/2022, 6:36 PMromainguy
05/06/2022, 6:37 PMromainguy
05/06/2022, 6:37 PMandrew
05/06/2022, 6:37 PMromainguy
05/06/2022, 6:37 PMandrew
05/06/2022, 6:38 PMandrew
05/06/2022, 6:39 PMandrew
05/06/2022, 6:39 PMChachako
05/06/2022, 6:39 PMandrew
05/06/2022, 6:39 PMromainguy
05/06/2022, 6:40 PMChachako
05/06/2022, 6:54 PMandrew
05/06/2022, 6:55 PMChachako
05/06/2022, 6:56 PMandrew
05/06/2022, 6:56 PMandrew
05/06/2022, 6:56 PMChachako
05/06/2022, 6:59 PMandrew
05/06/2022, 7:00 PMromainguy
05/06/2022, 7:00 PMromainguy
05/06/2022, 7:00 PMChachako
05/06/2022, 7:02 PMromainguy
05/06/2022, 7:03 PMChachako
05/06/2022, 7:04 PMandrew
05/06/2022, 7:05 PMromainguy
05/06/2022, 7:05 PMChachako
05/06/2022, 7:06 PMromainguy
05/06/2022, 7:06 PMChris Sinco [G]
05/06/2022, 9:51 PMExactly, stuff like this is kinda high demand for some users, even if it’s niche
I’ve had designers/product up my ass asking before “where’s the blur” etcIn my humble designer opinion, in most cases with blur, it’s purely an aesthetic decision/approach which happens to be the hot trend due to iOS. From a design POV, one can achieve the same meaning of depth/hierarchy with scrims/transparency with no blur (which is arguably why Material doesn’t necessarily have blur in their design guidelines). I would argue this is really iOS design creeping into Android, versus designing to Android. I realize many have tried to fight this battle with designers/product in the past to no avail so I’m probably not being helpful.
Chris Sinco [G]
05/06/2022, 9:52 PMandrew
05/06/2022, 9:55 PMChris Sinco [G]
05/06/2022, 9:59 PMandrew
05/06/2022, 10:12 PMandrew
05/06/2022, 10:25 PMandrew
05/06/2022, 10:27 PMandrew
05/06/2022, 10:28 PMFunkyMuse
05/06/2022, 10:40 PMandrew
05/06/2022, 10:41 PMandrew
05/06/2022, 10:41 PMFunkyMuse
05/06/2022, 10:45 PMandrew
05/06/2022, 10:47 PMFunkyMuse
05/06/2022, 11:15 PMChris Sinco [G]
05/06/2022, 11:29 PMIt’s nice that compose lets us make our own design systems and what not, I guess having something like background blues would enable even more flexibilityYeah I don’t disagree (we have the same issue with shadows not being flexible enough 🙂). But to Romain’s points above, it will require much more investment and changes in the lower levels of the Android graphics stack to really pull off blur for both Views and Compose (same with shadows).
andrew
05/06/2022, 11:30 PMandrew
05/06/2022, 11:31 PMromainguy
05/06/2022, 11:31 PMandrew
05/06/2022, 11:32 PMromainguy
05/06/2022, 11:32 PMromainguy
05/06/2022, 11:32 PMandrew
05/06/2022, 11:33 PMandrew
05/06/2022, 11:33 PMromainguy
05/06/2022, 11:33 PMromainguy
05/06/2022, 11:33 PMromainguy
05/06/2022, 11:34 PMromainguy
05/06/2022, 11:34 PMandrew
05/06/2022, 11:35 PMandrew
05/06/2022, 11:35 PMandrew
05/06/2022, 11:36 PMromainguy
05/06/2022, 11:36 PMNader Jawad
05/06/2022, 11:38 PMNader Jawad
05/06/2022, 11:39 PMromainguy
05/06/2022, 11:39 PMChachako
05/07/2022, 8:05 AMin most cases with blur, it’s purely an aesthetic decision/approach which happens to be the hot trend due to iOSThis is true, everyone has a different aesthetic, so it makes sense that most people like to blur such designs, but such designs shouldn’t be banned (not a technical argument), in many design communities nowadays (such as Dribbble) you will find most designs leaning towards the iOS style, but I don’t think this is infiltration of iOS, it’s just that certain people might be more accepting of such things, they think The iOS style suits them better, and also their design inspirations derive from it. Also, blurring is not proprietary to iOS, it just brings such a design to mobile (maybe? I’m not sure), and like Neumorphism UI. So everyone has different preferences, just like you may like dogs but I like cats 😜, there’s nothing wrong with someone liking the design of iOS~ in short, the style of third party apps shouldn’t be fixed by the system either, just like I can easily implement Material Design in iOS (BTW, I hate that huge FAB in the material.io promo picture)
Albert Chang
05/07/2022, 8:18 AMandrew
05/07/2022, 6:39 PMandrew
05/07/2022, 6:40 PMandrew
05/07/2022, 6:41 PMromainguy
05/07/2022, 6:42 PMromainguy
05/07/2022, 6:42 PMandrew
05/07/2022, 6:44 PMromainguy
05/07/2022, 6:44 PMromainguy
05/07/2022, 6:45 PMromainguy
05/07/2022, 6:45 PMromainguy
05/07/2022, 6:45 PMandrew
05/07/2022, 6:45 PMandrew
05/07/2022, 6:45 PMChachako
05/07/2022, 6:46 PMromainguy
05/07/2022, 6:46 PMromainguy
05/07/2022, 6:46 PMandrew
05/07/2022, 6:47 PMandrew
05/07/2022, 6:47 PMChachako
05/07/2022, 6:50 PMI think the compromise here would be making it easier to do things such as this by providing the internals required for not only realtime blur but other render effects to be implemented as efficiently as possible
I was a little slow. I was answering that 🤣
Colton Idle
05/07/2022, 7:01 PMColton Idle
05/07/2022, 7:01 PMColton Idle
05/07/2022, 7:01 PMChachako
05/07/2022, 7:06 PMmgrazianodecastro
09/05/2022, 2:00 AMandrew
09/05/2022, 4:55 PMmgrazianodecastro
09/05/2022, 6:18 PMhttps://c.tenor.com/OB8Djjv6BLkAAAAC/300.gif▾
mgrazianodecastro
09/25/2022, 2:14 AMandrew
09/26/2022, 11:46 PMmgrazianodecastro
09/27/2022, 2:44 AMandrew
02/06/2023, 10:33 PMmgrazianodecastro
02/06/2023, 10:34 PMromainguy
02/06/2023, 10:42 PMandrew
02/06/2023, 10:42 PMmgrazianodecastro
02/06/2023, 10:46 PMkenkyee
02/15/2023, 7:17 PMmgrazianodecastro
02/15/2023, 7:17 PMmgrazianodecastro
02/15/2023, 7:19 PMChris Sinco [G]
02/15/2023, 9:40 PMHow does iOS make background blur efficient enough to use everywhere?My take is that blur as a design concept was decided to be used everywhere in their apps and design language, and so the platform team prioritized making that possible so every app could do it efficiently
Chris Sinco [G]
02/15/2023, 9:41 PMChris Sinco [G]
02/15/2023, 9:44 PMkenkyee
02/15/2023, 9:47 PMromainguy
02/15/2023, 9:47 PMromainguy
02/15/2023, 9:48 PMmgrazianodecastro
02/15/2023, 9:55 PMandrew
02/16/2023, 12:19 AMColton Idle
02/16/2023, 1:00 AMromainguy
02/16/2023, 1:01 AMromainguy
02/16/2023, 1:01 AMromainguy
02/16/2023, 1:01 AMandrew
11/05/2023, 3:46 AMromainguy
11/05/2023, 3:55 AMandrew
11/05/2023, 3:58 AMromainguy
11/05/2023, 3:59 AMandrew
11/05/2023, 4:00 AMromainguy
11/05/2023, 4:00 AMandrew
11/05/2023, 4:00 AMandrew
11/05/2023, 4:01 AMandrew
11/05/2023, 4:02 AMandrew
11/05/2023, 4:02 AMandrew
11/05/2023, 4:04 AM