Home
last modified time | relevance | path

Searched refs:windowManager (Results 1 – 8 of 8) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DTileSizeCalculator.java93 … WindowManager windowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in getNumColumns() local
94 Display display = windowManager.getDefaultDisplay(); in getNumColumns()
151 WindowManager windowManager = (WindowManager) in getTileSize() local
153 Display display = windowManager.getDefaultDisplay(); in getTileSize()
197 WindowManager windowManager = in getDeviceDisplayWidthPx() local
199 Display defaultDisplay = windowManager.getDefaultDisplay(); in getDeviceDisplayWidthPx()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPreviewBitmapTransformation.java43 WindowManager windowManager = (WindowManager) in WallpaperPreviewBitmapTransformation() local
46 appContext.getResources(), windowManager.getDefaultDisplay()); in WallpaperPreviewBitmapTransformation()
48 ScreenSizeCalculator.getInstance().getScreenSize(windowManager.getDefaultDisplay()); in WallpaperPreviewBitmapTransformation()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBarManager.java334 final WindowManager windowManager = getWindowManager(snackBar.getContext()); in getScreenBottomOffset() local
337 windowManager.getDefaultDisplay().getRealMetrics(displayMetrics); in getScreenBottomOffset()
339 windowManager.getDefaultDisplay().getMetrics(displayMetrics); in getScreenBottomOffset()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperUtils.java131 public static Point getDefaultWallpaperSize(Resources res, WindowManager windowManager) { in getDefaultWallpaperSize() argument
134 windowManager.getDefaultDisplay().getRealSize(realSize); in getDefaultWallpaperSize()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java666 final WindowManager windowManager = in updateCameraOrientation() local
671 switch (windowManager.getDefaultDisplay().getRotation()) { in updateCameraOrientation()
1161 final WindowManager windowManager = in lockOrientation() local
1163 final int rotation = windowManager.getDefaultDisplay().getRotation(); in lockOrientation()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java454 WindowManager windowManager = AndroidServices.instance().provideWindowManager(); in getDisplayRotation() local
455 int rotation = windowManager.getDefaultDisplay() in getDisplayRotation()
471 WindowManager windowManager = AndroidServices.instance().provideWindowManager(); in getDefaultDisplaySize() local
473 windowManager.getDefaultDisplay().getSize(res); in getDefaultDisplaySize()
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
DHvacPanelController.java131 WindowManager windowManager, in HvacPanelController() argument
143 mWindowManager = windowManager; in HvacPanelController()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java546 final WindowManager windowManager = (WindowManager) getContext(). in updateMessageAttachments() local
549 windowManager.getDefaultDisplay().getMetrics(displayMetrics); in updateMessageAttachments()