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.java95 … WindowManager windowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in getNumColumns() local
96 Display display = windowManager.getDefaultDisplay(); in getNumColumns()
153 WindowManager windowManager = (WindowManager) in getTileSize() local
155 Display display = windowManager.getDefaultDisplay(); in getTileSize()
199 WindowManager windowManager = in getDeviceDisplayWidthPx() local
201 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.java355 final WindowManager windowManager = getWindowManager(snackBar.getContext()); in getScreenBottomOffset() local
358 windowManager.getDefaultDisplay().getRealMetrics(displayMetrics); in getScreenBottomOffset()
360 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.java667 final WindowManager windowManager = in updateCameraOrientation() local
672 switch (windowManager.getDefaultDisplay().getRotation()) { in updateCameraOrientation()
1162 final WindowManager windowManager = in lockOrientation() local
1164 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.java547 final WindowManager windowManager = (WindowManager) getContext(). in updateMessageAttachments() local
550 windowManager.getDefaultDisplay().getMetrics(displayMetrics); in updateMessageAttachments()