diff options
author | Alex Sakhartchouk <alexst@google.com> | 2012-04-19 16:30:58 -0700 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2012-04-19 16:30:58 -0700 |
commit | a0c2eb27b408660b02fa248943166d6c7e447908 (patch) | |
tree | 932a25b9e5be808ec05f9913ae876ebf8a5b692e /graphics/java/android/renderscript/AllocationAdapter.java | |
parent | cada1ae71781795c10a359f1e11ad5a3f125cf67 (diff) |
Deprecate
Change-Id: Idad2c5ad4f8a30f8cc60d88318f2e1809866d309
Diffstat (limited to 'graphics/java/android/renderscript/AllocationAdapter.java')
-rw-r--r-- | graphics/java/android/renderscript/AllocationAdapter.java | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/graphics/java/android/renderscript/AllocationAdapter.java b/graphics/java/android/renderscript/AllocationAdapter.java index 85d86e5c1bf7..3b5993aedc20 100644 --- a/graphics/java/android/renderscript/AllocationAdapter.java +++ b/graphics/java/android/renderscript/AllocationAdapter.java @@ -21,7 +21,7 @@ import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.TypedValue; -/** +/** @deprecated renderscript is deprecated in J * **/ public class AllocationAdapter extends Allocation { @@ -129,7 +129,7 @@ public class AllocationAdapter extends Allocation { mSelectedZ = 0; } - /** + /** @deprecated renderscript is deprecated in J * Set the active LOD. The LOD must be within the range for the * type being adapted. The base allocation must have mipmaps. * @@ -149,7 +149,7 @@ public class AllocationAdapter extends Allocation { initLOD(lod); } - /** + /** @deprecated renderscript is deprecated in J * Set the active Face. The base allocation must be of a type * that includes faces. * @@ -169,7 +169,7 @@ public class AllocationAdapter extends Allocation { mSelectedFace = cf; } - /** + /** @deprecated renderscript is deprecated in J * Set the active Y. The y value must be within the range for * the allocation being adapted. The base allocation must * contain the Y dimension. @@ -190,7 +190,7 @@ public class AllocationAdapter extends Allocation { mSelectedY = y; } - /** + /** @deprecated renderscript is deprecated in J * Set the active Z. The z value must be within the range for * the allocation being adapted. The base allocation must * contain the Z dimension. @@ -211,6 +211,8 @@ public class AllocationAdapter extends Allocation { mSelectedZ = z; } + /** @deprecated renderscript is deprecated in J + */ static public AllocationAdapter create1D(RenderScript rs, Allocation a) { rs.validate(); AllocationAdapter aa = new AllocationAdapter(0, rs, a); @@ -222,6 +224,8 @@ public class AllocationAdapter extends Allocation { return aa; } + /** @deprecated renderscript is deprecated in J + */ static public AllocationAdapter create2D(RenderScript rs, Allocation a) { android.util.Log.e("rs", "create2d " + a); rs.validate(); @@ -235,7 +239,7 @@ public class AllocationAdapter extends Allocation { } - /** + /** @deprecated renderscript is deprecated in J * Override the Allocation resize. Resizing adapters is not * allowed and will throw a RSInvalidStateException. * |