Home
last modified time | relevance | path

Searched refs:x2 (Results 1 – 19 of 19) sorted by relevance

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSineOscillator.java42 float x2 = (x * x); in fastSin() local
44 return x * (x2 * (x2 * (x2 * (x2 * ((x2 * (-IF11)) + IF9) - IF7) + IF5) - IF3) + 1); in fastSin()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSineOscillator.java42 float x2 = (x * x); in fastSin() local
44 return x * (x2 * (x2 * (x2 * (x2 * ((x2 * (-IF11)) + IF9) - IF7) + IF5) - IF3) + 1); in fastSin()
/development/perftests/panorama/feature_mos/src/mosaic/
DGeometry.h66 double x2, double y2, in FindTriangleCentroid() argument
70 centX = (x0 + x1 + x2) / 3.0; in FindTriangleCentroid()
78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a in FindTriangleCentroid()
85 else if (x0 == x2) in FindTriangleCentroid()
89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid()
96 else if (x1 == x2) in FindTriangleCentroid()
103 double dx = x2 - x0; in FindTriangleCentroid()
124 mass = fabs( (y1 - y0) * (x2 - x0) ); in FindTriangleCentroid()
129 inline void FindQuadCentroid(double x0, double y0, double x1, double y1, double x2, double y2, doub… in FindQuadCentroid() argument
143 FindTriangleCentroid(x0, y0, x1, y1, x2, y2, mass1, cent1x, cent1y); in FindQuadCentroid()
[all …]
DBlend.cpp139 double z, x0, y0, x1, y1, x2, y2, x3, y3; in runBlend() local
166 FrameToMosaic(mb->trs, mb->width-1.0, mb->height-1.0, x2, y2); in runBlend()
175 … if(x3 > xRightCorners[0] || x2 > xRightCorners[1]) // If either of the right corners is higher in runBlend()
178 xRightCorners[1] = x2; in runBlend()
195 … FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); in runBlend()
1006 int x2 = x1 + 1; in ProcessPyramidForThisFrame() local
1011 (sptr->ptr[y1][x2] - sptr->ptr[y1][x1]) * xfrac; in ProcessPyramidForThisFrame()
1013 (sptr->ptr[y2][x2] - sptr->ptr[y2][x1]) * xfrac; in ProcessPyramidForThisFrame()
1019 (suptr->ptr[y1][x2] - suptr->ptr[y1][x1]) * xfrac; in ProcessPyramidForThisFrame()
1021 (suptr->ptr[y2][x2] - suptr->ptr[y2][x1]) * xfrac; in ProcessPyramidForThisFrame()
[all …]
/development/perftests/panorama/feature_stab/db_vlvm/
Ddb_image_homography.h47 double x1[3],double x2[3],double x3[3],double x4[3],
62 double x1[3],double x2[3],double x3[3],
77 double x1[3],double x2[3], in db_StitchCameraRotation_2Points()
85 x[1]=x2; in db_StitchCameraRotation_2Points()
100 DB_API int db_StitchRotationCommonFocalLength_3Points(double H[9],double x1[3],double x2[3],double …
Ddb_image_homography.cpp80 double x1[3],double x2[3],double x3[3],double x4[3], in db_StitchProjective2D_4Points()
87 db_SProjImagePointPointConstraints(c+18,c+27,xp2,x2); in db_StitchProjective2D_4Points()
95 double x1[3],double x2[3],double x3[3], in db_StitchAffine2D_3Points()
102 db_SAffineImagePointPointConstraints(c+14,c+21,xp2,x2); in db_StitchAffine2D_3Points()
114 …lLengthFromRotation_2Point(double fsol[3],int *nr_sols,double x1[3],double x2[3],double xp1[3],dou… in db_CommonFocalLengthFromRotation_2Point()
135 m=db_SafeReciprocal(x2[2]); in db_CommonFocalLengthFromRotation_2Point()
136 bx=x2[0]*m; in db_CommonFocalLengthFromRotation_2Point()
137 by=x2[1]*m; in db_CommonFocalLengthFromRotation_2Point()
177 int db_StitchRotationCommonFocalLength_3Points(double H[9],double x1[3],double x2[3],double x3[3],d… in db_StitchRotationCommonFocalLength_3Points()
186 db_CommonFocalLengthFromRotation_2Point(fsol,&nr_sols,x1,x2,xp1,xp2,signed_disambiguation); in db_StitchRotationCommonFocalLength_3Points()
[all …]
Ddb_metrics.h41 double x2,y2,r,r2,r2s,one_over_r2,fu,r_fu,one_over_r_fu; in db_CauchyDerivative() local
73 x2=db_sqr(f[0]); in db_CauchyDerivative()
75 r2=x2+y2; in db_CauchyDerivative()
121 double x0,x1,x2,mult; in db_SquaredReprojectionErrorHomography() local
126 x2=H[6]*x[0]+H[7]*x[1]+H[8]*x[2]; in db_SquaredReprojectionErrorHomography()
127 mult=1.0/((x2!=0.0)?x2:1.0); in db_SquaredReprojectionErrorHomography()
135 double x0,x1,x2,mult; in db_SquaredInhomogenousHomographyError() local
140 x2=H[6]*x[0]+H[7]*x[1]+H[8]; in db_SquaredInhomogenousHomographyError()
141 mult=1.0/((x2!=0.0)?x2:1.0); in db_SquaredInhomogenousHomographyError()
/development/samples/SupportLeanbackShowcase/libs/
Dgson-1.7.2.jar ... .Type x1 com.google.gson.JsonSerializationContext x2 public volatile synthetic java.lang.Object deserialize ( ...
Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/ ...
/development/perftests/panorama/feature_stab/src/dbreg/
Ddbreg.h554 double x0,x1,x2,mult; in SquaredInhomogenousHomographyError() local
559 x2=H[6]*x[0]+H[7]*x[1]+H[8]; in SquaredInhomogenousHomographyError()
560 mult=1.0/((x2!=0.0)?x2:1.0); in SquaredInhomogenousHomographyError()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
DCubeWallpaper1.java202 void drawLine(Canvas c, int x1, int y1, int z1, int x2, int y2, int z2) { in drawLine() argument
218 float newx2 = (float)(Math.sin(yrot) * newz2 + Math.cos(yrot) * x2); in drawLine()
220 newz2 = (float)(Math.cos(yrot) * newz2 - Math.sin(yrot) * x2); in drawLine()
/development/samples/training/testingfun/gradle/wrapper/
Dgradle-wrapper.jar ... .Install x0 java.io.File x1 String x2 static synthetic org.gradle.wrapper.IDownload access ...
/development/samples/devbytes/telephony/SmsSampleProject/gradle/wrapper/
Dgradle-wrapper.jar ... .Install x0 java.io.File x1 String x2 static synthetic org.gradle.wrapper.IDownload access ...
/development/samples/SupportLeanbackShowcase/gradle/wrapper/
Dgradle-wrapper.jar ... .Install x0 java.io.File x1 String x2 static synthetic org.gradle.wrapper.IDownload access ...
/development/ndk/sources/android/ndk_helper/
DgestureDetector.cpp241 float x2 = AMotionEvent_getX( event_, index ); in GetPointers() local
245 v2 = Vec2( x2, y2 ); in GetPointers()
Dvecmath.h1045 float x2 = x_ * x_ * 2.0f; in ToMatrix() local
1059 mat.f_[5] = 1.0f - z2 - x2; in ToMatrix()
1063 mat.f_[10] = 1.0f - x2 - y2; in ToMatrix()
1071 float x2 = x_ * x_ * 2.0f; in ToMatrixPreserveTranslate() local
1085 mat.f_[5] = 1.0f - z2 - x2; in ToMatrixPreserveTranslate()
1089 mat.f_[10] = 1.0f - x2 - y2; in ToMatrixPreserveTranslate()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceScript.java551 float x2 = pt2xStart; in handleEvent() local
569 .addPointer(0, x1, y1).addPointer(1, x2, y2).setIntermediateNote(true)); in handleEvent()
574 x2 += pt2xStep; in handleEvent()
579 .setEventTime(eventTime).addPointer(0, x1, y1, 1, 5).addPointer(1, x2, in handleEvent()
585 .addPointer(1, x2, y2)); in handleEvent()
/development/tools/checkstyle/
Dcheckstyle.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml sun_checks.xml com/ ...
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...