Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java577 final DisplayData wpData = getDisplayDataOrCreate(DEFAULT_DISPLAY); in generateCrop() local
587 + ") dim=(" + wpData.mWidth + 'x' + wpData.mHeight + ')'); in generateCrop()
626 needScale = wpData.mHeight != cropHint.height() in generateCrop()
632 final float scaleByHeight = (float) wpData.mHeight / (float) cropHint.height(); in generateCrop()
644 Slog.v(TAG, "dims: w=" + wpData.mWidth + " h=" + wpData.mHeight); in generateCrop()
688 final int actualScale = cropHint.height() / wpData.mHeight; in generateCrop()
698 final float hRatio = (float) wpData.mHeight / estimateCrop.height(); in generateCrop()
704 int newHeight = (int) (wpData.mHeight / hRatio); in generateCrop()
705 int newWidth = (int) (wpData.mWidth / hRatio); in generateCrop()
747 Slog.v(TAG, " dims: w=" + wpData.mWidth in generateCrop()
[all …]