Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 17 of 17) 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/apps/Camera/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/
DContactsBinaryDictionary.java260 int cp = 0; in getWordEndPosition() local
261 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) { in getWordEndPosition()
262 cp = string.codePointAt(end); in getWordEndPosition()
263 if (!(cp == Constants.CODE_DASH || cp == Constants.CODE_SINGLE_QUOTE in getWordEndPosition()
264 || Character.isLetter(cp))) { in getWordEndPosition()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java1699 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testPhoneLookupUseStrictPhoneNumberCompare() local
1700 final ContactsDatabaseHelper dbHelper = cp.getThreadActiveDatabaseHelperForTest(); in testPhoneLookupUseStrictPhoneNumberCompare()
6024 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testHaveAccountsChanged() local
6034 assertTrue(cp.haveAccountsChanged(ACCOUNTS_1)); in testHaveAccountsChanged()
6035 cp.saveAccounts(ACCOUNTS_1); in testHaveAccountsChanged()
6036 assertFalse(cp.haveAccountsChanged(ACCOUNTS_1)); in testHaveAccountsChanged()
6040 assertTrue(cp.haveAccountsChanged(ACCOUNTS_1_2)); in testHaveAccountsChanged()
6042 assertTrue(cp.haveAccountsChanged(ACCOUNTS_2_1)); in testHaveAccountsChanged()
6043 cp.saveAccounts(ACCOUNTS_1_2); in testHaveAccountsChanged()
6044 assertFalse(cp.haveAccountsChanged(ACCOUNTS_1_2)); in testHaveAccountsChanged()
[all …]
/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/CalendarProvider/tests/
DEMMA_README46 java -cp ${ANDROID_BUILD_TOP}/external/emma/lib/emma.jar \
/packages/inputmethods/LatinIME/dictionaries/
Dcs_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Româna,date=1408019089, ...