diff options
| author | Chet Haase <chet@google.com> | 2012-03-19 13:40:49 -0700 |
|---|---|---|
| committer | Chet Haase <chet@google.com> | 2012-03-19 13:40:49 -0700 |
| commit | bdd896c26453ffc56831b0cd167e8780068cee53 (patch) | |
| tree | 2dae769a3c4628ebf814ccc103d553839182292b /core/java/android/view/View.java | |
| parent | 80a6b33be276eb6c808fce13debb4bb7a489cdad (diff) | |
| download | frameworks_base-bdd896c26453ffc56831b0cd167e8780068cee53.zip frameworks_base-bdd896c26453ffc56831b0cd167e8780068cee53.tar.gz frameworks_base-bdd896c26453ffc56831b0cd167e8780068cee53.tar.bz2 | |
Enable DisplayList properties
This CL simply enables DisplayList property functionality. The code for
this feature is already there, but it's been disabled by default pending further
testing and analysis. This change sets these build-type flags to true
so that all hw-accelerated apps will now use DisplayList properties by default.
In particular, this feature enables a fast-path for changes that affect the
handful of View properties involved in animations (alpha, translationX, etc.).
Setting these properties now gets propagated to the native DisplayList associated
with the View, avoiding costly recreation of the SDK-level DisplayList and
also enabling faster invalidation of the view hierarchy.
Change-Id: Ic99c8f28fa9183f2e54e9e4860b333eb9c540f7c
Diffstat (limited to 'core/java/android/view/View.java')
| -rw-r--r-- | core/java/android/view/View.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 6d1f207..fdf3a814 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -1503,7 +1503,7 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal * apps. * @hide */ - public static final boolean USE_DISPLAY_LIST_PROPERTIES = false; + public static final boolean USE_DISPLAY_LIST_PROPERTIES = true; /** * Map used to store views' tags. |
