Searched refs:displaySizes (Results 1 – 9 of 9) sorted by relevance
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/util/ |
D | DisplayUtilsTest.kt | 246 val displaySizes = displayUtils.getInternalDisplaySizes() in getInternalDisplaySizes_noRotation_returnsSizesAsIs() constant 247 assertThat(displaySizes.size).isEqualTo(displays.size) in getInternalDisplaySizes_noRotation_returnsSizesAsIs() 248 assertThat(displaySizes).contains(Point(250, 500)) in getInternalDisplaySizes_noRotation_returnsSizesAsIs() 249 assertThat(displaySizes).contains(Point(300, 400)) in getInternalDisplaySizes_noRotation_returnsSizesAsIs() 264 val displaySizes = displayUtils.getInternalDisplaySizes() in getInternalDisplaySizes_withRotation_returnsSizesPostRotation() constant 265 assertThat(displaySizes.size).isEqualTo(displays.size) in getInternalDisplaySizes_withRotation_returnsSizesPostRotation() 266 assertThat(displaySizes).contains(Point(250, 500)) in getInternalDisplaySizes_withRotation_returnsSizesPostRotation() 267 assertThat(displaySizes).contains(Point(400, 300)) in getInternalDisplaySizes_withRotation_returnsSizesPostRotation() 277 val displaySizes = displayUtils.getInternalDisplaySizes(true) in getInternalDisplaySizes_allDimensions_returnsSizesAndRotatedSizes() constant 278 assertThat(displaySizes.size).isEqualTo(displays.size * 2) in getInternalDisplaySizes_allDimensions_returnsSizesAndRotatedSizes() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/ |
D | DualPreviewPagerBinder.kt | 109 val displaySizes = in <lambda>() constant 115 dualDisplayAspectRatioLayout.setDisplaySizes(displaySizes) in <lambda>() 116 dualPreviewView.setDisplaySizes(displaySizes) in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/ |
D | DualPreviewViewPager.kt | 66 fun setDisplaySizes(displaySizes: Map<DeviceDisplayType, Point>) { in setDisplaySizes() 67 previewDisplaySizes = displaySizes in setDisplaySizes()
|
D | DualDisplayAspectRatioLayout.kt | 137 fun setDisplaySizes(displaySizes: Map<DeviceDisplayType, Point>) { in setDisplaySizes() 138 previewDisplaySizes = displaySizes in setDisplaySizes()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultCurrentWallpaperInfoFactory.java | 79 List<Point> displaySizes = displayUtils in createCurrentWallpaperInfos() local 86 wallpaperClient.getCurrentCropHints(displaySizes, in createCurrentWallpaperInfos() 97 wallpaperClient.getCurrentCropHints(displaySizes, in createCurrentWallpaperInfos()
|
D | DefaultWallpaperRefresher.java | 390 List<Point> displaySizes = mDisplayUtils in getCurrentWallpaperCropHints() local 392 return mWallpaperClient.getCurrentCropHints(displaySizes, which); in getCurrentWallpaperCropHints()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/ |
D | WallpaperClientImpl.kt | 602 displaySizes: List<Point>, in <lambda>() 610 wallpaperManager.getBitmapCrops(displaySizes, which, /* originalBitmap= */ true) in <lambda>() 612 return cropHints?.indices?.associate { displaySizes[it] to cropHints[it] } in <lambda>()
|
D | WallpaperClient.kt | 101 displaySizes: List<Point>,
|
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/ |
D | FakeWallpaperClient.kt | 163 override fun getCurrentCropHints(displaySizes: List<Point>, which: Int): Map<Point, Rect>? { in <lambda>()
|