Home
last modified time | relevance | path

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

/frameworks/opt/bitmap/src/com/android/bitmap/util/
DBitmapUtils.java58 final int dstH, final int dstSliceH, int sampleSize, final float horizSliceFrac, in calculateCroppedSrcRect() argument
66 final float hScale = (float) srcH / dstH; in calculateCroppedSrcRect()
76 final int srcCroppedH = Math.round(dstH * 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
116 (float) srcH / dstH); in calculateCroppedSrcRect()
121 final int srcCroppedH = Math.round(dstH * scale); in calculateCroppedSrcRect()
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp45 float dstW, dstH; in shouldFilterRect() local
51 dstH = dstDevRect.width(); in shouldFilterRect()
56 dstH = dstDevRect.height(); in shouldFilterRect()
59 MathUtils::areEqual(dstH, srcRect.height()))) { in shouldFilterRect()