Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_utilities_rotation.h38 inline void db_QuaternionToRotation(double R[9],const double q[4]) in db_QuaternionToRotation()
42 q0q0=q[0]*q[0]; in db_QuaternionToRotation()
43 q0qx=q[0]*q[1]; in db_QuaternionToRotation()
44 q0qy=q[0]*q[2]; in db_QuaternionToRotation()
45 q0qz=q[0]*q[3]; in db_QuaternionToRotation()
46 qxqx=q[1]*q[1]; in db_QuaternionToRotation()
47 qxqy=q[1]*q[2]; in db_QuaternionToRotation()
48 qxqz=q[1]*q[3]; in db_QuaternionToRotation()
49 qyqy=q[2]*q[2]; in db_QuaternionToRotation()
50 qyqz=q[2]*q[3]; in db_QuaternionToRotation()
[all …]
Ddb_utilities_poly.cpp30 double bp,bp2,cp,dp,q,r,srq; in db_SolveCubic() local
48 q=(bp2-3.0*cp)/9.0; in db_SolveCubic()
50 r2_min_q3=r*r-q*q*q; in db_SolveCubic()
55 srq=sqrt(q); in db_SolveCubic()
56 theta=acos(db_maxd(-1.0,db_mind(1.0,r/(q*srq)))); in db_SolveCubic()
77 if(A!=0.0) roots[0]=A+q/A-bp_through3; in db_SolveCubic()
85 si_r_srq=db_sign(r)*sqrt(q); in db_SolveCubic()
Ddb_framestitching.cpp30 double N[16],q[4],lambda[4],lambda_max; in db_RotationFromMOuterProductSum() local
67 db_EigenVector4x4(q,lambda_max,N); in db_RotationFromMOuterProductSum()
70 db_QuaternionToRotation(R,q); in db_RotationFromMOuterProductSum()
75 db_Multiply4x4_4x1(y,N,q); in db_RotationFromMOuterProductSum()
76 *score=db_ScalarProduct4(q,y); in db_RotationFromMOuterProductSum()
Ddb_utilities_poly.h41 double rs,srs,q; in db_SolveQuadratic() local
61 q= -0.5*(b+db_sign(b)*srs); in db_SolveQuadratic()
62 roots[0]=q/a; in db_SolveQuadratic()
65 if(q==0.0) *nr_roots=1; in db_SolveQuadratic()
66 else roots[1]=c/q; in db_SolveQuadratic()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_rotation.h38 inline void db_QuaternionToRotation(double R[9],const double q[4]) in db_QuaternionToRotation()
42 q0q0=q[0]*q[0]; in db_QuaternionToRotation()
43 q0qx=q[0]*q[1]; in db_QuaternionToRotation()
44 q0qy=q[0]*q[2]; in db_QuaternionToRotation()
45 q0qz=q[0]*q[3]; in db_QuaternionToRotation()
46 qxqx=q[1]*q[1]; in db_QuaternionToRotation()
47 qxqy=q[1]*q[2]; in db_QuaternionToRotation()
48 qxqz=q[1]*q[3]; in db_QuaternionToRotation()
49 qyqy=q[2]*q[2]; in db_QuaternionToRotation()
50 qyqz=q[2]*q[3]; in db_QuaternionToRotation()
[all …]
Ddb_utilities_poly.cpp30 double bp,bp2,cp,dp,q,r,srq; in db_SolveCubic() local
48 q=(bp2-3.0*cp)/9.0; in db_SolveCubic()
50 r2_min_q3=r*r-q*q*q; in db_SolveCubic()
55 srq=sqrt(q); in db_SolveCubic()
56 theta=acos(db_maxd(-1.0,db_mind(1.0,r/(q*srq)))); in db_SolveCubic()
77 if(A!=0.0) roots[0]=A+q/A-bp_through3; in db_SolveCubic()
85 si_r_srq=db_sign(r)*sqrt(q); in db_SolveCubic()
Ddb_framestitching.cpp30 double N[16],q[4],lambda[4],lambda_max; in db_RotationFromMOuterProductSum() local
67 db_EigenVector4x4(q,lambda_max,N); in db_RotationFromMOuterProductSum()
70 db_QuaternionToRotation(R,q); in db_RotationFromMOuterProductSum()
75 db_Multiply4x4_4x1(y,N,q); in db_RotationFromMOuterProductSum()
76 *score=db_ScalarProduct4(q,y); in db_RotationFromMOuterProductSum()
Ddb_utilities_poly.h41 double rs,srs,q; in db_SolveQuadratic() local
61 q= -0.5*(b+db_sign(b)*srs); in db_SolveQuadratic()
62 roots[0]=q/a; in db_SolveQuadratic()
65 if(q==0.0) *nr_roots=1; in db_SolveQuadratic()
66 else roots[1]=c/q; in db_SolveQuadratic()
/packages/wallpapers/NoiseField/src/com/android/noisefield/
Dnoisefield.rs121 float *q;
147 q = g2[b00]; u = rx0 * q[0] + ry0 * q[1];
148 q = g2[b10]; v = rx1 * q[0] + ry0 * q[1];
151 q = g2[b01]; u = rx0 * q[0] + ry1 * q[1];
152 q = g2[b11]; v = rx1 * q[0] + ry1 * q[1];
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java419 StringBuilder q = new StringBuilder(); in saveQueue() local
433 q.append("0;"); in saveQueue()
438 q.append(hexdigits[digit]); in saveQueue()
440 q.append(";"); in saveQueue()
444 ed.putString("queue", q.toString()); in saveQueue()
449 q.setLength(0); in saveQueue()
453 q.append("0;"); in saveQueue()
458 q.append(hexdigits[digit]); in saveQueue()
460 q.append(";"); in saveQueue()
463 ed.putString("history", q.toString()); in saveQueue()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java307 float q = (float) (elapsedTime) / duration; in computeScrollOffset() local
310 q = Scroller.viscousFluid(q); in computeScrollOffset()
312 q = mInterpolator.getInterpolation(q); in computeScrollOffset()
315 mScrollerX.updateScroll(q); in computeScrollOffset()
316 mScrollerY.updateScroll(q); in computeScrollOffset()
655 void updateScroll(float q) { in updateScroll() argument
656 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DOverScrollerSGV.java309 float q = (float) (elapsedTime) / duration; in computeScrollOffset() local
312 q = mInterpolator.getInterpolation(q); in computeScrollOffset()
314 q = mInterpolator.getInterpolation(q); in computeScrollOffset()
317 mScrollerX.updateScroll(q); in computeScrollOffset()
318 mScrollerY.updateScroll(q); in computeScrollOffset()
654 void updateScroll(float q) { in updateScroll() argument
655 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DMatrixFit.java61 double[][] q = new double[from.length][mDimension]; in fit() local
64 q[i][j] = from[i][j]; in fit()
79 for (int i = 0; i < q.length; i++) { in fit()
82 qt = q[i][k]; in fit()
91 for (int qi = 0; qi < q.length; qi++) { in fit()
94 qt[i] = q[qi][i]; in fit()
/packages/apps/Gallery2/jni_jpegstream/src/
Djpegstream.cpp62 int32_t q = static_cast<int32_t>(quality); in OutputStream_setup() local
64 q = (q > 100) ? 100 : ((q < 1) ? 1 : q); in OutputStream_setup()
69 int32_t errorFlag = w_ptr->setup(env, out, w, h, fmt, q); in OutputStream_setup()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileCleaningTracker.java47 ReferenceQueue<Object> /* Tracker */ q = new ReferenceQueue<Object>(); field in FileCleaningTracker
138 trackers.add(new Tracker(path, deleteStrategy, marker, q)); in addTracker()
206 tracker = (Tracker) q.remove(); in run()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDownloadPackageTask.java99 Query q = new Query(); in createDownloadReceiver()
100 q.setFilterById(mDownloadId); in createDownloadReceiver()
103 Cursor c = dm.query(q); in createDownloadReceiver()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSearchActivityView.java211 CharSequence q = mQueryTextView.getText(); in getQuery() local
212 return q == null ? "" : q.toString(); in getQuery()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java212 Rect q = new Rect(Math.round(r.left), Math.round(r.top), Math.round(r.right), in roundNearest() local
214 return q; in roundNearest()
/packages/apps/UnifiedEmail/res/raw/
Dlogo.txt53 4BNRVWRBFZ8rjFlFUH5KE/FoX/bBP+59q/ebq+5cdevh3x1SY+Pj5phjj/FHe3po
/packages/inputmethods/LatinIME/dictionaries/
Dfr_emoji.combined.gz1dictionary=emoji:fr,description=Emoji pour mots français,locale=fr,date ...
Den_emoji.combined.gz1dictionary=emoji:en,description=Emoji for English words,locale=en,date ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Româna,date=1408019089, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12