summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2010-12-17 18:03:38 -0800
committerCarl Shapiro <cshapiro@google.com>2010-12-17 18:03:38 -0800
commit2118b25ad422e946d4d87e191c5710bfacd7503e (patch)
tree04f1e103eff0166dc7fabee24996b2dd1bdcf550 /graphics
parent202ef9e85105c4f5f08cc6f9ede78e155da040c8 (diff)
downloadframeworks_base-2118b25ad422e946d4d87e191c5710bfacd7503e.zip
frameworks_base-2118b25ad422e946d4d87e191c5710bfacd7503e.tar.gz
frameworks_base-2118b25ad422e946d4d87e191c5710bfacd7503e.tar.bz2
Eliminate tracked allocations and the inNativeAlloc option.
Change-Id: Ic10b2b41a26925d799e5d1e50be77fc480ec0f17
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/BitmapFactory.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/graphics/java/android/graphics/BitmapFactory.java b/graphics/java/android/graphics/BitmapFactory.java
index fe723f2..8309f7a 100644
--- a/graphics/java/android/graphics/BitmapFactory.java
+++ b/graphics/java/android/graphics/BitmapFactory.java
@@ -213,19 +213,6 @@ public class BitmapFactory {
public boolean inInputShareable;
/**
- * Normally bitmap allocations count against the dalvik heap, which
- * means they help trigger GCs when a lot have been allocated. However,
- * in rare cases, the caller may want to allocate the bitmap outside of
- * that heap. To request that, set inNativeAlloc to true. In these
- * rare instances, it is solely up to the caller to ensure that OOM is
- * managed explicitly by calling bitmap.recycle() as soon as such a
- * bitmap is no longer needed.
- *
- * @hide pending API council approval
- */
- public boolean inNativeAlloc;
-
- /**
* If inPreferQualityOverSpeed is set to true, the decoder will try to
* decode the reconstructed image to a higher quality even at the
* expense of the decoding speed. Currently the field only affects JPEG