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