Add @UnsupportedAppUsage annotations
For packages: android.renderscript This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I016f6e720e79c48afe44f4690b5dd99fc81ae780 Merged-In: I1aa8ebca448547031b426a7b305c5c3d6fcf2652
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
**/
|
||||
package android.renderscript;
|
||||
|
||||
import android.annotation.UnsupportedAppUsage;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
@@ -90,6 +92,7 @@ public class ProgramVertex extends Program {
|
||||
*
|
||||
* @param rs Context to which the program will belong.
|
||||
*/
|
||||
@UnsupportedAppUsage
|
||||
public Builder(RenderScript rs) {
|
||||
super(rs);
|
||||
}
|
||||
@@ -102,6 +105,7 @@ public class ProgramVertex extends Program {
|
||||
* structure
|
||||
* @return self
|
||||
*/
|
||||
@UnsupportedAppUsage
|
||||
public Builder addInput(Element e) throws IllegalStateException {
|
||||
// Should check for consistant and non-conflicting names...
|
||||
if(mInputCount >= MAX_INPUT) {
|
||||
@@ -120,6 +124,7 @@ public class ProgramVertex extends Program {
|
||||
*
|
||||
* @return ProgramVertex
|
||||
*/
|
||||
@UnsupportedAppUsage
|
||||
public ProgramVertex create() {
|
||||
mRS.validate();
|
||||
long[] tmp = new long[(mInputCount + mOutputCount + mConstantCount + mTextureCount) * 2];
|
||||
|
||||
Reference in New Issue
Block a user