Home
last modified time | relevance | path

Searched refs:getWindowManager (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperCropActivity.java279 getResources(), getWindowManager()); in onLoadRequestComplete()
339 getWindowManager()); in cropImageAndSetWallpaper()
359 Display d = getWindowManager().getDefaultDisplay(); in cropImageAndSetWallpaper()
366 getWindowManager()); in cropImageAndSetWallpaper()
DWallpaperUtils.java66 activity.getResources(), activity.getWindowManager()); in suggestWallpaperDimensionPreK()
92 activity.getResources(), activity.getWindowManager()); in suggestWallpaperDimension()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBarManager.java289 getWindowManager(snackBar.getContext()).getDefaultDisplay().getSize(displaySize); in measureSnackBar()
347 private WindowManager getWindowManager(final Context context) { in getWindowManager() method in SnackBarManager
355 final WindowManager windowManager = getWindowManager(snackBar.getContext()); in getScreenBottomOffset()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DImagePreviewFragment.java107 getResources(), activity.getWindowManager().getDefaultDisplay()); in onCreateView()
109 activity.getWindowManager().getDefaultDisplay()); in onCreateView()
319 Display defaultDisplay = requireActivity().getWindowManager().getDefaultDisplay(); in calculateCropRect()
DCategoryFragment.java354 .getScreenSize(getActivity().getWindowManager().getDefaultDisplay()); in getSingleWallpaperImageWidth()
431 getActivity().getWindowManager().getDefaultDisplay()); in getBothWallpaperImageWidth()
655 final Display display = getActivity().getWindowManager().getDefaultDisplay(); in TwoWallpapersMetadataHolder()
916 getResources(), getActivity().getWindowManager().getDefaultDisplay()); in drawThumbnailAndOverlayIcon()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java369 mActivityRule.getActivity().getWindowManager().getDefaultDisplay()); in testClickSetWallpaper_CropsAndScalesWallpaper()
414 activity.getResources(), activity.getWindowManager().getDefaultDisplay()); in testSetsDefaultWallpaperZoomAndScroll()
416 activity.getWindowManager().getDefaultDisplay()); in testSetsDefaultWallpaperZoomAndScroll()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDisplay.java33 activity.getWindowManager().getDefaultDisplay().getRealSize(size); in screenWidth()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DOrientationManager.java156 int rotation = activity.getWindowManager().getDefaultDisplay() in getDisplayRotation()
DWallpaper.java74 Display d = getWindowManager().getDefaultDisplay(); in getDefaultDisplaySize()
/packages/apps/DevCamera/src/com/android/devcamera/
DDevCameraActivity.java298 this.getWindowManager().getDefaultDisplay().getRealMetrics(metrics); in displayWidth()
304 this.getWindowManager().getDefaultDisplay().getRealMetrics(metrics); in displayHeight()
DCameraDeviceReport.java374 WindowManager windowMgr = activity.getWindowManager(); in printDisplayInfo()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/displayinfo/
DDisplayInfoFragment.java56 getActivity().getWindowManager().getDefaultDisplay().getSize(screenSize); in onStart()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java327 int rotation = activity.getWindowManager().getDefaultDisplay() in getDisplayRotation()
389 Display display = currentActivity.getWindowManager().getDefaultDisplay(); in getOptimalPreviewSize()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DTileSizeCalculator.java187 Display display = activity.getWindowManager().getDefaultDisplay(); in getActivityWindowWidthPx()
/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManagerImpl.java255 int rotation = activity.getWindowManager().getDefaultDisplay() in getDisplayRotation()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeManager.java129 mActivity.getWindowManager().getDefaultDisplay());
/packages/services/BuiltInPrintService/src/com/android/bips/
DImagePrintActivity.java92 getWindowManager().getDefaultDisplay().getMetrics(mDisplayMetrics); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialBaseFragment.java217 getActivity().getWindowManager().getDefaultDisplay().getSize(screenSize); in setWorkChallengeBackground()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseFragment.java217 getActivity().getWindowManager().getDefaultDisplay().getSize(screenSize); in setWorkChallengeBackground()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetFragment.java387 Display display = getActivity().getWindowManager().getDefaultDisplay(); in getDisplaySize()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java268 final int rotation = activity.getWindowManager().getDefaultDisplay().getRotation(); in lockOrientation()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java574 activity.getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertDialog.java603 Display display = getWindowManager().getDefaultDisplay(); in setPictogramAreaLayout()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java177 getWindowManager().getDefaultDisplay().getMetrics(outMetrics); in getScreenImageSize()
/packages/apps/Dialer/java/com/android/incallui/
DVideoCallPresenter.java1125 activity.getWindowManager().getDefaultDisplay().getSize(screenSize); in updateRemoteVideoSurfaceDimensions()

12