Home
last modified time | relevance | path

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

12

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DMatrixFit.java164 for (int y2 = y + 1; y2 < h; y2++) { // Find max pivot in gaussianElimination()
165 if (Math.abs(m[y2][y]) > Math.abs(m[maxrow][y])) { in gaussianElimination()
166 maxrow = y2; in gaussianElimination()
179 for (int y2 = y + 1; y2 < h; y2++) { // Eliminate column y in gaussianElimination()
180 double c = m[y2][y] / m[y][y]; in gaussianElimination()
182 m[y2][x] -= m[y][x] * c; in gaussianElimination()
188 for (int y2 = 0; y2 < y; y2++) { in gaussianElimination()
190 m[y2][x] -= m[y][x] * m[y2][y] / c; in gaussianElimination()
/packages/apps/Camera2/src/com/android/camera/util/
DDebugBoundsRenderer.java49 float x2, float y2) { in drawBounds() argument
64 canvas.drawLine(x2 - size, y2, x2, y2, paint); in drawBounds()
66 canvas.drawLine(x2, y2- size, x2, y2, paint); in drawBounds()
70 canvas.drawLine(x1, y2, x1 + size, y2, paint); in drawBounds()
72 canvas.drawLine(x1, y2 - size, x1, y2, paint); in drawBounds()
76 float cY = (y1 + y2) / 2; in drawBounds()
/packages/apps/LegacyCamera/jni/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.cpp144 double z, x0, y0, x1, y1, x2, y2, x3, y3; in runBlend() local
171 FrameToMosaic(mb->trs, mb->width-1.0, mb->height-1.0, x2, y2); in runBlend()
192 …if(y1 > yBottomCorners[0] || y2 > yBottomCorners[1]) // If either of the bottom corners is high… in runBlend()
195 yBottomCorners[1] = y2; in runBlend()
200 … FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); in runBlend()
1005 int y2 = y1 + 1; in ProcessPyramidForThisFrame() local
1010 double y2val = sptr->ptr[y2][x1] + in ProcessPyramidForThisFrame()
1011 (sptr->ptr[y2][x2] - sptr->ptr[y2][x1]) * xfrac; in ProcessPyramidForThisFrame()
1018 y2val = suptr->ptr[y2][x1] + in ProcessPyramidForThisFrame()
1019 (suptr->ptr[y2][x2] - suptr->ptr[y2][x1]) * xfrac; in ProcessPyramidForThisFrame()
[all …]
/packages/apps/DevCamera/src/com/android/devcamera/
DPreviewOverlay.java186 float y2 = 0.5f * previewH; in onDraw() local
201 canvas.drawCircle(x2, y2, mLens * 0.25f * previewW, mPaint2); in onDraw()
204 canvas.drawText(text, x2, y2 - mLens * 0.25f * previewW - 7f, mPaint); in onDraw()
235 float x1, x2, y1, y2; in onDraw() local
256 y1 = y2 = previewH / 2 + focalLengthH * (float) Math.tan(i); in onDraw()
257 canvas.drawLine(x1, y1, x2, y2, mPaint); in onDraw()
264 y2 = previewH; in onDraw()
265 canvas.drawLine(x1, y1, x2, y2, mPaint); in onDraw()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dgeometry_utils.h33 static AK_FORCE_INLINE float getAngle(const int x1, const int y1, const int x2, const int y2) { in getAngle() argument
35 const int dy = y1 - y2; in getAngle()
53 const int y2) { in getDistanceInt() argument
54 return static_cast<int>(hypotf(static_cast<float>(x1 - x2), static_cast<float>(y1 - y2))); in getDistanceInt()
Dproximity_info_utils.h90 const float y2) { in getSquaredDistanceFloat() argument
91 return GeometryUtils::SQUARE_FLOAT(x1 - x2) + GeometryUtils::SQUARE_FLOAT(y1 - y2); in getSquaredDistanceFloat()
95 const float x1, const float y1, const float x2, const float y2, const bool extend) { in pointToLineSegSquaredDistanceFloat() argument
99 const float ray2y = y2 - y1; in pointToLineSegSquaredDistanceFloat()
117 projectionY = y2; in pointToLineSegSquaredDistanceFloat()
Dproximity_info_state_utils.cpp308 const int y2 = (*sampledInputYs)[index1]; in getDirection() local
309 return GeometryUtils::getAngle(x1, y1, x2, y2); in getDirection()
530 const int y2 = yCoordinates[start]; in calculateBeelineSpeedRate() local
533 const int beelineDistance = GeometryUtils::getDistanceInt(x2, y2, x3, y3); in calculateBeelineSpeedRate()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DSplineMath.java53 double y2 = next[1]; in calculatetCurve() local
62 double tb = b * y2; in calculatetCurve()
94 double y2 = next[1]; in getValue() local
103 double tb = b * y2; in getValue()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DGridOccupancy.java63 int y2 = y + spanY - 1; in isRegionVacant() local
64 if (x < 0 || y < 0 || x2 >= mCountX || y2 >= mCountY) { in isRegionVacant()
68 for (int j = y; j <= y2; j++) { in isRegionVacant()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/
DFlingAnimationUtils.java200 float y2 = calculateLinearOutFasterInY2(velAbs); in getDismissingProperties() local
202 float startGradient = y2 / LINEAR_OUT_FASTER_IN_X2; in getDismissingProperties()
203 Interpolator mLinearOutFasterIn = new PathInterpolator(0, 0, LINEAR_OUT_FASTER_IN_X2, y2); in getDismissingProperties()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java186 double y2 = next.y; in getAppliedCurve() local
195 double tb = b * y2; in getAppliedCurve()
280 double y2 = points[i + 1].y; in draw() local
290 double tb = b * y2; in draw()
DGeometryMathUtils.java132 float y2 = line[3]; in shortestVectorFromPointToLine() local
134 float ydelt = y2 - y1; in shortestVectorFromPointToLine()
140 (x1 + u * (x2 - x1)), (y1 + u * (y2 - y1)) in shortestVectorFromPointToLine()
DGradControl.java124 private boolean centerIsOutside(float x1, float y1, float x2, float y2) { in centerIsOutside() argument
125 return (!mImageBounds.contains((int) ((x1 + x2) / 2), (int) ((y1 + y2) / 2))); in centerIsOutside()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DBogusMoveEventDetector.java107 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() argument
108 return (int)Math.hypot(x1 - x2, y1 - y2); in getDistance()
DGestureStrokeRecognitionPoints.java331 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() argument
332 return (int)Math.hypot(x1 - x2, y1 - y2); in getDistance()
/packages/apps/Messaging/src/com/android/messaging/util/
DCubicBezierInterpolator.java31 public CubicBezierInterpolator(final float x1, final float y1, final float x2, final float y2) { in CubicBezierInterpolator() argument
35 mY2 = y2; in CubicBezierInterpolator()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLCanvas.java85 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); in drawLine() argument
89 public abstract void drawRect(float x1, float y1, float x2, float y2, GLPaint paint); in drawRect() argument
DGLES11Canvas.java193 public void drawLine(float x1, float y1, float x2, float y2, GLPaint paint) { in drawLine() argument
201 scale(x2 - x1, y2 - y1, 1); in drawLine()
317 private float[] mapPoints(float m[], int x1, int y1, int x2, int y2) { in mapPoints() argument
328 float x4 = m[0] * x2 + m[4] * y2 + m[12]; in mapPoints()
329 float y4 = m[1] * x2 + m[5] * y2 + m[13]; in mapPoints()
330 float w4 = m[3] * x2 + m[7] * y2 + m[15]; in mapPoints()
DGLES20Canvas.java479 public void drawLine(float x1, float y1, float x2, float y2, GLPaint paint) { in drawLine() argument
480 draw(GLES20.GL_LINE_STRIP, OFFSET_DRAW_LINE, COUNT_LINE_VERTEX, x1, y1, x2 - x1, y2 - y1, in drawLine()
/packages/apps/LegacyCamera/jni/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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java479 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() argument
480 return (int)Math.hypot(x1 - x2, y1 - y2); in getDistance()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar14 cL�Py2��W��_,ݨ��l�*��z4m:����7<k֎�Bl���$/�Pe��0i����=���ϋ������+�ar� � f����Go�'�5���vb�…
1048 …�j1u"�aI����@fP��Ė���X�5Q��lw�M�d�� %����y��2H�9�1U$��|��)��G֧�y2*�z��eZH k���H�W…
5446 ���N������� *~}ʼ���ڑD�]�!�~s��Zw��2F7u�ګ��#ef*s����#;W%�Cv<|P�27s����a�ɤy2�08n��2����<m'…
8859 …�h�X�g$0���`|�,�Fs�$�3�*�Kf1���z}jc*� ��1�j�e���}�jF|��ޒcj���a���L})�y2;!�$�\�?�tٙ�fN}����e…
9280 …�hc.GB'�W5�=NK�s�#:��NKq��]��Z��&��^������f�To&���:�E9%fKzj|���SJ�I��y2�@gyg=O�^���]29���$…
9931 �����M̨f�P;y2Oq��3V�-5 eEd.���0 8�&��������C���v8�w�ڷ�ZN$���?/�֗H�mfa� ���$���'���?�УH�G…
10266 �I�8ϸ��M�~�Cm-չ�x�*� t��/I;��pƴl�S5�y2\1������X��~kX��
10321 …�f8p����Q�6TVIH�n;O��V� ȋR�zq�zS � V9�b�8�uc��9��]ͤ������9�+4���!$y2�����t�"�o��"d������…
10688 �YI_�B=( n�x�'�x�(�y2�j(�3�V<�ˎ��p�x%sԊI��K��Ќ��<x�=)�yb]W�����b��C�1������s���IN@oҝ
10698 C���#y2��Q�#�p`<�i� �V?6CS� NI�;����Kp���z�Br �N*]��?_Z��m��p=���C��8�qP���Lb��…
[all …]
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts10955 …���T���5=��@I��_���T�����D����:�X�M�zy@!�+� �`�7��l�By2�*pm���@���…
12761 gW'-���HH�6���� ��y2��C8�s�k�4#~�
31722 <����A �� @ � ��-WG�A�`�@J�rvOy���yJ�������0M����fB'�I5O/�1l�y2�F7΁��� �9�<��^�…
75808 ƹ�c�G�1��H�1R���6�N�5���=jfk��SI8�=À��I������t���G��:�������5��_�|w]�)�y��y2�Q�'���I …
81923 …�\a 7�b� �b_��඀`C` �5�i�-�x|Y&({1��t��S�?�p�����MH�`�_��``!ע+0y2���Z�`G�1:%�b�+…
83852 ��k��r#�y2@`�B�_�0�`
84760 ��B���=�TD‰�H���� �j��� ' ��y2�\�o� �����b������ `� �+��2 `�#腘��a�'
87069 …T�x�O��������5{^�د�C[ ��*�7��n��J*���2���\���gڸ��C��>�N�"١ݟ�3�G�1 �y2���jY�q��0�U��������…
87493 …;�� ��E��o���3G�К����p��G�Q������@5H��\�`L^ �b ���nO��y2�+��pBQ��5|�1�l�/…
90808 …���u��[>��wKk3���%˟]���^���-��/X���`��9}f]�*e�e�w�oZc=}~�-.��}��]���-�y2��/����&�L����S���o��…
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...

12