mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
d4100bec4251566bb7cc22ef3510fe12ec194c09
Fixes an issue where leaving All Apps did not reverse interpolators, causing blur to disappear too quickly. In addition, the logic in BaseDepthController is updated to ensure 100% blur is applied upon reaching max depth. Previously we were multiplying the depth by 3, but the intention was to reach 1 when depth reached 0.3. So the blur was only at 90% the intended value in All Apps (which has a depth of 0.3). Finally, related to the 100% blur, we correctly end early wakeup when that is reached, which means we also start it again when the blur starts changing back towards 0 again. This spins up the GPU, CPU, and SurfaceFlinger and should help avoid missed frames. In order to avoid negative performance hits, reducing the max blur radius from 34dp to 30dp, so that it matches what we were hitting previously. (The full 34dp unfortunately does cause some regressions). Bug: 415247657 Test: Open all apps, drag back down, view animation. Also try other Launcher state transitions. Flag: com.android.launcher3.all_apps_blur Change-Id: Ia5daa07525ac96c0597a25bb4320348f27a4ee56
Languages
Java
73.1%
Kotlin
26.5%
AIDL
0.3%
Python
0.1%