Searched refs:displaySize (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/app/ |
D | OrientationManagerImpl.java | 276 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/ |
D | DeviceLockedInputConsumer.java | 222 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/ |
D | Launchable.java | 73 final Point displaySize = mLauncher.getRealDisplaySize(); in dragToWorkspace() local 74 final int width = displaySize.x / 2; in dragToWorkspace() 81 displaySize.y / 2), in dragToWorkspace()
|
D | LauncherInstrumentation.java | 549 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()
|
D | Widgets.java | 87 final Point displaySize = mLauncher.getRealDisplaySize(); in getWidget() local 106 displaySize.y - mLauncher.getBottomGestureSize()) { in getWidget()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | SnackBarManager.java | 288 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/ |
D | WallpaperCropActivity.java | 361 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/ |
D | ClusterRenderingService.java | 218 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/ |
D | ProgramGuide.java | 211 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/ |
D | EmergencyDialer.java | 291 Point displaySize = new Point(); in onCreate() local 293 .getDefaultDisplay().getSize(displaySize); in onCreate()
|