/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/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/ |
AWTLoader.java | 149 int ny = y; local 151 ny = height - y - 1; 154 int rgb = img.getRGB(x,ny); 168 int ny = y; local 170 ny = height - y - 1; 173 int rgb = img.getRGB(x,ny);
|
/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;
|
/frameworks/base/core/java/android/text/method/ |
Touch.java | 153 int ny = widget.getScrollY() + (int) dy; local 158 ny = Math.min(ny, layout.getHeight() - (widget.getHeight() - padding)); 159 ny = Math.max(ny, 0); 164 scrollTo(widget, layout, nx, ny);
|
/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;
|
/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/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/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsCubic.cpp | 412 double ny = fy * 27 - ay - dy * 8; local 414 /* by = */ dst[1].fY = (my * 2 - ny) / 18; 416 /* cy = */ dst[2].fY = (ny * 2 - my) / 18; 441 double ny = fy * 27 - a.fY - d.fY * 8; 443 /* by = */ dst[0].fY = (my * 2 - ny) / 18; 445 /* cy = */ dst[1].fY = (ny * 2 - my) / 18;
|
/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...] |
/external/skia/src/pathops/ |
SkPathOpsCubic.cpp | 412 double ny = fy * 27 - ay - dy * 8; local 414 /* by = */ dst[1].fY = (my * 2 - ny) / 18; 416 /* cy = */ dst[2].fY = (ny * 2 - my) / 18; 441 double ny = fy * 27 - a.fY - d.fY * 8; 443 /* by = */ dst[0].fY = (my * 2 - ny) / 18; 445 /* cy = */ dst[1].fY = (ny * 2 - my) / 18;
|
/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 | 320 int lx, int ly, int nx, int ny, 328 return getSample_RGBA(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 330 return getSample_A(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 332 return getSample_LA(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 335 return getSample_565(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 337 return getSample_RGB(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 339 return getSample_L(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); 506 int ny = wrapI(wrapT, iPixelV + 1, sourceH); local 510 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);
|
TouchPaint.java | 486 float ny = (float) (- Math.cos(orientation) * Math.sin(tilt)); local 493 float cy = ny * cd;
|
/external/chromium_org/third_party/skia/src/gpu/ |
SkGpuDevice.cpp | 1205 int ny = bitmap.height() \/ tileSize; local [all...] |