Home
last modified time | relevance | path

Searched refs:maxx (Results 1 – 10 of 10) sorted by relevance

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DCube.java35 float maxx = v.mDimx - delta - trim[3] * (v.mDimx - delta); in Cube() local
40 maxx, miny, minz, in Cube()
41 maxx, maxy, minz, in Cube()
44 maxx, miny, maxz, in Cube()
45 maxx, maxy, maxz, in Cube()
DViewMatrix.java226 float maxx = -Float.MAX_VALUE, maxy = -Float.MAX_VALUE, maxz = -Float.MAX_VALUE; in calcLook() local
229 maxx = Math.max(tri.mVert[i], maxx); in calcLook()
236 mLookPoint = new double[]{voxelDim[0] * (maxx + minx) / 2, in calcLook()
239 mScreenWidth = Math.max(voxelDim[0] * (maxx - minx), in calcLook()
246 float maxx = -Float.MAX_VALUE, maxy = -Float.MAX_VALUE, maxz = -Float.MAX_VALUE; in calcLook() local
249 maxx = Math.max(triW.mVert[i], maxx); 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/SSHealingBrush/src/rs/example/android/com/healingbrush/
DFindRegion.java114 float maxx = xy[0], maxy = xy[1]; in calcBounds() local
117 maxx = Math.max(maxx, xy[i]); in calcBounds()
122 rect.set(minx, miny, maxx, maxy); in calcBounds()
/frameworks/layoutlib/bridge/src/android/view/shadow/
DTriangleBuffer.java160 int maxx = (max(x1, x2, x3) + 0xF) >> 4; in triangleZBuffMin() local
170 if (maxx > w) { in triangleZBuffMin()
171 maxx = w; in triangleZBuffMin()
200 for (int x = minx; x < maxx; x++) { in triangleZBuffMin()
217 private void setScale(float minx, float maxx, float miny, float maxy) { in setScale() argument
219 mMaxX = maxx; in setScale()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dresize.rscript51 int maxx = gWidthIn - 1;
54 uint32_t xs0 = (uint32_t) clamp(startx + 0, 0, maxx);
55 uint32_t xs1 = (uint32_t) clamp(startx + 1, 0, maxx);
56 uint32_t xs2 = (uint32_t) clamp(startx + 2, 0, maxx);
57 uint32_t xs3 = (uint32_t) clamp(startx + 3, 0, maxx);
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp105 int maxx = width - 1; in OneBiCubic() local
108 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
109 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
140 int maxx = width - 1; in OneBiCubic() local
143 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
144 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
175 int maxx = width - 1; in OneBiCubic() local
178 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
179 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
256 int maxx = width - 1; in OneBiCubic() local
[all …]
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DFindRegion.java159 float maxx = xy[0], maxy = xy[1]; in calcBounds() local
162 maxx = Math.max(maxx, xy[i]); in calcBounds()
167 rect.set(minx, miny, maxx, maxy); in calcBounds()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dresize.rscript51 int maxx = gWidthIn - 1;
56 uint32_t xs2 = (uint32_t) min(maxx, startx + 2);
57 uint32_t xs3 = (uint32_t) min(maxx, startx + 3);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dresize.rscript51 int maxx = gWidthIn - 1;
56 uint32_t xs2 = (uint32_t) min(maxx, startx + 2);
57 uint32_t xs3 = (uint32_t) min(maxx, startx + 3);
/frameworks/base/core/java/android/gesture/
DGestureUtils.java515 float maxx = Float.MIN_VALUE; in computeOrientedBoundingBox() local
522 if (points[i] > maxx) { in computeOrientedBoundingBox()
523 maxx = points[i]; in computeOrientedBoundingBox()
534 …tedBoundingBox((float) (angle * 180 / Math.PI), centroid[0], centroid[1], maxx - minx, maxy - miny… in computeOrientedBoundingBox()