Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/shadow/
DTriangleBuffer.java151 int minx = (Math3DHelper.min(x1, x2, x3) + 0xF) >> 4; in triangleZBuffMin() local
159 if (minx < 0) { in triangleZBuffMin()
160 minx = 0; in triangleZBuffMin()
183 int cy1 = c1 + dx12 * (miny << 4) - dy12 * (minx << 4); in triangleZBuffMin()
184 int cy2 = c2 + dx23 * (miny << 4) - dy23 * (minx << 4); in triangleZBuffMin()
185 int cy3 = c3 + dx31 * (miny << 4) - dy31 * (minx << 4); in triangleZBuffMin()
193 int startx = start(cx1, fdy12, minx, minx, maxx); in triangleZBuffMin()
194 startx = start(cx2, fdy23, minx, startx, maxx); in triangleZBuffMin()
195 startx = start(cx3, fdy31, minx, startx, maxx); in triangleZBuffMin()
197 cx1 -= (startx - minx) * fdy12; in triangleZBuffMin()
[all …]
/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/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()