Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java79 final int defaultWidth, defaultHeight; in getDefaultCropSurfaceSize() local
81 defaultWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); in getDefaultCropSurfaceSize()
84 defaultWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); in getDefaultCropSurfaceSize()
88 return new Point(defaultWidth, defaultHeight); in getDefaultCropSurfaceSize()
/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/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()