Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DScreenSizeCalculator.java31 public class ScreenSizeCalculator { class
35 private static ScreenSizeCalculator sInstance;
40 public static ScreenSizeCalculator getInstance() { in getInstance()
42 sInstance = new ScreenSizeCalculator(); in getInstance()
DSizeCalculator.java266 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in getPreviewCornerRadius()
282 Point screenSizePx = ScreenSizeCalculator.getInstance().getScreenSize(display); in getTileSize()
DWallpaperConnection.java506 ScreenSizeCalculator screenSizeCalculator = ScreenSizeCalculator.getInstance(); in getDisplayMetrics()
DWallpaperCropUtils.java303 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in calculateCropRect()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/
DClockHostView.kt8 import com.android.wallpaper.util.ScreenSizeCalculator
31 val screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display) in onMeasure()
46 val screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display) in measureChildWithMargins()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/view/
DPreviewCardView.kt23 import com.android.wallpaper.util.ScreenSizeCalculator
39 val screenHeight = ScreenSizeCalculator.getInstance().getScreenHeight(context) in onMeasure()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DDisplayAspectRatioFrameLayout.kt24 import com.android.wallpaper.util.ScreenSizeCalculator in <lambda>()
37 val screenAspectRatio = ScreenSizeCalculator.getInstance().getScreenAspectRatio(context) in <lambda>()
DFixedWidthDisplayRatioFrameLayout.kt24 import com.android.wallpaper.util.ScreenSizeCalculator in <lambda>()
36 val screenAspectRatio = ScreenSizeCalculator.getInstance().getScreenAspectRatio(context) in <lambda>()
DDisplayAspectRatioLinearLayout.kt25 import com.android.wallpaper.util.ScreenSizeCalculator in <lambda>()
39 val screenAspectRatio = ScreenSizeCalculator.getInstance().getScreenAspectRatio(context) in <lambda>()
DWallpaperPreviewBitmapTransformation.java27 import com.android.wallpaper.util.ScreenSizeCalculator;
48 ScreenSizeCalculator.getInstance().getScreenSize(windowManager.getDefaultDisplay()); in WallpaperPreviewBitmapTransformation()
DImagePreviewFragment.java73 import com.android.wallpaper.util.ScreenSizeCalculator;
153 ScreenSizeCalculator screenSizeCalculator = ScreenSizeCalculator.getInstance(); in onCreateView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DWallpaperColorsLoader.java32 import com.android.wallpaper.util.ScreenSizeCalculator;
58 Point screen = ScreenSizeCalculator.getInstance().getScreenSize(display); in getWallpaperColors()
DLockScreenPreviewer.java40 import com.android.wallpaper.util.ScreenSizeCalculator;
73 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(defaultDisplay); in LockScreenPreviewer()
DPreviewPager.java41 import com.android.wallpaper.util.ScreenSizeCalculator;
124 Point screenSize = ScreenSizeCalculator.getInstance() in PreviewPager()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DAsset.java42 import com.android.wallpaper.util.ScreenSizeCalculator;
369 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(defaultDisplay); in loadPreviewImage()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java62 import com.android.wallpaper.util.ScreenSizeCalculator;
408 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in testClickSetWallpaper_CropsAndScalesWallpaper()
467 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in testSetsDefaultWallpaperZoomAndScroll()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java53 import com.android.wallpaper.util.ScreenSizeCalculator;
146 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in setIndividualWallpaper()
310 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(croppingDisplay); in cropAndSetWallpaperBitmapInRotationStatic()
/packages/apps/ThemePicker/src/com/android/customization/module/
DThemePickerInjector.kt82 import com.android.wallpaper.util.ScreenSizeCalculator in <lambda>()
381 ScreenSizeCalculator.getInstance() in <lambda>()