Home
last modified time | relevance | path

Searched refs:imgWidth (Results 1 – 5 of 5) sorted by relevance

/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DFindRegion.java50 int imgWidth = img.getWidth(); in FindRegion() local
58 || mRoiBounds.right >= imgWidth in FindRegion()
68 mSearchRange = calcSearchRange(mRoiBounds, imgWidth, imgHeight); in FindRegion()
191 private static Rect calcSearchRange(Rect mRoiBounds, int imgWidth, int imgHeight) { in calcSearchRange() argument
196 xmax = Math.min(imgWidth, xmax); in calcSearchRange()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rscript82 static int4 calcSearchRange_ss(int4 roiBounds, int imgWidth, int imgHeight,
86 int2 maxr = min((int2){imgWidth, imgHeight}, roiBounds.zw + size * (1 + pad));
136 void findRegion(rs_allocation pointsXY, rs_allocation image, int imgWidth,
148 int4 searchRange = calcSearchRange_ss(roiBounds, imgWidth, imgHeight, 2);
DFindRegion.java41 int imgWidth = img.getWidth(); in FindRegion() local
48 || mRoiBounds.right >= imgWidth in FindRegion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java172 float imgWidth = Math.min(mImgWidth > 0 ? screenWidth / (float) mImgWidth : 1.f, 1.f); in updateShift() local
173 mPageWidth = imgWidth; in updateShift()
174 mPageOffset = (1 - imgWidth) / (float) (mPages - 1); in updateShift()
/frameworks/base/libs/hwui/
DReadback.cpp299 int imgWidth = image->width(); in copyImageInto() local
305 int displayedWidth = imgWidth, displayedHeight = imgHeight; in copyImageInto()