diff options
author | Jason Sams <jsams@google.com> | 2013-11-25 18:28:33 -0800 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2013-11-26 12:29:46 -0800 |
commit | 3042d2692ff6cd7597f1f66bfd9350b825b5502a (patch) | |
tree | 25d8e106d74288acc158427919c9b2025d007ce6 /api | |
parent | baaabd53817cead86feb5d892426e464ecd9f919 (diff) | |
download | frameworks_base-3042d2692ff6cd7597f1f66bfd9350b825b5502a.zip frameworks_base-3042d2692ff6cd7597f1f66bfd9350b825b5502a.tar.gz frameworks_base-3042d2692ff6cd7597f1f66bfd9350b825b5502a.tar.bz2 |
Generic object based data copy.
This change consolidates the copy paths to Object based.
The runtime now uses reflection to identify the type of
array present. This adds support for long/double and reduces
the amount of code present. We could also support arrays of vectors
or objects in the future with this mechanism.
Change-Id: I2297c1c01fbe6a64c375d6368f25d7db781ea788
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 4d500c6..0a88f87 100644 --- a/api/current.txt +++ b/api/current.txt @@ -22228,15 +22228,18 @@ package android.provider { package android.renderscript { public class Allocation extends android.renderscript.BaseObj { + method public void copy1DRangeFrom(int, int, java.lang.Object); method public void copy1DRangeFrom(int, int, int[]); method public void copy1DRangeFrom(int, int, short[]); method public void copy1DRangeFrom(int, int, byte[]); method public void copy1DRangeFrom(int, int, float[]); method public void copy1DRangeFrom(int, int, android.renderscript.Allocation, int); + method public void copy1DRangeFromUnchecked(int, int, java.lang.Object); method public void copy1DRangeFromUnchecked(int, int, int[]); method public void copy1DRangeFromUnchecked(int, int, short[]); method public void copy1DRangeFromUnchecked(int, int, byte[]); method public void copy1DRangeFromUnchecked(int, int, float[]); + method public void copy2DRangeFrom(int, int, int, int, java.lang.Object); method public void copy2DRangeFrom(int, int, int, int, byte[]); method public void copy2DRangeFrom(int, int, int, int, short[]); method public void copy2DRangeFrom(int, int, int, int, int[]); @@ -22244,17 +22247,20 @@ package android.renderscript { method public void copy2DRangeFrom(int, int, int, int, android.renderscript.Allocation, int, int); method public void copy2DRangeFrom(int, int, android.graphics.Bitmap); method public void copyFrom(android.renderscript.BaseObj[]); + method public void copyFrom(java.lang.Object); method public void copyFrom(int[]); method public void copyFrom(short[]); method public void copyFrom(byte[]); method public void copyFrom(float[]); method public void copyFrom(android.graphics.Bitmap); method public void copyFrom(android.renderscript.Allocation); + method public void copyFromUnchecked(java.lang.Object); method public void copyFromUnchecked(int[]); method public void copyFromUnchecked(short[]); method public void copyFromUnchecked(byte[]); method public void copyFromUnchecked(float[]); method public void copyTo(android.graphics.Bitmap); + method public void copyTo(java.lang.Object); method public void copyTo(byte[]); method public void copyTo(short[]); method public void copyTo(int[]); |