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