Searched refs:dstW (Results 1 – 3 of 3) 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/ |
D | Layer.cpp | 66 float dstW, dstH; in shouldFilterRect() local 71 dstW = dstDevRect.height(); in shouldFilterRect() 76 dstW = dstDevRect.width(); in shouldFilterRect() 79 if (!(MathUtils::areEqual(dstW, srcRect.width()) && in shouldFilterRect()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 54 float dstW, dstH; in shouldFilterRect() local 59 dstW = dstDevRect.height(); in shouldFilterRect() 64 dstW = dstDevRect.width(); in shouldFilterRect() 67 if (!(MathUtils::areEqual(dstW, srcRect.width()) && in shouldFilterRect()
|