Home
last modified time | relevance | path

Searched refs:displaySizes (Results 1 – 9 of 9) sorted by relevance

/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/util/
DDisplayUtilsTest.kt246 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/
DDualPreviewPagerBinder.kt109 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/
DDualPreviewViewPager.kt66 fun setDisplaySizes(displaySizes: Map<DeviceDisplayType, Point>) { in setDisplaySizes()
67 previewDisplaySizes = displaySizes in setDisplaySizes()
DDualDisplayAspectRatioLayout.kt137 fun setDisplaySizes(displaySizes: Map<DeviceDisplayType, Point>) { in setDisplaySizes()
138 previewDisplaySizes = displaySizes in setDisplaySizes()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultCurrentWallpaperInfoFactory.java79 List<Point> displaySizes = displayUtils in createCurrentWallpaperInfos() local
86 wallpaperClient.getCurrentCropHints(displaySizes, in createCurrentWallpaperInfos()
97 wallpaperClient.getCurrentCropHints(displaySizes, in createCurrentWallpaperInfos()
DDefaultWallpaperRefresher.java390 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/
DWallpaperClientImpl.kt602 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>()
DWallpaperClient.kt101 displaySizes: List<Point>,
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DFakeWallpaperClient.kt163 override fun getCurrentCropHints(displaySizes: List<Point>, which: Int): Map<Point, Rect>? { in <lambda>()