Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20666679 authored by Jason Sams's avatar Jason Sams
Browse files

unhide AllocationAdapter APIs

Change-Id: Id7ff10c7b09a5bedd9952602dd394e76b4fae8b1
parent 79ec42e6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -26724,8 +26724,11 @@ package android.renderscript {
  public class AllocationAdapter extends android.renderscript.Allocation {
    method public static android.renderscript.AllocationAdapter create1D(android.renderscript.RenderScript, android.renderscript.Allocation);
    method public static android.renderscript.AllocationAdapter create2D(android.renderscript.RenderScript, android.renderscript.Allocation);
    method public static android.renderscript.AllocationAdapter createTyped(android.renderscript.RenderScript, android.renderscript.Allocation, android.renderscript.Type);
    method public void setArray(int, int);
    method public void setFace(android.renderscript.Type.CubemapFace);
    method public void setLOD(int);
    method public void setX(int);
    method public void setY(int);
    method public void setZ(int);
  }
+3 −0
Original line number Diff line number Diff line
@@ -28520,8 +28520,11 @@ package android.renderscript {
  public class AllocationAdapter extends android.renderscript.Allocation {
    method public static android.renderscript.AllocationAdapter create1D(android.renderscript.RenderScript, android.renderscript.Allocation);
    method public static android.renderscript.AllocationAdapter create2D(android.renderscript.RenderScript, android.renderscript.Allocation);
    method public static android.renderscript.AllocationAdapter createTyped(android.renderscript.RenderScript, android.renderscript.Allocation, android.renderscript.Type);
    method public void setArray(int, int);
    method public void setFace(android.renderscript.Type.CubemapFace);
    method public void setLOD(int);
    method public void setX(int);
    method public void setY(int);
    method public void setZ(int);
  }
+3 −3
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ public class AllocationAdapter extends Allocation {


    /**
     * @hide
     *
     * Set the active X.  The x value must be within the range for
     * the allocation being adapted.
     *
@@ -208,7 +208,7 @@ public class AllocationAdapter extends Allocation {
    }

    /**
     * @hide
     *
     */
    public void setArray(int arrayNum, int arrayVal) {
        if (mAdaptedAllocation.getType().getArray(arrayNum) == 0) {
@@ -242,7 +242,7 @@ public class AllocationAdapter extends Allocation {
    }

    /**
     * @hide
     *
     *
     * Create an arbitrary window into the base allocation
     * The type describes the shape of the window.