Home | History | Annotate | Download | only in api_legacy
      1 package android.support.v14.preference {
      2 
      3   public class EditTextPreferenceDialogFragment extends android.support.v14.preference.PreferenceDialogFragment {
      4     ctor public EditTextPreferenceDialogFragment();
      5     method public static android.support.v14.preference.EditTextPreferenceDialogFragment newInstance(java.lang.String);
      6     method public void onDialogClosed(boolean);
      7   }
      8 
      9   public class ListPreferenceDialogFragment extends android.support.v14.preference.PreferenceDialogFragment {
     10     ctor public ListPreferenceDialogFragment();
     11     method public static android.support.v14.preference.ListPreferenceDialogFragment newInstance(java.lang.String);
     12     method public void onDialogClosed(boolean);
     13   }
     14 
     15   public class MultiSelectListPreference extends android.support.v7.preference.DialogPreference {
     16     ctor public MultiSelectListPreference(android.content.Context, android.util.AttributeSet, int, int);
     17     ctor public MultiSelectListPreference(android.content.Context, android.util.AttributeSet, int);
     18     ctor public MultiSelectListPreference(android.content.Context, android.util.AttributeSet);
     19     ctor public MultiSelectListPreference(android.content.Context);
     20     method public int findIndexOfValue(java.lang.String);
     21     method public java.lang.CharSequence[] getEntries();
     22     method public java.lang.CharSequence[] getEntryValues();
     23     method protected boolean[] getSelectedItems();
     24     method public java.util.Set<java.lang.String> getValues();
     25     method public void setEntries(java.lang.CharSequence[]);
     26     method public void setEntries(int);
     27     method public void setEntryValues(java.lang.CharSequence[]);
     28     method public void setEntryValues(int);
     29     method public void setValues(java.util.Set<java.lang.String>);
     30   }
     31 
     32   public class MultiSelectListPreferenceDialogFragment extends android.support.v14.preference.PreferenceDialogFragment {
     33     ctor public MultiSelectListPreferenceDialogFragment();
     34     method public static android.support.v14.preference.MultiSelectListPreferenceDialogFragment newInstance(java.lang.String);
     35     method public void onDialogClosed(boolean);
     36   }
     37 
     38   public abstract class PreferenceDialogFragment extends android.app.DialogFragment implements android.content.DialogInterface.OnClickListener {
     39     ctor public PreferenceDialogFragment();
     40     method public android.support.v7.preference.DialogPreference getPreference();
     41     method protected void onBindDialogView(android.view.View);
     42     method public void onClick(android.content.DialogInterface, int);
     43     method protected android.view.View onCreateDialogView(android.content.Context);
     44     method public abstract void onDialogClosed(boolean);
     45     method protected void onPrepareDialogBuilder(android.app.AlertDialog.Builder);
     46     field protected static final java.lang.String ARG_KEY = "key";
     47   }
     48 
     49   public abstract class PreferenceFragment extends android.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 {
     50     ctor public PreferenceFragment();
     51     method public void addPreferencesFromResource(int);
     52     method public android.support.v7.preference.Preference findPreference(java.lang.CharSequence);
     53     method public final android.support.v7.widget.RecyclerView getListView();
     54     method public android.support.v7.preference.PreferenceManager getPreferenceManager();
     55     method public android.support.v7.preference.PreferenceScreen getPreferenceScreen();
     56     method protected android.support.v7.widget.RecyclerView.Adapter onCreateAdapter(android.support.v7.preference.PreferenceScreen);
     57     method public android.support.v7.widget.RecyclerView.LayoutManager onCreateLayoutManager();
     58     method public abstract void onCreatePreferences(android.os.Bundle, java.lang.String);
     59     method public android.support.v7.widget.RecyclerView onCreateRecyclerView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle);
     60     method public void onDisplayPreferenceDialog(android.support.v7.preference.Preference);
     61     method public void onNavigateToScreen(android.support.v7.preference.PreferenceScreen);
     62     method public boolean onPreferenceTreeClick(android.support.v7.preference.Preference);
     63     method public void scrollToPreference(java.lang.String);
     64     method public void scrollToPreference(android.support.v7.preference.Preference);
     65     method public void setDivider(android.graphics.drawable.Drawable);
     66     method public void setDividerHeight(int);
     67     method public void setPreferenceScreen(android.support.v7.preference.PreferenceScreen);
     68     method public void setPreferencesFromResource(int, java.lang.String);
     69     field public static final java.lang.String ARG_PREFERENCE_ROOT = "android.support.v7.preference.PreferenceFragmentCompat.PREFERENCE_ROOT";
     70   }
     71 
     72   public static abstract interface PreferenceFragment.OnPreferenceDisplayDialogCallback {
     73     method public abstract boolean onPreferenceDisplayDialog(android.support.v14.preference.PreferenceFragment, android.support.v7.preference.Preference);
     74   }
     75 
     76   public static abstract interface PreferenceFragment.OnPreferenceStartFragmentCallback {
     77     method public abstract boolean onPreferenceStartFragment(android.support.v14.preference.PreferenceFragment, android.support.v7.preference.Preference);
     78   }
     79 
     80   public static abstract interface PreferenceFragment.OnPreferenceStartScreenCallback {
     81     method public abstract boolean onPreferenceStartScreen(android.support.v14.preference.PreferenceFragment, android.support.v7.preference.PreferenceScreen);
     82   }
     83 
     84   public class SwitchPreference extends android.support.v7.preference.TwoStatePreference {
     85     ctor public SwitchPreference(android.content.Context, android.util.AttributeSet, int, int);
     86     ctor public SwitchPreference(android.content.Context, android.util.AttributeSet, int);
     87     ctor public SwitchPreference(android.content.Context, android.util.AttributeSet);
     88     ctor public SwitchPreference(android.content.Context);
     89     method public java.lang.CharSequence getSwitchTextOff();
     90     method public java.lang.CharSequence getSwitchTextOn();
     91     method public void setSwitchTextOff(java.lang.CharSequence);
     92     method public void setSwitchTextOff(int);
     93     method public void setSwitchTextOn(java.lang.CharSequence);
     94     method public void setSwitchTextOn(int);
     95   }
     96 
     97 }
     98 
     99 package android.support.v7.preference {
    100 
    101   public class CheckBoxPreference extends android.support.v7.preference.TwoStatePreference {
    102     ctor public CheckBoxPreference(android.content.Context, android.util.AttributeSet, int);
    103     ctor public CheckBoxPreference(android.content.Context, android.util.AttributeSet, int, int);
    104     ctor public CheckBoxPreference(android.content.Context, android.util.AttributeSet);
    105     ctor public CheckBoxPreference(android.content.Context);
    106   }
    107 
    108   public abstract class DialogPreference extends android.support.v7.preference.Preference {
    109     ctor public DialogPreference(android.content.Context, android.util.AttributeSet, int, int);
    110     ctor public DialogPreference(android.content.Context, android.util.AttributeSet, int);
    111     ctor public DialogPreference(android.content.Context, android.util.AttributeSet);
    112     ctor public DialogPreference(android.content.Context);
    113     method public android.graphics.drawable.Drawable getDialogIcon();
    114     method public int getDialogLayoutResource();
    115     method public java.lang.CharSequence getDialogMessage();
    116     method public java.lang.CharSequence getDialogTitle();
    117     method public java.lang.CharSequence getNegativeButtonText();
    118     method public java.lang.CharSequence getPositiveButtonText();
    119     method public void setDialogIcon(android.graphics.drawable.Drawable);
    120     method public void setDialogIcon(int);
    121     method public void setDialogLayoutResource(int);
    122     method public void setDialogMessage(java.lang.CharSequence);
    123     method public void setDialogMessage(int);
    124     method public void setDialogTitle(java.lang.CharSequence);
    125     method public void setDialogTitle(int);
    126     method public void setNegativeButtonText(java.lang.CharSequence);
    127     method public void setNegativeButtonText(int);
    128     method public void setPositiveButtonText(java.lang.CharSequence);
    129     method public void setPositiveButtonText(int);
    130   }
    131 
    132   public static abstract interface DialogPreference.TargetFragment {
    133     method public abstract android.support.v7.preference.Preference findPreference(java.lang.CharSequence);
    134   }
    135 
    136   public class DropDownPreference extends android.support.v7.preference.ListPreference {
    137     ctor public DropDownPreference(android.content.Context);
    138     ctor public DropDownPreference(android.content.Context, android.util.AttributeSet);
    139     ctor public DropDownPreference(android.content.Context, android.util.AttributeSet, int);
    140     ctor public DropDownPreference(android.content.Context, android.util.AttributeSet, int, int);
    141     method protected android.widget.ArrayAdapter createAdapter();
    142   }
    143 
    144   public class EditTextPreference extends android.support.v7.preference.DialogPreference {
    145     ctor public EditTextPreference(android.content.Context, android.util.AttributeSet, int, int);
    146     ctor public EditTextPreference(android.content.Context, android.util.AttributeSet, int);
    147     ctor public EditTextPreference(android.content.Context, android.util.AttributeSet);
    148     ctor public EditTextPreference(android.content.Context);
    149     method public java.lang.String getText();
    150     method public void setText(java.lang.String);
    151   }
    152 
    153   public class EditTextPreferenceDialogFragmentCompat extends android.support.v7.preference.PreferenceDialogFragmentCompat {
    154     ctor public EditTextPreferenceDialogFragmentCompat();
    155     method public static android.support.v7.preference.EditTextPreferenceDialogFragmentCompat newInstance(java.lang.String);
    156     method public void onDialogClosed(boolean);
    157   }
    158 
    159   public class ListPreference extends android.support.v7.preference.DialogPreference {
    160     ctor public ListPreference(android.content.Context, android.util.AttributeSet, int, int);
    161     ctor public ListPreference(android.content.Context, android.util.AttributeSet, int);
    162     ctor public ListPreference(android.content.Context, android.util.AttributeSet);
    163     ctor public ListPreference(android.content.Context);
    164     method public int findIndexOfValue(java.lang.String);
    165     method public java.lang.CharSequence[] getEntries();
    166     method public java.lang.CharSequence getEntry();
    167     method public java.lang.CharSequence[] getEntryValues();
    168     method public java.lang.String getValue();
    169     method public void setEntries(java.lang.CharSequence[]);
    170     method public void setEntries(int);
    171     method public void setEntryValues(java.lang.CharSequence[]);
    172     method public void setEntryValues(int);
    173     method public void setValue(java.lang.String);
    174     method public void setValueIndex(int);
    175   }
    176 
    177   public class ListPreferenceDialogFragmentCompat extends android.support.v7.preference.PreferenceDialogFragmentCompat {
    178     ctor public ListPreferenceDialogFragmentCompat();
    179     method public static android.support.v7.preference.ListPreferenceDialogFragmentCompat newInstance(java.lang.String);
    180     method public void onDialogClosed(boolean);
    181   }
    182 
    183   public class MultiSelectListPreferenceDialogFragmentCompat extends android.support.v7.preference.PreferenceDialogFragmentCompat {
    184     ctor public MultiSelectListPreferenceDialogFragmentCompat();
    185     method public static android.support.v7.preference.MultiSelectListPreferenceDialogFragmentCompat newInstance(java.lang.String);
    186     method public void onDialogClosed(boolean);
    187   }
    188 
    189   public class Preference implements java.lang.Comparable {
    190     ctor public Preference(android.content.Context, android.util.AttributeSet, int, int);
    191     ctor public Preference(android.content.Context, android.util.AttributeSet, int);
    192     ctor public Preference(android.content.Context, android.util.AttributeSet);
    193     ctor public Preference(android.content.Context);
    194     method public boolean callChangeListener(java.lang.Object);
    195     method public int compareTo(android.support.v7.preference.Preference);
    196     method protected android.support.v7.preference.Preference findPreferenceInHierarchy(java.lang.String);
    197     method public android.content.Context getContext();
    198     method public java.lang.String getDependency();
    199     method public android.os.Bundle getExtras();
    200     method public java.lang.String getFragment();
    201     method public android.graphics.drawable.Drawable getIcon();
    202     method public android.content.Intent getIntent();
    203     method public java.lang.String getKey();
    204     method public final int getLayoutResource();
    205     method public android.support.v7.preference.Preference.OnPreferenceChangeListener getOnPreferenceChangeListener();
    206     method public android.support.v7.preference.Preference.OnPreferenceClickListener getOnPreferenceClickListener();
    207     method public int getOrder();
    208     method public android.support.v7.preference.PreferenceGroup getParent();
    209     method protected boolean getPersistedBoolean(boolean);
    210     method protected float getPersistedFloat(float);
    211     method protected int getPersistedInt(int);
    212     method protected long getPersistedLong(long);
    213     method protected java.lang.String getPersistedString(java.lang.String);
    214     method public java.util.Set<java.lang.String> getPersistedStringSet(java.util.Set<java.lang.String>);
    215     method public android.support.v7.preference.PreferenceDataStore getPreferenceDataStore();
    216     method public android.support.v7.preference.PreferenceManager getPreferenceManager();
    217     method public android.content.SharedPreferences getSharedPreferences();
    218     method public boolean getShouldDisableView();
    219     method public java.lang.CharSequence getSummary();
    220     method public java.lang.CharSequence getTitle();
    221     method public final int getWidgetLayoutResource();
    222     method public boolean hasKey();
    223     method public boolean isEnabled();
    224     method public boolean isIconSpaceReserved();
    225     method public boolean isPersistent();
    226     method public boolean isSelectable();
    227     method public boolean isSingleLineTitle();
    228     method public final boolean isVisible();
    229     method protected void notifyChanged();
    230     method public void notifyDependencyChange(boolean);
    231     method protected void notifyHierarchyChanged();
    232     method public void onAttached();
    233     method protected void onAttachedToHierarchy(android.support.v7.preference.PreferenceManager);
    234     method public void onBindViewHolder(android.support.v7.preference.PreferenceViewHolder);
    235     method protected void onClick();
    236     method public void onDependencyChanged(android.support.v7.preference.Preference, boolean);
    237     method public void onDetached();
    238     method protected java.lang.Object onGetDefaultValue(android.content.res.TypedArray, int);
    239     method public void onInitializeAccessibilityNodeInfo(android.support.v4.view.accessibility.AccessibilityNodeInfoCompat);
    240     method public void onParentChanged(android.support.v7.preference.Preference, boolean);
    241     method protected void onPrepareForRemoval();
    242     method protected void onRestoreInstanceState(android.os.Parcelable);
    243     method protected android.os.Parcelable onSaveInstanceState();
    244     method protected void onSetInitialValue(boolean, java.lang.Object);
    245     method public android.os.Bundle peekExtras();
    246     method protected boolean persistBoolean(boolean);
    247     method protected boolean persistFloat(float);
    248     method protected boolean persistInt(int);
    249     method protected boolean persistLong(long);
    250     method protected boolean persistString(java.lang.String);
    251     method public boolean persistStringSet(java.util.Set<java.lang.String>);
    252     method public void restoreHierarchyState(android.os.Bundle);
    253     method public void saveHierarchyState(android.os.Bundle);
    254     method public void setDefaultValue(java.lang.Object);
    255     method public void setDependency(java.lang.String);
    256     method public void setEnabled(boolean);
    257     method public void setFragment(java.lang.String);
    258     method public void setIcon(android.graphics.drawable.Drawable);
    259     method public void setIcon(int);
    260     method public void setIconSpaceReserved(boolean);
    261     method public void setIntent(android.content.Intent);
    262     method public void setKey(java.lang.String);
    263     method public void setLayoutResource(int);
    264     method public void setOnPreferenceChangeListener(android.support.v7.preference.Preference.OnPreferenceChangeListener);
    265     method public void setOnPreferenceClickListener(android.support.v7.preference.Preference.OnPreferenceClickListener);
    266     method public void setOrder(int);
    267     method public void setPersistent(boolean);
    268     method public void setPreferenceDataStore(android.support.v7.preference.PreferenceDataStore);
    269     method public void setSelectable(boolean);
    270     method public void setShouldDisableView(boolean);
    271     method public void setSingleLineTitle(boolean);
    272     method public void setSummary(java.lang.CharSequence);
    273     method public void setSummary(int);
    274     method public void setTitle(java.lang.CharSequence);
    275     method public void setTitle(int);
    276     method public void setViewId(int);
    277     method public final void setVisible(boolean);
    278     method public void setWidgetLayoutResource(int);
    279     method public boolean shouldDisableDependents();
    280     method protected boolean shouldPersist();
    281     field public static final int DEFAULT_ORDER = 2147483647; // 0x7fffffff
    282   }
    283 
    284   public static class Preference.BaseSavedState extends android.view.AbsSavedState {
    285     ctor public Preference.BaseSavedState(android.os.Parcel);
    286     ctor public Preference.BaseSavedState(android.os.Parcelable);
    287     field public static final android.os.Parcelable.Creator<android.support.v7.preference.Preference.BaseSavedState> CREATOR;
    288   }
    289 
    290   public static abstract interface Preference.OnPreferenceChangeListener {
    291     method public abstract boolean onPreferenceChange(android.support.v7.preference.Preference, java.lang.Object);
    292   }
    293 
    294   public static abstract interface Preference.OnPreferenceClickListener {
    295     method public abstract boolean onPreferenceClick(android.support.v7.preference.Preference);
    296   }
    297 
    298   public class PreferenceCategory extends android.support.v7.preference.PreferenceGroup {
    299     ctor public PreferenceCategory(android.content.Context, android.util.AttributeSet, int, int);
    300     ctor public PreferenceCategory(android.content.Context, android.util.AttributeSet, int);
    301     ctor public PreferenceCategory(android.content.Context, android.util.AttributeSet);
    302     ctor public PreferenceCategory(android.content.Context);
    303   }
    304 
    305   public abstract class PreferenceDataStore {
    306     ctor public PreferenceDataStore();
    307     method public boolean getBoolean(java.lang.String, boolean);
    308     method public float getFloat(java.lang.String, float);
    309     method public int getInt(java.lang.String, int);
    310     method public long getLong(java.lang.String, long);
    311     method public java.lang.String getString(java.lang.String, java.lang.String);
    312     method public java.util.Set<java.lang.String> getStringSet(java.lang.String, java.util.Set<java.lang.String>);
    313     method public void putBoolean(java.lang.String, boolean);
    314     method public void putFloat(java.lang.String, float);
    315     method public void putInt(java.lang.String, int);
    316     method public void putLong(java.lang.String, long);
    317     method public void putString(java.lang.String, java.lang.String);
    318     method public void putStringSet(java.lang.String, java.util.Set<java.lang.String>);
    319   }
    320 
    321   public abstract class PreferenceDialogFragmentCompat extends android.support.v4.app.DialogFragment implements android.content.DialogInterface.OnClickListener {
    322     ctor public PreferenceDialogFragmentCompat();
    323     method public android.support.v7.preference.DialogPreference getPreference();
    324     method protected void onBindDialogView(android.view.View);
    325     method public void onClick(android.content.DialogInterface, int);
    326     method protected android.view.View onCreateDialogView(android.content.Context);
    327     method public abstract void onDialogClosed(boolean);
    328     method protected void onPrepareDialogBuilder(android.support.v7.app.AlertDialog.Builder);
    329     field protected static final java.lang.String ARG_KEY = "key";
    330   }
    331 
    332   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 {
    333     ctor public PreferenceFragmentCompat();
    334     method public void addPreferencesFromResource(int);
    335     method public android.support.v7.preference.Preference findPreference(java.lang.CharSequence);
    336     method public final android.support.v7.widget.RecyclerView getListView();
    337     method public android.support.v7.preference.PreferenceManager getPreferenceManager();
    338     method public android.support.v7.preference.PreferenceScreen getPreferenceScreen();
    339     method protected android.support.v7.widget.RecyclerView.Adapter onCreateAdapter(android.support.v7.preference.PreferenceScreen);
    340     method public android.support.v7.widget.RecyclerView.LayoutManager onCreateLayoutManager();
    341     method public abstract void onCreatePreferences(android.os.Bundle, java.lang.String);
    342     method public android.support.v7.widget.RecyclerView onCreateRecyclerView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle);
    343     method public void onDisplayPreferenceDialog(android.support.v7.preference.Preference);
    344     method public void onNavigateToScreen(android.support.v7.preference.PreferenceScreen);
    345     method public boolean onPreferenceTreeClick(android.support.v7.preference.Preference);
    346     method public void scrollToPreference(java.lang.String);
    347     method public void scrollToPreference(android.support.v7.preference.Preference);
    348     method public void setDivider(android.graphics.drawable.Drawable);
    349     method public void setDividerHeight(int);
    350     method public void setPreferenceScreen(android.support.v7.preference.PreferenceScreen);
    351     method public void setPreferencesFromResource(int, java.lang.String);
    352     field public static final java.lang.String ARG_PREFERENCE_ROOT = "android.support.v7.preference.PreferenceFragmentCompat.PREFERENCE_ROOT";
    353   }
    354 
    355   public static abstract interface PreferenceFragmentCompat.OnPreferenceDisplayDialogCallback {
    356     method public abstract boolean onPreferenceDisplayDialog(android.support.v7.preference.PreferenceFragmentCompat, android.support.v7.preference.Preference);
    357   }
    358 
    359   public static abstract interface PreferenceFragmentCompat.OnPreferenceStartFragmentCallback {
    360     method public abstract boolean onPreferenceStartFragment(android.support.v7.preference.PreferenceFragmentCompat, android.support.v7.preference.Preference);
    361   }
    362 
    363   public static abstract interface PreferenceFragmentCompat.OnPreferenceStartScreenCallback {
    364     method public abstract boolean onPreferenceStartScreen(android.support.v7.preference.PreferenceFragmentCompat, android.support.v7.preference.PreferenceScreen);
    365   }
    366 
    367   public abstract class PreferenceGroup extends android.support.v7.preference.Preference {
    368     ctor public PreferenceGroup(android.content.Context, android.util.AttributeSet, int, int);
    369     ctor public PreferenceGroup(android.content.Context, android.util.AttributeSet, int);
    370     ctor public PreferenceGroup(android.content.Context, android.util.AttributeSet);
    371     method public void addItemFromInflater(android.support.v7.preference.Preference);
    372     method public boolean addPreference(android.support.v7.preference.Preference);
    373     method protected void dispatchRestoreInstanceState(android.os.Bundle);
    374     method protected void dispatchSaveInstanceState(android.os.Bundle);
    375     method public android.support.v7.preference.Preference findPreference(java.lang.CharSequence);
    376     method public int getInitialExpandedChildrenCount();
    377     method public android.support.v7.preference.Preference getPreference(int);
    378     method public int getPreferenceCount();
    379     method protected boolean isOnSameScreenAsChildren();
    380     method public boolean isOrderingAsAdded();
    381     method protected boolean onPrepareAddPreference(android.support.v7.preference.Preference);
    382     method public void removeAll();
    383     method public boolean removePreference(android.support.v7.preference.Preference);
    384     method public void setInitialExpandedChildrenCount(int);
    385     method public void setOrderingAsAdded(boolean);
    386   }
    387 
    388   public static abstract interface PreferenceGroup.PreferencePositionCallback {
    389     method public abstract int getPreferenceAdapterPosition(java.lang.String);
    390     method public abstract int getPreferenceAdapterPosition(android.support.v7.preference.Preference);
    391   }
    392 
    393   public class PreferenceManager {
    394     method public android.support.v7.preference.PreferenceScreen createPreferenceScreen(android.content.Context);
    395     method public android.support.v7.preference.Preference findPreference(java.lang.CharSequence);
    396     method public android.content.Context getContext();
    397     method public static android.content.SharedPreferences getDefaultSharedPreferences(android.content.Context);
    398     method public android.support.v7.preference.PreferenceManager.OnDisplayPreferenceDialogListener getOnDisplayPreferenceDialogListener();
    399     method public android.support.v7.preference.PreferenceManager.OnNavigateToScreenListener getOnNavigateToScreenListener();
    400     method public android.support.v7.preference.PreferenceManager.OnPreferenceTreeClickListener getOnPreferenceTreeClickListener();
    401     method public android.support.v7.preference.PreferenceManager.PreferenceComparisonCallback getPreferenceComparisonCallback();
    402     method public android.support.v7.preference.PreferenceDataStore getPreferenceDataStore();
    403     method public android.support.v7.preference.PreferenceScreen getPreferenceScreen();
    404     method public android.content.SharedPreferences getSharedPreferences();
    405     method public int getSharedPreferencesMode();
    406     method public java.lang.String getSharedPreferencesName();
    407     method public boolean isStorageDefault();
    408     method public boolean isStorageDeviceProtected();
    409     method public static void setDefaultValues(android.content.Context, int, boolean);
    410     method public static void setDefaultValues(android.content.Context, java.lang.String, int, int, boolean);
    411     method public void setOnDisplayPreferenceDialogListener(android.support.v7.preference.PreferenceManager.OnDisplayPreferenceDialogListener);
    412     method public void setOnNavigateToScreenListener(android.support.v7.preference.PreferenceManager.OnNavigateToScreenListener);
    413     method public void setOnPreferenceTreeClickListener(android.support.v7.preference.PreferenceManager.OnPreferenceTreeClickListener);
    414     method public void setPreferenceComparisonCallback(android.support.v7.preference.PreferenceManager.PreferenceComparisonCallback);
    415     method public void setPreferenceDataStore(android.support.v7.preference.PreferenceDataStore);
    416     method public boolean setPreferences(android.support.v7.preference.PreferenceScreen);
    417     method public void setSharedPreferencesMode(int);
    418     method public void setSharedPreferencesName(java.lang.String);
    419     method public void setStorageDefault();
    420     method public void setStorageDeviceProtected();
    421     method public void showDialog(android.support.v7.preference.Preference);
    422     field public static final java.lang.String KEY_HAS_SET_DEFAULT_VALUES = "_has_set_default_values";
    423   }
    424 
    425   public static abstract interface PreferenceManager.OnDisplayPreferenceDialogListener {
    426     method public abstract void onDisplayPreferenceDialog(android.support.v7.preference.Preference);
    427   }
    428 
    429   public static abstract interface PreferenceManager.OnNavigateToScreenListener {
    430     method public abstract void onNavigateToScreen(android.support.v7.preference.PreferenceScreen);
    431   }
    432 
    433   public static abstract interface PreferenceManager.OnPreferenceTreeClickListener {
    434     method public abstract boolean onPreferenceTreeClick(android.support.v7.preference.Preference);
    435   }
    436 
    437   public static abstract class PreferenceManager.PreferenceComparisonCallback {
    438     ctor public PreferenceManager.PreferenceComparisonCallback();
    439     method public abstract boolean arePreferenceContentsTheSame(android.support.v7.preference.Preference, android.support.v7.preference.Preference);
    440     method public abstract boolean arePreferenceItemsTheSame(android.support.v7.preference.Preference, android.support.v7.preference.Preference);
    441   }
    442 
    443   public static class PreferenceManager.SimplePreferenceComparisonCallback extends android.support.v7.preference.PreferenceManager.PreferenceComparisonCallback {
    444     ctor public PreferenceManager.SimplePreferenceComparisonCallback();
    445     method public boolean arePreferenceContentsTheSame(android.support.v7.preference.Preference, android.support.v7.preference.Preference);
    446     method public boolean arePreferenceItemsTheSame(android.support.v7.preference.Preference, android.support.v7.preference.Preference);
    447   }
    448 
    449   public final class PreferenceScreen extends android.support.v7.preference.PreferenceGroup {
    450     method public void setShouldUseGeneratedIds(boolean);
    451     method public boolean shouldUseGeneratedIds();
    452   }
    453 
    454   public class PreferenceViewHolder extends android.support.v7.widget.RecyclerView.ViewHolder {
    455     method public android.view.View findViewById(int);
    456     method public boolean isDividerAllowedAbove();
    457     method public boolean isDividerAllowedBelow();
    458     method public void setDividerAllowedAbove(boolean);
    459     method public void setDividerAllowedBelow(boolean);
    460   }
    461 
    462   public class SeekBarPreference extends android.support.v7.preference.Preference {
    463     ctor public SeekBarPreference(android.content.Context, android.util.AttributeSet, int, int);
    464     ctor public SeekBarPreference(android.content.Context, android.util.AttributeSet, int);
    465     ctor public SeekBarPreference(android.content.Context, android.util.AttributeSet);
    466     ctor public SeekBarPreference(android.content.Context);
    467     method public int getMax();
    468     method public int getMin();
    469     method public final int getSeekBarIncrement();
    470     method public int getValue();
    471     method public boolean isAdjustable();
    472     method public void setAdjustable(boolean);
    473     method public final void setMax(int);
    474     method public void setMin(int);
    475     method public final void setSeekBarIncrement(int);
    476     method public void setValue(int);
    477   }
    478 
    479   public class SwitchPreferenceCompat extends android.support.v7.preference.TwoStatePreference {
    480     ctor public SwitchPreferenceCompat(android.content.Context, android.util.AttributeSet, int, int);
    481     ctor public SwitchPreferenceCompat(android.content.Context, android.util.AttributeSet, int);
    482     ctor public SwitchPreferenceCompat(android.content.Context, android.util.AttributeSet);
    483     ctor public SwitchPreferenceCompat(android.content.Context);
    484     method public java.lang.CharSequence getSwitchTextOff();
    485     method public java.lang.CharSequence getSwitchTextOn();
    486     method public void setSwitchTextOff(java.lang.CharSequence);
    487     method public void setSwitchTextOff(int);
    488     method public void setSwitchTextOn(java.lang.CharSequence);
    489     method public void setSwitchTextOn(int);
    490   }
    491 
    492   public abstract class TwoStatePreference extends android.support.v7.preference.Preference {
    493     ctor public TwoStatePreference(android.content.Context, android.util.AttributeSet, int, int);
    494     ctor public TwoStatePreference(android.content.Context, android.util.AttributeSet, int);
    495     ctor public TwoStatePreference(android.content.Context, android.util.AttributeSet);
    496     ctor public TwoStatePreference(android.content.Context);
    497     method public boolean getDisableDependentsState();
    498     method public java.lang.CharSequence getSummaryOff();
    499     method public java.lang.CharSequence getSummaryOn();
    500     method public boolean isChecked();
    501     method public void setChecked(boolean);
    502     method public void setDisableDependentsState(boolean);
    503     method public void setSummaryOff(java.lang.CharSequence);
    504     method public void setSummaryOff(int);
    505     method public void setSummaryOn(java.lang.CharSequence);
    506     method public void setSummaryOn(int);
    507     method protected void syncSummaryView(android.support.v7.preference.PreferenceViewHolder);
    508     field protected boolean mChecked;
    509   }
    510 
    511 }
    512 
    513