/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
D | vp_motionmodel.h | 145 #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 …]
|
D | vp_motionmodel.c | 42 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 65 …m[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() 66 …m[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() 67 …m[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() 68 …m[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() 69 …m[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/ |
D | trsMatrix.cpp | 41 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/ |
D | TerminalLineView.java | 62 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/ |
D | db_image_homography.cpp | 116 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 …]
|
D | db_utilities_geometry.h | 34 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 …]
|
D | db_utilities_indexing.cpp | 103 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/ |
D | maketests.py | 56 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/ |
D | MatrixFit.java | 158 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/UnifiedEmail/src/com/android/mail/browse/ |
D | MessageCursor.java | 67 final ConversationMessage m = getModel(); in getMessage() local 72 m.setController(mController); in getMessage() 73 return m; in getMessage() 115 final ConversationMessage m = getMessage(); in getMessageForId() local 116 if (id == m.id) { in getMessageForId() 117 return m; in getMessageForId() 175 final ConversationMessage m = getMessage(); in getDebugDump() local 177 for (Attachment a : m.getAttachments()) { in getDebugDump() 183 pos, m.getStateHashCode(), m.uri, m.id, m.serverId, m.getFrom(), m.draftType, in getDebugDump() 184 m.sendingState, m.read, m.starred, attUris)); in getDebugDump()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationViewState.java | 70 public boolean isUnread(Message m) { in isUnread() argument 71 final MessageViewState mvs = mMessageViewStates.get(m.uri); in isUnread() 75 public void setReadState(Message m, boolean read) { in setReadState() argument 76 MessageViewState mvs = mMessageViewStates.get(m.uri); in setReadState() 81 mMessageViewStates.put(m.uri, mvs); in setReadState() 84 public boolean getShouldShowImages(Message m) { in getShouldShowImages() argument 85 final MessageViewState mvs = mMessageViewStates.get(m.uri); in getShouldShowImages() 89 public void setShouldShowImages(Message m, boolean showImages) { in setShouldShowImages() argument 90 MessageViewState mvs = mMessageViewStates.get(m.uri); in setShouldShowImages() 95 mMessageViewStates.put(m.uri, mvs); in setShouldShowImages() [all …]
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 8 �H�0220�0100HDRP�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ۯ��� 19 …m�\���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/ |
D | ObexTime.java | 37 Matcher m = p.matcher(time); in ObexTime() local 39 if (m.matches()) { in ObexTime() 49 cal.set(Integer.parseInt(m.group(1)), Integer.parseInt(m.group(2)) - 1, in ObexTime() 50 Integer.parseInt(m.group(3)), Integer.parseInt(m.group(4)), in ObexTime() 51 Integer.parseInt(m.group(5)), Integer.parseInt(m.group(6))); in ObexTime() 57 if (m.group(7) != null) { in ObexTime() 58 int ohh = Integer.parseInt(m.group(9)); in ObexTime() 59 int omm = Integer.parseInt(m.group(10)); in ObexTime() 64 if (m.group(8).equals("-")) { in ObexTime()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMathUtils.java | 217 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 …]
|
D | MasterImage.java | 580 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/ |
D | ShutterButton.java | 106 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/ |
D | GLES11Canvas.java | 236 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/ |
D | Test.java | 61 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/ |
D | cs_wordlist.combined.gz | 1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ... |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | MotionEventHelper.java | 28 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/ |
D | hsv.c | 86 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/ |
D | BoundedRect.java | 177 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 …]
|
D | CropMath.java | 141 Matrix m = new Matrix(); in pointInRotatedRect() local 143 m.setRotate(rot, bound.centerX(), bound.centerY()); in pointInRotatedRect() 145 if (!m.invert(m0)) in pointInRotatedRect() 219 Matrix m = new Matrix(); in getScaledCropBounds() local 220 m.setRectToRect(photoBounds, displayBounds, Matrix.ScaleToFit.FILL); in getScaledCropBounds() 222 if (!m.mapRect(trueCrop)) { in getScaledCropBounds() 252 Matrix m = new Matrix(); in getUnrotated() local 253 m.setRotate(-angle, center[0], center[1]); in getUnrotated() 255 m.mapPoints(unrotatedRect, rotatedRect); in getUnrotated()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | WebAddress.java | 76 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/ |
D | FocusLogic.java | 150 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 …]
|