Searched refs:ScreenSizeCalculator (Results 1 – 18 of 18) sorted by relevance
31 public class ScreenSizeCalculator { class35 private static ScreenSizeCalculator sInstance;40 public static ScreenSizeCalculator getInstance() { in getInstance()42 sInstance = new ScreenSizeCalculator(); in getInstance()
266 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in getPreviewCornerRadius()282 Point screenSizePx = ScreenSizeCalculator.getInstance().getScreenSize(display); in getTileSize()
506 ScreenSizeCalculator screenSizeCalculator = ScreenSizeCalculator.getInstance(); in getDisplayMetrics()
303 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in calculateCropRect()
8 import com.android.wallpaper.util.ScreenSizeCalculator31 val screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display) in onMeasure()46 val screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display) in measureChildWithMargins()
23 import com.android.wallpaper.util.ScreenSizeCalculator39 val screenHeight = ScreenSizeCalculator.getInstance().getScreenHeight(context) in onMeasure()
24 import com.android.wallpaper.util.ScreenSizeCalculator in <lambda>()37 val screenAspectRatio = ScreenSizeCalculator.getInstance().getScreenAspectRatio(context) in <lambda>()
24 import com.android.wallpaper.util.ScreenSizeCalculator in <lambda>()36 val screenAspectRatio = ScreenSizeCalculator.getInstance().getScreenAspectRatio(context) in <lambda>()
25 import com.android.wallpaper.util.ScreenSizeCalculator in <lambda>()39 val screenAspectRatio = ScreenSizeCalculator.getInstance().getScreenAspectRatio(context) in <lambda>()
27 import com.android.wallpaper.util.ScreenSizeCalculator;48 ScreenSizeCalculator.getInstance().getScreenSize(windowManager.getDefaultDisplay()); in WallpaperPreviewBitmapTransformation()
73 import com.android.wallpaper.util.ScreenSizeCalculator;153 ScreenSizeCalculator screenSizeCalculator = ScreenSizeCalculator.getInstance(); in onCreateView()
32 import com.android.wallpaper.util.ScreenSizeCalculator;58 Point screen = ScreenSizeCalculator.getInstance().getScreenSize(display); in getWallpaperColors()
40 import com.android.wallpaper.util.ScreenSizeCalculator;73 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(defaultDisplay); in LockScreenPreviewer()
41 import com.android.wallpaper.util.ScreenSizeCalculator;124 Point screenSize = ScreenSizeCalculator.getInstance() in PreviewPager()
42 import com.android.wallpaper.util.ScreenSizeCalculator;369 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(defaultDisplay); in loadPreviewImage()
62 import com.android.wallpaper.util.ScreenSizeCalculator;408 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in testClickSetWallpaper_CropsAndScalesWallpaper()467 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in testSetsDefaultWallpaperZoomAndScroll()
53 import com.android.wallpaper.util.ScreenSizeCalculator;146 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in setIndividualWallpaper()310 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(croppingDisplay); in cropAndSetWallpaperBitmapInRotationStatic()
82 import com.android.wallpaper.util.ScreenSizeCalculator in <lambda>()381 ScreenSizeCalculator.getInstance() in <lambda>()