HomeSort by relevance Sort by last modified time
    Searched refs:ay (Results 1 - 25 of 116) sorted by null

1 2 3 4 5

  /external/clang/test/Modules/Inputs/include_next/y/
a.h 1 enum { ay = 2 }; enumerator in enum:__anon16376
  /external/clang/test/Modules/
include_next.c 9 _Static_assert(ay == 2, "");
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolator.java 84 // A(ax,ay) is the vector p1->p2.
86 final int ay = mP2Y - mP1Y; local
99 final float crossProdAB = ax * by - ay * bx;
100 final float dotProdAB = ax * bx + ay * by;
101 final float normASquare = ax * ax + ay * ay;
104 mSlope1X = invHalfNormASquare * (dotProdAB * ax + crossProdAB * ay);
105 mSlope1Y = invHalfNormASquare * (dotProdAB * ay - crossProdAB * ax);
109 mSlope1Y = ay;
123 final float crossProdAB = ax * by - ay * bx
    [all...]
  /external/pdfium/third_party/agg23/
agg_math.h 49 AGG_INLINE bool calc_intersection(float ax, float ay, float bx, float by,
53 float num = ((ay - cy) * (dx - cx)) - ((ax - cx) * (dy - cy));
54 float den = ((bx - ax) * (dy - cy)) - ((by - ay) * (dx - cx));
59 *y = ay + ((by - ay) * num / den);
  /bionic/libm/upstream-freebsd/lib/msun/src/
catrig.c 277 double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; local
284 ay = fabs(y);
304 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) {
320 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4)
323 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y);
358 double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; local
368 ay = fabs(y);
388 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) {
405 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4)
408 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x)
458 double ax, ay, t; local
569 double x, y, ax, ay, rx, ry; local
    [all...]
catrigf.c 148 float x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; local
155 ay = fabsf(y);
167 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) {
181 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4)
184 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y);
203 float x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; local
213 ay = fabsf(y);
225 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) {
239 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4)
242 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x)
281 float ax, ay, t; local
341 float x, y, ax, ay, rx, ry; local
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
logistic-loss.h 51 // ay * log(ay) + (1-ay) * log (1-ay), where a is the dual variable.
52 const double ay = current_dual * example_label; variable
53 const double log_ay = (ay > 0) ? log(ay) : 0;
54 const double one_minus_ay = 1 - ay;
56 return ((ay * log_ay) + (one_minus_ay * log_one_minus_ay)) * example_weight;
  /external/fonttools/Lib/fontTools/misc/
bezierTools.py 33 (ax, ay), (bx, by), (cx, cy) = calcQuadraticParameters(pt1, pt2, pt3)
35 ay2 = ay*2.0
41 points = [(ax*t*t + bx*t + cx, ay*t*t + by*t + cy) for t in roots if 0 <= t < 1] + [pt1, pt3]
56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4)
59 ay3 = ay * 3.0
66 points = [(ax*t*t*t + bx*t*t + cx * t + dx, ay*t*t*t + by*t*t + cy * t + dy) for t in roots] + [pt1, pt4]
93 ay = (pt2y - pt1y)
103 midPt = ax * t + bx, ay * t + by
202 ax, ay = a
211 a1y = ay * delta**
    [all...]
  /packages/apps/Camera2/jni/
tinyplanet.cc 63 float ay = y - floor(y); local
65 float ayn = 1.0f - ay;
71 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
76 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
81 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
  /packages/apps/Gallery2/jni/filters/
tinyplanet.cc 62 float ay = y - floor(y); local
64 float ayn = 1.0f - ay;
70 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
75 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
80 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
yuv.rs 73 void makeRef(rs_allocation ay, rs_allocation au, rs_allocation av, rs_allocation aout) {
74 uint32_t w = rsAllocationGetDimX(ay);
75 uint32_t h = rsAllocationGetDimY(ay);
81 int py = rsGetElementAt_uchar(ay, x, y);
97 void makeRef_f4(rs_allocation ay, rs_allocation au, rs_allocation av, rs_allocation aout) {
98 uint32_t w = rsAllocationGetDimX(ay);
99 uint32_t h = rsAllocationGetDimY(ay);
105 uchar py = rsGetElementAt_uchar(ay, x, y);
YuvTest.java 28 Allocation ay; field in class:YuvTest
36 if (ay != null) {
37 ay.destroy();
76 ay = Allocation.createTyped(mRS, Type.createXY(mRS, Element.U8(mRS), w, h));
81 ay.copyFrom(by);
121 script.invoke_makeRef(ay, au, av, aref);
123 mVerify.invoke_verify(aref, aout, ay);
163 script.invoke_makeRef(ay, au, av, aref);
168 mVerify.invoke_verify(aref, aout, ay);
172 mVerify.invoke_verify(aref, aout, ay);
    [all...]
  /external/skia/include/core/
SkRSXform.h 29 * and anchor-point ax,ay within the src quad.
34 SkScalar ax, SkScalar ay) {
37 return Make(c, s, tx + -c * ax + s * ay, ty + -s * ax - c * ay);
  /external/skqp/include/core/
SkRSXform.h 29 * and anchor-point ax,ay within the src quad.
34 SkScalar ax, SkScalar ay) {
37 return Make(c, s, tx + -c * ax + s * ay, ty + -s * ax - c * ay);
  /external/autotest/client/site_tests/graphics_SanAngeles/src/
matrixop.c 68 static float normalize(float *ax, float *ay, float *az)
70 float norm = sqrtf((*ax) * (*ax) + (*ay) * (*ay) + (*az) * (*az));
74 *ay /= norm;
82 float ax, float ay, float az)
90 float norm = normalize(&ax, &ay, &az);
96 yy = ay * ay;
98 xy = ax * ay;
99 yz = ay * az
    [all...]
  /external/deqp/framework/common/
tcuTexVerifierUtil.cpp 67 const float ay = de::abs(y); local
75 if (ay+ey < ax-ex && az+ez < ax-ex)
80 else if (ax+ex < ay-ey && az+ez < ay-ey)
85 else if (ax+ex < az-ez && ay+ey < az-ez)
99 if (ay > ey)
  /external/freetype/src/autofit/
afangles.c 50 FT_Fixed ay = dy;
55 if ( ay < 0 )
56 ay = -ay;
58 ax += ay;
64 angle = ( AF_ANGLE_PI2 * dy ) / ( ax + ay );
  /external/python/cpython2/Demo/curses/
tclock.py 32 ay = abs(dy * 2)
40 if ax > ay:
41 d = ay - ax // 2
52 d += ay
54 d = ax - ay // 2
63 d -= ay
  /external/skia/src/pathops/
SkPathOpsConic.cpp 124 double ax, ay, az; local
127 ay = fPts[0].fY;
131 ay = conic_eval_numerator(&fPts[0].fY, fWeight, t1);
135 ay = fPts[2].fY;
157 double by = 2 * dy - (ay + cy) / 2;
159 SkDConic dst = {{{{ax / az, ay / az}, {bx / bz, by / bz}, {cx / cz, cy / cz}}
  /external/skia/tests/
PathOpsSimplifyDegenerateThreadedTest.cpp 15 int ay = state.fA >> 2; local
36 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
45 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay);
71 int ay = a >> 2; local
78 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax);
PathOpsSimplifyTrianglesThreadedTest.cpp 16 int ay = state.fA >> 2; local
39 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
48 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay);
76 int ay = a >> 2; local
86 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
  /external/skqp/src/pathops/
SkPathOpsConic.cpp 124 double ax, ay, az; local
127 ay = fPts[0].fY;
131 ay = conic_eval_numerator(&fPts[0].fY, fWeight, t1);
135 ay = fPts[2].fY;
157 double by = 2 * dy - (ay + cy) / 2;
159 SkDConic dst = {{{{ax / az, ay / az}, {bx / bz, by / bz}, {cx / cz, cy / cz}}
  /external/skqp/tests/
PathOpsSimplifyDegenerateThreadedTest.cpp 15 int ay = state.fA >> 2; local
36 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
45 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay);
71 int ay = a >> 2; local
78 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax);
PathOpsSimplifyTrianglesThreadedTest.cpp 16 int ay = state.fA >> 2; local
39 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
48 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay);
76 int ay = a >> 2; local
86 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
  /cts/apps/CameraITS/tests/scene1/
test_crop_regions.py 43 ax, ay = a["left"], a["top"]
46 print "Active sensor region (%d,%d %dx%d)" % (ax, ay, aw, ah)
75 ax, ay = a["left"], a["top"]
100 i, ax, ay, aw, ah, min_diff_region)

Completed in 998 milliseconds

1 2 3 4 5