Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -19228,6 +19228,7 @@ package android.renderscript { method public void ioReceive(); method public void ioSend(); method public synchronized void resize(int); method public synchronized void resize(int, int); method public void setFromFieldPacker(int, android.renderscript.FieldPacker); method public void setFromFieldPacker(int, int, android.renderscript.FieldPacker); method public void setSurface(android.view.Surface); graphics/java/android/renderscript/Allocation.java +1 −2 Original line number Diff line number Diff line Loading @@ -971,11 +971,10 @@ public class Allocation extends BaseObj { * * A new type will be created with the new dimension. * * @hide * @param dimX The new size of the allocation. * @param dimY The new size of the allocation. */ public void resize(int dimX, int dimY) { public synchronized void resize(int dimX, int dimY) { if ((mType.getZ() > 0) || mType.hasFaces() || mType.hasMipmaps()) { throw new RSInvalidStateException( "Resize only support for 2D allocations at this time."); Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -19228,6 +19228,7 @@ package android.renderscript { method public void ioReceive(); method public void ioSend(); method public synchronized void resize(int); method public synchronized void resize(int, int); method public void setFromFieldPacker(int, android.renderscript.FieldPacker); method public void setFromFieldPacker(int, int, android.renderscript.FieldPacker); method public void setSurface(android.view.Surface);
graphics/java/android/renderscript/Allocation.java +1 −2 Original line number Diff line number Diff line Loading @@ -971,11 +971,10 @@ public class Allocation extends BaseObj { * * A new type will be created with the new dimension. * * @hide * @param dimX The new size of the allocation. * @param dimY The new size of the allocation. */ public void resize(int dimX, int dimY) { public synchronized void resize(int dimX, int dimY) { if ((mType.getZ() > 0) || mType.hasFaces() || mType.hasMipmaps()) { throw new RSInvalidStateException( "Resize only support for 2D allocations at this time."); Loading