diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-11-01 15:28:43 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-11-01 18:01:33 -0700 |
commit | 0500b3cfda5192efc09d6d4344b0c6c785c0a815 (patch) | |
tree | d850844c43e6dacd62f9818f39a8becfd5ac5cbb /api | |
parent | f136aa341abaaf7fd6f7632d41a30b2989d93985 (diff) | |
download | frameworks_base-0500b3cfda5192efc09d6d4344b0c6c785c0a815.zip frameworks_base-0500b3cfda5192efc09d6d4344b0c6c785c0a815.tar.gz frameworks_base-0500b3cfda5192efc09d6d4344b0c6c785c0a815.tar.bz2 |
Some optimizations.
- Don't try to create a thumbnail bitmap on the client side. This
wastes 64k, and isn't needed since we are doing screenshots.
- Optimize View to put all of the callback pointers out of line.
Added a couple new APIs so these don't need to be protected/public.
- Lazily create ViewGroup's cache paint.
- Change FrameworkPerf app to not use HW accel drawing, to give better
comparison with GB.
Change-Id: Iec56d02459820d74a4cc9c7ec9c1856563c82c7b
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index fe0699c..9d38566 100644 --- a/api/current.txt +++ b/api/current.txt @@ -22849,6 +22849,7 @@ package android.view { method public void buildDrawingCache(); method public void buildDrawingCache(boolean); method public void buildLayer(); + method public boolean callOnClick(); method public boolean canScrollHorizontally(int); method public boolean canScrollVertically(int); method public void cancelLongPress(); @@ -23000,6 +23001,7 @@ package android.view { method public float getY(); method public boolean hasFocus(); method public boolean hasFocusable(); + method public boolean hasOnClickListeners(); method public boolean hasWindowFocus(); method public static android.view.View inflate(android.content.Context, int, android.view.ViewGroup); method protected void initializeFadingEdge(android.content.res.TypedArray); |