/frameworks/base/core/java/android/preference/ |
D | PreferenceGroup.java | 17 package android.preference; 96 public void addItemFromInflater(Preference preference) { in addItemFromInflater() argument 97 addPreference(preference); in addItemFromInflater() 125 public boolean addPreference(Preference preference) { in addPreference() argument 126 if (mPreferenceList.contains(preference)) { in addPreference() 131 if (preference.getOrder() == Preference.DEFAULT_ORDER) { in addPreference() 133 preference.setOrder(mCurrentPreferenceOrder++); in addPreference() 136 if (preference instanceof PreferenceGroup) { in addPreference() 139 ((PreferenceGroup)preference).setOrderingAsAdded(mOrderingAsAdded); in addPreference() 143 int insertionIndex = Collections.binarySearch(mPreferenceList, preference); in addPreference() [all …]
|
D | PreferenceGroupAdapter.java | 17 package android.preference; 24 import android.preference.Preference.OnPreferenceChangeInternalListener; 152 final Preference preference = group.getPreference(i); in flattenPreferenceGroup() local 154 preferences.add(preference); in flattenPreferenceGroup() 156 if (!mHasReturnedViewTypeCount && !preference.hasSpecifiedLayout()) { in flattenPreferenceGroup() 157 addPreferenceClassName(preference); in flattenPreferenceGroup() 160 if (preference instanceof PreferenceGroup) { in flattenPreferenceGroup() 161 final PreferenceGroup preferenceAsGroup = (PreferenceGroup) preference; in flattenPreferenceGroup() 167 preference.setOnPreferenceChangeInternalListener(this); in flattenPreferenceGroup() 176 private PreferenceLayout createPreferenceLayout(Preference preference, PreferenceLayout in) { in createPreferenceLayout() argument [all …]
|
D | PreferenceCategory.java | 17 package android.preference; 44 protected boolean onPrepareAddPreference(Preference preference) { in onPrepareAddPreference() argument 45 if (preference instanceof PreferenceCategory) { in onPrepareAddPreference() 50 return super.onPrepareAddPreference(preference); in onPrepareAddPreference()
|
D | PreferenceFragment.java | 17 package android.preference; 286 Preference preference) { in onPreferenceTreeClick() argument 287 if (preference.getFragment() != null && in onPreferenceTreeClick() 290 this, preference); in onPreferenceTreeClick()
|
D | SeekBarDialogPreference.java | 17 package android.preference; 21 import android.preference.DialogPreference;
|
D | Preference.java | 17 package android.preference; 117 private int mLayoutResId = com.android.internal.R.layout.preference; 143 boolean onPreferenceChange(Preference preference, Object newValue); in onPreferenceChange() argument 157 boolean onPreferenceClick(Preference preference); in onPreferenceClick() argument 171 void onPreferenceChange(Preference preference); in onPreferenceChange() argument 178 void onPreferenceHierarchyChange(Preference preference); in onPreferenceHierarchyChange() argument 1143 Preference preference = findPreferenceInHierarchy(mDependencyKey); in registerDependency() 1144 if (preference != null) { in registerDependency() 1145 preference.registerDependent(this); in registerDependency()
|
D | PreferenceScreen.java | 17 package android.preference; 201 final Preference preference = (Preference) item; in onItemClick() 202 preference.performClick(this); in onItemClick()
|
D | OnDependencyChangeListener.java | 17 package android.preference;
|
D | CheckBoxPreference.java | 17 package android.preference;
|
D | PreferenceInflater.java | 17 package android.preference;
|
D | SwitchPreference.java | 17 package android.preference;
|
D | PreferenceManager.java | 17 package android.preference; 791 boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference); in onPreferenceTreeClick() argument
|
D | PreferenceFrameLayout.java | 17 package android.preference;
|
D | RingtonePreference.java | 17 package android.preference;
|
D | EditTextPreference.java | 17 package android.preference;
|
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
D | InputMethodSettingsImpl.java | 22 import android.preference.Preference; 23 import android.preference.Preference.OnPreferenceClickListener; 24 import android.preference.PreferenceScreen; 62 public boolean onPreferenceClick(Preference preference) { in init()
|
D | InputMethodSettingsActivity.java | 21 import android.preference.PreferenceActivity;
|
D | InputMethodSettingsFragment.java | 22 import android.preference.PreferenceFragment;
|
/frameworks/base/core/tests/coretests/src/android/preference/ |
D | ListPreferenceTest.java | 17 package android.preference; 19 import android.preference.ListPreference;
|
/frameworks/base/core/java/com/android/internal/preference/ |
D | YesNoPreference.java | 17 package com.android.internal.preference; 23 import android.preference.DialogPreference;
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | SettingsActivity.java | 20 import android.preference.PreferenceActivity;
|
/frameworks/base/core/tests/hosttests/src/android/content/pm/ |
D | PackageManagerHostTests.java | 235 public void installAppAutoLoc(PackageManagerHostTestUtils.InstallLocPreference preference, in installAppAutoLoc() argument 245 mPMHostUtils.setDevicePreferredInstallLocation(preference); in installAppAutoLoc() 333 public void installAppInternalLoc(PackageManagerHostTestUtils.InstallLocPreference preference, in installAppInternalLoc() argument 343 mPMHostUtils.setDevicePreferredInstallLocation(preference); in installAppInternalLoc() 432 public void installAppExternalLoc(PackageManagerHostTestUtils.InstallLocPreference preference, in installAppExternalLoc() argument 442 mPMHostUtils.setDevicePreferredInstallLocation(preference); in installAppExternalLoc()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperSettingsActivity.java | 21 import android.preference.PreferenceActivity;
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 348 public void setNetworkPreference(int preference) { in setNetworkPreference() argument 350 mService.setNetworkPreference(preference); in setNetworkPreference()
|
/frameworks/base/services/java/com/android/server/ |
D | ConnectivityService.java | 533 public void setNetworkPreference(int preference) { in setNetworkPreference() argument 536 mHandler.sendMessage(mHandler.obtainMessage(EVENT_SET_NETWORK_PREFERENCE, preference, 0)); in setNetworkPreference() 541 int preference; in getNetworkPreference() local 543 preference = mNetworkPreference; in getNetworkPreference() 545 return preference; in getNetworkPreference() 548 private void handleSetNetworkPreference(int preference) { in handleSetNetworkPreference() argument 549 if (ConnectivityManager.isNetworkTypeValid(preference) && in handleSetNetworkPreference() 550 mNetConfigs[preference] != null && in handleSetNetworkPreference() 551 mNetConfigs[preference].isDefault()) { in handleSetNetworkPreference() 552 if (mNetworkPreference != preference) { in handleSetNetworkPreference() [all …]
|