diff options
author | Romain Guy <romainguy@android.com> | 2009-06-26 14:51:58 -0700 |
---|---|---|
committer | Romain Guy <romainguy@android.com> | 2009-06-26 16:56:32 -0700 |
commit | fbd8f69a84163ef1cf52b07966320caf448c2bc9 (patch) | |
tree | 463069b756b53fb2a1bb221f158f071d4e2d990a /api | |
parent | a1590586e4c02e50d14cc99018be2c419f5a07b9 (diff) | |
download | frameworks_base-fbd8f69a84163ef1cf52b07966320caf448c2bc9.zip frameworks_base-fbd8f69a84163ef1cf52b07966320caf448c2bc9.tar.gz frameworks_base-fbd8f69a84163ef1cf52b07966320caf448c2bc9.tar.bz2 |
Fixes #1946141. Introduce new caching API to control scaling.
This change fixes issues with existing applications that access the drawing cache
directly. The API now lets application choose whether they want to get a scaled
drawing cache or not. The framework relies on the scaled cache for quality
purposes.
Diffstat (limited to 'api')
-rw-r--r-- | api/current.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml index 3c58ded..673d053 100644 --- a/api/current.xml +++ b/api/current.xml @@ -139488,6 +139488,19 @@ visibility="public" > </method> +<method name="buildDrawingCache" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="autoScale" type="boolean"> +</parameter> +</method> <method name="cancelLongPress" return="void" abstract="false" @@ -140064,6 +140077,19 @@ visibility="public" > </method> +<method name="getDrawingCache" + return="android.graphics.Bitmap" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="autoScale" type="boolean"> +</parameter> +</method> <method name="getDrawingCacheBackgroundColor" return="int" abstract="false" |