Home
last modified time | relevance | path

Searched refs:ScreenSizeCalculator (Results 1 – 8 of 8) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DScreenSizeCalculator.java29 public class ScreenSizeCalculator { class
33 private static ScreenSizeCalculator sInstance;
38 public static ScreenSizeCalculator getInstance() { in getInstance()
40 sInstance = new ScreenSizeCalculator(); in getInstance()
DTileSizeCalculator.java156 Point screenSizePx = ScreenSizeCalculator.getInstance().getScreenSize(display); in getTileSize()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPreviewBitmapTransformation.java23 import com.android.wallpaper.util.ScreenSizeCalculator;
48 ScreenSizeCalculator.getInstance().getScreenSize(windowManager.getDefaultDisplay()); in WallpaperPreviewBitmapTransformation()
DImagePreviewFragment.java42 import com.android.wallpaper.util.ScreenSizeCalculator;
108 mScreenSize = ScreenSizeCalculator.getInstance().getScreenSize( in onCreateView()
320 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(defaultDisplay); in calculateCropRect()
DCategoryFragment.java71 import com.android.wallpaper.util.ScreenSizeCalculator;
353 Point screenSize = ScreenSizeCalculator.getInstance() in getSingleWallpaperImageWidth()
656 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in TwoWallpapersMetadataHolder()
DTopLevelPickerActivity.java80 import com.android.wallpaper.util.ScreenSizeCalculator;
433 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in getSingleWallpaperImageWidthPx()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java59 import com.android.wallpaper.util.ScreenSizeCalculator;
368 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in testClickSetWallpaper_CropsAndScalesWallpaper()
415 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in testSetsDefaultWallpaperZoomAndScroll()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java47 import com.android.wallpaper.util.ScreenSizeCalculator;
111 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in setIndividualWallpaper()
144 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in setIndividualWallpaperWithPosition()