/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersister.java | 122 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in setIndividualWallpaper() local 123 asset.decodeBitmap(screenSize.x, screenSize.y, new BitmapReceiver() { in setIndividualWallpaper() 155 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in setIndividualWallpaperWithPosition() local 172 wallpaper, asset, dimensions, screenSize, callback); in setIndividualWallpaperWithPosition() 178 wallpaper, asset, dimensions, screenSize, callback); in setIndividualWallpaperWithPosition() 183 asset.decodeBitmap(screenSize.x, screenSize.y, new BitmapReceiver() { in setIndividualWallpaperWithPosition() 186 … setIndividualWallpaperStretch(wallpaper, bitmap, screenSize /* stretchSize */, in setIndividualWallpaperWithPosition() 211 … Point dimensions, Point screenSize, SetWallpaperCallback callback) { in setIndividualWallpaperWithCenterPosition() argument 212 if (dimensions.x >= screenSize.x && dimensions.y >= screenSize.y) { in setIndividualWallpaperWithCenterPosition() 214 (dimensions.x - screenSize.x) / 2, in setIndividualWallpaperWithCenterPosition() [all …]
|
D | NoBackupImageWallpaper.java | 410 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(mDefaultDisplay); in drawFrame() local 422 mDisplayWidthAtLastSurfaceSizeUpdate = screenSize.x; in drawFrame() 423 mDisplayHeightAtLastSurfaceSizeUpdate = screenSize.y; in drawFrame()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | CarScrollBar.java | 552 int screenSize = orientationHelper.getTotalSpace(); in pageUp() local 554 int scrollDistance = screenSize; in pageUp() 564 if (child.getHeight() > screenSize) { in pageUp() 565 if (orientationHelper.getDecoratedEnd(child) < screenSize) { in pageUp() 567 scrollDistance = screenSize - orientationHelper.getDecoratedEnd(child); in pageUp() 568 } else if (-screenSize < orientationHelper.getDecoratedStart(child) in pageUp() 599 int screenSize = orientationHelper.getTotalSpace(); in pageDown() local 600 int scrollDistance = screenSize; in pageDown() 611 scrollDistance = screenSize; in pageDown() 623 if (child.getHeight() > screenSize) { in pageDown() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/displayinfo/ |
D | DisplayInfoFragment.java | 55 Point screenSize = new Point(); in onStart() local 56 getActivity().getWindowManager().getDefaultDisplay().getSize(screenSize); in onStart() 57 addTextView("window size(px): " + screenSize.x + " x " + screenSize.y); in onStart() 70 + convertPixelsToDp(screenSize.x, getContext()) in onStart() 71 + " x " + convertPixelsToDp(screenSize.y, getContext())); in onStart()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ConfirmDeviceCredentialBaseFragment.java | 216 Point screenSize = new Point(); in setWorkChallengeBackground() local 217 getActivity().getWindowManager().getDefaultDisplay().getSize(screenSize); in setWorkChallengeBackground() 220 screenSize.y)); in setWorkChallengeBackground()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialBaseFragment.java | 216 Point screenSize = new Point(); in setWorkChallengeBackground() local 217 getActivity().getWindowManager().getDefaultDisplay().getSize(screenSize); in setWorkChallengeBackground() 220 screenSize.y)); in setWorkChallengeBackground()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | PreviewFragment.java | 793 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in calculateCropRect() local 797 Rect cropRect = new Rect(scrollX, scrollY, scrollX + screenSize.x, scrollY + screenSize.y); in calculateCropRect() 801 int extraWidth = defaultCropSurfaceSize.x - screenSize.x; in calculateCropRect() 802 int extraHeightTopAndBottom = (int) ((defaultCropSurfaceSize.y - screenSize.y) / 2f); in calculateCropRect()
|
D | CategoryFragment.java | 351 Point screenSize = ScreenSizeCalculator.getInstance() in getSingleWallpaperImageWidth() local 355 return height * screenSize.x / screenSize.y; in getSingleWallpaperImageWidth() 654 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize(display); in TwoWallpapersMetadataHolder() local 656 screenSize.x - 2 * getResources().getDimensionPixelSize(R.dimen.grid_padding)); in TwoWallpapersMetadataHolder()
|
D | TopLevelPickerActivity.java | 407 Point screenSize = ScreenSizeCalculator.getInstance().getScreenSize( in getSingleWallpaperImageWidthPx() local 412 return height * screenSize.x / screenSize.y; in getSingleWallpaperImageWidthPx()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | VideoCallPresenter.java | 1108 Point screenSize = new Point(); in updateRemoteVideoSurfaceDimensions() local 1109 activity.getWindowManager().getDefaultDisplay().getSize(screenSize); in updateRemoteVideoSurfaceDimensions() 1110 getRemoteVideoSurfaceTexture().setSurfaceDimensions(screenSize); in updateRemoteVideoSurfaceDimensions()
|