Home
last modified time | relevance | path

Searched refs:preference (Results 1 – 25 of 208) sorted by relevance

123456789

/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceGroup.java17 package android.support.v7.preference;
122 public void addItemFromInflater(Preference preference) { in addItemFromInflater() argument
123 addPreference(preference); in addItemFromInflater()
151 public boolean addPreference(Preference preference) { in addPreference() argument
152 if (mPreferenceList.contains(preference)) { in addPreference()
157 if (preference.getOrder() == DEFAULT_ORDER) { in addPreference()
159 preference.setOrder(mCurrentPreferenceOrder++); in addPreference()
162 if (preference instanceof PreferenceGroup) { in addPreference()
165 ((PreferenceGroup)preference).setOrderingAsAdded(mOrderingAsAdded); in addPreference()
169 int insertionIndex = Collections.binarySearch(mPreferenceList, preference); in addPreference()
[all …]
DPreferenceGroupAdapter.java17 package android.support.v7.preference;
135 for (final Preference preference : fullPreferenceList) { in syncMyPreferences()
136 if (preference.isVisible()) { in syncMyPreferences()
137 visiblePreferenceList.add(preference); in syncMyPreferences()
152 final Preference preference = group.getPreference(i); in flattenPreferenceGroup() local
154 preferences.add(preference); in flattenPreferenceGroup()
156 addPreferenceClassName(preference); in flattenPreferenceGroup()
158 if (preference instanceof PreferenceGroup) { in flattenPreferenceGroup()
159 final PreferenceGroup preferenceAsGroup = (PreferenceGroup) preference; in flattenPreferenceGroup()
165 preference.setOnPreferenceChangeInternalListener(this); in flattenPreferenceGroup()
[all …]
DListPreferenceDialogFragmentCompat.java17 package android.support.v7.preference;
50 final ListPreference preference = getListPreference(); in onCreate() local
52 if (preference.getEntries() == null || preference.getEntryValues() == null) { in onCreate()
57 mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue()); in onCreate()
58 mEntries = preference.getEntries(); in onCreate()
59 mEntryValues = preference.getEntryValues(); in onCreate()
124 final ListPreference preference = getListPreference(); in onDialogClosed() local
127 if (preference.callChangeListener(value)) { in onDialogClosed()
128 preference.setValue(value); in onDialogClosed()
/frameworks/base/core/java/android/preference/
DPreferenceGroup.java17 package android.preference;
104 public void addItemFromInflater(Preference preference) { in addItemFromInflater() argument
105 addPreference(preference); in addItemFromInflater()
133 public boolean addPreference(Preference preference) { in addPreference() argument
134 if (mPreferenceList.contains(preference)) { in addPreference()
139 if (preference.getOrder() == Preference.DEFAULT_ORDER) { in addPreference()
141 preference.setOrder(mCurrentPreferenceOrder++); in addPreference()
144 if (preference instanceof PreferenceGroup) { in addPreference()
147 ((PreferenceGroup)preference).setOrderingAsAdded(mOrderingAsAdded); in addPreference()
151 if (!onPrepareAddPreference(preference)) { in addPreference()
[all …]
DPreferenceGroupAdapter.java17 package android.preference;
25 import android.preference.Preference.OnPreferenceChangeInternalListener;
163 final Preference preference = group.getPreference(i); in flattenPreferenceGroup() local
165 preferences.add(preference); in flattenPreferenceGroup()
167 if (!mHasReturnedViewTypeCount && preference.canRecycleLayout()) { in flattenPreferenceGroup()
168 addPreferenceClassName(preference); in flattenPreferenceGroup()
171 if (preference instanceof PreferenceGroup) { in flattenPreferenceGroup()
172 final PreferenceGroup preferenceAsGroup = (PreferenceGroup) preference; in flattenPreferenceGroup()
178 preference.setOnPreferenceChangeInternalListener(this); in flattenPreferenceGroup()
187 private PreferenceLayout createPreferenceLayout(Preference preference, PreferenceLayout in) { in createPreferenceLayout() argument
[all …]
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/
Dsettings.jd2 page.tags=preference,preferenceactivity,preferencefragment
52 <li>{@link android.preference.Preference}</li>
53 <li>{@link android.preference.PreferenceActivity}</li>
54 <li>{@link android.preference.PreferenceFragment}</li>
73 API-интерфейсы {@link android.preference.Preference} системы Android для построения интерфейса, сог…
75 как построить настройки вашего приложения посредством API-интерфейсов {@link android.preference.Pre…
85 для обмена сообщениями. Выбор элемента, заданного посредством {@link android.preference.Preference}…
94 с помощью различных подклассов класса {@link android.preference.Preference}, который вы
97 <p>Объект {@link android.preference.Preference} является строительным блоком для отдельной
98 настройки. Каждый объект {@link android.preference.Preference} отображается в виде элемента в списк…
[all …]
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/
Dsettings.jd2 page.tags=preference,preferenceactivity,preferencefragment
52 <li>{@link android.preference.Preference}</li>
53 <li>{@link android.preference.PreferenceActivity}</li>
54 <li>{@link android.preference.PreferenceFragment}</li>
72 <p>アプリに設定機能を提供するには、Android の {@link android.preference.Preference} API を使用して、他の Android アプリ(システム設定を…
74 このドキュメントでは、{@link android.preference.Preference} API を使用して、アプリの設定機能を構築する方法について説明します。
85 {@link android.preference.Preference} で定義されたアイテムを選択すると、設定を変更するためのインターフェースが開きます。
93 …iew} オブジェクトを使用してユーザー インターフェースを作成する方法ではなく、XML ファイルで宣言された {@link android.preference.Preference} クラスの…
97 <p>1 つの {@link android.preference.Preference} オブジェクトが、1 つの設定の構成要素になります。
98 各 {@link android.preference.Preference} はアイテムとしてリストに表示され、ユーザーが設定を変更するための適切な UI を提供します。
[all …]
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/
Dsettings.jd2 page.tags=preference,preferenceactivity,preferencefragment
52 <li>{@link android.preference.Preference}</li>
53 <li>{@link android.preference.PreferenceActivity}</li>
54 <li>{@link android.preference.PreferenceFragment}</li>
73 {@link android.preference.Preference} API를 사용하여 다른 Android 앱(시스템 설정 포함)의 사용자 환경과
75 {@link android.preference.Preference} API를 사용하여 앱 설정을 구축하는 방법을 설명합니다.</p>
85 스크린샷입니다. {@link android.preference.Preference}가 정의한 항목을 선택하면
94 {@link android.preference.Preference} 클래스의 다양한 하위 클래스를 사용하여 구축합니다.
97 <p>{@link android.preference.Preference} 객체는 하나의 설정을 이루는 기본
98 단위입니다. 각각의 {@link android.preference.Preference}는 목록의 항목으로
[all …]
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/
Dsettings.jd52 <li>{@link android.preference.Preference}</li>
53 <li>{@link android.preference.PreferenceActivity}</li>
54 <li>{@link android.preference.PreferenceFragment}</li>
72 <p>如果您想要為應用程式提供設定,應該使用 Android {@link android.preference.Preference} API 建置與其他 Android 應用程式使用者體驗一致的…
74 本文件說明如何使用 {@link android.preference.Preference} API 建置應用程式設定。
85 選取一個 {@link android.preference.Preference} 定義的項目可以開啟介面變更設定。
93 <p>現在不使用 {@link android.view.View} 物件建置使用者介面,而是使用您在 XML 檔案中所宣告 {@link android.preference.Preference…
97 <p>一個 {@link android.preference.Preference} 物件是單一設定的建置區塊。
98 每個 {@link android.preference.Preference} 都以項目的形式在清單中顯示,並為使用者提供適當的 UI 以修改設定。
100 android.preference.CheckBoxPreference} 可以建立顯示核取方塊的清單項目,而 {@link
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/
Dsettings.jd52 <li>{@link android.preference.Preference}</li>
53 <li>{@link android.preference.PreferenceActivity}</li>
54 <li>{@link android.preference.PreferenceFragment}</li>
73 Android 的 {@link android.preference.Preference} API
75 {@link android.preference.Preference} API 构建应用设置。</p>
85 选择由 {@link android.preference.Preference}
94 {@link android.preference.Preference}
97 <p>{@link android.preference.Preference}
98 对象是单个设置的构建基块。每个 {@link android.preference.Preference} 均作为项目显示在列表中,并提供适当的
100 android.preference.CheckBoxPreference} 可创建一个列表项用于显示复选框,{@link
[all …]
/frameworks/support/v14/preference/api/
D23.1.0.txt1 package android.support.v14.preference {
3 …public class EditTextPreferenceDialogFragment extends android.support.v14.preference.PreferenceDia…
5 …method public static android.support.v14.preference.EditTextPreferenceDialogFragment newInstance(j…
9 …public class ListPreferenceDialogFragment extends android.support.v14.preference.PreferenceDialogF…
11 …method public static android.support.v14.preference.ListPreferenceDialogFragment newInstance(java.…
15 public class MultiSelectListPreference extends android.support.v7.preference.DialogPreference {
32 …public class MultiSelectListPreferenceDialogFragment extends android.support.v14.preference.Prefer…
34 …method public static android.support.v14.preference.MultiSelectListPreferenceDialogFragment newIns…
40 method public android.support.v7.preference.DialogPreference getPreference();
49preference.PreferenceManager.OnDisplayPreferenceDialogListener android.support.v7.preference.Prefe…
[all …]
D23.1.1.txt1 package android.support.v14.preference {
3 …public class EditTextPreferenceDialogFragment extends android.support.v14.preference.PreferenceDia…
5 …method public static android.support.v14.preference.EditTextPreferenceDialogFragment newInstance(j…
9 …public class ListPreferenceDialogFragment extends android.support.v14.preference.PreferenceDialogF…
11 …method public static android.support.v14.preference.ListPreferenceDialogFragment newInstance(java.…
15 public class MultiSelectListPreference extends android.support.v7.preference.DialogPreference {
32 …public class MultiSelectListPreferenceDialogFragment extends android.support.v14.preference.Prefer…
34 …method public static android.support.v14.preference.MultiSelectListPreferenceDialogFragment newIns…
40 method public android.support.v7.preference.DialogPreference getPreference();
49preference.PreferenceManager.OnDisplayPreferenceDialogListener android.support.v7.preference.Prefe…
[all …]
Dcurrent.txt1 package android.support.v14.preference {
3 …public class EditTextPreferenceDialogFragment extends android.support.v14.preference.PreferenceDia…
5 …method public static android.support.v14.preference.EditTextPreferenceDialogFragment newInstance(j…
9 …public class ListPreferenceDialogFragment extends android.support.v14.preference.PreferenceDialogF…
11 …method public static android.support.v14.preference.ListPreferenceDialogFragment newInstance(java.…
15 public class MultiSelectListPreference extends android.support.v7.preference.DialogPreference {
32 …public class MultiSelectListPreferenceDialogFragment extends android.support.v14.preference.Prefer…
34 …method public static android.support.v14.preference.MultiSelectListPreferenceDialogFragment newIns…
40 method public android.support.v7.preference.DialogPreference getPreference();
49preference.PreferenceManager.OnDisplayPreferenceDialogListener android.support.v7.preference.Prefe…
[all …]
D23.0.0.txt1 package android.support.v14.preference {
3 …public class EditTextPreferenceDialogFragment extends android.support.v14.preference.PreferenceDia…
5 …method public static android.support.v14.preference.EditTextPreferenceDialogFragment newInstance(j…
10 …public class ListPreferenceDialogFragment extends android.support.v14.preference.PreferenceDialogF…
12 …method public static android.support.v14.preference.ListPreferenceDialogFragment newInstance(java.…
16 public class MultiSelectListPreference extends android.support.v7.preference.DialogPreference {
33 …public class MultiSelectListPreferenceDialogFragment extends android.support.v14.preference.Prefer…
35 …method public static android.support.v14.preference.MultiSelectListPreferenceDialogFragment newIns…
41 method public android.support.v7.preference.DialogPreference getPreference();
50preference.PreferenceManager.OnDisplayPreferenceDialogListener android.support.v7.preference.Prefe…
[all …]
/frameworks/support/v17/preference-leanback/api/
Dcurrent.txt1 package android.support.v17.preference {
3 …public abstract class BaseLeanbackPreferenceFragment extends android.support.v14.preference.Prefer…
7 …public class LeanbackListPreferenceDialogFragment extends android.support.v17.preference.LeanbackP…
9 …method public static android.support.v17.preference.LeanbackListPreferenceDialogFragment newInstan…
10 …method public static android.support.v17.preference.LeanbackListPreferenceDialogFragment newInstan…
14 ….support.v7.widget.RecyclerView.Adapter implements android.support.v17.preference.LeanbackListPref…
17 …method public void onBindViewHolder(android.support.v17.preference.LeanbackListPreferenceDialogFra…
18 …method public android.support.v17.preference.LeanbackListPreferenceDialogFragment.ViewHolder onCre…
19 …method public void onItemClick(android.support.v17.preference.LeanbackListPreferenceDialogFragment…
22 ….support.v7.widget.RecyclerView.Adapter implements android.support.v17.preference.LeanbackListPref…
[all …]
D23.1.0.txt1 package android.support.v17.preference {
3 …public abstract class BaseLeanbackPreferenceFragment extends android.support.v14.preference.Prefer…
7 …public class LeanbackListPreferenceDialogFragment extends android.support.v17.preference.LeanbackP…
9 …method public static android.support.v17.preference.LeanbackListPreferenceDialogFragment newInstan…
10 …method public static android.support.v17.preference.LeanbackListPreferenceDialogFragment newInstan…
14 ….support.v7.widget.RecyclerView.Adapter implements android.support.v17.preference.LeanbackListPref…
17 …method public void onBindViewHolder(android.support.v17.preference.LeanbackListPreferenceDialogFra…
18 …method public android.support.v17.preference.LeanbackListPreferenceDialogFragment.ViewHolder onCre…
19 …method public void onItemClick(android.support.v17.preference.LeanbackListPreferenceDialogFragment…
22 ….support.v7.widget.RecyclerView.Adapter implements android.support.v17.preference.LeanbackListPref…
[all …]
D23.1.1.txt1 package android.support.v17.preference {
3 …public abstract class BaseLeanbackPreferenceFragment extends android.support.v14.preference.Prefer…
7 …public class LeanbackListPreferenceDialogFragment extends android.support.v17.preference.LeanbackP…
9 …method public static android.support.v17.preference.LeanbackListPreferenceDialogFragment newInstan…
10 …method public static android.support.v17.preference.LeanbackListPreferenceDialogFragment newInstan…
14 ….support.v7.widget.RecyclerView.Adapter implements android.support.v17.preference.LeanbackListPref…
17 …method public void onBindViewHolder(android.support.v17.preference.LeanbackListPreferenceDialogFra…
18 …method public android.support.v17.preference.LeanbackListPreferenceDialogFragment.ViewHolder onCre…
19 …method public void onItemClick(android.support.v17.preference.LeanbackListPreferenceDialogFragment…
22 ….support.v7.widget.RecyclerView.Adapter implements android.support.v17.preference.LeanbackListPref…
[all …]
D23.0.0.txt1 package android.support.v17.preference {
3 …public abstract class BaseLeanbackPreferenceFragment extends android.support.v14.preference.Prefer…
7 …public class LeanbackListPreferenceDialogFragment extends android.support.v17.preference.LeanbackP…
9 …method public static android.support.v17.preference.LeanbackListPreferenceDialogFragment newInstan…
10 …method public static android.support.v17.preference.LeanbackListPreferenceDialogFragment newInstan…
14 ….support.v7.widget.RecyclerView.Adapter implements android.support.v17.preference.LeanbackListPref…
17 …method public void onBindViewHolder(android.support.v17.preference.LeanbackListPreferenceDialogFra…
18 …method public android.support.v17.preference.LeanbackListPreferenceDialogFragment.ViewHolder onCre…
19 …method public void onItemClick(android.support.v17.preference.LeanbackListPreferenceDialogFragment…
22 ….support.v7.widget.RecyclerView.Adapter implements android.support.v17.preference.LeanbackListPref…
[all …]
/frameworks/support/v7/preference/api/
D23.1.0.txt1 package android.support.v7.preference {
3 public class CheckBoxPreference extends android.support.v7.preference.TwoStatePreference {
10 public abstract class DialogPreference extends android.support.v7.preference.Preference {
35 …method public abstract android.support.v7.preference.Preference findPreference(java.lang.CharSeque…
38 public class EditTextPreference extends android.support.v7.preference.DialogPreference {
47 …public class EditTextPreferenceDialogFragmentCompat extends android.support.v7.preference.Preferen…
49 …method public static android.support.v7.preference.EditTextPreferenceDialogFragmentCompat newInsta…
53 public class ListPreference extends android.support.v7.preference.DialogPreference {
71 …public class ListPreferenceDialogFragmentCompat extends android.support.v7.preference.PreferenceDi…
73 …method public static android.support.v7.preference.ListPreferenceDialogFragmentCompat newInstance(…
[all …]
D23.0.0.txt1 package android.support.v7.preference {
3 public class CheckBoxPreference extends android.support.v7.preference.TwoStatePreference {
10 public abstract class DialogPreference extends android.support.v7.preference.Preference {
35 …method public abstract android.support.v7.preference.Preference findPreference(java.lang.CharSeque…
38 public class EditTextPreference extends android.support.v7.preference.DialogPreference {
47 …public class EditTextPreferenceDialogFragmentCompat extends android.support.v7.preference.Preferen…
49 …method public static android.support.v7.preference.EditTextPreferenceDialogFragmentCompat newInsta…
54 public class ListPreference extends android.support.v7.preference.DialogPreference {
72 …public class ListPreferenceDialogFragmentCompat extends android.support.v7.preference.PreferenceDi…
74 …method public static android.support.v7.preference.ListPreferenceDialogFragmentCompat newInstance(…
[all …]
D23.1.1.txt1 package android.support.v7.preference {
3 public class CheckBoxPreference extends android.support.v7.preference.TwoStatePreference {
10 public abstract class DialogPreference extends android.support.v7.preference.Preference {
35 …method public abstract android.support.v7.preference.Preference findPreference(java.lang.CharSeque…
38 public class EditTextPreference extends android.support.v7.preference.DialogPreference {
47 …public class EditTextPreferenceDialogFragmentCompat extends android.support.v7.preference.Preferen…
49 …method public static android.support.v7.preference.EditTextPreferenceDialogFragmentCompat newInsta…
53 public class ListPreference extends android.support.v7.preference.DialogPreference {
71 …public class ListPreferenceDialogFragmentCompat extends android.support.v7.preference.PreferenceDi…
73 …method public static android.support.v7.preference.ListPreferenceDialogFragmentCompat newInstance(…
[all …]
Dcurrent.txt1 package android.support.v7.preference {
3 public class CheckBoxPreference extends android.support.v7.preference.TwoStatePreference {
10 public abstract class DialogPreference extends android.support.v7.preference.Preference {
35 …method public abstract android.support.v7.preference.Preference findPreference(java.lang.CharSeque…
38 public class DropDownPreference extends android.support.v7.preference.ListPreference {
46 public class EditTextPreference extends android.support.v7.preference.DialogPreference {
55 …public class EditTextPreferenceDialogFragmentCompat extends android.support.v7.preference.Preferen…
57 …method public static android.support.v7.preference.EditTextPreferenceDialogFragmentCompat newInsta…
61 public class ListPreference extends android.support.v7.preference.DialogPreference {
79 …public class ListPreferenceDialogFragmentCompat extends android.support.v7.preference.PreferenceDi…
[all …]
/frameworks/support/v14/preference/src/android/support/v14/preference/
DListPreferenceDialogFragment.java17 package android.support.v14.preference;
23 import android.support.v7.preference.ListPreference;
48 final ListPreference preference = getListPreference(); in onCreate() local
50 if (preference.getEntries() == null || preference.getEntryValues() == null) { in onCreate()
55 mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue()); in onCreate()
56 mEntries = preference.getEntries(); in onCreate()
57 mEntryValues = preference.getEntryValues(); in onCreate()
106 final ListPreference preference = getListPreference(); in onDialogClosed() local
109 if (preference.callChangeListener(value)) { in onDialogClosed()
110 preference.setValue(value); in onDialogClosed()
DPreferenceFragment.java17 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;
41 import android.support.v7.preference.PreferenceRecyclerViewAccessibilityDelegate;
[all …]
/frameworks/support/v17/preference-leanback/
DAndroid.mk20 android-support-v14-preference \
21 android-support-v7-preference \
31 LOCAL_MODULE := android-support-v17-preference-leanback-res
46 LOCAL_MODULE := android-support-v17-preference-leanback-api21
50 android-support-v17-preference-leanback-res \
73 LOCAL_MODULE := android-support-v17-preference-leanback
78 android-support-v17-preference-leanback-api21
80 android-support-v17-preference-leanback-res
97 support_module_java_packages := android.support.v17.preference

123456789