Home
last modified time | relevance | path

Searched refs:MAX_PREVIEW_SIZE (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DDrawableTileSource.java33 public static final int MAX_PREVIEW_SIZE = GL_SIZE_LIMIT / 2; field in DrawableTileSource
43 mPreviewSize = Math.min(previewSize, MAX_PREVIEW_SIZE); in DrawableTileSource()
74 while (width > MAX_PREVIEW_SIZE || height > MAX_PREVIEW_SIZE) { in getPreview()
DWallpaperPickerActivity.java351 defaultWallpaper, DrawableTileSource.MAX_PREVIEW_SIZE); in onClick()
/packages/apps/Gallery2/src/com/android/photos/
DBitmapRegionTileSource.java52 private static final int MAX_PREVIEW_SIZE = 1024; field in BitmapRegionTileSource
82 previewSize = Math.min(previewSize, MAX_PREVIEW_SIZE); in BitmapRegionTileSource()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java153 private static final int MAX_PREVIEW_SIZE = GL_SIZE_LIMIT / 2; field in BitmapRegionTileSource
183 float scale = (float) MAX_PREVIEW_SIZE / Math.max(width, height); in loadInBackground()