4186b344d829e155feebf6797bd41576fccb5f16 |
|
07-Mar-2017 |
Filip Pavlis <pavlis@google.com> |
Enable recycling of third party preference widgets Until now we have been recycling only framework preference widgets since there were no guarantees for third party preferences to support recycling. This let to broken animations for preference widgets that are outside of the framework. This change makes recycling to be used always and in case the developers need to turn it off they can explicitely use a new attribute that is being added to the Preference called "recycleEnabled" and set it to false. Bug: b/34334451 Test: Test are part of the same topic. Change-Id: I324087841e1edddbf0d3eaad00b5895a196acff6
/frameworks/base/core/java/android/preference/PreferenceGroupAdapter.java
|
5f9f6c3936a8a266bb5dcd31e94d403917f1bbe8 |
|
19-Jun-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix PreferenceGroupAdapter highlight code path - do not change the Preference View background. Instead wrap the Preference View into a FrameLayout with the highlighting Drawable as the background - test the View type to force the Preference View creation and not rely on the convert View when highlighting - define a new View type for the highlighting - increment getViewTypeCount() returned value (for the new type) Change-Id: Ie5f19311e11545aba848fd637ec61e43071d8dcf
/frameworks/base/core/java/android/preference/PreferenceGroupAdapter.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/PreferenceGroupAdapter.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/PreferenceGroupAdapter.java
|
53c2cf799fddfae7f6fc9ca1840ea345308b79ee |
|
08-Apr-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add support for saving and using the Preference's key value - make public and hide the PreferenceGroupAdapter class - add setActivated(int position) to be able to set the activated item - udpate getView(int position, View convertView, ViewGroup parent) to set/unset the activated item Change-Id: I8a653ad6541bb6b7a043ba7c3d95e5ecad924a0d
/frameworks/base/core/java/android/preference/PreferenceGroupAdapter.java
|
791b37e0d9375789c2930ed170d202ea728390fd |
|
21-Aug-2013 |
Alan Viverette <alanv@google.com> |
Allow recycling of Preferences in com.android.* packages Refactors hasSpecifiedLayout to canRecycleLayout for readability's sake. All boolean references to the method have been inverted. BUG: 10079104 Change-Id: Ie6beda9f0b837f889a6cc6a80377349e98cc4883
/frameworks/base/core/java/android/preference/PreferenceGroupAdapter.java
|
a98129b9110371aa036d8fcf23fff709595b16ff |
|
06-Oct-2009 |
Amith Yamasani <yamasani@google.com> |
Fix preference caching to increase recycling of preference views. Add extra safety measures - no recycling of derived preferences as they may override onCreateView or getView
/frameworks/base/core/java/android/preference/PreferenceGroupAdapter.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/preference/PreferenceGroupAdapter.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/preference/PreferenceGroupAdapter.java
|
3001a035439d8134a7d70d796376d1dfbff3cdcd |
|
19-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@132276
/frameworks/base/core/java/android/preference/PreferenceGroupAdapter.java
|
da996f390e17e16f2dfa60e972e7ebc4f868f37e |
|
13-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@131421
/frameworks/base/core/java/android/preference/PreferenceGroupAdapter.java
|
b798689749c64baba81f02e10cf2157c747d6b46 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/frameworks/base/core/java/android/preference/PreferenceGroupAdapter.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/preference/PreferenceGroupAdapter.java
|