Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 198) sorted by relevance

12345678

/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Dvp_motionmodel.h145 #define MXX(m) (m).par[0] argument
146 #define MXY(m) (m).par[1] argument
147 #define MXZ(m) (m).par[2] argument
148 #define MXW(m) (m).par[3] argument
149 #define MYX(m) (m).par[4] argument
150 #define MYY(m) (m).par[5] argument
151 #define MYZ(m) (m).par[6] argument
152 #define MYW(m) (m).par[7] argument
153 #define MZX(m) (m).par[8] argument
154 #define MZY(m) (m).par[9] argument
[all …]
Dvp_motionmodel.c42 double Det3(double m[3][3]) in Det3()
47 m[0][0]*m[1][1]*m[2][2] + m[0][1]*m[1][2]*m[2][0] + in Det3()
48 m[0][2]*m[1][0]*m[2][1] - m[0][2]*m[1][1]*m[2][0] - in Det3()
49 m[0][0]*m[1][2]*m[2][1] - m[0][1]*m[1][0]*m[2][2]; in Det3()
57 double Det4(MATRIX m) in Det4() argument
65m[0][3] *m[1][2] *m[2][1] *m[3][0] - m[0][2] *m[1][3] *m[2][1] *m[3][0] - m[0][3] *m[1][1] *m[2][2… in Det4()
66m[0][1] *m[1][3] *m[2][2] *m[3][0] + m[0][2] *m[1][1] *m[2][3] *m[3][0] - m[0][1] *m[1][2] *m[2][3… in Det4()
67m[0][2] *m[1][3] *m[2][0] *m[3][1] + m[0][3] *m[1][0] *m[2][2] *m[3][1] - m[0][0] *m[1][3] *m[2][2… in Det4()
68m[0][0] *m[1][2] *m[2][3] *m[3][1] + m[0][3] *m[1][1] *m[2][0] *m[3][2] - m[0][1] *m[1][3] *m[2][0… in Det4()
69m[0][0] *m[1][3] *m[2][1] *m[3][2] + m[0][1] *m[1][0] *m[2][3] *m[3][2] - m[0][0] *m[1][1] *m[2][3… in Det4()
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DtrsMatrix.cpp41 int normProjMat33d(double m[3][3]) in normProjMat33d()
45 if(m[2][2] == 0.0) in normProjMat33d()
50 m[0][0] /= m[2][2]; in normProjMat33d()
51 m[0][1] /= m[2][2]; in normProjMat33d()
52 m[0][2] /= m[2][2]; in normProjMat33d()
53 m[1][0] /= m[2][2]; in normProjMat33d()
54 m[1][1] /= m[2][2]; in normProjMat33d()
55 m[1][2] /= m[2][2]; in normProjMat33d()
56 m[2][0] /= m[2][2]; in normProjMat33d()
57 m[2][1] /= m[2][2]; in normProjMat33d()
[all …]
/packages/apps/Terminal/src/com/android/terminal/
DTerminalLineView.java62 final TerminalMetrics m = mMetrics; in onDraw() local
65 mTerm.getCellRun(row, col, m.run); in onDraw()
67 m.bgPaint.setColor(m.run.bg); in onDraw()
68 m.textPaint.setColor(m.run.fg); in onDraw()
70 final int x = col * m.charWidth; in onDraw()
71 final int xEnd = x + (m.run.colSize * m.charWidth); in onDraw()
75 canvas.clipRect(0, 0, m.run.colSize * m.charWidth, m.charHeight); in onDraw()
77 canvas.drawPaint(m.bgPaint); in onDraw()
78 canvas.drawPosText(m.run.data, 0, m.run.dataSize, m.pos, m.textPaint); in onDraw()
82 col += m.run.colSize; in onDraw()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_image_homography.cpp116 double m,ax,ay,apx,apy,bx,by,bpx,bpy; in db_CommonFocalLengthFromRotation_2Point() local
129 m=db_SafeReciprocal(x1[2]); in db_CommonFocalLengthFromRotation_2Point()
130 ax=x1[0]*m; in db_CommonFocalLengthFromRotation_2Point()
131 ay=x1[1]*m; in db_CommonFocalLengthFromRotation_2Point()
132 m=db_SafeReciprocal(xp1[2]); in db_CommonFocalLengthFromRotation_2Point()
133 apx=xp1[0]*m; in db_CommonFocalLengthFromRotation_2Point()
134 apy=xp1[1]*m; 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()
[all …]
Ddb_utilities_geometry.h34 double cx,cy,m; in db_PointCentroid2D() local
44 m=1.0/((double)nr_points); in db_PointCentroid2D()
45 c[0]=cx*m; in db_PointCentroid2D()
46 c[1]=cy*m; in db_PointCentroid2D()
54 double cx,cy,m; in db_PointCentroid2D() local
66 m=1.0/((double)nr_points); in db_PointCentroid2D()
67 c[0]=cx*m; in db_PointCentroid2D()
68 c[1]=cy*m; in db_PointCentroid2D()
78 double cx,cy,cz,m; in db_PointCentroid3D() local
89 m=1.0/((double)nr_points); in db_PointCentroid3D()
[all …]
Ddb_utilities_indexing.cpp103 unsigned long m; in db_AlignPointer_f() local
105 m=((unsigned long)p)%nr_bytes; in db_AlignPointer_f()
106 if(m) ap=(float*) (((unsigned long)p)-m+nr_bytes); in db_AlignPointer_f()
114 unsigned long m; in db_AlignPointer_s() local
116 m=((unsigned long)p)%nr_bytes; in db_AlignPointer_s()
117 if(m) ap=(short*) (((unsigned long)p)-m+nr_bytes); in db_AlignPointer_s()
/packages/providers/CalendarProvider/
Dmaketests.py56 m = TIME.match(s[0])
57 if m:
58 if m.group(7) == "+":
62 hour = int(m.group(4)) + (sign * int(m.group(8)))
63 return m.group(1) + m.group(2) + m.group(3) + "T" + fmt(hour) \
64 + m.group(5) + m.group(6) + "Z"
65 m = TIMEZ.match(s[0])
66 if m:
67 return m.group(1) + m.group(2) + m.group(3) + "T" + m.group(4) \
68 + m.group(5) + m.group(6) + "Z"
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DMatrixFit.java158 private boolean gaussianElimination(double[][] m) { in gaussianElimination() argument
159 int h = m.length; in gaussianElimination()
160 int w = m[0].length; in gaussianElimination()
165 if (Math.abs(m[y2][y]) > Math.abs(m[maxrow][y])) { in gaussianElimination()
171 double t = m[y][i]; in gaussianElimination()
172 m[y][i] = m[maxrow][i]; in gaussianElimination()
173 m[maxrow][i] = t; in gaussianElimination()
176 if (Math.abs(m[y][y]) <= sEPS) { // Singular Matrix in gaussianElimination()
180 double c = m[y2][y] / m[y][y]; in gaussianElimination()
182 m[y2][x] -= m[y][x] * c; in gaussianElimination()
[all …]
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar8 �����H��������0220������0100����HDRP�d5m^p,��MWT�U�,iGqkQ�Ğo��t�� ĩ��YZ�хm�Ջ���ɫBH�����ߝ…
10 …R���?`3/e*x?V,iy��&��Q�����^I1��C�,|�}$ ��M+�х����,�.�|<C�sKⷋHK� 6�b��mר��;o����0(���b���XWO…
18 �D�W�*r���>j�{�a����ԁ=m���S��S� Ga��7�m�&?�~�4�eA�a�,�=҈ �z+S�%EC}PZۯ���
19m�\���j~��)�8�P����W]�wI|��iR6��x�O%���yo_$>��ȼ��ɪ��T��U���3�E��f�����1qc�f����2�z�t�37��…
28 …]��}��+�LK&�(�����C�� �#V:hL&=84�m����;ɛ�&�����`�L��돀3��(؞e|>� G'�ֺ5:�&En��#�������`…
32 ��0P\�A^u�[��V�������#��L��{K@K�!���s������!l�H�&���ͧ��O��[�̮��zP��m��ԣ�x��>I���
38 `�IF闆�+Ƒ��=�mÅ��P���u@�0TP�Tz;I�i�'�1sj;�9^����9���i}�զA���
40 ql�zqV�a�rP�W���x#\N�r�S8�D��mX��E��1��)�F��9ZU�_���'���~��m�*Gc�c�$i�H�s���Ua�z�ׅ�C���y�…
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DObexTime.java46 Matcher m = p.matcher(time); in ObexTime() local
48 if (m.matches()) { in ObexTime()
58 builder.setDate(Integer.parseInt(m.group(1)), /* year */ in ObexTime()
59 Integer.parseInt(m.group(2)) - 1, /* month */ in ObexTime()
60 Integer.parseInt(m.group(3))); /* day of month */ in ObexTime()
63 builder.setTimeOfDay(Integer.parseInt(m.group(4)), /* hours */ in ObexTime()
64 Integer.parseInt(m.group(5)), /* minutes */ in ObexTime()
65 Integer.parseInt(m.group(6)), /* seconds */ in ObexTime()
72 if (m.group(7) != null) { in ObexTime()
73 int ohh = Integer.parseInt(m.group(9)); in ObexTime()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java217 private static void concatMirrorMatrix(Matrix m, GeometryHolder holder) { in concatMirrorMatrix() argument
231 m.postScale(-1, 1); in concatMirrorMatrix()
233 m.postScale(1, -1); in concatMirrorMatrix()
235 m.postScale(1, -1); in concatMirrorMatrix()
236 m.postScale(-1, 1); in concatMirrorMatrix()
317 Matrix m = getCropSelectionToScreenMatrix(null, holder, width, height, frame.width(), in applyFullGeometryMatrix() local
327 canvas.drawBitmap(image, m, paint); in applyFullGeometryMatrix()
380 Matrix m = getCropSelectionToScreenMatrix(null, holder, (int) originalWidth, in getOriginalToScreen() local
383 return m; in getOriginalToScreen()
407 Matrix m = getCropSelectionToScreenMatrix(crop, holder, photo.getWidth(), photo.getHeight(), in drawTransformedCropped() local
[all …]
DPrimaryImage.java580 Matrix m = null; in computeImageToScreen() local
588 m = GeometryMathUtils.getCropSelectionToScreenMatrix(null, holder, in computeImageToScreen()
592 m = new Matrix(); in computeImageToScreen()
607 m.postScale(scale, scale); in computeImageToScreen()
608 m.postRotate(rotate, mImageShowSize.x / 2.0f, mImageShowSize.y / 2.0f); in computeImageToScreen()
609 m.postTranslate(translateX, translateY); in computeImageToScreen()
610 m.postTranslate(mShadowMargin, mShadowMargin); in computeImageToScreen()
611 m.postScale(getScaleFactor(), getScaleFactor(), in computeImageToScreen()
614 m.postTranslate(translation.x * getScaleFactor(), in computeImageToScreen()
616 return m; in computeImageToScreen()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DShutterButton.java106 public boolean dispatchTouchEvent(MotionEvent m) { in dispatchTouchEvent() argument
113 if (m.getActionMasked() != MotionEvent.ACTION_MOVE in dispatchTouchEvent()
114 || m.getX() < 0 || m.getY() < 0 in dispatchTouchEvent()
115 || m.getX() >= getWidth() || m.getY() >= getHeight()) { in dispatchTouchEvent()
116 mGestureDetector.onTouchEvent(m); in dispatchTouchEvent()
118 if (m.getActionMasked() == MotionEvent.ACTION_UP) { in dispatchTouchEvent()
119 mTouchCoordinate = new TouchCoordinate(m.getX(), m.getY(), this.getMeasuredWidth(), in dispatchTouchEvent()
122 return super.dispatchTouchEvent(m); in dispatchTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java236 float[] m = mMatrixValues; in translate() local
237 m[12] += m[0] * x + m[4] * y; in translate()
238 m[13] += m[1] * x + m[5] * y; in translate()
239 m[14] += m[2] * x + m[6] * y; in translate()
240 m[15] += m[3] * x + m[7] * y; in translate()
317 private float[] mapPoints(float m[], int x1, int y1, int x2, int y2) { in mapPoints() argument
321 float x3 = m[0] * x1 + m[4] * y1 + m[12]; in mapPoints()
322 float y3 = m[1] * x1 + m[5] * y1 + m[13]; in mapPoints()
323 float w3 = m[3] * x1 + m[7] * y1 + m[15]; in mapPoints()
328 float x4 = m[0] * x2 + m[4] * y2 + m[12]; in mapPoints()
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DTest.java61 for (final Method m : c.getDeclaredMethods()) { in Test()
62 if (m.getName().startsWith("test") && Void.TYPE == m.getReturnType() in Test()
63 && 0 == m.getParameterTypes().length) { in Test()
64 mAllTestMethods.add(m); in Test()
78 for (final Method m : mAllTestMethods) { in getHelp()
80 s.append(m.getName()); in getHelp()
114 for (final Method m : mAllTestMethods) { in runChosenTests()
115 final Class<?> declaringClass = m.getDeclaringClass(); in runChosenTests()
116 if (!mUsedTestMethods.isEmpty() && !mUsedTestMethods.contains(m.getName())) continue; in runChosenTests()
130 m.invoke(instance); in runChosenTests()
/packages/inputmethods/LatinIME/dictionaries/
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMotionEventHelper.java28 public static MotionEvent transformEvent(MotionEvent e, Matrix m) { in transformEvent() argument
32 return transformEventNew(e, m); in transformEvent()
34 return transformEventOld(e, m); in transformEvent()
39 private static MotionEvent transformEventNew(MotionEvent e, Matrix m) { in transformEventNew() argument
41 newEvent.transform(m); in transformEventNew()
46 private static MotionEvent transformEventOld(MotionEvent e, Matrix m) { in transformEventOld() argument
67 m.mapPoints(xy); in transformEventOld()
72 m, pointerCoords[i].orientation); in transformEventOld()
101 private static float transformAngle(Matrix m, float angleRadians) { in transformAngle() argument
108 m.mapVectors(v); in transformAngle()
/packages/apps/Gallery2/jni/filters/
Dhsv.c86 int m; in hsv2rgb() local
101 m = ((int)cv*(k1 - (int)cs ))/k1; in hsv2rgb()
116 m=m >> ABITS; in hsv2rgb()
124 rb = m; in hsv2rgb()
129 rb = m; in hsv2rgb()
132 rr = m; in hsv2rgb()
137 rr = m; in hsv2rgb()
143 rg = m; in hsv2rgb()
148 rg = m ; in hsv2rgb()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DBoundedRect.java177 Matrix m = getRotMatrix(); in resizeInner() local
181 m.mapPoints(outerCorners); in resizeInner()
246 Matrix m = getRotMatrix(); in fixedAspectResizeInner() local
254 m.mapPoints(corners); in fixedAspectResizeInner()
346 Matrix m = getRotMatrix(); in reconstrain() local
348 m.mapPoints(unrotated); in reconstrain()
353 Matrix m = getInverseRotMatrix(); in rotateInner() local
354 m.mapPoints(innerRotated); in rotateInner()
358 Matrix m = new Matrix(); in getRotMatrix() local
359 m.setRotate(rot, outer.centerX(), outer.centerY()); in getRotMatrix()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDateTime.java59 Matcher m = p.matcher(time); in BipDateTime() local
61 if (m.matches()) { in BipDateTime()
69 builder.setDate(Integer.parseInt(m.group(1)), /* year */ in BipDateTime()
70 Integer.parseInt(m.group(2)) - 1, /* month */ in BipDateTime()
71 Integer.parseInt(m.group(3))); /* day of month */ in BipDateTime()
74 builder.setTimeOfDay(Integer.parseInt(m.group(4)), /* hours */ in BipDateTime()
75 Integer.parseInt(m.group(5)), /* minutes */ in BipDateTime()
76 Integer.parseInt(m.group(6)), /* seconds */ in BipDateTime()
80 if (m.group(7) != null) { in BipDateTime()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
DIpMemoryStoreClient.java94 } catch (ExecutionException m) { in storeNetworkAttributes()
119 } catch (ExecutionException m) { in storeBlob()
146 } catch (ExecutionException m) { in findL2Key()
168 } catch (ExecutionException m) { in isSameNetwork()
190 } catch (ExecutionException m) { in retrieveNetworkAttributes()
214 } catch (ExecutionException m) { in retrieveBlob()
241 } catch (ExecutionException m) { in delete()
273 } catch (ExecutionException m) { in deleteCluster()
288 } catch (ExecutionException m) { in factoryReset()
289 Log.e(TAG, "Error executing factory reset", m); in factoryReset()
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts23 dAlH��ʯ;��I�$�z�1r&F�(He–,��Lg#L�(�z�!RS�f%��(�>��"y��b]-�]���C�φ�#��0�Ӵ��a5� ZQ�f�m�c�[�R�…
26 …�n#�L���;�٠�����m%�h�q�F� �eVåg���2�Gj�l�8�2v H� @}���]GaȊ��.�n�i��Ɠ��m��4�/̬���1�1���7���…
30 �L9bޤPEw�ڼ��1���7�ɘ�[YE� �Ž�pM��S��E��9s��(m�r�1rG�T�5C�z��B�e������G�k�]WY�J�ݲ��Y]]�j�}�3n;…
39 …��(Õ��Xj�yG�?f�Y����oj���9i�by�MF2�j��L�F�4h%J� ����QOq���-��x��""��O]��Fv�^B��m��|T�8��Gy
40 ,P�h�M����Q��Fk3�R�]�2�Y�m 4@vv�3�r"�rc��%��Hw
41 (@� PM�&\]�N� ZnYH� K�� �h�HJ��H�P�G���>=u�d�{l�ϻE,]���멃V�2��b_9?�ո�� �-PG�6|.L�8�"t�2S�m"…
95m��΍u3>ٍ��2��5C�j��ҥ%�ni���`Q-$�ʺ>.���x��VlqL갆kzA�� �^ҧ�y�]J��`���J�0s�&�%kpF����=…
106 …�d��ڽG�O�F�yU�����i��m��2�B�u u�5�z:�B�S•��H�b���rk_Z$nki�0+Q��Ի�� sRT��r�k�����KW�s �rk��…
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DWebAddress.java76 Matcher m = sAddressPattern.matcher(address); in WebAddress() local
78 if (m.matches()) { in WebAddress()
79 t = m.group(MATCH_GROUP_SCHEME); in WebAddress()
81 t = m.group(MATCH_GROUP_AUTHORITY); in WebAddress()
83 t = m.group(MATCH_GROUP_HOST); in WebAddress()
85 t = m.group(MATCH_GROUP_PORT); in WebAddress()
94 t = m.group(MATCH_GROUP_PATH); in WebAddress()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java150 private static int[][] createFullMatrix(int m, int n) { in createFullMatrix() argument
151 int[][] matrix = new int [m][n]; in createFullMatrix()
153 for (int i=0; i < m;i++) { in createFullMatrix()
166 final int m = layout.getCountX(); in createSparseMatrix() local
170 int[][] matrix = createFullMatrix(m, n); in createSparseMatrix()
180 int x = invert ? (m - cx - 1) : cx; in createSparseMatrix()
181 if (x < m && cy < n) { // check if view fits into matrix, else skip in createSparseMatrix()
205 int m, n; in createSparseMatrixWithHotseat() local
207 m = hotseatLayout.getCountX(); in createSparseMatrixWithHotseat()
210 m = iconLayout.getCountX() + hotseatLayout.getCountX(); in createSparseMatrixWithHotseat()
[all …]

12345678