/frameworks/base/core/java/android/preference/ |
D | PreferenceGroup.java | 42 public abstract class PreferenceGroup extends Preference implements GenericInflater.Parent<Preferen… 48 private List<Preference> mPreferenceList; 59 mPreferenceList = new ArrayList<Preference>(); in PreferenceGroup() 104 public void addItemFromInflater(Preference preference) { in addItemFromInflater() 122 public Preference getPreference(int index) { in getPreference() 133 public boolean addPreference(Preference preference) { in addPreference() 139 if (preference.getOrder() == Preference.DEFAULT_ORDER) { in addPreference() 180 public boolean removePreference(Preference preference) { in removePreference() 186 private boolean removePreferenceInt(Preference preference) { in removePreferenceInt() 198 List<Preference> preferenceList = mPreferenceList; in removeAll() [all …]
|
D | PreferenceGroupAdapter.java | 25 import android.preference.Preference.OnPreferenceChangeInternalListener; 68 private List<Preference> mPreferenceList; 130 mPreferenceList = new ArrayList<Preference>(); in PreferenceGroupAdapter() 145 List<Preference> newPreferenceList = new ArrayList<Preference>(mPreferenceList.size()); in syncMyPreferences() 157 private void flattenPreferenceGroup(List<Preference> preferences, PreferenceGroup group) { in flattenPreferenceGroup() 163 final Preference preference = group.getPreference(i); in flattenPreferenceGroup() 187 private PreferenceLayout createPreferenceLayout(Preference preference, PreferenceLayout in) { in createPreferenceLayout() 195 private void addPreferenceClassName(Preference preference) { in addPreferenceClassName() 211 public Preference getItem(int position) { in getItem() 236 final Preference preference = this.getItem(position); in getView() [all …]
|
D | Preference.java | 84 public class Preference implements Comparable<Preference> { class 135 private List<Preference> mDependents; 155 boolean onPreferenceChange(Preference preference, Object newValue); in onPreferenceChange() 169 boolean onPreferenceClick(Preference preference); in onPreferenceClick() 183 void onPreferenceChange(Preference preference); in onPreferenceChange() 190 void onPreferenceHierarchyChange(Preference preference); in onPreferenceHierarchyChange() 217 public Preference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in Preference() method in Preference 221 attrs, com.android.internal.R.styleable.Preference, defStyleAttr, defStyleRes); in Preference() 312 public Preference(Context context, AttributeSet attrs, int defStyleAttr) { in Preference() method in Preference 330 public Preference(Context context, AttributeSet attrs) { in Preference() method in Preference [all …]
|
D | PreferenceInflater.java | 38 class PreferenceInflater extends GenericInflater<Preference, PreferenceGroup> { 50 …PreferenceInflater(GenericInflater<Preference, PreferenceGroup> original, PreferenceManager prefer… in PreferenceInflater() argument 56 public GenericInflater<Preference, PreferenceGroup> cloneInContext(Context newContext) { in cloneInContext() 66 protected boolean onCreateCustomFromTag(XmlPullParser parser, Preference parentPreference, in onCreateCustomFromTag()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceGroupAdapter.java | 43 implements Preference.OnPreferenceChangeInternalListener, 58 private List<Preference> mPreferenceList; 64 private List<Preference> mPreferenceListInternal; 136 for (final Preference preference : mPreferenceListInternal) { in syncMyPreferences() 141 final List<Preference> fullPreferenceList = new ArrayList<>(mPreferenceListInternal.size()); in syncMyPreferences() 144 final List<Preference> visiblePreferenceList = new ArrayList<>(fullPreferenceList.size()); in syncMyPreferences() 146 for (final Preference preference : fullPreferenceList) { in syncMyPreferences() 158 private void flattenPreferenceGroup(List<Preference> preferences, PreferenceGroup group) { in flattenPreferenceGroup() 163 final Preference preference = group.getPreference(i); in flattenPreferenceGroup() 185 private PreferenceLayout createPreferenceLayout(Preference preference, PreferenceLayout in) { in createPreferenceLayout() [all …]
|
D | PreferenceGroup.java | 49 public abstract class PreferenceGroup extends Preference { 55 private List<Preference> mPreferenceList; 125 public void addItemFromInflater(Preference preference) { in addItemFromInflater() 143 public Preference getPreference(int index) { in getPreference() 154 public boolean addPreference(Preference preference) { in addPreference() 211 public boolean removePreference(Preference preference) { in removePreference() 217 private boolean removePreferenceInt(Preference preference) { in removePreferenceInt() 253 List<Preference> preferenceList = mPreferenceList; in removeAll() 267 protected boolean onPrepareAddPreference(Preference preference) { in onPrepareAddPreference() 285 public Preference findPreference(CharSequence key) { in findPreference() [all …]
|
D | PreferenceInflater.java | 114 public Preference inflate(int resource, @Nullable PreferenceGroup root) { in inflate() 142 public Preference inflate(XmlPullParser parser, @Nullable PreferenceGroup root) { in inflate() 146 final Preference result; in inflate() 161 Preference xmlRoot = createItemFromTag(parser.getName(), in inflate() 216 private Preference createItem(@NonNull String name, @Nullable String[] prefixes, in createItem() 256 return (Preference) constructor.newInstance(args); in createItem() 279 protected Preference onCreateItem(String name, AttributeSet attrs) in onCreateItem() 284 private Preference createItemFromTag(String name, in createItemFromTag() 287 final Preference item; in createItemFromTag() 320 private void rInflate(XmlPullParser parser, Preference parent, final AttributeSet attrs) in rInflate() [all …]
|
D | Preference.java | 84 public class Preference implements Comparable<Preference> { class 141 private List<Preference> mDependents; 168 boolean onPreferenceChange(Preference preference, Object newValue); in onPreferenceChange() 182 boolean onPreferenceClick(Preference preference); in onPreferenceClick() 196 void onPreferenceChange(Preference preference); in onPreferenceChange() 203 void onPreferenceHierarchyChange(Preference preference); in onPreferenceHierarchyChange() 210 void onPreferenceVisibilityChange(Preference preference); in onPreferenceVisibilityChange() 237 public Preference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in Preference() method in Preference 241 attrs, R.styleable.Preference, defStyleAttr, defStyleRes); in Preference() 312 public Preference(Context context, AttributeSet attrs, int defStyleAttr) { in Preference() method in Preference [all …]
|
D | PreferenceFragmentCompat.java | 173 boolean onPreferenceStartFragment(PreferenceFragmentCompat caller, Preference pref); in onPreferenceStartFragment() 200 boolean onPreferenceDisplayDialog(PreferenceFragmentCompat caller, Preference pref); in onPreferenceDisplayDialog() 447 final Preference root; in setPreferencesFromResource() 465 public boolean onPreferenceTreeClick(Preference preference) { in onPreferenceTreeClick() 512 public Preference findPreference(CharSequence key) { in findPreference() 614 public void onDisplayPreferenceDialog(Preference preference) { in onDisplayPreferenceDialog() 664 public void scrollToPreference(final Preference preference) { in scrollToPreference() 668 private void scrollToPreferenceInternal(final Preference preference, final String key) { in scrollToPreferenceInternal() 710 private final Preference mPreference; 714 Preference preference, String key) { in ScrollToPreferenceObserver()
|
D | PreferenceManager.java | 357 public Preference findPreference(CharSequence key) { in findPreference() 501 public void showDialog(Preference preference) { in showDialog() 551 boolean onPreferenceTreeClick(Preference preference); in onPreferenceTreeClick() 565 void onDisplayPreferenceDialog(Preference preference); in onDisplayPreferenceDialog()
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/ |
D | settings.jd | 52 <li>{@link android.preference.Preference}</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} 均作为项目显示在列表中,并提供适当的 103 <p>您添加的每个 {@link android.preference.Preference} 都有一个相应的键值对,可供系统用来将设置保存在应用设置的默认 122 <p>由于应用的设置 UI 是使用 {@link android.preference.Preference} 144 android.preference.Preference} 类的特定子类表示。每个子类均包括一组核心属性,允许您指定设置标题和默认值等内容。 [all …]
|
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/ |
D | settings.jd | 52 <li>{@link android.preference.Preference}</li> 72 <p>アプリに設定機能を提供するには、Android の {@link android.preference.Preference} API を使用して、他の Android アプリ(システム設定を… 74 このドキュメントでは、{@link android.preference.Preference} API を使用して、アプリの設定機能を構築する方法について説明します。 85 {@link android.preference.Preference} で定義されたアイテムを選択すると、設定を変更するためのインターフェースが開きます。 93 …を使用してユーザー インターフェースを作成する方法ではなく、XML ファイルで宣言された {@link android.preference.Preference} クラスの各種のサブクラスを使用… 97 <p>1 つの {@link android.preference.Preference} オブジェクトが、1 つの設定の構成要素になります。 98 各 {@link android.preference.Preference} はアイテムとしてリストに表示され、ユーザーが設定を変更するための適切な UI を提供します。 103 <p>追加した各 {@link android.preference.Preference} は、アプリの設定のためのデフォルトの {@link android.content.SharedPref… 122 <p>アプリの設定の UI は {@link android.view.View} オブジェクトではなく {@link android.preference.Preference} で作成されている… 143 <p>アプリの各設定は、{@link android.preference.Preference} クラスの個々のサブクラスに相当します。 [all …]
|
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/ |
D | settings.jd | 52 <li>{@link android.preference.Preference}</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}는 목록의 항목으로 103 <p>각각의 {@link android.preference.Preference}를 추가할 때마다 상응하는 키-값 쌍이 있어 124 {@link android.preference.Preference} 객체를 사용하여 구축되기 때문에, 목록 설정을 표시하려면 특수 {@link android.app.Activit… 144 android.preference.Preference} 클래스의 특정 하위 클래스로 표현됩니다. 각 하위 클래스에 핵심 속성이 한 세트씩 포함되어 있어 [all …]
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/ |
D | settings.jd | 52 <li>{@link android.preference.Preference}</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 以修改設定。 103 <p>每個您新增的 {@link android.preference.Preference} 都會有一個對應的鍵值配對,系統可使用此鍵值對將設定儲存到您應用程式設定的預設 {@link andro… 122 <p>由於您的應用程式設定 UI 是使用 {@link android.preference.Preference} 物件,而不是 {@link android.view.View} 物件建置,因此… 144 android.preference.Preference} 類別的特定子類別代表。每個子類別包含一組核心屬性,可讓您為設定指定標題等項目和預設值。 [all …]
|
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/ |
D | settings.jd | 52 <li>{@link android.preference.Preference}</li> 73 API-интерфейсы {@link android.preference.Preference} системы Android для построения интерфейса, сог… 75 … настройки вашего приложения посредством API-интерфейсов {@link android.preference.Preference}.</p> 85 для обмена сообщениями. Выбор элемента, заданного посредством {@link android.preference.Preference}, 94 с помощью различных подклассов класса {@link android.preference.Preference}, который вы 97 <p>Объект {@link android.preference.Preference} является строительным блоком для отдельной 98 настройки. Каждый объект {@link android.preference.Preference} отображается в виде элемента в списк… 103 <p>Каждый добавляемый вами объект {@link android.preference.Preference} имеет соответствующую пару … 122 …йс настроек вашего приложения создается посредством объектов {@link android.preference.Preference}, 144 android.preference.Preference}. Каждый подкласс содержит набор основных свойств, которые позволяют … [all …]
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | settings.jd | 23 <li><a href="#Activity">Creating a Preference Activity</a></li> 24 <li><a href="#Fragment">Using Preference Fragments</a></li> 26 <li><a href="#PreferenceHeaders">Using Preference Headers</a> 39 <li><a href="#Custom">Building a Custom Preference</a> 45 <li><a href="#CustomSaveState">Saving and restoring the Preference's state</a></li> 52 <li>{@link android.preference.Preference}</li> 74 Android's {@link android.preference.Preference} APIs to build an interface that's consistent with 76 how to build your app settings using {@link android.preference.Preference} APIs.</p> 87 settings. Selecting an item defined by a {@link android.preference.Preference} 96 built using various subclasses of the {@link android.preference.Preference} class that you [all …]
|
/frameworks/base/docs/html-intl/intl/id/guide/topics/ui/ |
D | settings.jd | 52 <li>{@link android.preference.Preference}</li> 73 API Android {@link android.preference.Preference} untuk membangun antarmuka yang konsisten dengan 75 cara membangun pengaturan aplikasi Anda menggunakan API {@link android.preference.Preference}.</p> 85 …ikasi Messaging Android. Memilih item yang didefinisikan oleh {@link android.preference.Preference} 94 dibangun menggunakan berbagai subkelas dari kelas {@link android.preference.Preference} yang Anda 97 <p>Objek {@link android.preference.Preference} adalah blok pembangun untuk pengaturan 98 tunggal. Setiap {@link android.preference.Preference} muncul sebagai item dalam daftar dan menyedia… 103 <p>Setiap {@link android.preference.Preference} yang Anda tambahkan memiliki pasangan nilai-kunci y… 122 …karena UI pengaturan aplikasi Anda dibangun menggunakan objek {@link android.preference.Preference} 144 android.preference.Preference}. Setiap subkelas menyertakan seperangkat properti utama yang memungk… [all …]
|
/frameworks/base/docs/html-intl/intl/in/guide/topics/ui/ |
D | settings.jd | 52 <li>{@link android.preference.Preference}</li> 73 API Android {@link android.preference.Preference} untuk membangun antarmuka yang konsisten dengan 75 cara membangun pengaturan aplikasi Anda menggunakan API {@link android.preference.Preference}.</p> 85 …ikasi Messaging Android. Memilih item yang didefinisikan oleh {@link android.preference.Preference} 94 dibangun menggunakan berbagai subkelas dari kelas {@link android.preference.Preference} yang Anda 97 <p>Objek {@link android.preference.Preference} adalah blok pembangun untuk pengaturan 98 tunggal. Setiap {@link android.preference.Preference} muncul sebagai item dalam daftar dan menyedia… 103 <p>Setiap {@link android.preference.Preference} yang Anda tambahkan memiliki pasangan nilai-kunci y… 122 …karena UI pengaturan aplikasi Anda dibangun menggunakan objek {@link android.preference.Preference} 144 android.preference.Preference}. Setiap subkelas menyertakan seperangkat properti utama yang memungk… [all …]
|
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/ui/ |
D | settings.jd | 52 <li>{@link android.preference.Preference}</li> 73 as APIs {@link android.preference.Preference} do Android para programar uma interface coerente 75 como programar as configurações do aplicativo por meio de APIs {@link android.preference.Preference… 85 do Android. A seleção de um item definido por uma {@link android.preference.Preference} 94 são criadas por meio de várias subclasses da classe {@link android.preference.Preference} 97 <p>Os objetos {@link android.preference.Preference} são as peças fundamentais de uma única 98 configuração. Cada {@link android.preference.Preference} aparece como um item em uma lista e oferec… 103 <p>Cada {@link android.preference.Preference} adicionada tem um par de valor-chave correspondente 122 …Como a IU de configurações do aplicativo é criada com objetos {@link android.preference.Preference} 144 android.preference.Preference}. Cada subclasse contém um conjunto de propriedades essenciais que pe… [all …]
|
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
D | InputMethodSettingsImpl.java | 22 import android.preference.Preference; 23 import android.preference.Preference.OnPreferenceClickListener; 34 private Preference mSubtypeEnablerPreference; 61 mSubtypeEnablerPreference = new Preference(context); in init() 153 final Preference pref = mSubtypeEnablerPreference; in updateSubtypeEnabler()
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
D | PreferenceFragment.java | 38 import android.support.v7.preference.Preference; 183 boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref); in onPreferenceStartFragment() 210 boolean onPreferenceDisplayDialog(PreferenceFragment caller, Preference pref); in onPreferenceDisplayDialog() 459 final Preference root; in setPreferencesFromResource() 476 public boolean onPreferenceTreeClick(Preference preference) { in onPreferenceTreeClick() 522 public Preference findPreference(CharSequence key) { in findPreference() 625 public void onDisplayPreferenceDialog(Preference preference) { in onDisplayPreferenceDialog() 675 public void scrollToPreference(final Preference preference) { in scrollToPreference() 679 private void scrollToPreferenceInternal(final Preference preference, final String key) { in scrollToPreferenceInternal() 721 private final Preference mPreference; [all …]
|
/frameworks/support/v7/preference/ |
D | proguard-rules.pro | 15 # Preference objects are inflated via reflection 16 -keep public class android.support.v7.preference.Preference { 19 -keep public class * extends android.support.v7.preference.Preference {
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/settings/ |
D | SettingsExampleFragment.java | 26 import android.support.v7.preference.Preference; 42 Preference preference) { in onPreferenceStartFragment() 77 public boolean onPreferenceTreeClick(Preference preference) { in onPreferenceTreeClick()
|
/frameworks/base/docs/html-intl/intl/vi/guide/topics/ui/ |
D | settings.jd | 52 <li>{@link android.preference.Preference}</li> 73 các API {@link android.preference.Preference} của Android để xây dựng một giao diện phù hợp với 75 …ựng thiết đặt ứng dụng của bạn bằng cách sử dụng các API {@link android.preference.Preference}.</p> 85 Messaging trên Android. Chọn một mục được định nghĩa bởi một {@link android.preference.Preference} 94 xây dựng bằng cách sử dụng các lớp con khác nhau của lớp {@link android.preference.Preference} mà b… 97 <p>Đối tượng {@link android.preference.Preference} là một khối dựng cho một thiết đặt 98 đơn lẻ. Mỗi {@link android.preference.Preference} xuất hiện như một mục trong một danh sách và cung… 103 <p>Mỗi {@link android.preference.Preference} mà bạn thêm có một cặp khóa-giá trị tương ứng mà 122 …ng dụng của bạn được xây dựng bằng cách sử dụng các đối tượng {@link android.preference.Preference} 144 android.preference.Preference}. Mỗi lớp con lại bao gồm một tập hợp các tính chất cốt lõi cho phép … [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/preference/ |
D | BridgePreferenceInflater.java | 32 protected Preference onCreateItem(String name, AttributeSet attrs) in onCreateItem() 45 Preference preference = super.onCreateItem(name, attrs); in onCreateItem()
|