Stop using a separate ImageView for default wallpaper
Fixes janky transition when going from default wallpaper to another wallpaper Bug: 11278179 Change-Id: I738d1ae7bbc5e2d139a084e721b53fed9008367f
This commit is contained in:
1 parent
3d7f086f6a
commit
83699e56be
4 files changed
+116
-26
No files matched your search
@@ -55,7 +55,7 @@ public class BitmapRegionTileSource implements TiledImageRenderer.TileSource {
|
||||
private static final int GL_SIZE_LIMIT = 2048;
|
||||
// This must be no larger than half the size of the GL_SIZE_LIMIT
|
||||
// due to decodePreview being allowed to be up to 2x the size of the target
|
||||
private static final int MAX_PREVIEW_SIZE = 1024;
|
||||
public static final int MAX_PREVIEW_SIZE = GL_SIZE_LIMIT / 2;
|
||||
|
||||
public static abstract class BitmapSource {
|
||||
private BitmapRegionDecoder mDecoder;
|
||||
|
||||
Reference in new issue
Block a user