Home
last modified time | relevance | path

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

12

/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/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dpointertest.cpp460 Pointer q(p); in TEST() local
461 EXPECT_TRUE(q.IsValid()); in TEST()
462 EXPECT_EQ(2u, q.GetTokenCount()); in TEST()
463 EXPECT_EQ(3u, q.GetTokens()[0].length); in TEST()
464 EXPECT_STREQ("foo", q.GetTokens()[0].name); in TEST()
465 EXPECT_EQ(1u, q.GetTokens()[1].length); in TEST()
466 EXPECT_STREQ("0", q.GetTokens()[1].name); in TEST()
467 EXPECT_EQ(0u, q.GetTokens()[1].index); in TEST()
473 Pointer q(p); in TEST() local
474 EXPECT_TRUE(q.IsValid()); in TEST()
[all …]
Dallocatorstest.cpp31 uint8_t* q = (uint8_t*)a.Realloc(p, 100, 200); in TestAllocator() local
32 EXPECT_TRUE(q != 0); in TestAllocator()
34 EXPECT_EQ(i, q[i]); in TestAllocator()
36 q[i] = (uint8_t)i; in TestAllocator()
39 uint8_t *r = (uint8_t*)a.Realloc(q, 200, 150); in TestAllocator()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java412 StringBuilder q = new StringBuilder(); in saveQueue() local
426 q.append("0;"); in saveQueue()
431 q.append(hexdigits[digit]); in saveQueue()
433 q.append(";"); in saveQueue()
438 ed.putString("queue", q.toString()); in saveQueue()
443 q.setLength(0); in saveQueue()
447 q.append("0;"); in saveQueue()
452 q.append(hexdigits[digit]); in saveQueue()
454 q.append(";"); in saveQueue()
457 ed.putString("history", q.toString()); in saveQueue()
[all …]
/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/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java304 float q = (float) (elapsedTime) / duration; in computeScrollOffset() local
307 q = Scroller.viscousFluid(q); in computeScrollOffset()
309 q = mInterpolator.getInterpolation(q); in computeScrollOffset()
312 mScrollerX.updateScroll(q); in computeScrollOffset()
313 mScrollerY.updateScroll(q); in computeScrollOffset()
652 void updateScroll(float q) { in updateScroll() argument
653 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutManager.java209 ShortcutQuery q = new ShortcutQuery(); in query() local
210 q.setQueryFlags(flags); in query()
212 q.setPackage(packageName); in query()
213 q.setActivity(activity); in query()
214 q.setShortcutIds(shortcutIds); in query()
218 shortcutInfos = mLauncherApps.getShortcuts(q, user); in query()
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSystemBroadcastReceiver.java118 final DownloadManager.Query q = new DownloadManager.Query(); in removeOldDownloads() local
120 q.setFilterByStatus(DownloadManager.STATUS_FAILED in removeOldDownloads()
124 final Cursor c = downloadManagerWrapper.query(q); in removeOldDownloads()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDownloadPackageTask.java163 Query q = new Query(); in createDownloadReceiver()
164 q.setFilterById(mDownloadId); in createDownloadReceiver()
165 Cursor c = mDownloadManager.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/Bluetooth/src/com/android/bluetooth/btservice/
Dbluetooth.proto62 // https://cs.corp.google.com/#android/system/bt/stack/include/btm_api.h&q=major_computer.
141 // https://cs.corp.google.com/#android/system/bt/stack/include/hcidefs.h&q=failed_establish.
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java3360 Cursor q = null; in setVCardFromPhoneNumber() local
3363 q = mResolver.query(ContactsContract.CommonDataKinds.Email.CONTENT_URI, null, in setVCardFromPhoneNumber()
3367 if (q != null && q.moveToFirst()) { in setVCardFromPhoneNumber()
3369 emailAddresses = new String[q.getCount()]; in setVCardFromPhoneNumber()
3371 String emailAddress = q.getString(q.getColumnIndex( in setVCardFromPhoneNumber()
3374 } while (q != null && q.moveToNext()); in setVCardFromPhoneNumber()
3377 close(q); in setVCardFromPhoneNumber()
/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/
Den_emoji.combined.gz1dictionary=emoji:en,description=Emoji for English words,locale=en,date ...
Dfr_emoji.combined.gz1dictionary=emoji:fr,description=Emoji pour mots français,locale=fr,date ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dro_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz
Dfr_wordlist.combined.gz

12