Searched refs:dstW (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
D | BitmapUtils.java | 57 public static void calculateCroppedSrcRect(final int srcW, final int srcH, final int dstW, in calculateCroppedSrcRect() argument 65 final float wScale = (float) srcW / dstW; in calculateCroppedSrcRect() 75 final int srcCroppedW = Math.round(dstW * scale); in calculateCroppedSrcRect() 104 public static void calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, in calculateCroppedSrcRect() argument 106 calculateCroppedSrcRect(srcW, srcH, dstW, dstH, Integer.MAX_VALUE, outRect); in calculateCroppedSrcRect() 109 public static void calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, in calculateCroppedSrcRect() argument 115 (float) srcW / dstW, in calculateCroppedSrcRect() 120 final int srcCroppedW = Math.round(dstW * scale); in calculateCroppedSrcRect()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 45 float dstW, dstH; in shouldFilterRect() local 50 dstW = dstDevRect.height(); in shouldFilterRect() 55 dstW = dstDevRect.width(); in shouldFilterRect() 58 if (!(MathUtils::areEqual(dstW, srcRect.width()) && in shouldFilterRect()
|