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()
DFullScreenAnimation.java361 ScreenSizeCalculator screenSizeCalculator = ScreenSizeCalculator.getInstance(); in startAnimation()
DSizeCalculator.java245 Point screenSizePx = ScreenSizeCalculator.getInstance().getScreenSize(display); in getTileSize()
DWallpaperCropUtils.java289 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in calculateCropRect()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperSectionView.java26 import com.android.wallpaper.util.ScreenSizeCalculator;
60 ScreenSizeCalculator.getInstance().getScreenAspectRatio(getContext()); in matchDeviceShape()
DWallpaperPreviewBitmapTransformation.java27 import com.android.wallpaper.util.ScreenSizeCalculator;
48 ScreenSizeCalculator.getInstance().getScreenSize(windowManager.getDefaultDisplay()); in WallpaperPreviewBitmapTransformation()
DLivePreviewFragment.java71 import com.android.wallpaper.util.ScreenSizeCalculator;
165 mScreenSize = ScreenSizeCalculator.getInstance().getScreenSize( in onCreateView()
DImagePreviewFragment.java70 import com.android.wallpaper.util.ScreenSizeCalculator;
139 mScreenSize = ScreenSizeCalculator.getInstance().getScreenSize( in onCreateView()
DTopLevelPickerActivity.java82 import com.android.wallpaper.util.ScreenSizeCalculator;
455 ScreenSizeCalculator.getInstance().getScreenAspectRatio(this); in getSingleWallpaperImageWidthPx()
/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/module/
DDefaultWallpaperPersister.java49 import com.android.wallpaper.util.ScreenSizeCalculator;
114 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in setIndividualWallpaper()
147 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in setIndividualWallpaperWithPosition()
433 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in cropAndSetWallpaperBitmapInRotationStatic()
DWallpaperSetter.java31 import com.android.wallpaper.util.ScreenSizeCalculator;
90 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(defaultDisplay); in setCurrentWallpaper()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DWallpaperPreviewer.java39 import com.android.wallpaper.util.ScreenSizeCalculator;
232 ScreenSizeCalculator.getInstance().getScreenAspectRatio(mActivity); in updatePreviewCardRadius()
/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/asset/
DAsset.java39 import com.android.wallpaper.util.ScreenSizeCalculator;
291 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(defaultDisplay); in loadPreviewImage()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemeOptionPreviewer.java53 import com.android.wallpaper.util.ScreenSizeCalculator;
124 ScreenSizeCalculator.getInstance().getScreenAspectRatio(mContext); in ThemeOptionPreviewer()