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