Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 38) 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/DocumentsUI/tests/res/raw/
Dimages_tar9 d�q�s����7���w@>��/��.�&�����Zxe�O�?�&�T7�������%�Ą�&� G�
13 …,�b�>�*�W��F���(�x�]^��k^C#�~���N_���a���h�7��\�3F'F�$� �qld�V��}q�X�!�q��ޡXP?v��b~!�`\�…
17 g!d���+ߏ �������h�̌�f��Q����z+�Ȫk O�q����:$B�_�;��䶢���o�s�e}�J�)��h)ΞD[�&Z�/��gY�MN…
23 4���gFHS�$/iՙ'��?PЈ50�z�qЗ�Z7�b�M��iodHc�n�����)�oh�ho�jO���lW���$��zQ`�l���ךI��*��Q
39 ���㉌�������E�xj��V�� &CT�B�J�z�(Z4)�u'�q(nNq¬�`[�
40 …�D��mX��E��1��)�F��9ZU�_���'���~��m�*Gc�c�$i�H�s���Ua�z�ׅ�C���y�dң�4��q����X������R���Lf�~…
44 �-�֠}���g�˅���l�@��q-N�'`z�0�,�vw�)FCY�?�g�i��@2uR�H0�t],�d����ߡӆ�#%��3�W��W�&d�Z\+����
52 ��$�*eX�a~�e�$��M�/헰^�#�j� ]1�'Ǩ� ��kC�Uf IZ�D�g�t/�c �Z4���g�3]�q~�e}yĻͣ���Bs� �o�2�>���-�…
59 ���sqCe�Bn�!������k:��Ɋܷ)$���=s �����/R�QC]q�[�>K�*� �����_Ԗ-(����*q�=`̻-�N��O��4…
61 �o��S��Kh����3I����jw�c`�m�}�A15�L£*�q���[zK�3�E����# �U��H*�����
[all …]
/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/TV/tuner/tests/assets/
Dcapture_kqed.ts3 …N*WI��@�'�+���H�$�|��(����G�Q%n���0����d��v��K-�E� ���ǟ�CxR�L�q�TP�cE��� �)�N��…
26q�7f+N���O��>I��}�����$Biʆ�W��n#�L���;�٠�����m%�h�q�F� �eVåg���2�Gj�l�8�2v H� @}���]GaȊ�…
27 …V��ZC{���UO_���·کg���W�+j}*L���G�f!N̯��3�WЩ�i�H�O͗Z)�/���;t<hȘ0�ߴ��qݰzߤBq';J1ů��#�p�…
51 …����B��T6nԸh5�*�z�)Bs̓s'�%�����II7�Q�k��b[G��#n�f��ŏ���[�G+��1�qa�uUz*���]�����…
53 …����R�����1�Q������C�?����=�7 6 �Z��b3�$RY�f|�f�k\i}O��#Y+."����|��[l�G��q�v��w��� �Rگ�i�`��'�…
60 6|����S��H�B@4�r����q�?5�x����j��ZNl�����0j1bƄ��'9��F�Ld�xE�����i@\�U�D�h���L��|{a�����…
110 …y�G�A�� �X�e���!I��I�p$�Z+2��R��{��s��赩�\�Z�Ȥn����T�D/q,���9*�}Ͻ:�7��${Z\��� q;� =)�8
122q�l�[,�����A�E��x!�}4�n�5���,�= �\|�^��˟[�����uz5�QB�3 6�%g��E��,el��G�����G�**G��…
125 …J�4�G���fh����1�+��@jO춒CU�A�y���?4 w*�� ��M�LL4�j�� e�������~�WzZN�H�q��G\�w��^jKn�H��4…
/packages/modules/DnsResolver/
DDnsTlsQueryMap.cpp43 Query q = {.newId = static_cast<uint16_t>(newId), .query = std::move(tmp)}; in recordQuery() local
45 const auto [it, inserted] = mQueries.try_emplace(newId, q); in recordQuery()
50 return std::make_unique<QueryFuture>(q, it->second.result.get_future()); in recordQuery()
108 for (auto& q : mQueries) { in getAll() local
109 queries.push_back(q.second.query); in getAll()
121 for (auto& q : mQueries) { in clear() local
122 expire(&q.second); in clear()
DDnsTlsTransport.cpp61 bool DnsTlsTransport::sendQuery(const DnsTlsQueryMap::Query& q) { in sendQuery() argument
63 const bool sent = mSocket->query(q.newId, netdutils::drop(netdutils::makeSlice(q.query), 2)); in sendQuery()
65 mQueries.markTried(q.newId); in sendQuery()
78 for(auto& q : queries) { in doConnect() local
79 if (!sendQuery(q)) { in doConnect()
Dgetaddrinfo.cpp1397 res_target q = {}; in dns_getaddrinfo() local
1403 q.name = name; in dns_getaddrinfo()
1404 q.qclass = C_IN; in dns_getaddrinfo()
1411 q.qtype = T_AAAA; in dns_getaddrinfo()
1413 q.next = &q2; in dns_getaddrinfo()
1419 q.qtype = T_A; in dns_getaddrinfo()
1426 q.name = name; in dns_getaddrinfo()
1427 q.qclass = C_IN; in dns_getaddrinfo()
1428 q.qtype = T_A; in dns_getaddrinfo()
1431 q.name = name; in dns_getaddrinfo()
[all …]
DDnsTlsSocket.cpp309 std::deque<std::vector<uint8_t>> q; in loop() local
326 if (!q.empty()) { in loop()
365 mQueue.swap(q); in loop()
372 if (!sendQuery(q.front())) { in loop()
375 q.pop_front(); in loop()
Dresolv_tls_unit_test.cpp733 auto q = make_query(i, SIZE); in TEST_F() local
739 auto r = dispatcher->query(server, mark, makeSlice(q), makeSlice(ans), &resplen, in TEST_F()
742 EXPECT_EQ(int(q.size()), resplen); in TEST_F()
744 EXPECT_EQ(q, ans); in TEST_F()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/shortcuts/
DDeepShortcutManager.java169 ShortcutQuery q = new ShortcutQuery(); in query() local
170 q.setQueryFlags(flags); in query()
172 q.setPackage(packageName); in query()
173 q.setActivity(activity); in query()
174 q.setShortcutIds(shortcutIds); in query()
177 return new QueryResult(mLauncherApps.getShortcuts(q, user)); in query()
/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/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/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.java171 Query q = new Query(); in createDownloadReceiver()
172 q.setFilterById(mDownloadId); in createDownloadReceiver()
173 Cursor c = mDownloadManager.query(q); in createDownloadReceiver()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DMediaData.java32 MediaData(Metadata m, PlaybackState s, List<Metadata> q) { in MediaData() argument
35 queue = q; in MediaData()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java645 ArrayList<MediaSession.QueueItem> q = new ArrayList<MediaSession.QueueItem>(); in testMetadataSyncFuzz() local
646 q.add(new MediaSession.QueueItem(d.build(), i)); in testMetadataSyncFuzz()
662 doReturn(q).when(mMockController).getQueue(); in testMetadataSyncFuzz()
663 controllerCallbacks.onQueueChanged(q); in testMetadataSyncFuzz()
682 Util.toMetadataList(q)); in testMetadataSyncFuzz()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java214 final float q = mInterpolator.getInterpolation(elapsedTime / (float) duration); in computeScrollOffset() local
215 mScroller.updateScroll(q); in computeScrollOffset()
511 void updateScroll(float q) { in updateScroll() argument
515 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()
/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/modules/IPsec/apex/
Dcom.android.ipsec.x509.pem31 eOOWJXE2nYqxGTkTZRNqxF/q/E2CtsWOQ16pFV35Dnr0dN7cw0io2hkYrBCeb8sn
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp653 for (const auto& q : queries_) { in dumpQueries() local
654 out += "{\"" + q.name + "\", " + std::to_string(q.type) + "\", " + in dumpQueries()
655 dnsproto2str(q.protocol) + "} "; in dumpQueries()

12