diff options
author | Mathew Inwood <mathewi@google.com> | 2018-08-06 11:18:49 +0100 |
---|---|---|
committer | Mathew Inwood <mathewi@google.com> | 2018-08-06 11:19:48 +0100 |
commit | 1532447a7b186fc31026231996ade3befe8e9ffa (patch) | |
tree | 201c9440b3e3b8e05c79c430506258e03a378d04 /rs/java/android/renderscript/FileA3D.java | |
parent | 5caebe341576d52502ce397f3c778fe259c17948 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/FileA3D.java')
-rw-r--r-- | rs/java/android/renderscript/FileA3D.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/FileA3D.java b/rs/java/android/renderscript/FileA3D.java index 278d309c74f7..9a6b0bcd4544 100644 --- a/rs/java/android/renderscript/FileA3D.java +++ b/rs/java/android/renderscript/FileA3D.java @@ -19,6 +19,7 @@ package android.renderscript; import java.io.File; import java.io.InputStream; +import android.annotation.UnsupportedAppUsage; import android.content.res.AssetManager; import android.content.res.Resources; @@ -53,6 +54,7 @@ public class FileA3D extends BaseObj { * @deprecated in API 16 * RenderScript Mesh object **/ + @UnsupportedAppUsage MESH (1); int mID; @@ -100,6 +102,7 @@ public class FileA3D extends BaseObj { * @return type of a renderscript object the index entry * describes */ + @UnsupportedAppUsage public EntryType getEntryType() { return mEntryType; } @@ -109,6 +112,7 @@ public class FileA3D extends BaseObj { * Used to load the object described by the index entry * @return base renderscript object described by the entry */ + @UnsupportedAppUsage public BaseObj getObject() { mRS.validate(); BaseObj obj = internalCreate(mRS, this); @@ -212,6 +216,7 @@ public class FileA3D extends BaseObj { * * @return entry in the a3d file described by the index */ + @UnsupportedAppUsage public IndexEntry getIndexEntry(int index) { if(getIndexEntryCount() == 0 || index < 0 || index >= mFileEntries.length) { return null; @@ -284,6 +289,7 @@ public class FileA3D extends BaseObj { * * @return a3d file containing renderscript objects */ + @UnsupportedAppUsage static public FileA3D createFromResource(RenderScript rs, Resources res, int id) { rs.validate(); |