Searched refs:preference (Results 26 - 41 of 41) sorted by relevance

12

/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java207 * used internally to change our network preference setting
626 * @param preference the new preference
628 public void setNetworkPreference(int preference) { argument
631 mHandler.sendMessage(mHandler.obtainMessage(EVENT_SET_NETWORK_PREFERENCE, preference, 0));
636 int preference;
638 preference = mNetworkPreference;
640 return preference;
643 private void handleSetNetworkPreference(int preference) { argument
644 if (ConnectivityManager.isNetworkTypeValid(preference)
[all...]
/frameworks/base/core/java/android/preference/
H A DDialogPreference.java17 package android.preference;
41 * actual preference controls.
75 // Fallback on the regular title of the preference
253 * Prepares the dialog builder to be shown when the preference is clicked.
269 * automatically on clicking on the preference. Call this method if you need to
310 * Returns whether the preference needs to display a soft input method when the dialog
395 * Gets the dialog that is shown by this preference.
H A DListPreference.java17 package android.preference;
32 * This preference will store a string into the SharedPreferences. This string will be the value
99 * The array to find the value to save for a preference when an entry from
101 * second item in this array will be saved to the preference.
103 * @param entryValues The array to be used as values to save for the preference.
118 * Returns the array of values to be saved for the preference.
163 * @param summary The summary for the preference.
H A DMultiSelectListPreference.java17 package android.preference;
34 * This preference will store a set of strings into the SharedPreferences.
94 * The array to find the value to save for a preference when an entry from
96 * second item in this array will be saved to the preference.
98 * @param entryValues The array to be used as values to save for the preference.
113 * Returns the array of values to be saved for the preference.
H A DSeekBarPreference.java17 package android.preference;
170 * Suppose a client uses this preference type without persisting. We
H A DGenericInflater.java17 package android.preference;
H A DVolumePreference.java17 package android.preference;
H A DPreferenceActivity.java17 package android.preference;
63 * this class only allowed the display of a single set of preference; this
91 * <p>The following sample code shows a simple preference activity that
93 * of the activity itself as well as its two preference fragments is:</p>
95 * {@sample development/samples/ApiDemos/src/com/example/android/apis/preference/PreferenceWithHeaders.java
108 * <p>Note that this XML resource contains a preference screen holding another
165 // extras that allow any preference activity to be launched as part of a wizard
193 // --- State for old mode when showing a single preference list
204 * The starting request code given out to preference framework.
376 * Intent to launch when the preference i
1414 onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCDMALTEPhone.java26 import android.preference.PreferenceManager;
188 Log.e(LOG_TAG, "failed to commit network selection preference");
H A DCdmaSMSDispatcher.java30 import android.preference.PreferenceManager;
H A DCDMAPhone.java34 import android.preference.PreferenceManager;
1371 // Update the preference value of voicemail number
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java199 * Returns true if user preference is set to 24-hour format.
245 * to the current locale and the user's 12-/24-hour clock preference.
265 * to the current locale and the user's date-order preference.
356 * specified by the user's format preference. Note that this order is
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerService.java36 import android.preference.PreferenceManager;
80 // preference constants
165 // register for preference changes, so we can restart listeners on
209 Log.e(LOG_TAG, "Invalid preference for location min distance", e);
221 Log.e(LOG_TAG, "Invalid preference for location min time", e);
438 Log.d(LOG_TAG, "restarting listeners due to preference change");
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DDataConnectionTracker.java39 import android.preference.PreferenceManager;
509 // This preference tells us 1) initial condition for "dataEnabled",
H A DPhoneBase.java33 import android.preference.PreferenceManager;
730 * Query the status of the CDMA roaming preference
737 * Set the status of the CDMA roaming preference
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java30 import android.preference.PreferenceManager;
806 // Read from the SIM. If its null, try reading from the shared preference area.
1367 Log.e(LOG_TAG, "failed to commit network selection preference");
1384 Log.e(LOG_TAG, "failed to commit CLIR preference");

Completed in 1729 milliseconds

12