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

1 2 3 4 5 6

  /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/chromium_org/third_party/freetype/src/autofit/
afangles.c 32 FT_Pos ay = y_in;
39 if ( ay < 0 )
40 ay = -ay;
41 d_in = ax + ay;
46 ay = y_out;
47 if ( ay < 0 )
48 ay = -ay;
49 d_out = ax + ay;
    [all...]
  /external/freetype/src/autofit/
afangles.c 32 FT_Pos ay = y_in;
39 if ( ay < 0 )
40 ay = -ay;
41 d_in = ax + ay;
46 ay = y_out;
47 if ( ay < 0 )
48 ay = -ay;
49 d_out = ax + ay;
    [all...]
  /external/chromium_org/third_party/skia/experimental/Intersection/
CubicParameterization_TestUtility.cpp 13 double ay, by, cy, dy; local
15 alt_set_abcd(&cubic[0].y, ay, by, cy, dy);
17 set_abcd(&cubic[0].y, ay, by, cy, dy);
18 calc_ABCD(ax, ay, coeffs);
26 double ay = cubic[0].y;
30 calc_ABCD(ax, bx, cx, dx, ay, by, cy, dy, coeffs);
34 coeffs[index] = (*calc_proc[procIndex])(ax, bx, cx, dx, ay, by, cy, dy);
EdgeWalkerPolygon4x4_Test.cpp 18 int ay = state.a >> 2; local
39 path.moveTo(ax, ay);
51 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
112 int ay = state.a >> 2; local
134 path.moveTo(ax, ay);
144 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
178 int ay = a >> 2; local
188 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
209 int ay = state.a >> 2 local
273 int ay = a >> 2; local
    [all...]
  /external/skia/experimental/Intersection/
CubicParameterization_TestUtility.cpp 13 double ay, by, cy, dy; local
15 alt_set_abcd(&cubic[0].y, ay, by, cy, dy);
17 set_abcd(&cubic[0].y, ay, by, cy, dy);
18 calc_ABCD(ax, ay, coeffs);
26 double ay = cubic[0].y;
30 calc_ABCD(ax, bx, cx, dx, ay, by, cy, dy, coeffs);
34 coeffs[index] = (*calc_proc[procIndex])(ax, bx, cx, dx, ay, by, cy, dy);
EdgeWalkerPolygon4x4_Test.cpp 18 int ay = state.a >> 2; local
39 path.moveTo(ax, ay);
51 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
112 int ay = state.a >> 2; local
134 path.moveTo(ax, ay);
144 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
178 int ay = a >> 2; local
188 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
209 int ay = state.a >> 2 local
273 int ay = a >> 2; local
    [all...]
  /external/pdfium/core/src/fxge/agg/agg23/
agg_math.h 49 AGG_INLINE bool calc_intersection(FX_FLOAT ax, FX_FLOAT ay, FX_FLOAT bx, FX_FLOAT by,
53 FX_FLOAT num = FXSYS_Mul(ay - cy, dx - cx) - FXSYS_Mul(ax - cx, dy - cy);
54 FX_FLOAT den = FXSYS_Mul(bx - ax, dy - cy) - FXSYS_Mul(by - ay, dx - cx);
59 *y = ay + FXSYS_MulDiv(by - ay, num, den);
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
quat.js 140 var ax = a[0], ay = a[1], az = a[2], aw = a[3],
143 out[0] = ax * bw + aw * bx + ay * bz - az * by;
144 out[1] = ay * bw + aw * by + az * bx - ax * bz;
145 out[2] = az * bw + aw * bz + ax * by - ay * bx;
146 out[3] = aw * bw - ax * bx - ay * by - az * bz;
178 var ax = a[0], ay = a[1], az = a[2], aw = a[3],
182 out[1] = ay * bw + az * bx;
183 out[2] = az * bw - ay * bx;
199 var ax = a[0], ay = a[1], az = a[2], aw = a[3],
203 out[1] = ay * bw + aw * by
    [all...]
  /build/tools/droiddoc/templates-ds/assets/scroller/
jquery.jscrollpane.min.js 8 (function(b,a,c){b.fn.jScrollPane=function(e){function d(D,O){var ay,Q=this,Y,aj,v,al,T,Z,y,q,az,aE,au,i,I,h,j,aa,U,ap,X,t,A,aq,af,am,G,l,at,ax,x,av,aH,f,L,ai=true,P=true,aG=false,k=false,ao=D.clone(false,false).empty(),ac=b.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";aH=D.css("paddingTop")+" "+D.css("paddingRight")+" "+D.css("paddingBottom")+" "+D.css("paddingLeft");f=(parseInt(D.css("paddingLeft"),10)||0)+(parseInt(D.css("paddingRight"),10)||0);function ar(aQ){var aL,aN,aM,aJ,aI,aP,aO=false,aK=false;ay=aQ;if(Y===c){aI=D.scrollTop();aP=D.scrollLeft();D.css({overflow:"hidden",padding:0});aj=D.innerWidth()+f;v=D.innerHeight();D.width(aj);Y=b('<div class="jspPane" />').css("padding",aH).append(D.children());al=b('<div class="jspContainer" />').css({width:aj+"px",height:v+"px"}).append(Y).appendTo(D)}else{D.css("width","");aO=ay.stickToBottom&&K();aK=ay.stickToRight&&B();aJ=D.innerWidth()+f!=aj||D.outerHeight()!=v;if(aJ){aj=D.innerWidth()+f;v=D.innerHeight();al.css({width:aj+"px",height:v+"px"})}if(!aJ&&L==T&&Y.outerHeight()==Z){D.width(aj);return}L=T;Y.css("width","");D.width(aj);al.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}Y.css("overflow","auto");if(aQ.contentWidth){T=aQ.contentWidth}else{T=Y[0].scrollWidth}Z=Y[0].scrollHeight;Y.css("overflow","");y=T/aj;q=Z/v;az=q>1;aE=y>1;if(!(aE||az)){D.removeClass("jspScrollable");Y.css({top:0,width:al.width()-f});n();E();R();w()}else{D.addClass("jspScrollable");aL=ay.maintainPosition&&(I||aa);if(aL){aN=aC();aM=aA()}aF();z();F();if(aL){N(aK?(T-aj):aN,false);M(aO?(Z-v):aM,false)}J();ag();an();if(ay.enableKeyboardNavigation){S()}if(ay.clickOnTrack){p()}C();if(ay.hijackInternalLinks){m()}}if(ay.autoReinitialise&&!av){av=setInterval(function(){ar(ay)},ay.autoReinitialiseDelay)}else{if(!ay.autoReinitialise&&av){clearInterval(av)}}aI&&D.scrollTop(0 (…)
    [all...]
  /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...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
yuv.rs 59 void makeRef(rs_allocation ay, rs_allocation au, rs_allocation av, rs_allocation aout) {
60 uint32_t w = rsAllocationGetDimX(ay);
61 uint32_t h = rsAllocationGetDimY(ay);
67 int py = rsGetElementAt_uchar(ay, x, y);
YuvTest.java 28 Allocation ay; field in class:YuvTest
61 ay = Allocation.createTyped(mRS, Type.createXY(mRS, Element.U8(mRS), w, h));
66 ay.copyFrom(by);
103 script.invoke_makeRef(ay, au, av, aref);
105 mVerify.invoke_verify(aref, aout, ay);
140 script.invoke_makeRef(ay, au, av, aref);
144 mVerify.invoke_verify(aref, aout, ay);
148 mVerify.invoke_verify(aref, aout, ay);
185 script.invoke_makeRef(ay, au, av, aref);
189 mVerify.invoke_verify(aref, aout, ay);
    [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);
  /external/chromium_org/third_party/skia/tests/
PathOpsSimplifyDegenerateThreadedTest.cpp 19 int ay = state.fA >> 2; local
39 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
49 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
75 int ay = a >> 2; local
82 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax);
PathOpsSimplifyTrianglesThreadedTest.cpp 20 int ay = state.fA >> 2; local
42 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
52 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
80 int ay = a >> 2; local
90 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
  /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/skia/tests/
PathOpsSimplifyDegenerateThreadedTest.cpp 19 int ay = state.fA >> 2; local
39 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
49 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
75 int ay = a >> 2; local
82 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax);
PathOpsSimplifyTrianglesThreadedTest.cpp 20 int ay = state.fA >> 2; local
42 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
52 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
80 int ay = a >> 2; local
90 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
  /external/chromium_org/third_party/WebKit/Source/platform/animation/
UnitBezier.h 45 ay = 1.0 - cy - by;
86 return ((ay * t + by) * t + cy) * t;
154 double ay; member in struct:WebCore::UnitBezier
  /pdk/apps/CameraITS/tests/scene1/
test_crop_region_raw.py 38 ax, ay = a["left"], a["top"]
40 print "Active sensor region: (%d,%d %dx%d)" % (ax, ay, aw, ah)
51 "top": ay + ah/3,
54 "bottom": ay + 2*ah/3}
73 assert((ax,ay,aw,ah) == (x,y,w,h))
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)
  /external/chromium_org/third_party/skia/experimental/
SkSetPoly3To3_A.cpp 42 static SkDScalar ddot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) {
43 return SkDScalar_setMul(ax, bx) + SkDScalar_setMul(ay, by);
46 static SkScalar dot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) {
47 return SkDScalar_toScalar(ddot(ax, ay, bx, by));
  /external/skia/experimental/
SkSetPoly3To3_A.cpp 42 static SkDScalar ddot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) {
43 return SkDScalar_setMul(ax, bx) + SkDScalar_setMul(ay, by);
46 static SkScalar dot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) {
47 return SkDScalar_toScalar(ddot(ax, ay, bx, by));

Completed in 665 milliseconds

1 2 3 4 5 6