Home
last modified time | relevance | path

Searched refs:DialogPreference (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
DLeanbackPreferenceDialogFragment.java22 import android.support.v7.preference.DialogPreference;
28 private DialogPreference mPreference;
41 if (!(rawFragment instanceof DialogPreference.TargetFragment)) { in onCreate()
46 final DialogPreference.TargetFragment fragment = in onCreate()
47 (DialogPreference.TargetFragment) rawFragment; in onCreate()
50 mPreference = (DialogPreference) fragment.findPreference(key); in onCreate()
53 public DialogPreference getPreference() { in getPreference()
DLeanbackListPreferenceDialogFragment.java24 import android.support.v7.preference.DialogPreference;
65 final DialogPreference preference = getPreference(); in onCreate()
86 final DialogPreference preference = getPreference(); in onCreateView()
104 final DialogPreference preference = getPreference(); in onCreateAdapter()
/frameworks/support/v14/preference/src/android/support/v14/preference/
DPreferenceDialogFragment.java32 import android.support.v7.preference.DialogPreference;
59 private DialogPreference mPreference;
77 if (!(rawFragment instanceof DialogPreference.TargetFragment)) { in onCreate()
82 final DialogPreference.TargetFragment fragment = in onCreate()
83 (DialogPreference.TargetFragment) rawFragment; in onCreate()
87 mPreference = (DialogPreference) fragment.findPreference(key); in onCreate()
170 public DialogPreference getPreference() { in getPreference()
173 final DialogPreference.TargetFragment fragment = in getPreference()
174 (DialogPreference.TargetFragment) getTargetFragment(); in getPreference()
175 mPreference = (DialogPreference) fragment.findPreference(key); in getPreference()
DMultiSelectListPreference.java28 import android.support.v7.preference.DialogPreference;
46 public class MultiSelectListPreference extends DialogPreference {
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceDialogFragmentCompat.java58 private DialogPreference mPreference;
76 if (!(rawFragment instanceof DialogPreference.TargetFragment)) { in onCreate()
81 final DialogPreference.TargetFragment fragment = in onCreate()
82 (DialogPreference.TargetFragment) rawFragment; in onCreate()
86 mPreference = (DialogPreference) fragment.findPreference(key); in onCreate()
169 public DialogPreference getPreference() { in getPreference()
172 final DialogPreference.TargetFragment fragment = in getPreference()
173 (DialogPreference.TargetFragment) getTargetFragment(); in getPreference()
174 mPreference = (DialogPreference) fragment.findPreference(key); in getPreference()
DDialogPreference.java39 public abstract class DialogPreference extends Preference { class
52 public DialogPreference( in DialogPreference() method in DialogPreference
57 R.styleable.DialogPreference, defStyleAttr, defStyleRes); in DialogPreference()
88 public DialogPreference(Context context, AttributeSet attrs, int defStyleAttr) { in DialogPreference() method in DialogPreference
92 public DialogPreference(Context context, AttributeSet attrs) { in DialogPreference() method in DialogPreference
97 public DialogPreference(Context context) { in DialogPreference() method in DialogPreference
DEditTextPreference.java37 public class EditTextPreference extends DialogPreference {
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DCalibratePreference.java18 import android.support.v7.preference.DialogPreference;
21 public class CalibratePreference extends DialogPreference {
/frameworks/base/core/java/android/preference/
DDialogPreference.java53 public abstract class DialogPreference extends Preference implements class
71 public DialogPreference( in DialogPreference() method in DialogPreference
76 com.android.internal.R.styleable.DialogPreference, defStyleAttr, defStyleRes); in DialogPreference()
92 public DialogPreference(Context context, AttributeSet attrs, int defStyleAttr) { in DialogPreference() method in DialogPreference
96 public DialogPreference(Context context, AttributeSet attrs) { in DialogPreference() method in DialogPreference
100 public DialogPreference(Context context) { in DialogPreference() method in DialogPreference
DSeekBarDialogPreference.java31 public class SeekBarDialogPreference extends DialogPreference {
DEditTextPreference.java45 public class EditTextPreference extends DialogPreference {
/frameworks/base/core/java/com/android/internal/preference/
DYesNoPreference.java23 import android.preference.DialogPreference;
32 public class YesNoPreference extends DialogPreference {
/frameworks/support/v7/preference/api/
D23.0.0.txt10 public abstract class DialogPreference extends android.support.v7.preference.Preference {
11 ctor public DialogPreference(android.content.Context, android.util.AttributeSet, int, int);
12 ctor public DialogPreference(android.content.Context, android.util.AttributeSet, int);
13 ctor public DialogPreference(android.content.Context, android.util.AttributeSet);
14 ctor public DialogPreference(android.content.Context);
34 public static abstract interface DialogPreference.TargetFragment {
38 public class EditTextPreference extends android.support.v7.preference.DialogPreference {
54 public class ListPreference extends android.support.v7.preference.DialogPreference {
184 method public android.support.v7.preference.DialogPreference getPreference();
193 …id.support.v4.app.Fragment implements android.support.v7.preference.DialogPreference.TargetFragmen…
D23.1.1.txt10 public abstract class DialogPreference extends android.support.v7.preference.Preference {
11 ctor public DialogPreference(android.content.Context, android.util.AttributeSet, int, int);
12 ctor public DialogPreference(android.content.Context, android.util.AttributeSet, int);
13 ctor public DialogPreference(android.content.Context, android.util.AttributeSet);
14 ctor public DialogPreference(android.content.Context);
34 public static abstract interface DialogPreference.TargetFragment {
38 public class EditTextPreference extends android.support.v7.preference.DialogPreference {
53 public class ListPreference extends android.support.v7.preference.DialogPreference {
183 method public android.support.v7.preference.DialogPreference getPreference();
192 …id.support.v4.app.Fragment implements android.support.v7.preference.DialogPreference.TargetFragmen…
D23.1.0.txt10 public abstract class DialogPreference extends android.support.v7.preference.Preference {
11 ctor public DialogPreference(android.content.Context, android.util.AttributeSet, int, int);
12 ctor public DialogPreference(android.content.Context, android.util.AttributeSet, int);
13 ctor public DialogPreference(android.content.Context, android.util.AttributeSet);
14 ctor public DialogPreference(android.content.Context);
34 public static abstract interface DialogPreference.TargetFragment {
38 public class EditTextPreference extends android.support.v7.preference.DialogPreference {
53 public class ListPreference extends android.support.v7.preference.DialogPreference {
183 method public android.support.v7.preference.DialogPreference getPreference();
192 …id.support.v4.app.Fragment implements android.support.v7.preference.DialogPreference.TargetFragmen…
Dcurrent.txt10 public abstract class DialogPreference extends android.support.v7.preference.Preference {
11 ctor public DialogPreference(android.content.Context, android.util.AttributeSet, int, int);
12 ctor public DialogPreference(android.content.Context, android.util.AttributeSet, int);
13 ctor public DialogPreference(android.content.Context, android.util.AttributeSet);
14 ctor public DialogPreference(android.content.Context);
34 public static abstract interface DialogPreference.TargetFragment {
46 public class EditTextPreference extends android.support.v7.preference.DialogPreference {
61 public class ListPreference extends android.support.v7.preference.DialogPreference {
194 method public android.support.v7.preference.DialogPreference getPreference();
203 …id.support.v4.app.Fragment implements android.support.v7.preference.DialogPreference.TargetFragmen…
/frameworks/support/v14/preference/api/
D23.1.1.txt15 public class MultiSelectListPreference extends android.support.v7.preference.DialogPreference {
40 method public android.support.v7.preference.DialogPreference getPreference();
D23.1.0.txt15 public class MultiSelectListPreference extends android.support.v7.preference.DialogPreference {
40 method public android.support.v7.preference.DialogPreference getPreference();
D23.0.0.txt16 public class MultiSelectListPreference extends android.support.v7.preference.DialogPreference {
41 method public android.support.v7.preference.DialogPreference getPreference();
Dcurrent.txt15 public class MultiSelectListPreference extends android.support.v7.preference.DialogPreference {
40 method public android.support.v7.preference.DialogPreference getPreference();
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/
Dsettings.jd964 …о большая часть нестандартных настроек наследует {@link android.preference.DialogPreference}, чтобы
966 android.preference.DialogPreference}, вы должны вызвать {@link
967 android.preference.DialogPreference#setDialogLayoutResource setDialogLayoutResourcs()}, находясь в …
971 android.preference.DialogPreference}, в котором объявляется макет и указывается текст для
975 public class NumberPickerPreference extends DialogPreference {
1004 android.preference.DialogPreference}, вы должны сохранять значение только при закрытии диалога
1007 <p>Когда {@link android.preference.DialogPreference} закрывается, система вызывает метод {@link
1008 android.preference.DialogPreference#onDialogClosed onDialogClosed()}. Этот метод содержит
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/
Dsettings.jd964 来定义在用户选择该项时发生的操作。不过,大多数自定义设置都会扩展 {@link android.preference.DialogPreference}
966 android.preference.DialogPreference} 时,必须在类构造函数中调用 {@link
967 android.preference.DialogPreference#setDialogLayoutResource setDialogLayoutResourcs()}
971 android.preference.DialogPreference}
975 public class NumberPickerPreference extends DialogPreference {
1005 android.preference.DialogPreference},则只能在对话框因肯定结果(用户选择“确定”按钮)而关闭时保留该值。</p>
1007 <p>当 {@link android.preference.DialogPreference} 关闭时,系统会调用 {@link
1008 android.preference.DialogPreference#onDialogClosed onDialogClosed()} 方法。该方法包括一个布尔参数,用于指定用户结果是否为“肯定”…
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/
Dsettings.jd964 不過,大多數自訂設定會延伸 {@link android.preference.DialogPreference} 來顯示對話方塊,以簡化程序。
966 android.preference.DialogPreference} 時,您必須在類別建構函式期間呼叫 {@link
967 android.preference.DialogPreference#setDialogLayoutResource setDialogLayoutResourcs()},以指定對話方塊的版面配置。
971 android.preference.DialogPreference} 的建構函式,該偏好設定宣告版面配置並指定預設正值和負值對話方塊按鈕的文字:
975 public class NumberPickerPreference extends DialogPreference {
1004 android.preference.DialogPreference},則應該只在對話方塊因正值結果 (使用者選取 [確定] 按鈕) 關閉時保留該值。
1007 <p>當 {@link android.preference.DialogPreference} 關閉時,系統會呼叫 {@link
1008 android.preference.DialogPreference#onDialogClosed onDialogClosed()} 方法。這個方法包括一個布林值引數,指定使用者結果是否為「正值…
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/
Dsettings.jd964 ただし、大部分のカスタム設定では、手順が簡単な {@link android.preference.DialogPreference} を継承してダイアログを表示する方法が利用されています。
965 {@link android.preference.DialogPreference} を継承する場合、クラス コンストラクタで {@link android.preference.DialogPr…
970 …<p>たとえば、以下のカスタム {@link android.preference.DialogPreference} のコンストラクタでは、レイアウトを宣言しデフォルトのポジティブとネガティブの…
975 public class NumberPickerPreference extends DialogPreference {
1003 {@link android.preference.DialogPreference} を継承する場合、ポジティブな結果でダイアログが閉じられたとき(ユーザーが [OK] ボタンを選択したとき)のみ…
1007 <p>{@link android.preference.DialogPreference} が閉じられたときには、システムが {@link android.preference.DialogPre…
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/
Dsettings.jd964 항목을 선택할 때 일어날 동작을 정의해야 합니다. 그러나, 대부분의 사용자 지정 설정은 {@link android.preference.DialogPreference}를 확장하여
966 android.preference.DialogPreference}를 확장하는 경우에는 클래스 생성자 중에 반드시 {@link
967 android.preference.DialogPreference#setDialogLayoutResource setDialogLayoutResourcs()}를 호출하여
971 android.preference.DialogPreference}와 기본
975 public class NumberPickerPreference extends DialogPreference {
1004 android.preference.DialogPreference}를 확장하면 값을 유지하는 것은 대화가 긍정적인 결과로 인해
1007 <p>{@link android.preference.DialogPreference}가 닫히면 시스템이 {@link
1008 android.preference.DialogPreference#onDialogClosed onDialogClosed()} 메서드를 호출합니다. 이 메서드에는

12