Home
last modified time | relevance | path

Searched refs:x0 (Results 1 – 15 of 15) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DGeometry.h65 inline void FindTriangleCentroid(double x0, double y0, double x1, double y1, in FindTriangleCentroid() argument
70 centX = (x0 + x1 + x2) / 3.0; in FindTriangleCentroid()
76 if (x0 == x1) in FindTriangleCentroid()
78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a in FindTriangleCentroid()
82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b in FindTriangleCentroid()
85 else if (x0 == x2) in FindTriangleCentroid()
87 if (x0 == x1) 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()
[all …]
DBlend.cpp144 double z, x0, y0, x1, y1, x2, y2, x3, y3; in runBlend() local
169 FrameToMosaic(mb->trs, 0.0, 0.0, x0, y0); in runBlend()
174 … if(x0 < xLeftCorners[0] || x1 < xLeftCorners[1]) // If either of the left corners is lower in runBlend()
176 xLeftCorners[0] = x0; in runBlend()
200 … FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); in runBlend()
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DGeometry.h65 inline void FindTriangleCentroid(double x0, double y0, double x1, double y1, in FindTriangleCentroid() argument
70 centX = (x0 + x1 + x2) / 3.0; in FindTriangleCentroid()
76 if (x0 == x1) in FindTriangleCentroid()
78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a in FindTriangleCentroid()
82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b in FindTriangleCentroid()
85 else if (x0 == x2) in FindTriangleCentroid()
87 if (x0 == x1) 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()
[all …]
DBlend.cpp144 double z, x0, y0, x1, y1, x2, y2, x3, y3; in runBlend() local
169 FrameToMosaic(mb->trs, 0.0, 0.0, x0, y0); in runBlend()
174 … if(x0 < xLeftCorners[0] || x1 < xLeftCorners[1]) // If either of the left corners is lower in runBlend()
176 xLeftCorners[0] = x0; in runBlend()
200 … FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); in runBlend()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DVUMeter.java96 float x0 = pivotX - l*cos; in onDraw() local
98 …canvas.drawLine(x0 + SHADOW_OFFSET, y0 + SHADOW_OFFSET, pivotX + SHADOW_OFFSET, pivotY + SHADOW_OF… in onDraw()
100 canvas.drawLine(x0, y0, pivotX, pivotY, mPaint); in onDraw()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_metrics.h121 double x0,x1,x2,mult; in db_SquaredReprojectionErrorHomography() local
124 x0=H[0]*x[0]+H[1]*x[1]+H[2]*x[2]; in db_SquaredReprojectionErrorHomography()
128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredReprojectionErrorHomography()
135 double x0,x1,x2,mult; in db_SquaredInhomogenousHomographyError() local
138 x0=H[0]*x[0]+H[1]*x[1]+H[2]; in db_SquaredInhomogenousHomographyError()
142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredInhomogenousHomographyError()
/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_metrics.h121 double x0,x1,x2,mult; in db_SquaredReprojectionErrorHomography() local
124 x0=H[0]*x[0]+H[1]*x[1]+H[2]*x[2]; in db_SquaredReprojectionErrorHomography()
128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredReprojectionErrorHomography()
135 double x0,x1,x2,mult; in db_SquaredInhomogenousHomographyError() local
138 x0=H[0]*x[0]+H[1]*x[1]+H[2]; in db_SquaredInhomogenousHomographyError()
142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredInhomogenousHomographyError()
/packages/apps/Camera/jni/feature_stab/src/dbreg/
Ddbreg.h554 double x0,x1,x2,mult; in SquaredInhomogenousHomographyError() local
557 x0=H[0]*x[0]+H[1]*x[1]+H[2]; in SquaredInhomogenousHomographyError()
561 sd=(y[0]-x0*mult)*(y[0]-x0*mult)+(y[1]-x1*mult)*(y[1]-x1*mult); in SquaredInhomogenousHomographyError()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbreg.h554 double x0,x1,x2,mult; in SquaredInhomogenousHomographyError() local
557 x0=H[0]*x[0]+H[1]*x[1]+H[2]; in SquaredInhomogenousHomographyError()
561 sd=(y[0]-x0*mult)*(y[0]-x0*mult)+(y[1]-x1*mult)*(y[1]-x1*mult); in SquaredInhomogenousHomographyError()
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java2021 final int x0 = mTmpPoint[0]; in ReorderHintAnimation() local
2026 final int dX = x1 - x0; in ReorderHintAnimation()
/packages/apps/Camera/perftests/panorama/input/
Dtest_003.ppm5162 …�ɺ��ʾ������������������������������������������������������������ȹ�ɺ�����������������|��z��~�x0,#
7131 …Z��Z��W��V��P��O��|�����������d��Z��P��P��Rĭb̲l��Y��Q��R��l��i��������s��g�x0�p(�q!�z)��1��5��=��?…
7214 …�a��]��X��V��W��v�����������d��`��]��R��R��T��L��K��`��b��z��|�����t��O�|D�x0�z1�s)�z0�x,�s&�}4��;…
7229 …�a��[��Y��Y��X��s�����������g��_��I��I��Q��I��I��F��Z��`��n��p��w��k��J�~C�x0�|4�x/�w.�z.�w,�6��;…
Dtest_007.ppm6765 …��������������������������������������������������������������������ٽ����V�x0�}5��(��.�� �� �� ��"…
6939 …lJt FpMu!_�3HmY~-V})^�1Mu"AhOu&V|-Qu)W{/a�7Vv,Rq(a�7Pn(Rp*Xv3Vt0Wv-Zz0`x0^v.bw5h};n�Ix�Sz�Qx�P…
7762 …������������������������������½�����������ʶȲ��~������Ja7Ja7Sn3Lg,Fb Lh&Vs*[x0`}4Tq(b6Yv-HaKe^w0…
Dtest_008.ppm4136 …�}Xk, ����5*)VKJf`^qli�{x���xpoh`_tnl�~|��~�}{�����~}xpoxpmld`kd[��x0''%^TL}vo{tm�}v�…
6500 …���������������������������������������������������������Һsk�]T�LF�FA�=:�/,x0-�<8��|���޵�د�Ѷ�ӹ����…
6511 …�ҧ�������u��e��`��]��]��W��Z��l����߽�����������������֛n`�]W�`Z�WS�HD�77�//x0-�YVҝ�䮢ѳ�ַ�����ë�Ʈ�ɰ�…
Dtest_006.ppm8360 1�8&D1�0�1�&D&D"BFf%Vu4Hg&!A�>�/O ,K:ZJk Qp'Mm#Ro'[x0`}4h�<g�:p�C|�W{�Vt�PYo5J`&DZ Kf*…
Dtest_034.ppm2389 …nA���A�m��=��1�_ s?�xJ��n����,̚.Ԣ6Ҥ1̞,˜%���~�d�k:�T#�W#�p=��w6�v�hȒKПW�x0~S}R�n��(��&��,��.…