Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java982 DisplayData wpdData = mDisplayDatas.get(displayId); in getDisplayDataOrCreate() local
983 if (wpdData == null) { in getDisplayDataOrCreate()
984 wpdData = new DisplayData(displayId); in getDisplayDataOrCreate()
985 ensureSaneWallpaperDisplaySize(wpdData, displayId); in getDisplayDataOrCreate()
986 mDisplayDatas.append(displayId, wpdData); in getDisplayDataOrCreate()
988 return wpdData; in getDisplayDataOrCreate()
991 private void ensureSaneWallpaperDisplaySize(DisplayData wpdData, int displayId) { in ensureSaneWallpaperDisplaySize() argument
994 if (wpdData.mWidth < baseSize) { in ensureSaneWallpaperDisplaySize()
995 wpdData.mWidth = baseSize; in ensureSaneWallpaperDisplaySize()
997 if (wpdData.mHeight < baseSize) { in ensureSaneWallpaperDisplaySize()
[all …]