/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerUsageSummary.java | 32 import android.preference.Preference; 33 import android.preference.PreferenceFragment; 34 import android.preference.PreferenceGroup; 35 import android.preference.PreferenceScreen; 159 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { 160 if (preference instanceof BatteryHistoryPreference) { 169 return super.onPreferenceTreeClick(preferenceScreen, preference); 171 if (!(preference instanceof PowerGaugePreference)) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CallFeaturesSetting.java | 35 import android.preference.CheckBoxPreference; 36 import android.preference.ListPreference; 37 import android.preference.Preference; 38 import android.preference.PreferenceActivity; 39 import android.preference.PreferenceScreen; 82 * This preference screen is the root of the "Call settings" hierarchy available from the Phone 100 Preference.OnPreferenceChangeListener, 145 // String keys for preference lookup 300 * Used to indicate that the voicemail preference should be shown [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
ChooseAccountActivity.java | 31 import android.preference.Preference; 32 import android.preference.PreferenceActivity; 33 import android.preference.PreferenceGroup; 34 import android.preference.PreferenceScreen; 128 // Create list of providers to show on preference screen 253 public boolean onPreferenceTreeClick(PreferenceScreen preferences, Preference preference) { 254 if (preference instanceof ProviderPreference) { 255 ProviderPreference pref = (ProviderPreference) preference; [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
Status.java | 37 import android.preference.Preference; 38 import android.preference.PreferenceActivity; 91 private Preference mUptime; 92 private Preference mBatteryStatus; 93 private Preference mBatteryLevel; 94 private Preference mBtAddress; 95 private Preference mIpAddress; 96 private Preference mWifiMacAddress; 97 private Preference mWimaxMacAddress [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettings.java | 32 import android.preference.ListPreference; 33 import android.preference.Preference; 34 import android.preference.PreferenceScreen; 35 import android.preference.SwitchPreference; 72 private Preference mTimePref; 73 private Preference mTime24Pref; 75 private Preference mTimeZone; 76 private Preference mDatePref; 272 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) [all...] |
IccLockSettings.java | 28 import android.preference.Preference; 29 import android.preference.PreferenceActivity; 30 import android.preference.PreferenceScreen; 31 import android.preference.SwitchPreference; 53 * Implements the preference screen to enable/disable ICC lock and 270 // There is one case where the dialog is popped up by the preference 271 // framework. In that case, let the preference framework store the 340 public void onPinEntered(EditPinPreference preference, boolean positiveResult) { 346 mPin = preference.getText() [all...] |
ScreenPinningSettings.java | 23 import android.preference.Preference; 24 import android.preference.Preference.OnPreferenceChangeListener; 25 import android.preference.PreferenceScreen; 26 import android.preference.SwitchPreference; 167 public boolean onPreferenceChange(Preference preference, Object newValue) {
|
MasterClear.java | 37 import android.preference.Preference; 103 Preference preference = new Preference(getActivity()); local 104 preference.setFragment(MasterClearConfirm.class.getName()); 105 preference.setTitle(R.string.master_clear_confirm_title); 106 preference.getExtras().putBoolean(ERASE_EXTERNAL_EXTRA, mExternalStorage.isChecked()); 107 ((SettingsActivity) getActivity()).onPreferenceStartFragment(null, preference); 281 com.android.internal.R.styleable.Preference, [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
SettingsInjector.java | 37 import android.preference.Preference; 55 * Adds the preferences specified by the {@link InjectedSetting} objects to a preference group. 233 public List<Preference> getInjectedSettings(final int profileId) { 236 ArrayList<Preference> prefs = new ArrayList<Preference>(); 243 Preference pref = addServiceSetting(prefs, setting); 255 * Reloads the status messages for all the preference items. 267 private Preference addServiceSetting(List<Preference> prefs, InjectedSetting info) 432 public final Preference preference; field in class:SettingsInjector.Setting [all...] |
LocationSettings.java | 28 import android.preference.Preference; 29 import android.preference.PreferenceCategory; 30 import android.preference.PreferenceGroup; 31 import android.preference.PreferenceScreen; 32 import android.preference.SwitchPreference; 55 * Key for managed profile location preference category. Category is shown only 60 * Key for managed profile location preference. Note it used to be a switch pref and we had to 62 * demote this to a simple preference was made. TODO: Candidate for refactoring. 65 /** Key for preference screen "Mode" * [all...] |
/packages/apps/Settings/src/com/android/settings/voice/ |
VoiceInputSettings.java | 25 import android.preference.Preference; 38 import android.preference.PreferenceCategory; 45 Preference.OnPreferenceClickListener, RadioButtonGroupState, Indexable { 51 * Preference key for the engine selection preference. 172 public boolean onPreferenceClick(Preference preference) { 173 if (preference instanceof VoiceInputPreference) { 174 ((VoiceInputPreference)preference).doClick() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/preferences/ |
LogCatPreferencePage.java | 27 import org.eclipse.jface.preference.BooleanFieldEditor; 28 import org.eclipse.jface.preference.ComboFieldEditor; 29 import org.eclipse.jface.preference.FieldEditorPreferencePage; 30 import org.eclipse.jface.preference.FontFieldEditor; 31 import org.eclipse.jface.preference.IntegerFieldEditor; 42 * Preference Pane for LogCat.
|
/external/chromium_org/chrome/browser/resources/instant/ |
instant.js | 11 * WebUI for configuring instant.* preference values used by 87 * Request a preference setting's value. 90 * @param {string} prefName The name of the preference value being requested. 98 * @param {string} prefName The name of the requested preference value. 109 * Set a preference setting's value stored in the element with prefName. 110 * @param {string} prefName The name of the preference value being set.
|
/external/chromium_org/chrome/browser/ui/views/status_icons/ |
status_tray_state_changer_win.cc | 72 if (notify_item->preference == PREFERENCE_SHOW_NEVER) 76 if (notify_item->preference == PREFERENCE_SHOW_ALWAYS) 79 notify_item->preference = PREFERENCE_SHOW_ALWAYS; 184 // existing tray icons and their preference. It would also presumably notify 205 // existing tray icons and their preference. It would also presumably notify
|
/external/chromium_org/third_party/webrtc/base/ |
network.h | 236 int preference() const { return preference_; } function in class:rtc::Network 237 void set_preference(int preference) { preference_ = preference; }
|
/frameworks/base/core/java/android/preference/ |
PreferenceScreen.java | 17 package android.preference; 36 * Represents a top-level {@link Preference} that 37 * is the root of a Preference hierarchy. A {@link PreferenceActivity} 44 * <li> When it appears inside another preference hierarchy, it is shown and 48 * {@link Preference#getIntent()}). The children of this {@link PreferenceScreen} 50 * Instead, a separate screen will be shown when this preference is clicked. 112 * subclass of {@link Preference}. 114 * @return An adapter that provides the {@link Preference} contained in this 138 * {@link Preference} contained by this {@link PreferenceScreen}. 211 if (!(item instanceof Preference)) return [all...] |
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
InputMethodSettingsImpl.java | 22 import android.preference.Preference; 23 import android.preference.Preference.OnPreferenceClickListener; 24 import android.preference.PreferenceScreen; 34 private Preference mSubtypeEnablerPreference; 61 mSubtypeEnablerPreference = new Preference(context); 153 final Preference pref = mSubtypeEnablerPreference;
|
/packages/apps/Camera/src/com/android/camera/ui/ |
ListPrefSettingPopup.java | 73 public void initialize(ListPreference preference) { 74 mPreference = preference; 78 if (preference instanceof IconListPreference) { 105 // The value of the preference may have changed. Update the UI. 112 Log.e(TAG, "Invalid preference value.");
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryList.java | 24 import android.preference.Preference; 25 import android.preference.PreferenceFragment; 26 import android.preference.PreferenceGroup; 133 * Create a single User Dictionary Preference object, with its parameters set. 135 * @return The corresponding preference. 137 protected Preference createUserDictionaryPreference(String locale, Activity activity) { 138 final Preference newPref = new Preference(getActivity());
|
/packages/services/Telephony/src/com/android/phone/settings/ |
AccountSelectionPreference.java | 27 import android.preference.ListPreference; 28 import android.preference.Preference; 37 Preference.OnPreferenceChangeListener { 107 public boolean onPreferenceChange(Preference preference, Object newValue) {
|
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
QuickLaunchSettings.java | 30 import android.preference.Preference; 31 import android.preference.PreferenceGroup; 32 import android.preference.PreferenceScreen; 82 /** Preference category to hold the shortcut preferences. */ 84 /** Mapping of a shortcut to its preference. */ 195 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { 196 if (!(preference instanceof ShortcutPreference)) return false; 199 ShortcutPreference pref = (ShortcutPreference) preference; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
BuildPreferencePage.java | 26 import org.eclipse.jface.preference.BooleanFieldEditor; 27 import org.eclipse.jface.preference.FieldEditorPreferencePage; 28 import org.eclipse.jface.preference.FileFieldEditor; 29 import org.eclipse.jface.preference.IPreferenceStore; 30 import org.eclipse.jface.preference.RadioGroupFieldEditor; 31 import org.eclipse.jface.preference.StringFieldEditor; 46 * Preference page for build options. 193 * @see org.eclipse.jface.preference.FieldEditorPreferencePage#performDefaults 194 * (org.eclipse.jface.preference.PreferencePage#performDefaults)
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
CustomPreference.java | 24 import android.preference.Preference; 25 import android.preference.PreferenceManager; 30 public class CustomPreference extends Preference { 59 protected Preference findPreferenceInHierarchy(String key) {
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
MyPreference.java | 17 package com.example.android.apis.preference; 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 [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/buildbot/ |
options.js | 11 // Initialize the checkbox checked state from the saved preference.
|