Searched refs:destWidth (Results 1 – 4 of 4) sorted by relevance
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | ImageUtils.java | 207 int destWidth = Math.max(1, (int) (xScale * sourceWidth)); in scale() local 215 new BufferedImage(destWidth, destHeight, imageType); in scale() 219 g2.fillRect(0, 0, destWidth, destHeight); in scale() 224 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight, in scale() 256 int nearestWidth = destWidth; // Width closest to source width that = 2^x, x is integer in scale()
|
/frameworks/av/cmds/stagefright/ |
D | mediafilter.cpp | 197 int32_t destWidth, destHeight, destStride, destSliceHeight; in tryCopyDecodedBuffer() local 205 && destFormat->findInt32("width", &destWidth) in tryCopyDecodedBuffer()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransition.java | 1378 final float destWidth = destFrame.width(); in createAspectScaledThumbnailFreeformAnimationLocked() local 1380 final float scaleH = enter ? sourceWidth / destWidth : destWidth / sourceWidth; in createAspectScaledThumbnailFreeformAnimationLocked() 1389 final float scaleHCenter = ((enter ? destWidth : sourceWidth) + surfaceInsetsH) / 2; in createAspectScaledThumbnailFreeformAnimationLocked()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 700 final int destWidth = (int) (estimateCrop.width() * hRatio); in generateCrop() local 703 if (destWidth > GLHelper.getMaxTextureSize()) { in generateCrop() 731 Slog.v(TAG, " dest=" + destWidth + "x" + destHeight); in generateCrop()
|