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.java222 Rect displaySize = new Rect(0, 0, mDisplaySize.x, mDisplaySize.y); in onRecentsAnimationStart() local
225 mClipAnimationHelper.updateSource(displaySize, targetCompat); in onRecentsAnimationStart()
228 Utilities.scaleRectAboutCenter(displaySize, SCALE_DOWN); in onRecentsAnimationStart()
229 displaySize.offsetTo(displaySize.left, 0); in onRecentsAnimationStart()
230 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.java549 final Point displaySize = getRealDisplaySize(); in pressHome() local
553 displaySize.x / 2, displaySize.y - 1, in pressHome()
554 displaySize.x / 2, 0, in pressHome()
571 displaySize.x / 2, displaySize.y - 1, in pressHome()
572 displaySize.x / 2, 0, in pressHome()
DWidgets.java87 final Point displaySize = mLauncher.getRealDisplaySize(); in getWidget() local
106 displaySize.y - mLauncher.getBottomGestureSize()) { in getWidget()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBarManager.java288 final Point displaySize = new Point(); in measureSnackBar() local
289 getWindowManager(snackBar.getContext()).getDefaultDisplay().getSize(displaySize); in measureSnackBar()
291 MeasureSpec.makeMeasureSpec(displaySize.x, MeasureSpec.EXACTLY), in measureSnackBar()
294 MeasureSpec.makeMeasureSpec(displaySize.y, MeasureSpec.EXACTLY), in measureSnackBar()
/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/Car/Cluster/src/android/car/cluster/
DClusterRenderingService.java218 Rect displaySize = new Rect(0, 0, 320, 240); // Arbitrary size, better than nothing. in getNavigationActivityIntent() local
222 display.getRectSize(displaySize); in getNavigationActivityIntent()
229 /* unobscuredBounds= */ displaySize).toBundle()); in getNavigationActivityIntent()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGuide.java211 Point displaySize = new Point(); in ProgramGuide() local
212 mActivity.getWindowManager().getDefaultDisplay().getSize(displaySize); in ProgramGuide()
214 displaySize.x in ProgramGuide()
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java291 Point displaySize = new Point(); in onCreate() local
293 .getDefaultDisplay().getSize(displaySize); in onCreate()