/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
Point.java | 90 float ny = this.y; local 93 nx = ny; 94 ny = -ox; 96 return new Point(nx, ny);
|
/external/valgrind/main/none/tests/s390x/ |
and.stdout.exp | 49 ny + 0000000000000000 & 0000000000000000 = 0000000000000000 (cc=0) 50 ny + 0000000000000001 & 0000000000000000 = 0000000000000000 (cc=0) 51 ny + 000000000000FFFF & 0000000000000000 = 0000000000000000 (cc=0) 52 ny + 0000000000007FFF & 0000000000000000 = 0000000000000000 (cc=0) 53 ny + 0000000000008000 & 0000000000000000 = 0000000000000000 (cc=0) 54 ny + 00000000FFFFFFFF & 0000000000000000 = 0000000000000000 (cc=0) 55 ny + 0000000080000000 & 0000000000000000 = 0000000000000000 (cc=0) 56 ny + 000000007FFFFFFF & 0000000000000000 = 0000000000000000 (cc=0) 57 ny + AAAAAAAAAAAAAAAA & 0000000000000000 = AAAAAAAA00000000 (cc=0) 58 ny + 8000000000000000 & 0000000000000000 = 8000000000000000 (cc=0 [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
AutoFocusHelper.java | 119 * @param ny y coordinate of the touch point, in normalized portrait coordinates. 126 private static MeteringRectangle[] regionsForNormalizedCoord(float nx, float ny, 133 // nx, ny is normalized to the screen. 138 nx, ny, sensorOrientation); 168 float ny, final Rect cropRegion, int sensorOrientation) { 169 return regionsForNormalizedCoord(nx, ny, Settings3A.getAutoFocusRegionWidth(), 184 float ny, final Rect cropRegion, int sensorOrientation) { 185 return regionsForNormalizedCoord(nx, ny, Settings3A.getMeteringRegionWidth(), 200 float ny, final Rect cropRegion, int sensorOrientation) { 201 return regionsForNormalizedCoord(nx, ny, Settings3A.getGcamMeteringRegionFraction() [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkEmbossMask.cpp | 110 int ny = alpha[x + next_row] - alpha[x - prev_row]; local 112 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; 118 int denom = SkSqrt32(nx * nx + ny * ny + kDelta*kDelta); 126 SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)] >> 20;
|
/external/skia/src/effects/ |
SkEmbossMask.cpp | 110 int ny = alpha[x + next_row] - alpha[x - prev_row]; local 112 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; 118 int denom = SkSqrt32(nx * nx + ny * ny + kDelta*kDelta); 126 SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)] >> 20;
|
/external/chromium_org/third_party/skia/src/core/ |
SkStrokerPriv.cpp | 28 SkScalar ny = normal.fY; local 30 SkScalar sy = SkScalarMul(ny, CUBIC_ARC_FACTOR); 32 path->cubicTo(px + nx + CWX(sx, sy), py + ny + CWY(sx, sy), 33 px + CWX(nx, ny) + sx, py + CWY(nx, ny) + sy, 34 px + CWX(nx, ny), py + CWY(nx, ny)); 35 path->cubicTo(px + CWX(nx, ny) - sx, py + CWY(nx, ny) - sy, 36 px - nx + CWX(sx, sy), py - ny + CWY(sx, sy) [all...] |
/external/skia/src/core/ |
SkStrokerPriv.cpp | 28 SkScalar ny = normal.fY; local 30 SkScalar sy = SkScalarMul(ny, CUBIC_ARC_FACTOR); 32 path->cubicTo(px + nx + CWX(sx, sy), py + ny + CWY(sx, sy), 33 px + CWX(nx, ny) + sx, py + CWY(nx, ny) + sy, 34 px + CWX(nx, ny), py + CWY(nx, ny)); 35 path->cubicTo(px + CWX(nx, ny) - sx, py + CWY(nx, ny) - sy, 36 px - nx + CWX(sx, sy), py - ny + CWY(sx, sy) [all...] |
/external/opencv/cv/src/ |
cvcamshift.cpp | 97 int dx, dy, nx, ny; local 112 ny = cur_rect.y + dy; 119 if( ny < 0 ) 120 ny = 0; 121 else if( ny + cur_rect.height > mat->rows ) 122 ny = mat->rows - cur_rect.height; 125 dy = ny - cur_rect.y; 127 cur_rect.y = ny;
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
CubicSubDivide.cpp | 86 double ny = fy * 27 - ay - dy * 8; local 88 /* by = */ dst[1].y = (my * 2 - ny) / 18; 90 /* cy = */ dst[2].y = (ny * 2 - my) / 18; 102 double ny = fy * 27 - a.y - d.y * 8; local 104 /* by = */ dst[0].y = (my * 2 - ny) / 18; 106 /* cy = */ dst[1].y = (ny * 2 - my) / 18;
|
/external/skia/experimental/Intersection/ |
CubicSubDivide.cpp | 86 double ny = fy * 27 - ay - dy * 8; local 88 /* by = */ dst[1].y = (my * 2 - ny) / 18; 90 /* cy = */ dst[2].y = (ny * 2 - my) / 18; 102 double ny = fy * 27 - a.y - d.y * 8; local 104 /* by = */ dst[0].y = (my * 2 - ny) / 18; 106 /* cy = */ dst[1].y = (ny * 2 - my) / 18;
|
/frameworks/base/core/java/android/text/method/ |
Touch.java | 164 int ny = widget.getScrollY() + (int) dy; local 169 ny = Math.min(ny, layout.getHeight() - (widget.getHeight() - padding)); 170 ny = Math.max(ny, 0); 176 scrollTo(widget, layout, nx, ny);
|
/external/deqp/modules/gles2/accuracy/ |
es2aVaryingInterpolationTests.cpp | 58 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) 60 return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/w[2]); 80 float ny = wy / dstH; local 82 int triNdx = nx + ny >= 1.0f ? 1 : 0; 84 float triNy = triNdx ? 1.0f - ny : ny;
|
/external/deqp/modules/gles3/accuracy/ |
es3aVaryingInterpolationTests.cpp | 61 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) 63 return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/w[2]); 83 float ny = wy / dstH; local 85 int triNdx = nx + ny >= 1.0f ? 1 : 0; 87 float triNy = triNdx ? 1.0f - ny : ny;
|
/external/fonttools/Lib/fontTools/pens/ |
basePen.py | 266 nx, ny = points[0] # first off-curve point 267 impliedStartPoint = (0.5 * (x + nx), 0.5 * (y + ny)) 333 nx, ny = points[i+1] 334 impliedPt = (0.5 * (x + nx), 0.5 * (y + ny))
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CubeMapActivity.java | 181 float ny = -sinV * cosU; local 184 float length = (float) Math.sqrt(nx*nx + ny*ny + nz*nz); 186 ny /= length; 189 grid.set(i, j, x, y, z, nx, ny, nz); 237 // float nx, ny, nx; 317 public void set(int i, int j, float x, float y, float z, float nx, float ny, float nz) { 332 mVertexBuffer.put(ny);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_miptree.c | 32 nvc0_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz) 36 if (ny > 64) tile_mode = 0x040; /* height 128 tiles */ 38 if (ny > 32) tile_mode = 0x030; /* height 64 tiles */ 40 if (ny > 16) tile_mode = 0x020; /* height 32 tiles */ 42 if (ny > 8) tile_mode = 0x010; /* height 16 tiles */
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_miptree.c | 32 nvc0_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz) 36 if (ny > 64) tile_mode = 0x040; /* height 128 tiles */ 38 if (ny > 32) tile_mode = 0x030; /* height 64 tiles */ 40 if (ny > 16) tile_mode = 0x020; /* height 32 tiles */ 42 if (ny > 8) tile_mode = 0x010; /* height 16 tiles */
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
NinePatchTexture.java | 226 int ny = stretch(divY, divV, chunk.mDivY, tex.getHeight(), height); local 228 prepareVertexData(divX, divY, divU, divV, nx, ny, chunk.mColor); 313 int nx, int ny, int[] color) { 336 for (int j = 0; j < ny; ++j) { 350 for (int row = 0; row < ny - 1; row++) {
|
/external/chromium_org/third_party/skia/tools/skpdiff/ |
SkPMetric.cpp | 234 int ny = y; 239 ny += xx; 240 if (ny < 0) { 241 ny = -ny; 243 if (ny >= imageL->height) { 244 ny = imageL->height + (imageL->height - ny - 1); 257 lSum += rowPtrs[ny - y + radius][nx] * weight;
|
/external/skia/tools/skpdiff/ |
SkPMetric.cpp | 234 int ny = y; 239 ny += xx; 240 if (ny < 0) { 241 ny = -ny; 243 if (ny >= imageL->height) { 244 ny = imageL->height + (imageL->height - ny - 1); 257 lSum += rowPtrs[ny - y + radius][nx] * weight;
|
/system/core/libmincrypt/ |
p256_ec.c | [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
d3d11gears.cpp | 73 vertex(float x, float y, float z, float nx, float ny, float nz) 79 normal[1] = ny; 84 #define VERT(x, y, z) vertices.push_back(vertex((x), (y), (z), (nx), (ny), (nz))) 91 float nx, ny, nz; local 127 ny = 0.0f; 191 ny = dx / len; 211 ny = -ds[i];
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
d3d11gears.cpp | 73 vertex(float x, float y, float z, float nx, float ny, float nz) 79 normal[1] = ny; 84 #define VERT(x, y, z) vertices.push_back(vertex((x), (y), (z), (nx), (ny), (nz))) 91 float nx, ny, nz; local 127 ny = 0.0f; 191 ny = dx / len; 211 ny = -ds[i];
|
/external/deqp/modules/glshared/ |
glsTextureTestUtil.cpp | 337 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) 339 return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/w[2]); 342 static inline float triDerivateX (const tcu::Vec3& s, const tcu::Vec3& w, float wx, float width, float ny) 344 float d = w[1]*w[2]*(width*(ny - 1.0f) + wx) - w[0]*(w[2]*width*ny + w[1]*wx); 345 return (w[0]*w[1]*w[2]*width * (w[1]*(s[0] - s[2])*(ny - 1.0f) + ny*(w[2]*(s[1] - s[0]) + w[0]*(s[2] - s[1])))) / (d*d) 521 float ny = wy \/ dstH; local 560 float ny = wy \/ dstH; local 662 const float ny = wy \/ dstH; local 848 float ny = wy \/ dstH; local 901 const float ny = wy \/ dstH; local 1732 const float ny = wy \/ dstH; local 1836 const float ny = wy \/ dstH; local 2030 const float ny = wy \/ dstH; local 2203 const float ny = wy \/ dstH; local 2370 const float ny = wy \/ dstH; local 2478 const float ny = wy \/ dstH; local 2678 const float ny = wy \/ dstH; local 2850 const float ny = wy \/ dstH; local 2962 const float ny = wy \/ dstH; local 3080 const float ny = wy \/ dstH; local [all...] |
/external/chromium_org/third_party/libyuv/util/ |
psnr_main.cc | 111 int ny = (y - 16) * 256 / 224; local 112 if (ny < 0) ny = 0; 113 if (ny > 255) ny = 255; 114 return static_cast<uint8>(ny);
|