Searched refs:wpData (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperCropper.java | 468 final WallpaperDisplayHelper.DisplayData wpData = in generateCropInternal() local 560 + ") dim=(" + wpData.mWidth + 'x' + wpData.mHeight + ')'); in generateCropInternal() 589 needScale = cropHint.height() > wpData.mHeight in generateCropInternal() 622 final float scaleByHeight = (float) wpData.mHeight / (float) cropHint.height(); in generateCropInternal() 635 if (!multiCrop()) Slog.v(TAG, "dims: w=" + wpData.mWidth + " h=" + wpData.mHeight); in generateCropInternal() 669 final int actualScale = cropHint.height() / wpData.mHeight; in generateCropInternal() 680 float hRatio = (float) wpData.mHeight / estimateCrop.height(); in generateCropInternal() 690 int newHeight = (int) (wpData.mHeight / hRatio); in generateCropInternal() 691 int newWidth = (int) (wpData.mWidth / hRatio); in generateCropInternal() 766 Slog.v(TAG, " dims: w=" + wpData.mWidth in generateCropInternal() [all …]
|
D | WallpaperDataParser.java | 352 final DisplayData wpData = mWallpaperDisplayHelper in parseWallpaperAttributes() local 355 wpData.mWidth = parser.getAttributeInt(null, "width", 0); in parseWallpaperAttributes() 356 wpData.mHeight = parser.getAttributeInt(null, "height", 0); in parseWallpaperAttributes() 359 wpData.mPadding.left = getAttributeInt(parser, "paddingLeft", 0); in parseWallpaperAttributes() 360 wpData.mPadding.top = getAttributeInt(parser, "paddingTop", 0); in parseWallpaperAttributes() 361 wpData.mPadding.right = getAttributeInt(parser, "paddingRight", 0); in parseWallpaperAttributes() 362 wpData.mPadding.bottom = getAttributeInt(parser, "paddingBottom", 0); in parseWallpaperAttributes()
|