+6
−0
weathereffects/graphics/src/main/java/com/android/wallpaper/weathereffects/graphics/WeatherEffect.kt
+11
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Replace centerCropMatrix with customCropMatrix To avoid creating a very large FrameBuffer caused by scaling up the bitmap too much, instead, we change the FrameBuffer size from bitmapScale * bitmapSize to bitmap, and only create new FrameBuffer when bitmap changes. Bug: 435215686 Bug: 417165168 Test: manual test on flag on and off Flag: com.android.systemui.shared.pan_and_zoom_in_extended_wallpaper_effects Change-Id: I8cfa40b0717b50e69ea79b507583443054fe1594