/packages/apps/Settings/src/com/android/settings/ |
Settings.java | 20 import android.preference.Preference; 21 import android.preference.PreferenceActivity; 22 import android.preference.PreferenceGroup; 45 Preference dockSettings = parent.findPreference(KEY_DOCK_SETTINGS);
|
ApplicationSettings.java | 23 import android.preference.CheckBoxPreference; 24 import android.preference.ListPreference; 25 import android.preference.Preference; 26 import android.preference.PreferenceActivity; 27 import android.preference.PreferenceScreen; 28 import android.preference.Preference.OnPreferenceChangeListener; 71 public boolean onPreferenceChange(Preference preference, Object newValue) [all...] |
ApnSettings.java | 35 import android.preference.Preference; 36 import android.preference.PreferenceActivity; 37 import android.preference.PreferenceGroup; 38 import android.preference.PreferenceScreen; 52 Preference.OnPreferenceChangeListener { 159 ArrayList<Preference> mmsApnList = new ArrayList<Preference>(); 191 for (Preference preference : mmsApnList) [all...] |
DisplaySettings.java | 29 import android.preference.CheckBoxPreference; 30 import android.preference.ListPreference; 31 import android.preference.Preference; 32 import android.preference.PreferenceActivity; 33 import android.preference.PreferenceScreen; 39 Preference.OnPreferenceChangeListener { 163 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { 164 if (preference == mAccelerometer) [all...] |
AirplaneModeEnabler.java | 26 import android.preference.CheckBoxPreference; 27 import android.preference.Preference; 33 public class AirplaneModeEnabler implements Preference.OnPreferenceChangeListener { 67 // This is the widget enabled state, not the preference toggled state 114 * Called when someone clicks on the checkbox preference. 116 public boolean onPreferenceChange(Preference preference, Object newValue) {
|
VoiceInputOutputSettings.java | 32 import android.preference.ListPreference; 33 import android.preference.Preference; 34 import android.preference.PreferenceActivity; 35 import android.preference.PreferenceCategory; 36 import android.preference.PreferenceGroup; 37 import android.preference.PreferenceScreen; 38 import android.preference.Preference.OnPreferenceChangeListener; 118 private void removePreference(Preference pref) [all...] |
/packages/apps/Settings/src/com/android/settings/vpn/ |
L2tpIpsecPskEditor.java | 23 import android.preference.EditTextPreference; 24 import android.preference.Preference; 25 import android.preference.PreferenceGroup; 52 private Preference createPresharedKeyPreference(Context c) {
|
VpnProfileEditor.java | 23 import android.preference.CheckBoxPreference; 24 import android.preference.EditTextPreference; 25 import android.preference.ListPreference; 26 import android.preference.Preference; 27 import android.preference.PreferenceGroup; 61 new Preference.OnPreferenceChangeListener() { 63 Preference pref, Object newValue) { 98 * Creates a preference for users to input domain suffices. 105 new Preference.OnPreferenceChangeListener() [all...] |
/cts/tests/res/values/ |
strings.xml | 111 <string name="checkboxpref_title">title of preference</string> 112 <string name="checkboxpref_summary">summary of preference</string> 113 <string name="checkboxpref_summary_on">summary on of preference</string> 114 <string name="checkboxpref_summary_off">summary off of preference</string> 116 <string name="checkboxpref_depend_title"> depend title of preference</string> 117 <string name="checkboxpref_depend_summary"> depend summary of preference</string> 119 <string name="edittextpref_default_value">default value of preference</string> 120 <string name="edittextpref_title">title of edit text preference</string> 121 <string name="edittextpref_summary">summary of edit text preference</string> 122 <string name="edittextpref_dialog_title">dialog title of edit text preference</string [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothSettings.java | 33 import android.preference.CheckBoxPreference; 34 import android.preference.Preference; 35 import android.preference.PreferenceActivity; 36 import android.preference.PreferenceScreen; 218 Preference preference) { 220 if (KEY_BT_SCAN.equals(preference.getKey())) { 225 if (preference instanceof BluetoothDevicePreference) { 226 BluetoothDevicePreference btPreference = (BluetoothDevicePreference)preference; 331 BluetoothDevicePreference preference = new BluetoothDevicePreference(this, cachedDevice); local 337 BluetoothDevicePreference preference = mDevicePreferenceMap.remove(cachedDevice); local [all...] |
BluetoothDevicePreference.java | 22 import android.preference.Preference; 28 * BluetoothDevicePreference is the preference type used to display each remote 31 public class BluetoothDevicePreference extends Preference implements CachedBluetoothDevice.Callback { 75 * The preference framework takes care of making sure the value has 107 // Disable this view if the bluetooth enable/disable preference view is off 120 public int compareTo(Preference another) { 122 // Put other preference types above us
|
BluetoothEnabler.java | 27 import android.preference.Preference; 28 import android.preference.CheckBoxPreference; 35 * preference. It is turns on/off Bluetooth and ensures the summary of the 36 * preference reflects the current state. 38 public class BluetoothEnabler implements Preference.OnPreferenceChangeListener { 88 public boolean onPreferenceChange(Preference preference, Object value) {
|
ConnectSpecificProfilesActivity.java | 22 import android.preference.CheckBoxPreference; 23 import android.preference.Preference; 24 import android.preference.PreferenceActivity; 25 import android.preference.PreferenceGroup; 38 implements CachedBluetoothDevice.Callback, Preference.OnPreferenceChangeListener { 97 // Add a preference for each profile 128 Preference pref = createProfilePreference(profile); 134 * Creates a checkbox preference for the particular profile. The key will be 137 * @param profile The profile for which the preference controls [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
MyPreference.java | 25 import android.preference.Preference; 31 * This is an example of a custom preference type. The preference counts the 34 public class MyPreference extends Preference { 69 // preference should be persistent, along with other useful checks) 78 // This preference type's value type is Integer, so we read the default 99 * Suppose a client uses this preference type without persisting. We 133 * of MyPreference, a subclass of Preference.
|
/external/svox/pico/src/com/svox/pico/ |
EngineSettings.java | 22 import android.preference.Preference; 23 import android.preference.PreferenceActivity; 24 import android.preference.Preference.OnPreferenceClickListener; 60 Preference pref = findPreference(available.get(i)); 71 Preference pref = findPreference(unavailableLang); 76 public boolean onPreferenceClick(Preference preference) {
|
/packages/apps/Phone/src/com/android/phone/ |
DataUsageListener.java | 26 import android.preference.Preference; 27 import android.preference.PreferenceActivity; 28 import android.preference.PreferenceScreen; 43 private Preference mCurrentUsagePref = null; 44 private Preference mTimeFramePref = null; 45 private Preference mThrottleRatePref = null; 46 private Preference mSummaryPref = null; 61 public DataUsageListener(Context context, Preference summary, PreferenceScreen prefScreen) { 69 public DataUsageListener(Context context, Preference currentUsage [all...] |
CellBroadcastSms.java | 21 import android.preference.CheckBoxPreference; 22 import android.preference.ListPreference; 23 import android.preference.Preference; 24 import android.preference.PreferenceScreen; 25 import android.preference.PreferenceActivity; 40 implements Preference.OnPreferenceChangeListener{ 45 //String keys for preference lookup 175 * Invoked on each preference click in this hierarchy, overrides 177 * preference click events [all...] |
/frameworks/base/core/java/com/android/internal/preference/ |
YesNoPreference.java | 17 package com.android.internal.preference; 23 import android.preference.DialogPreference; 27 * The {@link YesNoPreference} is a preference to show a dialog with Yes and No 30 * This preference will store a boolean into the SharedPreferences. 57 * Sets the value of this preference, and saves it to the persistent store 60 * @param value The value of the preference. 71 * Gets the value of this preference. 73 * @return The value of the preference.
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
SettingsActivity.java | 20 import android.preference.PreferenceActivity;
23 * Settings preference screen for location tracker
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarPreferenceActivity.java | 25 import android.preference.CheckBoxPreference; 26 import android.preference.ListPreference; 27 import android.preference.PreferenceActivity; 28 import android.preference.PreferenceManager; 29 import android.preference.PreferenceScreen; 30 import android.preference.RingtonePreference; 39 // Preference keys 55 // Default preference values
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
DEREncodableVector.java | 8 * use that class in preference.
|
/development/samples/VoiceRecognitionService/res/values/ |
strings.xml | 27 <!-- The title of the preference for the type of results to return (letters or numbers). --> 30 <!-- The entry names of the preference for the type of results to return 37 <!-- The entry values of the preference for the type of results to return 44 <!-- The default value of the preference for the type of results to return
|
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/ |
ProviderPreference.java | 23 import android.preference.Preference; 29 * The preference ultimately calls AccountManager.addAccount() for the account type. 31 public class ProviderPreference extends Preference {
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
DdmUiPreferences.java | 19 import org.eclipse.jface.preference.IPreferenceStore; 22 * Preference entry point for ddmuilib. Allows the lib to access a preference 23 * store (org.eclipse.jface.preference.IPreferenceStore) defined by the
|
TableHelper.java | 19 import org.eclipse.jface.preference.IPreferenceStore; 34 * <code>PreferenceStore</code> object and a preference entry name String 36 * and update the preference store accordingly. 41 * @param sample_text A sample text to figure out column width if preference 43 * @param pref_name The preference entry name for column width 44 * @param prefs The preference store 94 * <code>PreferenceStore</code> object and a preference entry name String 96 * and update the preference store accordingly. 101 * @param sample_text A sample text to figure out column width if preference 103 * @param pref_name The preference entry name for column widt [all...] |