diff options
Diffstat (limited to 'rs/java/android/renderscript/Allocation.java')
-rw-r--r-- | rs/java/android/renderscript/Allocation.java | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/rs/java/android/renderscript/Allocation.java b/rs/java/android/renderscript/Allocation.java index c2bab91..2191b54 100644 --- a/rs/java/android/renderscript/Allocation.java +++ b/rs/java/android/renderscript/Allocation.java @@ -16,16 +16,12 @@ package android.renderscript; -import java.io.IOException; -import java.io.InputStream; import java.util.HashMap; import android.content.res.Resources; -import android.content.res.AssetManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.view.Surface; import android.util.Log; -import android.util.TypedValue; import android.graphics.Canvas; import android.os.Trace; @@ -602,7 +598,6 @@ public class Allocation extends BaseObj { * without reinterpretation. * * @param array The source data array - * @hide */ public void copyFromUnchecked(Object array) { Trace.traceBegin(RenderScript.TRACE_TAG, "copyFromUnchecked"); @@ -662,8 +657,7 @@ public class Allocation extends BaseObj { * android.renderscript.Element} does not match the array's * primitive type. * - * @param d the source data array - * @hide + * @param array The source data array */ public void copyFrom(Object array) { Trace.traceBegin(RenderScript.TRACE_TAG, "copyFrom"); @@ -862,7 +856,6 @@ public class Allocation extends BaseObj { * @param off The offset of the first element to be copied. * @param count The number of elements to be copied. * @param array The source data array - * @hide */ public void copy1DRangeFromUnchecked(int off, int count, Object array) { copy1DRangeFromUnchecked(off, count, array, @@ -927,7 +920,6 @@ public class Allocation extends BaseObj { * @param off The offset of the first element to be copied. * @param count The number of elements to be copied. * @param array The source data array. - * @hide */ public void copy1DRangeFrom(int off, int count, Object array) { copy1DRangeFromUnchecked(off, count, array, @@ -1043,8 +1035,7 @@ public class Allocation extends BaseObj { * @param yoff Y offset of the region to update in this Allocation * @param w Width of the region to update * @param h Height of the region to update - * @param data to be placed into the Allocation - * @hide + * @param array Data to be placed into the Allocation */ public void copy2DRangeFrom(int xoff, int yoff, int w, int h, Object array) { Trace.traceBegin(RenderScript.TRACE_TAG, "copy2DRangeFrom"); @@ -1274,7 +1265,6 @@ public class Allocation extends BaseObj { * type of the array passed in. * * @param array The array to be set from the Allocation. - * @hide */ public void copyTo(Object array) { copyTo(array, validateObjectIsPrimitiveArray(array, true), @@ -1876,4 +1866,3 @@ public class Allocation extends BaseObj { } } - |