/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Delaunay.cpp | 63 sp[i] = (SitePointer) i; in buildTriangulation() 66 spsortx( sp, 0, size-1 ); in buildTriangulation() 84 minx = sp[low]; in build() 85 maxx = sp[high]; in build() 87 spsorty( sp, low, high); in build() 106 a = makeEdge(sp[low], sp[high]); in build() 111 a = makeEdge((s1 = sp[low]), (s2 = sp[low+1])); in build() 112 b = makeEdge(s2, (s3 = sp[high])); in build() 200 sp = (SitePointer *) (sa + n); in allocMemory() 201 ev = (SEdgeVector *) (org = sp + n); in allocMemory() [all …]
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Delaunay.cpp | 63 sp[i] = (SitePointer) i; in buildTriangulation() 66 spsortx( sp, 0, size-1 ); in buildTriangulation() 84 minx = sp[low]; in build() 85 maxx = sp[high]; in build() 87 spsorty( sp, low, high); in build() 106 a = makeEdge(sp[low], sp[high]); in build() 111 a = makeEdge((s1 = sp[low]), (s2 = sp[low+1])); in build() 112 b = makeEdge(s2, (s3 = sp[high])); in build() 200 sp = (SitePointer *) (sa + n); in allocMemory() 201 ev = (SEdgeVector *) (org = sp + n); in allocMemory() [all …]
|
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/ |
D | Delaunay.cpp | 63 sp[i] = (SitePointer) i; in buildTriangulation() 66 spsortx( sp, 0, size-1 ); in buildTriangulation() 84 minx = sp[low]; in build() 85 maxx = sp[high]; in build() 87 spsorty( sp, low, high); in build() 106 a = makeEdge(sp[low], sp[high]); in build() 111 a = makeEdge((s1 = sp[low]), (s2 = sp[low+1])); in build() 112 b = makeEdge(s2, (s3 = sp[high])); in build() 200 sp = (SitePointer *) (sa + n); in allocMemory() 201 ev = (SEdgeVector *) (org = sp + n); in allocMemory() [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | PeerToPeer.cpp | 132 sp<P2pServer> PeerToPeer::findServerLocked (tNFA_HANDLE nfaP2pServerHandle) in findServerLocked() 159 sp<P2pServer> PeerToPeer::findServerLocked (tJNI_HANDLE jniHandle) in findServerLocked() 186 sp<P2pServer> PeerToPeer::findServerLocked (const char *serviceName) in findServerLocked() 214 sp<P2pServer> pSrv = NULL; in registerServer() 442 sp<P2pServer> pSrv = NULL; in accept() 474 sp<P2pServer> pSrv = NULL; in deregisterServer() 523 sp<P2pClient> client = NULL; in createClient() 669 sp<P2pClient> pClient = NULL; in createDataLinkConn() 726 sp<P2pClient> PeerToPeer::findClient (tNFA_HANDLE nfaConnHandle) in findClient() 748 sp<P2pClient> PeerToPeer::findClient (tJNI_HANDLE jniHandle) in findClient() [all …]
|
D | PeerToPeer.h | 386 android::sp<P2pServer> mServers [sMax]; 387 android::sp<P2pClient> mClients [sMax]; 421 android::sp<P2pServer> findServerLocked (tNFA_HANDLE nfaP2pServerHandle); 434 android::sp<P2pServer> findServerLocked (tJNI_HANDLE jniHandle); 447 android::sp<P2pServer> findServerLocked (const char *serviceName); 501 android::sp<P2pClient> findClient (tNFA_HANDLE nfaConnHandle); 514 android::sp<P2pClient> findClient (tJNI_HANDLE jniHandle); 527 android::sp<P2pClient> findClientCon (tNFA_HANDLE nfaConnHandle); 540 android::sp<NfaConn> findConnection (tNFA_HANDLE nfaConnHandle); 553 android::sp<NfaConn> findConnection (tJNI_HANDLE jniHandle); [all …]
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | RecipientsEditor.java | 334 private static String getNumberAt(Spanned sp, int start, int end, Context context) { in getNumberAt() argument 335 String number = getFieldAt("number", sp, start, end, context); in getNumberAt() 351 private static int getSpanLength(Spanned sp, int start, int end, Context context) { in getSpanLength() argument 358 Annotation[] a = sp.getSpans(start, end, Annotation.class); in getSpanLength() 360 return sp.getSpanEnd(a[0]); in getSpanLength() 365 private static String getFieldAt(String field, Spanned sp, int start, int end, in getFieldAt() argument 367 Annotation[] a = sp.getSpans(start, end, Annotation.class); in getFieldAt() 370 fieldValue = TextUtils.substring(sp, start, end); in getFieldAt() 442 SpannableString sp = new SpannableString(text + separator); in terminateToken() local 444 Object.class, sp, 0); in terminateToken() local [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | SettingsFragment.java | 309 final SharedPreferences sp, final Resources res) { in refreshEnablingsOfKeypressSoundAndVibrationSettings() argument 311 Settings.readVibrationEnabled(sp, res)); in refreshEnablingsOfKeypressSoundAndVibrationSettings() 313 Settings.readKeypressSoundEnabled(sp, res)); in refreshEnablingsOfKeypressSoundAndVibrationSettings() 316 private void setupKeypressVibrationDurationSettings(final SharedPreferences sp, in setupKeypressVibrationDurationSettings() argument 326 sp.edit().putInt(key, value).apply(); in setupKeypressVibrationDurationSettings() 331 return Settings.readKeypressVibrationDuration(sp, res); in setupKeypressVibrationDurationSettings() 346 private void setupKeyLongpressTimeoutSettings(final SharedPreferences sp, in setupKeyLongpressTimeoutSettings() argument 356 sp.edit().putInt(key, value).apply(); in setupKeyLongpressTimeoutSettings() 361 return Settings.readKeyLongpressTimeout(sp, res); in setupKeyLongpressTimeoutSettings() 374 private void setupKeypressSoundVolumeSettings(final SharedPreferences sp, final Resources res) { in setupKeypressSoundVolumeSettings() argument [all …]
|
D | UserHistoryDictionary.java | 85 final Context context, final String locale, final SharedPreferences sp) { in getInstance() argument 97 new UserHistoryDictionary(context, locale, sp); in getInstance() 103 final SharedPreferences sp) { in UserHistoryDictionary() argument 106 mPrefs = sp; in UserHistoryDictionary()
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
D | JJTAddressListParserState.java | 9 private int sp; // number of nodes on stack field in JJTAddressListParserState 16 sp = 0; in JJTAddressListParserState() 32 sp = 0; in reset() 45 ++sp; in pushNode() 51 if (--sp < mk) { in popNode() 65 return sp - mk; in nodeArity() 70 while (sp > mk) { in clearNodeScope() 79 mk = sp; in openNodeScope()
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities.h | 484 double sp,so,sk,om_sp2,om_so2,om_sk2,cp,co,ck,sp_so,cp_so; in db_IncrementalRotationMatrix() local 487 sp=dx[0]; so=dx[1]; sk=dx[2]; in db_IncrementalRotationMatrix() 488 om_sp2=1.0-sp*sp; in db_IncrementalRotationMatrix() 496 sp_so=sp*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()
|
D | db_utilities_linalg.h | 186 double m,sp,sp_m; in db_OrthogonalizePair7() local 189 sp=db_ScalarProduct7(x,v); in db_OrthogonalizePair7() 190 sp_m=sp*m; in db_OrthogonalizePair7() 192 return(sp*sp_m); in db_OrthogonalizePair7() 200 double m,sp,sp_m; in db_OrthogonalizePair9() local 203 sp=db_ScalarProduct9(x,v); in db_OrthogonalizePair9() 204 sp_m=sp*m; in db_OrthogonalizePair9() 206 return(sp*sp_m); in db_OrthogonalizePair9()
|
D | db_framestitching.cpp | 85 double c[3],cp[3],r[3],rp[3],M[9],s,sp,sc; in db_StitchSimilarity3DRaw() local 101 s=sp=0; in db_StitchSimilarity3DRaw() 124 sp+=db_sqr(rp[0])+db_sqr(rp[1])+db_sqr(rp[2]); in db_StitchSimilarity3DRaw() 128 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s)); in db_StitchSimilarity3DRaw()
|
D | db_image_homography.cpp | 241 double c[2],cp[2],r[2],rp[2],M[4],s,sp,sc; in db_StitchSimilarity2DRaw() local 257 s=sp=0; in db_StitchSimilarity2DRaw() 273 sp+=db_sqr(rp[0])+db_sqr(rp[1]); in db_StitchSimilarity2DRaw() 277 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s)); in db_StitchSimilarity2DRaw()
|
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
D | db_utilities.h | 484 double sp,so,sk,om_sp2,om_so2,om_sk2,cp,co,ck,sp_so,cp_so; in db_IncrementalRotationMatrix() local 487 sp=dx[0]; so=dx[1]; sk=dx[2]; in db_IncrementalRotationMatrix() 488 om_sp2=1.0-sp*sp; in db_IncrementalRotationMatrix() 496 sp_so=sp*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()
|
D | db_utilities_linalg.h | 186 double m,sp,sp_m; in db_OrthogonalizePair7() local 189 sp=db_ScalarProduct7(x,v); in db_OrthogonalizePair7() 190 sp_m=sp*m; in db_OrthogonalizePair7() 192 return(sp*sp_m); in db_OrthogonalizePair7() 200 double m,sp,sp_m; in db_OrthogonalizePair9() local 203 sp=db_ScalarProduct9(x,v); in db_OrthogonalizePair9() 204 sp_m=sp*m; in db_OrthogonalizePair9() 206 return(sp*sp_m); in db_OrthogonalizePair9()
|
D | db_framestitching.cpp | 85 double c[3],cp[3],r[3],rp[3],M[9],s,sp,sc; in db_StitchSimilarity3DRaw() local 101 s=sp=0; in db_StitchSimilarity3DRaw() 124 sp+=db_sqr(rp[0])+db_sqr(rp[1])+db_sqr(rp[2]); in db_StitchSimilarity3DRaw() 128 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s)); in db_StitchSimilarity3DRaw()
|
D | db_image_homography.cpp | 241 double c[2],cp[2],r[2],rp[2],M[4],s,sp,sc; in db_StitchSimilarity2DRaw() local 257 s=sp=0; in db_StitchSimilarity2DRaw() 273 sp+=db_sqr(rp[0])+db_sqr(rp[1]); in db_StitchSimilarity2DRaw() 277 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s)); in db_StitchSimilarity2DRaw()
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
D | db_utilities.h | 484 double sp,so,sk,om_sp2,om_so2,om_sk2,cp,co,ck,sp_so,cp_so; in db_IncrementalRotationMatrix() local 487 sp=dx[0]; so=dx[1]; sk=dx[2]; in db_IncrementalRotationMatrix() 488 om_sp2=1.0-sp*sp; in db_IncrementalRotationMatrix() 496 sp_so=sp*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()
|
D | db_utilities_linalg.h | 186 double m,sp,sp_m; in db_OrthogonalizePair7() local 189 sp=db_ScalarProduct7(x,v); in db_OrthogonalizePair7() 190 sp_m=sp*m; in db_OrthogonalizePair7() 192 return(sp*sp_m); in db_OrthogonalizePair7() 200 double m,sp,sp_m; in db_OrthogonalizePair9() local 203 sp=db_ScalarProduct9(x,v); in db_OrthogonalizePair9() 204 sp_m=sp*m; in db_OrthogonalizePair9() 206 return(sp*sp_m); in db_OrthogonalizePair9()
|
D | db_framestitching.cpp | 85 double c[3],cp[3],r[3],rp[3],M[9],s,sp,sc; in db_StitchSimilarity3DRaw() local 101 s=sp=0; in db_StitchSimilarity3DRaw() 124 sp+=db_sqr(rp[0])+db_sqr(rp[1])+db_sqr(rp[2]); in db_StitchSimilarity3DRaw() 128 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s)); in db_StitchSimilarity3DRaw()
|
D | db_image_homography.cpp | 241 double c[2],cp[2],r[2],rp[2],M[4],s,sp,sc; in db_StitchSimilarity2DRaw() local 257 s=sp=0; in db_StitchSimilarity2DRaw() 273 sp+=db_sqr(rp[0])+db_sqr(rp[1]); in db_StitchSimilarity2DRaw() 277 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s)); in db_StitchSimilarity2DRaw()
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | MessagingNotification.java | 302 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in playInConversationNotificationSound() local 303 String ringtoneStr = sp.getString(MessagingPreferenceActivity.NOTIFICATION_RINGTONE, in playInConversationNotificationSound() 903 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in updateNotification() local 906 if (sp.contains(MessagingPreferenceActivity.NOTIFICATION_VIBRATE)) { in updateNotification() 910 vibrate = sp.getBoolean(MessagingPreferenceActivity.NOTIFICATION_VIBRATE, in updateNotification() 912 } else if (sp.contains(MessagingPreferenceActivity.NOTIFICATION_VIBRATE_WHEN)) { in updateNotification() 918 sp.getString(MessagingPreferenceActivity.NOTIFICATION_VIBRATE_WHEN, null); in updateNotification() 925 String ringtoneStr = sp.getString(MessagingPreferenceActivity.NOTIFICATION_RINGTONE, in updateNotification() 1153 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in notifyFailed() local 1154 boolean vibrate = sp.getBoolean(MessagingPreferenceActivity.NOTIFICATION_VIBRATE, in notifyFailed() [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 435 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); in setPreferredApnId() local 436 SharedPreferences.Editor editor = sp.edit(); in setPreferredApnId() 442 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); in getPreferredApnId() local 443 return sp.getLong(COLUMN_APN_ID, -1); in getPreferredApnId() 447 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); in getAPNConfigCheckSum() local 448 return sp.getLong(APN_CONFIG_CHECKSUM, -1); in getAPNConfigCheckSum() 452 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); in setAPNConfigCheckSum() local 453 SharedPreferences.Editor editor = sp.edit(); in setAPNConfigCheckSum()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | InstallShortcutReceiver.java | 208 SharedPreferences sp = context.getSharedPreferences(spKey, Context.MODE_PRIVATE); in onReceive() local 209 addToInstallQueue(sp, info); in onReceive() 224 SharedPreferences sp = context.getSharedPreferences(spKey, Context.MODE_PRIVATE); in flushInstallQueue() local 225 ArrayList<PendingInstallShortcutInfo> installQueue = getAndClearInstallQueue(sp); in flushInstallQueue() 235 SharedPreferences sp = context.getSharedPreferences(spKey, Context.MODE_PRIVATE); in processInstallShortcut() local 259 found = installShortcut(context, data, items, name, intent, si, exists, sp, in processInstallShortcut()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterCurvesRepresentation.java | 46 Spline sp = representation.mSplines[i]; in useParametersFrom() local 47 if (sp != null) { in useParametersFrom() 48 spline[i] = new Spline(sp); in useParametersFrom()
|