/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
MainFragment.java | 38 import android.support.v17.preference.LeanbackPreferenceFragment; 40 import android.support.v7.preference.Preference; 41 import android.support.v7.preference.PreferenceGroup; 86 private Preference mDeveloperPref; 89 private Preference mAddAccessory; 90 private Preference mNetworkPref; 91 private Preference mSoundsPref; 149 final Preference inputPref = findPreference(KEY_INPUTS); 188 private void hideIfIntentUnhandled(Preference preference) 257 Preference preference = findPreference(key); local 275 final Preference preference = mAccountsGroup.getPreference(i); local 331 Preference preference = mAccessoriesGroup.findPreference(key); local 350 final Preference preference = mAccessoriesGroup.getPreference(i); local [all...] |
PreferenceUtils.java | 25 import android.support.v7.preference.Preference; 26 import android.support.v7.preference.PreferenceGroup; 38 Preference preference, int flags) { 39 if (preference == null) { 43 Intent intent = preference.getIntent(); 53 preference.setIntent(new Intent().setClassName( 58 // Set the preference title to the activity's label 59 preference.setTitle(resolveInfo.loadLabel(pm)) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
InactiveApps.java | 26 import android.support.v17.preference.LeanbackPreferenceFragment; 27 import android.support.v7.preference.Preference; 28 import android.support.v7.preference.PreferenceScreen; 36 Preference.OnPreferenceClickListener { 73 Preference p = new Preference(themedContext); 84 private void updateSummary(Preference p) { 92 public boolean onPreferenceClick(Preference preference) { [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DeviceListPreferenceFragment.java | 22 import android.support.v7.preference.Preference; 23 import android.support.v7.preference.PreferenceCategory; 24 import android.support.v7.preference.PreferenceGroup; 138 public boolean onPreferenceTreeClick(Preference preference) { 139 if (KEY_BT_SCAN.equals(preference.getKey())) { 144 if (preference instanceof BluetoothDevicePreference) { 145 BluetoothDevicePreference btPreference = (BluetoothDevicePreference) preference; 152 return super.onPreferenceTreeClick(preference); 180 BluetoothDevicePreference preference = (BluetoothDevicePreference) getCachedPreference(key); local 205 BluetoothDevicePreference preference = mDevicePreferenceMap.remove(cachedDevice); local [all...] |
/packages/apps/Camera2/src/com/android/camera/settings/ |
CameraSettingsActivity.java | 26 import android.preference.ListPreference; 27 import android.preference.Preference; 28 import android.preference.Preference.OnPreferenceClickListener; 29 import android.preference.PreferenceFragment; 30 import android.preference.PreferenceGroup; 31 import android.preference.PreferenceScreen; 64 * Used to denote a subsection of the preference tree to display in the 66 * preference section will be treated as the root for display. This is use [all...] |
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ |
mxbase.py | 28 @ivar preference: the preference value 29 @type preference: int 33 __slots__ = ['preference', 'exchange'] 35 def __init__(self, rdclass, rdtype, preference, exchange): 37 self.preference = preference 42 return '%d %s' % (self.preference, exchange) 45 preference = tok.get_uint16() 49 return cls(rdclass, rdtype, preference, exchange [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPreferenceCategory.java | 3 import android.preference.PreferenceCategory;
|
/external/robolectric/v1/src/test/resources/res/xml/ |
preferences.xml | 9 <Preference 35 <Preference 36 android:key="preference" 37 android:title="Preference Title"
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/res/xml/ |
prefs.xml | 24 <Preference 27 </Preference> 41 <Preference 45 android:title="Date"></Preference> 46 <Preference 50 android:title="Time"></Preference> 57 <Preference 60 android:title="Time zone"></Preference> 82 <Preference 86 android:title="Application A"></Preference> [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/ |
PreferenceManager.java | 16 package com.android.contacts.common.preference; 18 import android.preference.Preference; 23 List<Preference> getPreferences();
|
DisplayOptionsPreferenceFragment.java | 17 package com.android.contacts.common.preference; 22 import android.preference.Preference; 23 import android.preference.PreferenceFragment; 47 final Preference aboutPreference = findPreference("about"); 48 aboutPreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() { 50 public boolean onPreferenceClick(Preference preference) { 82 for (Preference preference : preferenceManager.getPreferences()) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/sound/ |
SoundFragment.java | 24 import android.support.v14.preference.SwitchPreference; 25 import android.support.v17.preference.LeanbackPreferenceFragment; 26 import android.support.v7.preference.ListPreference; 27 import android.support.v7.preference.Preference; 28 import android.support.v7.preference.PreferenceScreen; 29 import android.support.v7.preference.TwoStatePreference; 35 Preference.OnPreferenceChangeListener { 70 public boolean onPreferenceTreeClick(Preference preference) { [all...] |
/frameworks/support/v7/preference/res/values/ |
styles.xml | 19 <style name="Preference"> 20 <item name="android:layout">@layout/preference</item> 29 <style name="Preference.Information"> 35 <style name="Preference.Category"> 37 <!-- The title should not dim if the category is disabled, instead only the preference children should dim. --> 42 <style name="Preference.CheckBoxPreference"> 46 <style name="Preference.SwitchPreferenceCompat"> 52 <style name="Preference.PreferenceScreen"> 55 <style name="Preference.DialogPreference"> 60 <style name="Preference.DialogPreference.EditTextPreference" [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
InLineSettingItem.java | 30 * preference button. The setting includes a title for showing the preference 33 * and a next button. A switch, i.e. the preference RecordLocationPreference, 42 // Scene mode can override the original preference value. 53 protected void setTitle(ListPreference preference) { 54 ((TextView) findViewById(R.id.title)).setText(preference.getTitle()); 57 public void initialize(ListPreference preference) { 58 setTitle(preference); 59 if (preference == null) return; 60 mPreference = preference; [all...] |
/packages/apps/Settings/src/com/android/settings/vpn2/ |
LegacyVpnPreference.java | 20 import android.support.v7.preference.Preference; 29 * {@link android.support.v7.preference.Preference} tracks the underlying legacy vpn profile and 55 public int compareTo(Preference preference) { 56 if (preference instanceof LegacyVpnPreference) { 57 LegacyVpnPreference another = (LegacyVpnPreference) preference; 65 } else if (preference instanceof AppPreference) { 67 AppPreference another = (AppPreference) preference; [all...] |
/prebuilts/sdk/current/support/v7/preference/res/values/ |
styles.xml | 19 <style name="Preference"> 20 <item name="android:layout">@layout/preference</item> 29 <style name="Preference.Information"> 35 <style name="Preference.Category"> 37 <!-- The title should not dim if the category is disabled, instead only the preference children should dim. --> 42 <style name="Preference.CheckBoxPreference"> 46 <style name="Preference.SwitchPreferenceCompat"> 52 <style name="Preference.PreferenceScreen"> 55 <style name="Preference.DialogPreference"> 60 <style name="Preference.DialogPreference.EditTextPreference" [all...] |
/frameworks/base/packages/SettingsLib/ |
Android.mk | 11 android-support-v7-preference \ 13 android-support-v14-preference
|
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
InputMethodSettingsInterface.java | 34 * @param title The title for this preference. 39 * Sets the title for the input method enabler preference for launching subtype enabler with a 46 * Sets the title for the input method enabler preference for launching subtype enabler with a 48 * @param title The title for this preference. 53 * Sets the icon for the preference for launching subtype enabler with a resource ID. 54 * @param resId The resource id of an optional icon for the preference. 59 * Sets the icon for the Preference for launching subtype enabler with a Drawable. 60 * @param drawable The drawable of an optional icon for the preference.
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
PreferenceFragment.java | 17 package android.support.v14.preference; 33 import android.support.v7.preference.AndroidResources; 34 import android.support.v7.preference.DialogPreference; 35 import android.support.v7.preference.EditTextPreference; 36 import android.support.v7.preference.ListPreference; 37 import android.support.v7.preference.Preference; 38 import android.support.v7.preference.PreferenceGroup; 39 import android.support.v7.preference.PreferenceGroupAdapter; 40 import android.support.v7.preference.PreferenceManager [all...] |
/frameworks/base/core/java/android/preference/ |
Preference.java | 17 package android.preference; 49 * Represents the basic Preference UI building 53 * store/retrieve the preference data. 55 * When specifying a preference hierarchy in XML, each element can point to a 56 * subclass of {@link Preference}, similar to the view hierarchy and layouts. 84 public class Preference implements Comparable<Preference> { 129 private int mLayoutResId = com.android.internal.R.layout.preference; 135 private List<Preference> mDependents; 141 * {@link Preference} has been changed by the user and i [all...] |
/cts/tests/tests/preference2/src/android/preference2/cts/ |
CustomPreferenceGroup.java | 23 import android.preference.Preference; 24 import android.preference.PreferenceGroup; 54 public boolean onPrepareAddPreference (Preference preference) { 56 return super.onPrepareAddPreference(preference);
|
/development/samples/ApiDemos/res/xml/ |
advanced_preferences.xml | 17 <!-- This is an advanced example showing the custom preference types and manually handling 18 preference clicks. --> 22 <!-- My custom preference type. This just replaces the actual widget 23 portion of the preference, if the whole preference wanted to be 26 <com.example.android.apis.preference.MyPreference
|
/external/svox/pico/res/xml/ |
voices_list.xml | 20 <Preference 23 <Preference 26 <Preference 29 <Preference 32 <Preference 35 <Preference
|
/frameworks/base/tools/layoutlib/bridge/src/android/preference/ |
BridgePreferenceInflater.java | 17 package android.preference; 32 protected Preference onCreateItem(String name, AttributeSet attrs) 45 Preference preference = super.onCreateItem(name, attrs); local 48 bc.addCookie(preference, viewKey); 50 return preference;
|
/packages/apps/ContactsCommon/res/xml/ |
preference_about.xml | 18 <Preference 23 <Preference 29 <Preference 33 </Preference> 35 <Preference 39 </Preference>
|