Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 16 of 16) sorted by relevance

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DPercentEscaper.java206 protected char[] escape(int cp) { in escape() argument
209 if (cp < safeOctets.length && safeOctets[cp]) { in escape()
211 } else if (cp == ' ' && plusForSpace) { in escape()
213 } else if (cp <= 0x7F) { in escape()
218 dest[2] = UPPER_HEX_DIGITS[cp & 0xF]; in escape()
219 dest[1] = UPPER_HEX_DIGITS[cp >>> 4]; in escape()
221 } else if (cp <= 0x7ff) { in escape()
227 dest[5] = UPPER_HEX_DIGITS[cp & 0xF]; in escape()
228 cp >>>= 4; in escape()
229 dest[4] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)]; in escape()
[all …]
DUnicodeEscaper.java82 protected abstract char[] escape(int cp); in escape() argument
111 int cp = codePointAt(csq, index, end); in nextEscapeIndex() local
112 if (cp < 0 || escape(cp) != null) { in nextEscapeIndex()
115 index += Character.isSupplementaryCodePoint(cp) ? 2 : 1; in nextEscapeIndex()
177 int cp = codePointAt(s, index, end); in escapeSlow() local
178 if (cp < 0) { in escapeSlow()
185 char[] escaped = escape(cp); in escapeSlow()
186 int nextIndex = index + (Character.isSupplementaryCodePoint(cp) ? 2 : 1); in escapeSlow()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_framestitching.cpp85 double c[3],cp[3],r[3],rp[3],M[9],s,sp,sc; in db_StitchSimilarity3DRaw() local
92 db_PointCentroid3D(cp,Xp,nr_points); in db_StitchSimilarity3DRaw()
97 db_Zero3(cp); in db_StitchSimilarity3DRaw()
109 rp[0]=(*temp_p++)-cp[0]; in db_StitchSimilarity3DRaw()
110 rp[1]=(*temp_p++)-cp[1]; in db_StitchSimilarity3DRaw()
111 rp[2]=(*temp_p++)-cp[2]; in db_StitchSimilarity3DRaw()
162 t[0]=cp[0]-sc*(R[0]*c[0]+R[1]*c[1]+R[2]*c[2]); in db_StitchSimilarity3DRaw()
163 t[1]=cp[1]-sc*(R[3]*c[0]+R[4]*c[1]+R[5]*c[2]); in db_StitchSimilarity3DRaw()
164 t[2]=cp[2]-sc*(R[6]*c[0]+R[7]*c[1]+R[8]*c[2]); in db_StitchSimilarity3DRaw()
Ddb_image_homography.cpp241 double c[2],cp[2],r[2],rp[2],M[4],s,sp,sc; in db_StitchSimilarity2DRaw() local
248 db_PointCentroid2D(cp,Xp,nr_points); in db_StitchSimilarity2DRaw()
253 db_Zero2(cp); in db_StitchSimilarity2DRaw()
264 rp[0]=(*temp_p++)-cp[0]; in db_StitchSimilarity2DRaw()
265 rp[1]=(*temp_p++)-cp[1]; in db_StitchSimilarity2DRaw()
326 t[0]=cp[0]-sc*(R[0]*c[0]+R[1]*c[1]); in db_StitchSimilarity2DRaw()
327 t[1]=cp[1]-sc*(R[2]*c[0]+R[3]*c[1]); in db_StitchSimilarity2DRaw()
Ddb_utilities.h484 double sp,so,sk,om_sp2,om_so2,om_sk2,cp,co,ck,sp_so,cp_so; in db_IncrementalRotationMatrix() local
492 cp=(om_sp2>=0.0)?sqrt(om_sp2):1.0; in db_IncrementalRotationMatrix()
497 cp_so=cp*so; in db_IncrementalRotationMatrix()
498 R[0]=sp_so*sk+cp*ck; R[1]=co*sk; R[2]=cp_so*sk-sp*ck; in db_IncrementalRotationMatrix()
499 R[3]=sp_so*ck-cp*sk; R[4]=co*ck; R[5]=cp_so*ck+sp*sk; in db_IncrementalRotationMatrix()
500 R[6]=sp*co; R[7]= -so; R[8]=cp*co; in db_IncrementalRotationMatrix()
Ddb_utilities_poly.cpp30 double bp,bp2,cp,dp,q,r,srq; in db_SolveCubic() local
45 cp=c/a; in db_SolveCubic()
48 q=(bp2-3.0*cp)/9.0; in db_SolveCubic()
49 r=(2.0*bp2*bp-9.0*bp*cp+27.0*dp)/54.0; in db_SolveCubic()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsDictionaryUtils.java34 int cp = 0; in getWordEndPosition() local
35 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) { in getWordEndPosition()
36 cp = string.codePointAt(end); in getWordEndPosition()
37 if (cp != Constants.CODE_DASH && cp != Constants.CODE_SINGLE_QUOTE in getWordEndPosition()
38 && !Character.isLetter(cp)) { in getWordEndPosition()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java1163 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId() local
1164 final ContactsDatabaseHelper helper = cp.getDatabaseHelper(mContext); in testDataInsertAndUpdateHashId()
1224 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId_Photo() local
1225 final ContactsDatabaseHelper helper = cp.getDatabaseHelper(mContext); in testDataInsertAndUpdateHashId_Photo()
1936 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testPhoneLookupUseStrictPhoneNumberCompare() local
1937 final ContactsDatabaseHelper dbHelper = cp.getThreadActiveDatabaseHelperForTest(); in testPhoneLookupUseStrictPhoneNumberCompare()
3069 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testUpdateMetadataOnRawContactInsert() local
3070 cp.setMetadataSyncForTest(true); in testUpdateMetadataOnRawContactInsert()
3125 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testUpdateMetadataOnRawContactBackupIdChange() local
3126 cp.setMetadataSyncForTest(true); in testUpdateMetadataOnRawContactBackupIdChange()
[all …]
/packages/providers/CalendarProvider/tests/
DEMMA_README46 java -cp ${ANDROID_BUILD_TOP}/external/emma/lib/emma.jar \
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
DProviderPerfActivity.java364 IContentProvider cp = cr.acquireProvider(SYSTEM_SETTINGS_URI.getAuthority()); in callLoop() local
372 Bundle b = cp.call("GET_system", key, null); in callLoop()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java73 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp() local
75 cp.setNewAggregatorForTest(false); in setUp()
DContactAggregator2Test.java74 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp() local
75 cp.setNewAggregatorForTest(true); in setUp()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/inputmethods/LatinIME/dictionaries/
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt39165 …geManager: Permission com.google.android.googleapps.permission.GOOGLE_AUTH.cp from package com.goo…