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

Commit a5ba39e8 authored by Miao Wang's avatar Miao Wang Committed by android-build-merger
Browse files

Merge "[RenderScript] Update documentation for Allocation.setAutoPadding()." into nyc-dev

am: ab9ab56e

* commit 'ab9ab56e':
  [RenderScript] Update documentation for Allocation.setAutoPadding().

Change-Id: I9fdbf6799c473dd78742220e0199dc062471f4d8
parents 8142d969 ab9ab56e
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -296,8 +296,13 @@ public class Allocation extends BaseObj {
    }

    /**
     * Enable/Disable AutoPadding for Vec3 elements.
     * By default: Diabled.
     * Enable/Disable AutoPadding for Vec3 Elements.
     *
     * <p> Vec3 Elements, such as {@link Element#U8_3} are treated as Vec4 Elements
     * with the fourth vector element used as padding. Enabling the AutoPadding feature
     * will automatically add/remove the padding when you copy to/from an Allocation
     * with a Vec3 Element.
     * <p> By default: Disabled.
     *
     * @param useAutoPadding True: enable AutoPadding; False: disable AutoPadding
     *