Searched defs:dx (Results 1 - 25 of 46) sorted by relevance

12

/packages/apps/Camera/jni/feature_stab/db_vlvm/
H A Ddb_bundle.h34 Solve for update dx such that diagmult(1+lambda,transpose(J)%J)%dx= -Jtf
38 inline void db_Compute_dx(double *dx,double **JtJ,double *min_Jtf,double lambda,double *d,int n) argument
47 db_CholeskyBacksub(dx,JtJ,d,n,min_Jtf);
51 Solve for update dx such that diagmult(1+lambda,transpose(J)%J)%dx= -Jtf
54 inline void db_Compute_dx_3x3(double dx[3],double JtJ[9],const double min_Jtf[3],double lambda) argument
63 db_CholeskyBacksub3x3(dx,JtJ,d,min_Jtf);
H A Ddb_utilities.h480 * Compute an incremental rotation matrix using the update dx=[sin(phi) sin(ohm) sin(kap)]
482 inline void db_IncrementalRotationMatrix(double R[9],const double dx[3]) argument
487 sp=dx[0]; so=dx[1]; sk=dx[2];
H A Ddb_utilities_camera.h144 Update a rotation with the update dx=[sin(phi) sin(ohm) sin(kap)]
146 inline void db_UpdateRotation(double R_p_dx[9],double R[9],const double dx[3]) argument
150 db_IncrementalRotationMatrix(R_temp,dx);
293 inline void db_UpdateImageHomographyAffine(double H_p_dx[9],const double H[9],const double dx[6]) argument
295 db_AddVectors6(H_p_dx,H,dx);
299 inline void db_UpdateImageHomographyProjective(double H_p_dx[9],const double H[9],const double dx[8],int frozen_coord) argument
307 H_p_dx[i]=H[i]+dx[j];
314 inline void db_UpdateRotFocalHomography(double H_p_dx[9],const double H[9],const double dx[4]) argument
321 db_IncrementalRotationMatrix(dR,dx);
323 fp=f+dx[
[all...]
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/
H A Ddb_bundle.h34 Solve for update dx such that diagmult(1+lambda,transpose(J)%J)%dx= -Jtf
38 inline void db_Compute_dx(double *dx,double **JtJ,double *min_Jtf,double lambda,double *d,int n) argument
47 db_CholeskyBacksub(dx,JtJ,d,n,min_Jtf);
51 Solve for update dx such that diagmult(1+lambda,transpose(J)%J)%dx= -Jtf
54 inline void db_Compute_dx_3x3(double dx[3],double JtJ[9],const double min_Jtf[3],double lambda) argument
63 db_CholeskyBacksub3x3(dx,JtJ,d,min_Jtf);
H A Ddb_utilities.h480 * Compute an incremental rotation matrix using the update dx=[sin(phi) sin(ohm) sin(kap)]
482 inline void db_IncrementalRotationMatrix(double R[9],const double dx[3]) argument
487 sp=dx[0]; so=dx[1]; sk=dx[2];
H A Ddb_utilities_camera.h144 Update a rotation with the update dx=[sin(phi) sin(ohm) sin(kap)]
146 inline void db_UpdateRotation(double R_p_dx[9],double R[9],const double dx[3]) argument
150 db_IncrementalRotationMatrix(R_temp,dx);
293 inline void db_UpdateImageHomographyAffine(double H_p_dx[9],const double H[9],const double dx[6]) argument
295 db_AddVectors6(H_p_dx,H,dx);
299 inline void db_UpdateImageHomographyProjective(double H_p_dx[9],const double H[9],const double dx[8],int frozen_coord) argument
307 H_p_dx[i]=H[i]+dx[j];
314 inline void db_UpdateRotFocalHomography(double H_p_dx[9],const double H[9],const double dx[4]) argument
321 db_IncrementalRotationMatrix(dR,dx);
323 fp=f+dx[
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_bundle.h34 Solve for update dx such that diagmult(1+lambda,transpose(J)%J)%dx= -Jtf
38 inline void db_Compute_dx(double *dx,double **JtJ,double *min_Jtf,double lambda,double *d,int n) argument
47 db_CholeskyBacksub(dx,JtJ,d,n,min_Jtf);
51 Solve for update dx such that diagmult(1+lambda,transpose(J)%J)%dx= -Jtf
54 inline void db_Compute_dx_3x3(double dx[3],double JtJ[9],const double min_Jtf[3],double lambda) argument
63 db_CholeskyBacksub3x3(dx,JtJ,d,min_Jtf);
H A Ddb_utilities.h480 * Compute an incremental rotation matrix using the update dx=[sin(phi) sin(ohm) sin(kap)]
482 inline void db_IncrementalRotationMatrix(double R[9],const double dx[3]) argument
487 sp=dx[0]; so=dx[1]; sk=dx[2];
H A Ddb_utilities_camera.h144 Update a rotation with the update dx=[sin(phi) sin(ohm) sin(kap)]
146 inline void db_UpdateRotation(double R_p_dx[9],double R[9],const double dx[3]) argument
150 db_IncrementalRotationMatrix(R_temp,dx);
293 inline void db_UpdateImageHomographyAffine(double H_p_dx[9],const double H[9],const double dx[6]) argument
295 db_AddVectors6(H_p_dx,H,dx);
299 inline void db_UpdateImageHomographyProjective(double H_p_dx[9],const double H[9],const double dx[8],int frozen_coord) argument
307 H_p_dx[i]=H[i]+dx[j];
314 inline void db_UpdateRotFocalHomography(double H_p_dx[9],const double H[9],const double dx[4]) argument
321 db_IncrementalRotationMatrix(dR,dx);
323 fp=f+dx[
[all...]
/packages/inputmethods/LatinIME/native/jni/src/
H A Dgeometry_utils.h32 const int dx = x1 - x2; local
34 if (dx == 0 && dy == 0) return 0.0f;
35 return atan2f(static_cast<float>(dy), static_cast<float>(dx));
H A Dproximity_info_utils.h236 const int dx = x - edgeX; local
238 return dx * dx + dy * dy;
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DGeometry.h103 double dx = x2 - x0; local
106 double len1 = sqrt(dx * dx + dy * dy);
107 double m1 = dy / dx;
118 dx = x1 - x;
120 mass = len1 * sqrt(dx * dx + dy * dy);
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/
H A DGeometry.h103 double dx = x2 - x0; local
106 double len1 = sqrt(dx * dx + dy * dy);
107 double m1 = dy / dx;
118 dx = x1 - x;
120 mass = len1 * sqrt(dx * dx + dy * dy);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DBoundedRect.java109 * Tries to move the inner rectangle by (dx, dy). If this would cause it to leave
113 public void moveInner(float dx, float dy) { argument
117 translatedInner.offset(dx, dy);
H A DCropObject.java202 float dx = 0;
206 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left;
212 dx = Math.max(crop.right + dX, crop.left + minWidthHeight)
235 dx, dy
239 dx = sp * bUnit[0];
241 RectF newCrop = fixedCornerResize(crop, movingEdges, dx, dy);
246 crop.left += dx;
252 crop.right += dx;
296 private static RectF fixedCornerResize(RectF r, int moving_corner, float dx, float dy) { argument
300 newCrop = new RectF(r.left, r.top, r.left + r.width() + dx,
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DColorSpaceMatrix.java119 private void zShearMatrix(float dx, float dy) argument
124 tmp[2] = dx;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageTinyPlanet.java87 protected static float angleFor(float dx, float dy) { argument
88 return (float) (Math.atan2(dx, dy) * 180 / Math.PI);
H A DImageCrop.java227 float dx = rotatedRect[0] - rotatedRect[2];
228 float angle = (float) (Math.atan(dy / dx) * 180 / Math.PI);
344 private RectF fixedCornerResize(RectF r, int moving_corner, float dx, float dy) { argument
348 newCrop = new RectF(r.left, r.top, r.left + r.width() + dx, r.top + r.height()
351 newCrop = new RectF(r.right - r.width() + dx, r.top, r.right, r.top + r.height()
354 newCrop = new RectF(r.right - r.width() + dx, r.bottom - r.height() + dy,
358 + r.width() + dx, r.bottom);
385 float dx = 0;
389 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left;
395 dx
[all...]
H A DImageGeometry.java77 protected static float angleFor(float dx, float dy) { argument
78 return (float) (Math.atan2(dx, dy) * 180 / Math.PI);
372 float dx = (getWidth() / 2) - bounds.centerX();
374 bounds.offset(dx, dy);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DGeometry.h103 double dx = x2 - x0; local
106 double len1 = sqrt(dx * dx + dy * dy);
107 double m1 = dy / dx;
118 dx = x1 - x;
120 mass = len1 * sqrt(dx * dx + dy * dy);
/packages/apps/Gallery/src/com/android/camera/
H A DHighlightView.java240 // Handles motion (dx, dy) in screen space.
242 void handleMotion(int edge, float dx, float dy) { argument
248 moveBy(dx * (mCropRect.width() / r.width()),
252 dx = 0;
260 float xDelta = dx * (mCropRect.width() / r.width());
267 // Grows the cropping rectange by (dx, dy) in image space.
268 void moveBy(float dx, float dy) { argument
271 mCropRect.offset(dx, dy);
288 // Grows the cropping rectange by (dx, dy) in image space.
289 void growBy(float dx, floa argument
[all...]
H A DImageViewTouchBase.java399 protected void postTranslate(float dx, float dy) { argument
400 mSuppMatrix.postTranslate(dx, dy);
403 protected void panBy(float dx, float dy) { argument
404 postTranslate(dx, dy);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGestureRecognizer.java34 boolean onScroll(float dx, float dy, float totalX, float totalY); argument
89 MotionEvent e1, MotionEvent e2, float dx, float dy) {
91 dx, dy, e2.getX() - e1.getX(), e2.getY() - e1.getY());
88 onScroll( MotionEvent e1, MotionEvent e2, float dx, float dy) argument
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DScroller.java312 * @param dx Horizontal distance to travel. Positive numbers will scroll the
317 public void startScroll(int startX, int startY, int dx, int dy) { argument
318 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
328 * @param dx Horizontal distance to travel. Positive numbers will scroll the
334 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
341 mFinalX = startX + dx;
343 mDeltaX = dx;
373 float dx = mFinalX - mStartX;
375 float hyp = FloatMath.sqrt(dx * dx
[all...]
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DImageViewTouchBase.java222 * @param dx The horizontal offset
225 public void postTranslateCenter(float dx, float dy) { argument
226 mSuppMatrix.postTranslate(dx, dy);
234 * @param dx Pan by this horizontal amount
237 private void panBy(float dx, float dy) { argument
238 mSuppMatrix.postTranslate(dx, dy);

Completed in 340 milliseconds

12