Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperUtils.java140 final int defaultWidth, defaultHeight; in getDefaultWallpaperSize() local
142 defaultWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); in getDefaultWallpaperSize()
145 defaultWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); in getDefaultWallpaperSize()
148 sDefaultWallpaperSize = new Point(defaultWidth, defaultHeight); in getDefaultWallpaperSize()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java95 final int defaultWidth, defaultHeight; in calculateCropSurfaceSize() local
97 defaultWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); in calculateCropSurfaceSize()
100 defaultWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); in calculateCropSurfaceSize()
104 return new Point(defaultWidth, defaultHeight); in calculateCropSurfaceSize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DProximityInfo.java245 final int defaultWidth = mMostCommonKeyWidth; in computeNearestNeighbors() local
248 final int threshold = (int) (defaultWidth * SEARCH_DISTANCE); in computeNearestNeighbors()