Home
last modified time | relevance | path

Searched refs:maxy (Results 1 – 9 of 9) sorted by relevance

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DCube.java36 float maxy = v.mDimy - delta - trim[4] * (v.mDimy - delta); in Cube() local
41 maxx, maxy, minz, in Cube()
42 minx, maxy, minz, in Cube()
45 maxx, maxy, maxz, in Cube()
46 minx, maxy, maxz, in Cube()
DViewMatrix.java226 float maxx = -Float.MAX_VALUE, maxy = -Float.MAX_VALUE, maxz = -Float.MAX_VALUE; in calcLook() local
231 maxy = Math.max(tri.mVert[i + 1], maxy); in calcLook()
237 voxelDim[1] * (maxy + miny) / 2, in calcLook()
240 Math.max(voxelDim[1] * (maxy - miny), in calcLook()
246 float maxx = -Float.MAX_VALUE, maxy = -Float.MAX_VALUE, maxz = -Float.MAX_VALUE; in calcLook() local
251 maxy = Math.max(triW.mVert[i + 1], maxy); in calcLook()
256 mLookPoint = new double[]{(maxx + minx) / 2, (maxy + miny) / 2, (maxz + minz) / 2}; in calcLook()
258 mScreenWidth = 2 * Math.max((maxx - minx), Math.max((maxy - miny), (maxz - minz))); in calcLook()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dresize.rs52 int maxy = gHeightIn - 1;
59 uint32_t ys0 = (uint32_t) clamp(starty + 0, 0 , maxy);
60 uint32_t ys1 = (uint32_t) clamp(starty + 1, 0 , maxy);
61 uint32_t ys2 = (uint32_t) clamp(starty + 2, 0 , maxy);
62 uint32_t ys3 = (uint32_t) clamp(starty + 3, 0 , maxy);
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DFindRegion.java114 float maxx = xy[0], maxy = xy[1]; in calcBounds() local
119 maxy = Math.max(maxy, xy[i + 1]); in calcBounds()
122 rect.set(minx, miny, maxx, maxy); in calcBounds()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp323 int maxy = srcHeight - 1; in kernelU4() local
326 int ys2 = rsMin(maxy, starty + 2); in kernelU4()
327 int ys3 = rsMin(maxy, starty + 3); in kernelU4()
390 int maxy = srcHeight - 1; in kernelU2() local
393 int ys2 = rsMin(maxy, starty + 2); in kernelU2()
394 int ys3 = rsMin(maxy, starty + 3); in kernelU2()
457 int maxy = srcHeight - 1; in kernelU1() local
460 int ys2 = rsMin(maxy, starty + 2); in kernelU1()
461 int ys3 = rsMin(maxy, starty + 3); in kernelU1()
524 int maxy = srcHeight - 1; in kernelF4() local
[all …]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dresize.rs52 int maxy = gHeightIn - 1;
61 uint32_t ys2 = (uint32_t) min(maxy, starty + 2);
62 uint32_t ys3 = (uint32_t) min(maxy, starty + 3);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dresize.rs52 int maxy = gHeightIn - 1;
61 uint32_t ys2 = (uint32_t) min(maxy, starty + 2);
62 uint32_t ys3 = (uint32_t) min(maxy, starty + 3);
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DFindRegion.java159 float maxx = xy[0], maxy = xy[1]; in calcBounds() local
164 maxy = Math.max(maxy, xy[i + 1]); in calcBounds()
167 rect.set(minx, miny, maxx, maxy); in calcBounds()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java516 float maxy = Float.MIN_VALUE; in computeOrientedBoundingBox() local
529 if (points[i] > maxy) { in computeOrientedBoundingBox()
530 maxy = points[i]; in computeOrientedBoundingBox()
534 …edBoundingBox((float) (angle * 180 / Math.PI), centroid[0], centroid[1], maxx - minx, maxy - miny); in computeOrientedBoundingBox()