Home
last modified time | relevance | path

Searched refs:y2 (Results 1 – 8 of 8) sorted by relevance

/development/perftests/panorama/feature_mos/src/mosaic/
DGeometry.h66 double x2, double y2, in FindTriangleCentroid() argument
71 centY = (y0 + y1 + y2) / 3.0; in FindTriangleCentroid()
74 if (y0 == y2) in FindTriangleCentroid()
89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid()
93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid()
98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 in FindTriangleCentroid()
104 double dy = y2 - y0; 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()
144 FindTriangleCentroid(x0, y0, x3, y3, x2, y2, mass2, cent2x, cent2y); in FindQuadCentroid()
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()
187 …if(y1 > yBottomCorners[0] || y2 > yBottomCorners[1]) // If either of the bottom corners is high… in runBlend()
190 yBottomCorners[1] = y2; in runBlend()
195 … FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); in runBlend()
1007 int y2 = y1 + 1; in ProcessPyramidForThisFrame() local
1012 double y2val = sptr->ptr[y2][x1] + in ProcessPyramidForThisFrame()
1013 (sptr->ptr[y2][x2] - sptr->ptr[y2][x1]) * xfrac; in ProcessPyramidForThisFrame()
1020 y2val = suptr->ptr[y2][x1] + in ProcessPyramidForThisFrame()
1021 (suptr->ptr[y2][x2] - suptr->ptr[y2][x1]) * xfrac; in ProcessPyramidForThisFrame()
[all …]
/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
212 float newy2 = (float)(Math.sin(xrot) * z2 + Math.cos(xrot) * y2); in drawLine()
214 float newz2 = (float)(Math.cos(xrot) * z2 - Math.sin(xrot) * y2); in drawLine()
/development/perftests/panorama/feature_stab/db_vlvm/
Ddb_metrics.h41 double x2,y2,r,r2,r2s,one_over_r2,fu,r_fu,one_over_r_fu; in db_CauchyDerivative() local
74 y2=db_sqr(f[1]); in db_CauchyDerivative()
75 r2=x2+y2; in db_CauchyDerivative()
/development/ndk/sources/android/ndk_helper/
DgestureDetector.cpp242 float y2 = AMotionEvent_getY( event_, index ); in GetPointers() local
245 v2 = Vec2( x2, y2 ); in GetPointers()
Dvecmath.h1046 float y2 = y_ * y_ * 2.0f; in ToMatrix() local
1055 mat.f_[0] = 1.0f - y2 - z2; in ToMatrix()
1063 mat.f_[10] = 1.0f - x2 - y2; in ToMatrix()
1072 float y2 = y_ * y_ * 2.0f; in ToMatrixPreserveTranslate() local
1081 mat.f_[0] = 1.0f - y2 - z2; in ToMatrixPreserveTranslate()
1089 mat.f_[10] = 1.0f - x2 - y2; in ToMatrixPreserveTranslate()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceScript.java552 float y2 = pt2yStart; in handleEvent() local
569 .addPointer(0, x1, y1).addPointer(1, x2, y2).setIntermediateNote(true)); in handleEvent()
575 y2 += pt2yStep; in handleEvent()
580 y2, 1, 5)); 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/ ...