summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorWei-Ta Chen <weita@google.com>2009-06-18 19:14:38 +0800
committerWei-Ta Chen <weita@google.com>2009-06-22 18:01:47 +0800
commit8cdcb12752b716d0407733fecefcf1d9e926310a (patch)
treedd250fe1a38b1e6df4397a87a586a9dffb394bcb /api
parent3e3324bae45ff21615c07507e6918ad21681a6a2 (diff)
downloadframeworks_base-8cdcb12752b716d0407733fecefcf1d9e926310a.zip
frameworks_base-8cdcb12752b716d0407733fecefcf1d9e926310a.tar.gz
frameworks_base-8cdcb12752b716d0407733fecefcf1d9e926310a.tar.bz2
Add prepareToDraw() to Bitmap for fixing http://b/issue?id=1907995.
The function is used to rebuild any caches associated with the bitmap. In the case of purgeable bitmaps, this call ensures that the pixels are decoded for drawing, and therefore prefetching techniques implemented by callers can be leveraged.
Diffstat (limited to 'api')
-rw-r--r--api/current.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index 6566191..c20d91b 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -47001,6 +47001,17 @@
visibility="public"
>
</method>
+<method name="prepareToDraw"
+ return="void"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
<method name="recycle"
return="void"
abstract="false"