Home
last modified time | relevance | path

Searched refs:getDefaultDisplay (Results 1 – 25 of 67) sorted by relevance

123

/packages/apps/Launcher3/src/com/android/launcher3/util/
DConfigMonitor.java64 Display display = getDefaultDisplay(context); in ConfigMonitor()
104 Display display = getDefaultDisplay(mContext); in onDisplayChanged()
129 private Display getDefaultDisplay(Context context) { in getDefaultDisplay() method in ConfigMonitor
130 return context.getSystemService(WindowManager.class).getDefaultDisplay(); in getDefaultDisplay()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DTileSizeCalculator.java94 Display display = windowManager.getDefaultDisplay(); in getNumColumns()
153 Display display = windowManager.getDefaultDisplay(); in getTileSize()
185 Display display = activity.getWindowManager().getDefaultDisplay(); in getActivityWindowWidthPx()
199 Display defaultDisplay = windowManager.getDefaultDisplay(); in getDeviceDisplayWidthPx()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPreviewBitmapTransformation.java46 appContext.getResources(), windowManager.getDefaultDisplay()); in WallpaperPreviewBitmapTransformation()
48 ScreenSizeCalculator.getInstance().getScreenSize(windowManager.getDefaultDisplay()); in WallpaperPreviewBitmapTransformation()
DPreviewFragment.java301 getResources(), getActivity().getWindowManager().getDefaultDisplay()); in onCreateView()
303 getActivity().getWindowManager().getDefaultDisplay()); in onCreateView()
794 getActivity().getWindowManager().getDefaultDisplay()); in calculateCropRect()
800 getResources(), getActivity().getWindowManager().getDefaultDisplay()); in calculateCropRect()
912 final Display display = getActivity().getWindowManager().getDefaultDisplay(); in getCompatActivityInfoOrientation()
DCategoryFragment.java352 .getScreenSize(getActivity().getWindowManager().getDefaultDisplay()); in getSingleWallpaperImageWidth()
429 getActivity().getWindowManager().getDefaultDisplay()); in getBothWallpaperImageWidth()
653 final Display display = getActivity().getWindowManager().getDefaultDisplay(); in TwoWallpapersMetadataHolder()
914 getResources(), getActivity().getWindowManager().getDefaultDisplay()); in drawThumbnailAndOverlayIcon()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBarManager.java268 getWindowManager(snackBar.getContext()).getDefaultDisplay().getSize(displaySize); in measureSnackBar()
337 windowManager.getDefaultDisplay().getRealMetrics(displayMetrics); in getScreenBottomOffset()
339 windowManager.getDefaultDisplay().getMetrics(displayMetrics); in getScreenBottomOffset()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraDeviceReport.java383 windowMgr.getDefaultDisplay().getMetrics(metrics); in printDisplayInfo()
387 windowMgr.getDefaultDisplay().getRealMetrics(metrics); in printDisplayInfo()
391 Log.v(TAG, "refresh rate = " + windowMgr.getDefaultDisplay().getRefreshRate() + " Hz"); in printDisplayInfo()
DDevCameraActivity.java298 this.getWindowManager().getDefaultDisplay().getRealMetrics(metrics); in displayWidth()
304 this.getWindowManager().getDefaultDisplay().getRealMetrics(metrics); in displayHeight()
/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManagerImpl.java255 int rotation = activity.getWindowManager().getDefaultDisplay() in getDisplayRotation()
275 .getDefaultDisplay(); in isDefaultToPortrait()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java98 wm.getDefaultDisplay().getMetrics(metrics); in initialize()
327 int rotation = activity.getWindowManager().getDefaultDisplay() in getDisplayRotation()
389 Display display = currentActivity.getWindowManager().getDefaultDisplay(); in getOptimalPreviewSize()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDisplay.java33 activity.getWindowManager().getDefaultDisplay().getRealSize(size); in screenWidth()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DNavBarPosition.java40 .getDefaultDisplay().getRotation(); in NavBarPosition()
/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()
DEyePosition.java78 mDisplay = wManager.getDefaultDisplay(); in EyePosition()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/displayinfo/
DDisplayInfoFragment.java56 getActivity().getWindowManager().getDefaultDisplay().getSize(screenSize); in onStart()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpBitmapFetch.java110 wm.getDefaultDisplay().getMetrics(metrics); in configureForContext()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperUtils.java134 windowManager.getDefaultDisplay().getRealSize(realSize); in getDefaultWallpaperSize()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorPickerDialog.java50 wm.getDefaultDisplay().getMetrics(metrics); in ColorPickerDialog()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTouchInteractionService.java299 mDefaultDisplayId = getSystemService(WindowManager.class).getDefaultDisplay() in onCreate()
355 Display defaultDisplay = getSystemService(WindowManager.class).getDefaultDisplay(); in initTouchBounds()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleScreenMagnificationPreferenceFragment.java239 Display display = wm.getDefaultDisplay(); in getScreenWidth()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeManager.java129 mActivity.getWindowManager().getDefaultDisplay());
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DDeviceLockedInputConsumer.java106 context.getSystemService(WindowManager.class).getDefaultDisplay().getRealSize(mDisplaySize); in DeviceLockedInputConsumer()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java121 .getDefaultDisplay(); in setIndividualWallpaper()
154 .getDefaultDisplay(); in setIndividualWallpaperWithPosition()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleScreenMagnificationPreferenceFragment.java279 Display display = wm.getDefaultDisplay(); in getScreenWidth()

123