Home
last modified time | relevance | path

Searched refs:displaySize (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManagerImpl.java276 Point displaySize = new Point(); in isDefaultToPortrait() local
277 currentDisplay.getSize(displaySize); in isDefaultToPortrait()
281 naturalWidth = displaySize.x; in isDefaultToPortrait()
282 naturalHeight = displaySize.y; in isDefaultToPortrait()
284 naturalWidth = displaySize.y; in isDefaultToPortrait()
285 naturalHeight = displaySize.x; in isDefaultToPortrait()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DDeviceLockedInputConsumer.java221 Rect displaySize = new Rect(0, 0, mDisplaySize.x, mDisplaySize.y); in onRecentsAnimationStart() local
224 mClipAnimationHelper.updateSource(displaySize, targetCompat); in onRecentsAnimationStart()
227 Utilities.scaleRectAboutCenter(displaySize, SCALE_DOWN); in onRecentsAnimationStart()
228 displaySize.offsetTo(displaySize.left, 0); in onRecentsAnimationStart()
229 mClipAnimationHelper.updateTargetRect(displaySize); in onRecentsAnimationStart()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLaunchable.java73 final Point displaySize = mLauncher.getRealDisplaySize(); in dragToWorkspace() local
74 final int width = displaySize.x / 2; in dragToWorkspace()
81 displaySize.y / 2), in dragToWorkspace()
DLauncherInstrumentation.java429 final Point displaySize = getRealDisplaySize(); in pressHome() local
433 displaySize.x / 2, displaySize.y - 1, in pressHome()
434 displaySize.x / 2, 0, in pressHome()
447 displaySize.x / 2, displaySize.y - 1, in pressHome()
448 displaySize.x / 2, 0, in pressHome()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBarManager.java267 final Point displaySize = new Point(); in measureSnackBar() local
268 getWindowManager(snackBar.getContext()).getDefaultDisplay().getSize(displaySize); in measureSnackBar()
270 MeasureSpec.makeMeasureSpec(displaySize.x, MeasureSpec.EXACTLY), in measureSnackBar()
273 MeasureSpec.makeMeasureSpec(displaySize.y, MeasureSpec.EXACTLY), in measureSnackBar()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java194 String displaySize; in byteCountToDisplaySize() local
197 displaySize = String.valueOf(size / ONE_GB) + " GB"; in byteCountToDisplaySize()
199 displaySize = String.valueOf(size / ONE_MB) + " MB"; in byteCountToDisplaySize()
201 displaySize = String.valueOf(size / ONE_KB) + " KB"; in byteCountToDisplaySize()
203 displaySize = String.valueOf(size) + " bytes"; in byteCountToDisplaySize()
205 return displaySize; in byteCountToDisplaySize()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperCropActivity.java361 Point displaySize = new Point(); in cropImageAndSetWallpaper() local
362 d.getSize(displaySize); in cropImageAndSetWallpaper()
363 boolean isPortrait = displaySize.x < displaySize.y; in cropImageAndSetWallpaper()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DNoBackupImageWallpaper.java251 Point displaySize = ScreenSizeCalculator.getInstance().getScreenSize(display); in updateSurfaceSize() local
264 int surfaceWidth = Math.max(displaySize.x, mBackgroundWidth); in updateSurfaceSize()
265 int surfaceHeight = Math.max(displaySize.y, mBackgroundHeight); in updateSurfaceSize()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGuide.java207 Point displaySize = new Point(); in ProgramGuide() local
208 mActivity.getWindowManager().getDefaultDisplay().getSize(displaySize); in ProgramGuide()
210 displaySize.x in ProgramGuide()
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java302 Point displaySize = new Point(); in onCreate() local
304 .getDefaultDisplay().getSize(displaySize); in onCreate()