Searched refs:sp (Results 1 - 25 of 27) sorted by relevance

12

/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
H A DJJTAddressListParserState.java9 private int sp; // number of nodes on stack field in class:JJTAddressListParserState
16 sp = 0;
32 sp = 0;
45 ++sp;
51 if (--sp < mk) {
65 return sp - mk;
70 while (sp > mk) {
79 mk = sp;
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp63 sp[i] = (SitePointer) i;
66 spsortx( sp, 0, size-1 );
84 minx = sp[low];
85 maxx = sp[high];
87 spsorty( sp, low, high);
106 a = makeEdge(sp[low], sp[high]);
111 a = makeEdge((s1 = sp[low]), (s2 = sp[low+1]));
112 b = makeEdge(s2, (s3 = sp[hig
[all...]
H A DDelaunay.h56 SitePointer *sp; member in class:CDelaunay
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp63 sp[i] = (SitePointer) i;
66 spsortx( sp, 0, size-1 );
84 minx = sp[low];
85 maxx = sp[high];
87 spsorty( sp, low, high);
106 a = makeEdge(sp[low], sp[high]);
111 a = makeEdge((s1 = sp[low]), (s2 = sp[low+1]));
112 b = makeEdge(s2, (s3 = sp[hig
[all...]
H A DDelaunay.h56 SitePointer *sp; member in class:CDelaunay
/packages/apps/Mms/src/com/android/mms/ui/
H A DRecipientsEditor.java334 private static String getNumberAt(Spanned sp, int start, int end, Context context) { argument
335 String number = getFieldAt("number", sp, start, end, context);
351 private static int getSpanLength(Spanned sp, int start, int end, Context context) { argument
358 Annotation[] a = sp.getSpans(start, end, Annotation.class);
360 return sp.getSpanEnd(a[0]);
365 private static String getFieldAt(String field, Spanned sp, int start, int end, argument
367 Annotation[] a = sp.getSpans(start, end, Annotation.class);
370 fieldValue = TextUtils.substring(sp, start, end);
442 SpannableString sp = new SpannableString(text + separator);
444 Object.class, sp,
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSettingsValues.java226 public static boolean isKeyPreviewPopupEnabled(SharedPreferences sp, Resources resources) { argument
230 return sp.getBoolean(Settings.PREF_POPUP_ON,
235 public static int getKeyPreviewPopupDismissDelay(SharedPreferences sp, argument
238 return Integer.parseInt(sp.getString(Settings.PREF_KEY_PREVIEW_POPUP_DISMISS_DELAY,
243 private static boolean isBigramSuggestionEnabled(final SharedPreferences sp, argument
249 private static boolean isBigramPredictionEnabled(final SharedPreferences sp, argument
251 return sp.getBoolean(Settings.PREF_BIGRAM_PREDICTIONS, resources.getBoolean(
289 public static boolean isLanguageSwitchKeySupressed(SharedPreferences sp) { argument
290 return sp.getBoolean(Settings.PREF_SUPPRESS_LANGUAGE_SWITCH_KEY, false);
321 public static float getCurrentKeypressSoundVolume(final SharedPreferences sp, argument
334 getCurrentVibrationDuration(final SharedPreferences sp, final Resources res) argument
[all...]
H A DSettings.java336 SharedPreferences sp, Resources res) {
339 final boolean vibrateOn = hasVibrator && sp.getBoolean(Settings.PREF_VIBRATE_ON,
345 final boolean soundOn = sp.getBoolean(Settings.PREF_SOUND_ON,
352 SharedPreferences sp, Resources res) {
355 SettingsValues.getCurrentVibrationDuration(sp, res)
361 final SharedPreferences sp = getPreferenceManager().getSharedPreferences();
371 sp.edit().putInt(Settings.PREF_VIBRATION_DURATION_SETTINGS, ms).apply();
372 updateKeypressVibrationDurationSettingsSummary(sp, res);
410 private void updateKeypressSoundVolumeSummary(SharedPreferences sp, Resources res) { argument
413 (int)(SettingsValues.getCurrentKeypressSoundVolume(sp, re
335 refreshEnablingsOfKeypressSoundAndVibrationSettings( SharedPreferences sp, Resources res) argument
351 updateKeypressVibrationDurationSettingsSummary( SharedPreferences sp, Resources res) argument
[all...]
H A DUserHistoryDictionary.java119 final int dictTypeId, final SharedPreferences sp) {
131 new UserHistoryDictionary(context, locale, dictTypeId, sp);
137 SharedPreferences sp) {
140 mPrefs = sp;
117 getInstance( final Context context, final String locale, final int dictTypeId, final SharedPreferences sp) argument
136 UserHistoryDictionary(final Context context, final String locale, final int dicTypeId, SharedPreferences sp) argument
/packages/apps/Camera/jni/feature_stab/db_vlvm/
H A Ddb_framestitching.cpp85 double c[3],cp[3],r[3],rp[3],M[9],s,sp,sc; local
101 s=sp=0;
124 sp+=db_sqr(rp[0])+db_sqr(rp[1])+db_sqr(rp[2]);
128 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s));
H A Ddb_utilities.h484 double sp,so,sk,om_sp2,om_so2,om_sk2,cp,co,ck,sp_so,cp_so; local
487 sp=dx[0]; so=dx[1]; sk=dx[2];
488 om_sp2=1.0-sp*sp;
496 sp_so=sp*so;
498 R[0]=sp_so*sk+cp*ck; R[1]=co*sk; R[2]=cp_so*sk-sp*ck;
499 R[3]=sp_so*ck-cp*sk; R[4]=co*ck; R[5]=cp_so*ck+sp*sk;
500 R[6]=sp*co; R[7]= -so; R[8]=cp*co;
H A Ddb_image_homography.cpp241 double c[2],cp[2],r[2],rp[2],M[4],s,sp,sc; local
257 s=sp=0;
273 sp+=db_sqr(rp[0])+db_sqr(rp[1]);
277 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s));
H A Ddb_utilities_linalg.h186 double m,sp,sp_m; local
189 sp=db_ScalarProduct7(x,v);
190 sp_m=sp*m;
192 return(sp*sp_m);
200 double m,sp,sp_m; local
203 sp=db_ScalarProduct9(x,v);
204 sp_m=sp*m;
206 return(sp*sp_m);
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_framestitching.cpp85 double c[3],cp[3],r[3],rp[3],M[9],s,sp,sc; local
101 s=sp=0;
124 sp+=db_sqr(rp[0])+db_sqr(rp[1])+db_sqr(rp[2]);
128 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s));
H A Ddb_utilities.h484 double sp,so,sk,om_sp2,om_so2,om_sk2,cp,co,ck,sp_so,cp_so; local
487 sp=dx[0]; so=dx[1]; sk=dx[2];
488 om_sp2=1.0-sp*sp;
496 sp_so=sp*so;
498 R[0]=sp_so*sk+cp*ck; R[1]=co*sk; R[2]=cp_so*sk-sp*ck;
499 R[3]=sp_so*ck-cp*sk; R[4]=co*ck; R[5]=cp_so*ck+sp*sk;
500 R[6]=sp*co; R[7]= -so; R[8]=cp*co;
H A Ddb_image_homography.cpp241 double c[2],cp[2],r[2],rp[2],M[4],s,sp,sc; local
257 s=sp=0;
273 sp+=db_sqr(rp[0])+db_sqr(rp[1]);
277 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s));
H A Ddb_utilities_linalg.h186 double m,sp,sp_m; local
189 sp=db_ScalarProduct7(x,v);
190 sp_m=sp*m;
192 return(sp*sp_m);
200 double m,sp,sp_m; local
203 sp=db_ScalarProduct9(x,v);
204 sp_m=sp*m;
206 return(sp*sp_m);
/packages/experimental/RpcPerformance/
H A Drpcperftest.cpp46 sp<IServiceManager> sm = defaultServiceManager();
66 sp<IBinder> service = sm->checkService(String16(argv[1]));
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DTelephonyProvider.java400 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE);
401 SharedPreferences.Editor editor = sp.edit();
407 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE);
408 return sp.getLong(COLUMN_APN_ID, -1);
412 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE);
413 return sp.getLong(APN_CONFIG_CHECKSUM, -1);
417 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE);
418 SharedPreferences.Editor editor = sp.edit();
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DSearch.java118 SearchParser sp = new SearchParser(is, svc, filter);
119 sp.parse();
120 res = sp.getTotalResults();
/packages/apps/Mms/src/com/android/mms/transaction/
H A DMessagingNotification.java289 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context);
290 String ringtoneStr = sp.getString(MessagingPreferenceActivity.NOTIFICATION_RINGTONE,
872 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context);
874 if (sp.contains(MessagingPreferenceActivity.NOTIFICATION_VIBRATE_WHEN)) {
876 sp.getString(MessagingPreferenceActivity.NOTIFICATION_VIBRATE_WHEN, null);
877 } else if (sp.contains(MessagingPreferenceActivity.NOTIFICATION_VIBRATE)) {
879 sp.getBoolean(MessagingPreferenceActivity.NOTIFICATION_VIBRATE, false) ?
897 String ringtoneStr = sp.getString(MessagingPreferenceActivity.NOTIFICATION_RINGTONE,
1121 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context);
1122 boolean vibrate = sp
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DInstallShortcutReceiver.java124 SharedPreferences sp = context.getSharedPreferences(spKey, Context.MODE_PRIVATE);
144 found = installShortcut(context, data, items, name, intent, si, exists, sp,
H A DLauncherProvider.java208 SharedPreferences sp = getContext().getSharedPreferences(spKey, Context.MODE_PRIVATE);
209 if (sp.getBoolean(DB_CREATED_BUT_DEFAULT_WORKSPACE_NOT_LOADED, false)) {
211 SharedPreferences.Editor editor = sp.edit();
296 SharedPreferences sp = mContext.getSharedPreferences(spKey, Context.MODE_PRIVATE);
297 SharedPreferences.Editor editor = sp.edit();
/packages/apps/Phone/src/com/android/phone/
H A DNotificationMgr.java1428 SharedPreferences sp =
1431 sp.getString(PhoneBase.NETWORK_SELECTION_NAME_KEY, "");
1434 sp.getString(PhoneBase.NETWORK_SELECTION_KEY, "");
/packages/apps/Calculator/
H A Darity-2.1.2.jar ... SimpleCodeGen { org.javia.arity.EvalContext context int sp org.javia.arity.Complex[] stack double[] traceConstsRe ...

Completed in 439 milliseconds

12