• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package android.support.v7.preference {
2
3  public class CheckBoxPreference extends android.support.v7.preference.TwoStatePreference {
4    ctor public CheckBoxPreference(android.content.Context, android.util.AttributeSet, int);
5    ctor public CheckBoxPreference(android.content.Context, android.util.AttributeSet, int, int);
6    ctor public CheckBoxPreference(android.content.Context, android.util.AttributeSet);
7    ctor public CheckBoxPreference(android.content.Context);
8  }
9
10  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);
15    method public android.graphics.drawable.Drawable getDialogIcon();
16    method public int getDialogLayoutResource();
17    method public java.lang.CharSequence getDialogMessage();
18    method public java.lang.CharSequence getDialogTitle();
19    method public java.lang.CharSequence getNegativeButtonText();
20    method public java.lang.CharSequence getPositiveButtonText();
21    method public void setDialogIcon(android.graphics.drawable.Drawable);
22    method public void setDialogIcon(int);
23    method public void setDialogLayoutResource(int);
24    method public void setDialogMessage(java.lang.CharSequence);
25    method public void setDialogMessage(int);
26    method public void setDialogTitle(java.lang.CharSequence);
27    method public void setDialogTitle(int);
28    method public void setNegativeButtonText(java.lang.CharSequence);
29    method public void setNegativeButtonText(int);
30    method public void setPositiveButtonText(java.lang.CharSequence);
31    method public void setPositiveButtonText(int);
32  }
33
34  public static abstract interface DialogPreference.TargetFragment {
35    method public abstract android.support.v7.preference.Preference findPreference(java.lang.CharSequence);
36  }
37
38  public class EditTextPreference extends android.support.v7.preference.DialogPreference {
39    ctor public EditTextPreference(android.content.Context, android.util.AttributeSet, int, int);
40    ctor public EditTextPreference(android.content.Context, android.util.AttributeSet, int);
41    ctor public EditTextPreference(android.content.Context, android.util.AttributeSet);
42    ctor public EditTextPreference(android.content.Context);
43    method public java.lang.String getText();
44    method public void setText(java.lang.String);
45  }
46
47  public class EditTextPreferenceDialogFragmentCompat extends android.support.v7.preference.PreferenceDialogFragmentCompat {
48    ctor public EditTextPreferenceDialogFragmentCompat();
49    method public static android.support.v7.preference.EditTextPreferenceDialogFragmentCompat newInstance(java.lang.String);
50    method public void onDialogClosed(boolean);
51  }
52
53  public class ListPreference extends android.support.v7.preference.DialogPreference {
54    ctor public ListPreference(android.content.Context, android.util.AttributeSet, int, int);
55    ctor public ListPreference(android.content.Context, android.util.AttributeSet, int);
56    ctor public ListPreference(android.content.Context, android.util.AttributeSet);
57    ctor public ListPreference(android.content.Context);
58    method public int findIndexOfValue(java.lang.String);
59    method public java.lang.CharSequence[] getEntries();
60    method public java.lang.CharSequence getEntry();
61    method public java.lang.CharSequence[] getEntryValues();
62    method public java.lang.String getValue();
63    method public void setEntries(java.lang.CharSequence[]);
64    method public void setEntries(int);
65    method public void setEntryValues(java.lang.CharSequence[]);
66    method public void setEntryValues(int);
67    method public void setValue(java.lang.String);
68    method public void setValueIndex(int);
69  }
70
71  public class ListPreferenceDialogFragmentCompat extends android.support.v7.preference.PreferenceDialogFragmentCompat {
72    ctor public ListPreferenceDialogFragmentCompat();
73    method public static android.support.v7.preference.ListPreferenceDialogFragmentCompat newInstance(java.lang.String);
74    method public void onDialogClosed(boolean);
75  }
76
77  public class Preference {
78    ctor public Preference(android.content.Context, android.util.AttributeSet, int, int);
79    ctor public Preference(android.content.Context, android.util.AttributeSet, int);
80    ctor public Preference(android.content.Context, android.util.AttributeSet);
81    ctor public Preference(android.content.Context);
82    method public boolean callChangeListener(java.lang.Object);
83    method public int compareTo(android.support.v7.preference.Preference);
84    method protected android.support.v7.preference.Preference findPreferenceInHierarchy(java.lang.String);
85    method public android.content.Context getContext();
86    method public java.lang.String getDependency();
87    method public android.os.Bundle getExtras();
88    method public java.lang.String getFragment();
89    method public android.graphics.drawable.Drawable getIcon();
90    method public android.content.Intent getIntent();
91    method public java.lang.String getKey();
92    method public final int getLayoutResource();
93    method public android.support.v7.preference.Preference.OnPreferenceChangeListener getOnPreferenceChangeListener();
94    method public android.support.v7.preference.Preference.OnPreferenceClickListener getOnPreferenceClickListener();
95    method public int getOrder();
96    method protected boolean getPersistedBoolean(boolean);
97    method protected float getPersistedFloat(float);
98    method protected int getPersistedInt(int);
99    method protected long getPersistedLong(long);
100    method protected java.lang.String getPersistedString(java.lang.String);
101    method public android.support.v7.preference.PreferenceManager getPreferenceManager();
102    method public android.content.SharedPreferences getSharedPreferences();
103    method public boolean getShouldDisableView();
104    method public java.lang.CharSequence getSummary();
105    method public java.lang.CharSequence getTitle();
106    method public final int getWidgetLayoutResource();
107    method public boolean hasKey();
108    method public boolean isEnabled();
109    method public boolean isPersistent();
110    method public boolean isSelectable();
111    method public final boolean isVisible();
112    method protected void notifyChanged();
113    method public void notifyDependencyChange(boolean);
114    method protected void notifyHierarchyChanged();
115    method public void onAttached();
116    method protected void onAttachedToHierarchy(android.support.v7.preference.PreferenceManager);
117    method public void onBindViewHolder(android.support.v7.preference.PreferenceViewHolder);
118    method protected void onClick();
119    method public void onDependencyChanged(android.support.v7.preference.Preference, boolean);
120    method protected java.lang.Object onGetDefaultValue(android.content.res.TypedArray, int);
121    method public void onParentChanged(android.support.v7.preference.Preference, boolean);
122    method protected void onPrepareForRemoval();
123    method protected void onRestoreInstanceState(android.os.Parcelable);
124    method protected android.os.Parcelable onSaveInstanceState();
125    method protected void onSetInitialValue(boolean, java.lang.Object);
126    method public android.os.Bundle peekExtras();
127    method protected boolean persistBoolean(boolean);
128    method protected boolean persistFloat(float);
129    method protected boolean persistInt(int);
130    method protected boolean persistLong(long);
131    method protected boolean persistString(java.lang.String);
132    method public void restoreHierarchyState(android.os.Bundle);
133    method public void saveHierarchyState(android.os.Bundle);
134    method public void setDefaultValue(java.lang.Object);
135    method public void setDependency(java.lang.String);
136    method public void setEnabled(boolean);
137    method public void setFragment(java.lang.String);
138    method public void setIcon(android.graphics.drawable.Drawable);
139    method public void setIcon(int);
140    method public void setIntent(android.content.Intent);
141    method public void setKey(java.lang.String);
142    method public void setLayoutResource(int);
143    method public void setOnPreferenceChangeListener(android.support.v7.preference.Preference.OnPreferenceChangeListener);
144    method public void setOnPreferenceClickListener(android.support.v7.preference.Preference.OnPreferenceClickListener);
145    method public void setOrder(int);
146    method public void setPersistent(boolean);
147    method public void setSelectable(boolean);
148    method public void setShouldDisableView(boolean);
149    method public void setSummary(java.lang.CharSequence);
150    method public void setSummary(int);
151    method public void setTitle(java.lang.CharSequence);
152    method public void setTitle(int);
153    method public final void setVisible(boolean);
154    method public void setWidgetLayoutResource(int);
155    method public boolean shouldDisableDependents();
156    method protected boolean shouldPersist();
157    field public static final int DEFAULT_ORDER = 2147483647; // 0x7fffffff
158  }
159
160  public static class Preference.BaseSavedState extends android.view.AbsSavedState {
161    ctor public Preference.BaseSavedState(android.os.Parcel);
162    ctor public Preference.BaseSavedState(android.os.Parcelable);
163    field public static final android.os.Parcelable.Creator<android.support.v7.preference.Preference.BaseSavedState> CREATOR;
164  }
165
166  public static abstract interface Preference.OnPreferenceChangeListener {
167    method public abstract boolean onPreferenceChange(android.support.v7.preference.Preference, java.lang.Object);
168  }
169
170  public static abstract interface Preference.OnPreferenceClickListener {
171    method public abstract boolean onPreferenceClick(android.support.v7.preference.Preference);
172  }
173
174  public class PreferenceCategory extends android.support.v7.preference.PreferenceGroup {
175    ctor public PreferenceCategory(android.content.Context, android.util.AttributeSet, int, int);
176    ctor public PreferenceCategory(android.content.Context, android.util.AttributeSet, int);
177    ctor public PreferenceCategory(android.content.Context, android.util.AttributeSet);
178    ctor public PreferenceCategory(android.content.Context);
179  }
180
181  public abstract class PreferenceDialogFragmentCompat extends android.support.v4.app.DialogFragment implements android.content.DialogInterface.OnClickListener {
182    ctor public PreferenceDialogFragmentCompat();
183    method public android.support.v7.preference.DialogPreference getPreference();
184    method protected void onBindDialogView(android.view.View);
185    method public void onClick(android.content.DialogInterface, int);
186    method protected android.view.View onCreateDialogView(android.content.Context);
187    method public abstract void onDialogClosed(boolean);
188    method protected void onPrepareDialogBuilder(android.support.v7.app.AlertDialog.Builder);
189    field protected static final java.lang.String ARG_KEY = "key";
190  }
191
192  public abstract class PreferenceFragmentCompat extends android.support.v4.app.Fragment implements android.support.v7.preference.DialogPreference.TargetFragment android.support.v7.preference.PreferenceManager.OnDisplayPreferenceDialogListener android.support.v7.preference.PreferenceManager.OnNavigateToScreenListener android.support.v7.preference.PreferenceManager.OnPreferenceTreeClickListener {
193    ctor public PreferenceFragmentCompat();
194    method public void addPreferencesFromResource(int);
195    method public android.support.v7.preference.Preference findPreference(java.lang.CharSequence);
196    method public final android.support.v7.widget.RecyclerView getListView();
197    method public android.support.v7.preference.PreferenceManager getPreferenceManager();
198    method public android.support.v7.preference.PreferenceScreen getPreferenceScreen();
199    method protected android.support.v7.widget.RecyclerView.Adapter onCreateAdapter(android.support.v7.preference.PreferenceScreen);
200    method public android.support.v7.widget.RecyclerView.LayoutManager onCreateLayoutManager();
201    method public abstract void onCreatePreferences(android.os.Bundle, java.lang.String);
202    method public android.support.v7.widget.RecyclerView onCreateRecyclerView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle);
203    method public void onDisplayPreferenceDialog(android.support.v7.preference.Preference);
204    method public void onNavigateToScreen(android.support.v7.preference.PreferenceScreen);
205    method public boolean onPreferenceTreeClick(android.support.v7.preference.Preference);
206    method public void setPreferenceScreen(android.support.v7.preference.PreferenceScreen);
207    method public void setPreferencesFromResource(int, java.lang.String);
208    field public static final java.lang.String ARG_PREFERENCE_ROOT = "android.support.v7.preference.PreferenceFragmentCompat.PREFERENCE_ROOT";
209  }
210
211  public static abstract interface PreferenceFragmentCompat.OnPreferenceDisplayDialogCallback {
212    method public abstract boolean onPreferenceDisplayDialog(android.support.v7.preference.PreferenceFragmentCompat, android.support.v7.preference.Preference);
213  }
214
215  public static abstract interface PreferenceFragmentCompat.OnPreferenceStartFragmentCallback {
216    method public abstract boolean onPreferenceStartFragment(android.support.v7.preference.PreferenceFragmentCompat, android.support.v7.preference.Preference);
217  }
218
219  public static abstract interface PreferenceFragmentCompat.OnPreferenceStartScreenCallback {
220    method public abstract boolean onPreferenceStartScreen(android.support.v7.preference.PreferenceFragmentCompat, android.support.v7.preference.PreferenceScreen);
221  }
222
223  public abstract class PreferenceGroup extends android.support.v7.preference.Preference {
224    ctor public PreferenceGroup(android.content.Context, android.util.AttributeSet, int, int);
225    ctor public PreferenceGroup(android.content.Context, android.util.AttributeSet, int);
226    ctor public PreferenceGroup(android.content.Context, android.util.AttributeSet);
227    method public void addItemFromInflater(android.support.v7.preference.Preference);
228    method public boolean addPreference(android.support.v7.preference.Preference);
229    method protected void dispatchRestoreInstanceState(android.os.Bundle);
230    method protected void dispatchSaveInstanceState(android.os.Bundle);
231    method public android.support.v7.preference.Preference findPreference(java.lang.CharSequence);
232    method public android.support.v7.preference.Preference getPreference(int);
233    method public int getPreferenceCount();
234    method protected boolean isOnSameScreenAsChildren();
235    method public boolean isOrderingAsAdded();
236    method protected boolean onPrepareAddPreference(android.support.v7.preference.Preference);
237    method public void removeAll();
238    method public boolean removePreference(android.support.v7.preference.Preference);
239    method public void setOrderingAsAdded(boolean);
240  }
241
242  public class PreferenceManager {
243    method public android.support.v7.preference.PreferenceScreen createPreferenceScreen(android.content.Context);
244    method public android.support.v7.preference.Preference findPreference(java.lang.CharSequence);
245    method public android.content.Context getContext();
246    method public static android.content.SharedPreferences getDefaultSharedPreferences(android.content.Context);
247    method public android.support.v7.preference.PreferenceManager.OnDisplayPreferenceDialogListener getOnDisplayPreferenceDialogListener();
248    method public android.support.v7.preference.PreferenceManager.OnNavigateToScreenListener getOnNavigateToScreenListener();
249    method public android.support.v7.preference.PreferenceManager.OnPreferenceTreeClickListener getOnPreferenceTreeClickListener();
250    method public android.support.v7.preference.PreferenceScreen getPreferenceScreen();
251    method public android.content.SharedPreferences getSharedPreferences();
252    method public int getSharedPreferencesMode();
253    method public java.lang.String getSharedPreferencesName();
254    method public static void setDefaultValues(android.content.Context, int, boolean);
255    method public static void setDefaultValues(android.content.Context, java.lang.String, int, int, boolean);
256    method public void setOnDisplayPreferenceDialogListener(android.support.v7.preference.PreferenceManager.OnDisplayPreferenceDialogListener);
257    method public void setOnNavigateToScreenListener(android.support.v7.preference.PreferenceManager.OnNavigateToScreenListener);
258    method public void setOnPreferenceTreeClickListener(android.support.v7.preference.PreferenceManager.OnPreferenceTreeClickListener);
259    method public boolean setPreferences(android.support.v7.preference.PreferenceScreen);
260    method public void setSharedPreferencesMode(int);
261    method public void setSharedPreferencesName(java.lang.String);
262    method public void showDialog(android.support.v7.preference.Preference);
263    field public static final java.lang.String KEY_HAS_SET_DEFAULT_VALUES = "_has_set_default_values";
264  }
265
266  public static abstract interface PreferenceManager.OnDisplayPreferenceDialogListener {
267    method public abstract void onDisplayPreferenceDialog(android.support.v7.preference.Preference);
268  }
269
270  public static abstract interface PreferenceManager.OnNavigateToScreenListener {
271    method public abstract void onNavigateToScreen(android.support.v7.preference.PreferenceScreen);
272  }
273
274  public static abstract interface PreferenceManager.OnPreferenceTreeClickListener {
275    method public abstract boolean onPreferenceTreeClick(android.support.v7.preference.Preference);
276  }
277
278  public final class PreferenceScreen extends android.support.v7.preference.PreferenceGroup {
279  }
280
281  public class PreferenceViewHolder extends android.support.v7.widget.RecyclerView.ViewHolder {
282    method public android.view.View findViewById(int);
283  }
284
285  public class SwitchPreferenceCompat extends android.support.v7.preference.TwoStatePreference {
286    ctor public SwitchPreferenceCompat(android.content.Context, android.util.AttributeSet, int, int);
287    ctor public SwitchPreferenceCompat(android.content.Context, android.util.AttributeSet, int);
288    ctor public SwitchPreferenceCompat(android.content.Context, android.util.AttributeSet);
289    ctor public SwitchPreferenceCompat(android.content.Context);
290    method public java.lang.CharSequence getSwitchTextOff();
291    method public java.lang.CharSequence getSwitchTextOn();
292    method public void setSwitchTextOff(java.lang.CharSequence);
293    method public void setSwitchTextOff(int);
294    method public void setSwitchTextOn(java.lang.CharSequence);
295    method public void setSwitchTextOn(int);
296  }
297
298  public abstract class TwoStatePreference extends android.support.v7.preference.Preference {
299    ctor public TwoStatePreference(android.content.Context, android.util.AttributeSet, int, int);
300    ctor public TwoStatePreference(android.content.Context, android.util.AttributeSet, int);
301    ctor public TwoStatePreference(android.content.Context, android.util.AttributeSet);
302    ctor public TwoStatePreference(android.content.Context);
303    method public boolean getDisableDependentsState();
304    method public java.lang.CharSequence getSummaryOff();
305    method public java.lang.CharSequence getSummaryOn();
306    method public boolean isChecked();
307    method public void setChecked(boolean);
308    method public void setDisableDependentsState(boolean);
309    method public void setSummaryOff(java.lang.CharSequence);
310    method public void setSummaryOff(int);
311    method public void setSummaryOn(java.lang.CharSequence);
312    method public void setSummaryOn(int);
313    method protected void syncSummaryView(android.support.v7.preference.PreferenceViewHolder);
314    field protected boolean mChecked;
315  }
316
317}
318
319