/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/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/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/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/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/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/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;
|
cvcontourtree.cpp | 599 double x13, y13, x12, y12, l_base, nx, ny, qq; local 611 ny = -x13 / l_base; 613 *h = nx * x12 + ny * y12; 617 *b = nx * y12 - ny * x12;
|
/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/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);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_surface.c | 224 unsigned ny = util_format_get_nblocksy(src->format, src_box->height); local 231 nv50_m2mf_transfer_rect(nv50, &drect, &srect, nx, ny);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_surface.c | 231 unsigned ny = util_format_get_nblocksy(src->format, src_box->height); local 238 nvc0->m2mf_copy_rect(nvc0, &drect, &srect, nx, ny); [all...] |
/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/mesa3d/src/gallium/drivers/nv50/ |
nv50_surface.c | 224 unsigned ny = util_format_get_nblocksy(src->format, src_box->height); local 231 nv50_m2mf_transfer_rect(nv50, &drect, &srect, nx, ny);
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_surface.c | 231 unsigned ny = util_format_get_nblocksy(src->format, src_box->height); local 238 nvc0->m2mf_copy_rect(nvc0, &drect, &srect, nx, ny); [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/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/ |
compute.c | 195 int ny = (target == PIPE_BUFFER ? 1 : local 213 for (y = 0; y < ny; ++y) { 239 int ny = (tex->target == PIPE_BUFFER ? 1 : local 258 for (y = 0; y < ny; ++y) { [all...] |
/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/mesa3d/src/gallium/tests/trivial/ |
compute.c | 195 int ny = (target == PIPE_BUFFER ? 1 : local 213 for (y = 0; y < ny; ++y) { 239 int ny = (tex->target == PIPE_BUFFER ? 1 : local 258 for (y = 0; y < ny; ++y) { [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 300 float ny = lstPointY + ratio * deltaY; local 303 vector[index] = ny; 306 lstPointY = ny;
|
/frameworks/rs/driver/runtime/ |
rs_sample.c | 319 int lx, int ly, int nx, int ny, 327 return getSample_RGBA(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 329 return getSample_A(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 331 return getSample_LA(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 334 return getSample_565(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 336 return getSample_RGB(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 338 return getSample_L(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 505 int ny = wrapI(wrapT, iPixelV + 1, sourceH); local 509 return getBilinearSample2D(alloc, w0, w1, w2, w3, lx, ly, nx, ny, dk, dt, lod);
|
/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++) {
|
/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);
|