From 8cdcb12752b716d0407733fecefcf1d9e926310a Mon Sep 17 00:00:00 2001 From: Wei-Ta Chen Date: Thu, 18 Jun 2009 19:14:38 +0800 Subject: 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. --- api/current.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'api') 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" > + +