Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 200) 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/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/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/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/UnifiedEmail/src/com/android/mail/browse/
DMessageCursor.java67 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/
DConversationViewState.java70 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/inputmethods/LatinIME/dictionaries/
Dcs_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
/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 …]
DMasterImage.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/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/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DObexTime.java39 Matcher m = p.matcher(time); in ObexTime() local
41 if (m.matches()) { in ObexTime()
51 cal.set(Integer.parseInt(m.group(1)), Integer.parseInt(m.group(2)) - 1, in ObexTime()
52 Integer.parseInt(m.group(3)), Integer.parseInt(m.group(4)), in ObexTime()
53 Integer.parseInt(m.group(5)), Integer.parseInt(m.group(6))); in ObexTime()
59 if (m.group(7) != null) { in ObexTime()
60 int ohh = Integer.parseInt(m.group(9)); in ObexTime()
61 int omm = Integer.parseInt(m.group(10)); in ObexTime()
66 if (m.group(8).equals("-")) { in ObexTime()
/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/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/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/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/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/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java151 private static int[][] createFullMatrix(int m, int n) { in createFullMatrix() argument
152 int[][] matrix = new int [m][n]; in createFullMatrix()
154 for (int i=0; i < m;i++) { in createFullMatrix()
167 final int m = layout.getCountX(); in createSparseMatrix() local
171 int[][] matrix = createFullMatrix(m, n); in createSparseMatrix()
181 matrix[invert ? (m - cx - 1) : cx][cy] = i; in createSparseMatrix()
207 int m, n; in createSparseMatrixWithHotseat() local
209 m = hotseatLayout.getCountX(); in createSparseMatrixWithHotseat()
212 m = iconLayout.getCountX() + hotseatLayout.getCountX(); in createSparseMatrixWithHotseat()
215 int[][] matrix = createFullMatrix(m, n); in createSparseMatrixWithHotseat()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Ddocument.h583 for (MemberIterator m = MemberBegin(); m != MemberEnd(); ++m)
584 m->~Member();
1145 for (MemberIterator m = MemberBegin(); m != MemberEnd(); ++m)
1146 m->~Member();
1169 MemberIterator m = FindMember(name);
1170 if (m != MemberEnd()) {
1171 RemoveMember(m);
1186 MemberIterator RemoveMember(MemberIterator m) {
1190 RAPIDJSON_ASSERT(m >= MemberBegin() && m < MemberEnd());
1193 if (data_.o.size > 1 && m != last) {
[all …]
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java262 float[] m = mMatrices; in translate() local
263 m[index + 12] += m[index + 0] * x + m[index + 4] * y; in translate()
264 m[index + 13] += m[index + 1] * x + m[index + 5] * y; in translate()
265 m[index + 14] += m[index + 2] * x + m[index + 6] * y; in translate()
266 m[index + 15] += m[index + 3] * x + m[index + 7] * y; in translate()

12345678