Home
last modified time | relevance | path

Searched refs:minx (Results 1 – 6 of 6) sorted by relevance

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DCube.java32 float minx = delta + trim[0] * (v.mDimx - delta); in Cube() local
39 minx, miny, minz, in Cube()
42 minx, maxy, minz, in Cube()
43 minx, miny, maxz, in Cube()
46 minx, maxy, maxz, in Cube()
DViewMatrix.java225 float minx = Float.MAX_VALUE, miny = Float.MAX_VALUE, minz = Float.MAX_VALUE; in calcLook() local
230 minx = Math.min(tri.mVert[i], minx); in calcLook()
236 mLookPoint = new double[]{voxelDim[0] * (maxx + minx) / 2, in calcLook()
239 mScreenWidth = Math.max(voxelDim[0] * (maxx - minx), in calcLook()
245 float minx = Float.MAX_VALUE, miny = Float.MAX_VALUE, minz = Float.MAX_VALUE; in calcLook() local
250 minx = Math.min(triW.mVert[i], minx); 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/layoutlib/bridge/src/android/view/shadow/
DTriangleBuffer.java159 int minx = (min(x1, x2, x3) + 0xF) >> 4; in triangleZBuffMin() local
167 if (minx < 0) { in triangleZBuffMin()
168 minx = 0; in triangleZBuffMin()
191 int cy1 = c1 + dx12 * (miny << 4) - dy12 * (minx << 4); in triangleZBuffMin()
192 int cy2 = c2 + dx23 * (miny << 4) - dy23 * (minx << 4); in triangleZBuffMin()
193 int cy3 = c3 + dx31 * (miny << 4) - dy31 * (minx << 4); 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
218 mMinX = minx; in setScale()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DFindRegion.java113 float minx = xy[0], miny = xy[1]; in calcBounds() local
116 minx = Math.min(minx, xy[i]); in calcBounds()
122 rect.set(minx, miny, maxx, maxy); in calcBounds()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DFindRegion.java158 float minx = xy[0], miny = xy[1]; in calcBounds() local
161 minx = Math.min(minx, xy[i]); in calcBounds()
167 rect.set(minx, miny, maxx, maxy); in calcBounds()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java513 float minx = Float.MAX_VALUE; in computeOrientedBoundingBox() local
519 if (points[i] < minx) { in computeOrientedBoundingBox()
520 minx = points[i]; in computeOrientedBoundingBox()
534 …edBoundingBox((float) (angle * 180 / Math.PI), centroid[0], centroid[1], maxx - minx, maxy - miny); in computeOrientedBoundingBox()