417ee5ba89f7e0fe5efd34fce74bf1ee5923d976 |
|
11-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Add resource type annotations to some APIs Change-Id: I37c8afdaea455aa92bc8270bb2dfd60616c5f9bc
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
3c32b620448673dd47f869e2029e12b72ee21ed1 |
|
23-Feb-2015 |
Scott Kennedy <skennedy@google.com> |
Add some more @Nullable annotations Change-Id: I586d542e087eafa8355f0eaa606d66876c0f5a56
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
b1a50f2dff3d2d24c3567e2be67e7a4bc87a9b31 |
|
13-Aug-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #16957601 Stability: ISE in Settings: Observer com.android.settings. SettingsPreferenceFragment$1@273c8fdb was not registered - add onUnbindPreferences() call to match onBindPreferences() - this new method is @hide so it does not impact the APIs Change-Id: Iee0ab8a4ecc2046f89fb96cc52af150e835f658c
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
f9499b36e689dee5cec2cb7bb0b7d21f7c302d84 |
|
03-Jul-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add PreferenceFragment styling - add the capability to specify a specific layout for PreferenceFragment Change-Id: I2fa36b8fa8110e6cbc8006e1d000dc90ae6a5f0b
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
8a86d734e53dcbafd86c5cc28679323798ecd8a5 |
|
18-Apr-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Improve Preference highlighting - add PreferenceFragment.onBindPreferences() so that we can know when the binding as been done - use the Preference's key as a tag for its View (so that we can locate it latter in the View hierarchy) Change-Id: Ifb3b30e576048b7464af63643834d278a46a8543
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
35d7b89b9f6151083001e3bae315a8e98882741f |
|
16-Apr-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add Preference highlighting - use a specific drawable for highlighting a Preference at a given position - also add PreferenceFragment.hasListView() as hidden API Change-Id: If69854cf6c4852d0f45e2c3a9734b1f63b352f9d
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
cdd0c59a0108036895796dcb2bea69ff5eef26ca |
|
27-Jul-2012 |
Scott Main <smain@google.com> |
docs: add links to new Settings dev guide Change-Id: I04444ec0c4c1c278569b64f15cbbc7e8c1c623cd
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
ce4a193ea8056da09d7fea64aeb4e4bc05d11d3c |
|
08-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Preferences padding and scrollbars to match spec. Adjust preferences ListView to use direct padding instead of applying to outer parent. Also display scrollbars outsideOverlay on small screens. Change-Id: I750c53d2452d8842d487a091075c32f009f2c2fc
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
014fea2a663ab0bc2d80a6293b84b2647a4a1895 |
|
16-Jun-2011 |
John Reck <jreck@google.com> |
Inline SeekBarPreference Dialog-based SeekBarPreference renamed to SeekBarDialogPreference New inline SeekBarPreference added Change-Id: I7a5d8f7aa554c4af4086a9bcc74cf07879c8523c
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
0daf40ca9a764088c3eb59be956674ac67b91384 |
|
15-Jun-2011 |
Amith Yamasani <yamasani@google.com> |
am 2bcd9c6e: am eb5e633a: am 608a200d: Merge "Stability fixes for PreferenceFragments." into honeycomb-mr2 * commit '2bcd9c6e7b4fe6c465811e9b8ac48acec23cb341': Stability fixes for PreferenceFragments.
|
c56fc753e2e2d35221a1a4df353a435098268ec4 |
|
15-Jun-2011 |
Amith Yamasani <yamasani@google.com> |
Stability fixes for PreferenceFragments. Unregister the click listener as early as possible, so that clicks don't get delivered after the activity is detached. Bug: 4599586 This should also fix: 4603030, 4601105, 4598715, 4598712. Change-Id: I7bcff719bed14ea61b482bd6d29ae1fa5e322e41
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
405c1af75607fafdb1d6faf34e13e032e4934787 |
|
26-May-2011 |
Amith Yamasani <yamasani@google.com> |
Manual merge. Preference activity changes to work on smaller tablet screens and phones. Padding around fragments and to the left of preference items adjusted for different display sizes. Change-Id: I2d29e5525c381092a3f1d2fb1265ce07db893d78
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
e72f237defd9956a7e2d2e2bee8cd2558c3f83db |
|
16-Mar-2011 |
Dianne Hackborn <hackbod@google.com> |
More work on making prefs work well on small screens. Tweak padding so layouts now look decent, a few extensions so that the correct title can be shown. Change-Id: Ieace16bf4962d66564c6e2f67fb588e582943850
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
81d860013c7eeb96a09574301485d3e405ce03bc |
|
03-Mar-2011 |
Amith Yamasani <yamasani@google.com> |
Fix a race condition when entering and exiting a preference fragment quickly. Bug: 3413715 Fragment was going through STARTED/RESUMED/STARTED/CREATED very quickly and bindPreferences() was a delayed call that happened after mView was nullified. Removing the MSG_BIND_PREFERENCES when view is destroyed. Change-Id: Iec43102c004a266c412b993f17e1a8c1699fb0b1
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
74402cfe4e780fd5e9848ff384b741c8fc7d945f |
|
09-Dec-2010 |
Amith Yamasani <yamasani@google.com> |
Remove the OnItemClick listener when the fragment is destroyed. Bug: 3228510 This probably fixes a lot of other monkey bugs in Settings.
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
27da0bf0a38231111cbf6bb7df6c4a0d53b144d8 |
|
25-Oct-2010 |
Amith Yamasani <yamasani@google.com> |
Fix sub-header height to follow drawable. Floating panels for Preference screens.
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
82e7bc11342547d1480ef89208ed06943650e201 |
|
24-Sep-2010 |
Amith Yamasani <yamasani@google.com> |
Fix for Ringtones not being saved when using Preference fragments. Bug: 2988732 RingtonePreference was calling startActivityForResult on Activity instead of on Fragment, so the result was not being delivered to the fragment. Setting a fragment owner on the PreferenceManager instance so that it can be used instead of getActivity() for launching the intent. Not exposing any new public APIs at this time.
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
3e449ce00ed2d3b271e50bc7a52798f630973bf1 |
|
12-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
Some fragment stuff: Fix issue #2975886: Make getTargetFragment() survive rotation events with retained fragments. We now fix up the fragment pointer when restoring state. Fix issue #2919928: In PreferenceFragment, addPreferencesFromResources() is not effective when called after onActivityCreated(). Note to self: do not use a what code of 0. Maybe that should be documented (I'll do it in gingerbread). Hopefully implement #2992753: DialogFragment.dismiss will NPE if called too soon (before attached to activity). We now keep track of the FragmentManager separately from the activity, and set that as soon as the fragment is part of a transaction. Investigate issue #2988876: NPE when device orientation is changed. The NPE is because of the app trying to do a fragment transaction in onPause(). This is fundamentally not viable, since (a) the activity will be gone before we ever have a chance to process the message to commit the transaction, and (b) even if we did try to commit the transaction earlier, this would be done after onSaveInstanceState() and thus not work in cases where the activity gets killed in the background. So instead, we'll just throw an immediate exception if you try to do this. Change-Id: Iea62b50eb79f066af2471fce86836d073398f4f7
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
9ae5473eae5312575521d87ec0303ac91560cbed |
|
18-Aug-2010 |
Amith Yamasani <yamasani@google.com> |
Make getListView() public and hidden, as it is needed for WifiSettings.
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
b3cf10ffa8ff9cac0da8b23a0d84076b3f501400 |
|
03-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Add facility to switch to new fragments from preferences. Change-Id: I009315b59cf81b4962e9c5a4490f0f82743ed64a
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
b1ad5977bc8178b6d350ebe9099daded4c1ef603 |
|
03-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
New two-pane mode for PreferenceActivity. This introduces a whole new way to use PreferenceActivity, as a container for PreferenceFragments that the user can switch between from a list of headers. Change-Id: I1c79b7c78b86790dc460a1414a999aba5de80628
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|
42c2936f3c6e048caafb17eb9fe91fa4a33c8b86 |
|
28-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Add PreferenceFragment. Change-Id: I9b87ec2c15822cca5b460a9a2d589fc24e21a789
/frameworks/base/core/java/android/preference/PreferenceFragment.java
|