Searched refs:MAX_PREVIEW_SIZE (Results 1 – 4 of 4) sorted by relevance
33 public static final int MAX_PREVIEW_SIZE = GL_SIZE_LIMIT / 2; field in DrawableTileSource43 mPreviewSize = Math.min(previewSize, MAX_PREVIEW_SIZE); in DrawableTileSource()74 while (width > MAX_PREVIEW_SIZE || height > MAX_PREVIEW_SIZE) { in getPreview()
176 defaultWallpaper, DrawableTileSource.MAX_PREVIEW_SIZE); in handleMessage()
52 private static final int MAX_PREVIEW_SIZE = 1024; field in BitmapRegionTileSource82 previewSize = Math.min(previewSize, MAX_PREVIEW_SIZE); in BitmapRegionTileSource()
133 private static final int MAX_PREVIEW_SIZE = GL_SIZE_LIMIT / 2; field in BitmapRegionTileSource157 float scale = (float) MAX_PREVIEW_SIZE / Math.max(width, height); in loadInBackground()