summaryrefslogtreecommitdiff
path: root/media/mca
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2018-08-06 10:56:00 +0100
committerMathew Inwood <mathewi@google.com>2018-08-06 10:56:08 +0100
commiteb85b9bd3c9e9cb9a6ceed5c4e3abd7a449a5707 (patch)
treeb6450d8e9268cd42fd440268a3121f02160710bb /media/mca
parent5caebe341576d52502ce397f3c778fe259c17948 (diff)
Add @UnsupportedAppUsage annotations
For packages: android.filterfw android.filterfw.core android.filterfw.format android.filterfw.geometry android.filterfw.io 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 Merged-In: I6110238f11ab2a81cf84d0fbadf924bc25ab9374 Change-Id: I3dc7c93ae9fcfd0e9a1bc3e6ccc678a77e9c4709
Diffstat (limited to 'media/mca')
-rw-r--r--media/mca/filterfw/java/android/filterfw/GraphEnvironment.java4
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/Filter.java4
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/FilterContext.java3
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/FilterGraph.java3
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/Frame.java7
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/FrameFormat.java5
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/FrameManager.java4
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/GLEnvironment.java9
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/GLFrame.java5
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/GraphRunner.java7
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/MutableFrameFormat.java4
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/Program.java4
-rw-r--r--media/mca/filterfw/java/android/filterfw/core/ShaderProgram.java8
-rw-r--r--media/mca/filterfw/java/android/filterfw/format/ImageFormat.java4
-rw-r--r--media/mca/filterfw/java/android/filterfw/geometry/Point.java5
-rw-r--r--media/mca/filterfw/java/android/filterfw/geometry/Quad.java7
16 files changed, 83 insertions, 0 deletions
diff --git a/media/mca/filterfw/java/android/filterfw/GraphEnvironment.java b/media/mca/filterfw/java/android/filterfw/GraphEnvironment.java
index 5f6d45c58554..7c90b2731ff8 100644
--- a/media/mca/filterfw/java/android/filterfw/GraphEnvironment.java
+++ b/media/mca/filterfw/java/android/filterfw/GraphEnvironment.java
@@ -17,6 +17,7 @@
package android.filterfw;
+import android.annotation.UnsupportedAppUsage;
import android.content.Context;
import android.filterfw.core.AsyncRunner;
import android.filterfw.core.FilterGraph;
@@ -83,6 +84,7 @@ public class GraphEnvironment extends MffEnvironment {
/**
* Create a new GraphEnvironment with default components.
*/
+ @UnsupportedAppUsage
public GraphEnvironment() {
super(null);
}
@@ -128,6 +130,7 @@ public class GraphEnvironment extends MffEnvironment {
* @param resourceId The ID of the graph resource to load.
* @return A unique ID for the graph.
*/
+ @UnsupportedAppUsage
public int loadGraph(Context context, int resourceId) {
// Read the file into a graph
FilterGraph graph = null;
@@ -180,6 +183,7 @@ public class GraphEnvironment extends MffEnvironment {
MODE_SYNCHRONOUS or MODE_ASYNCHRONOUS.
* @return A GraphRunner instance for this graph.
*/
+ @UnsupportedAppUsage
public GraphRunner getRunner(int graphId, int executionMode) {
switch (executionMode) {
case MODE_ASYNCHRONOUS:
diff --git a/media/mca/filterfw/java/android/filterfw/core/Filter.java b/media/mca/filterfw/java/android/filterfw/core/Filter.java
index 062b6bacc617..4f56b923f6ed 100644
--- a/media/mca/filterfw/java/android/filterfw/core/Filter.java
+++ b/media/mca/filterfw/java/android/filterfw/core/Filter.java
@@ -17,6 +17,7 @@
package android.filterfw.core;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.core.FilterContext;
import android.filterfw.core.FilterPort;
import android.filterfw.core.KeyValueMap;
@@ -69,6 +70,7 @@ public abstract class Filter {
private boolean mLogVerbose;
private static final String TAG = "Filter";
+ @UnsupportedAppUsage
public Filter(String name) {
mName = name;
mFramesToRelease = new HashSet<Frame>();
@@ -81,6 +83,7 @@ public abstract class Filter {
/** Tests to see if a given filter is installed on the system. Requires
* full filter package name, including filterpack.
*/
+ @UnsupportedAppUsage
public static final boolean isAvailable(String filterName) {
ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
Class filterClass;
@@ -150,6 +153,7 @@ public abstract class Filter {
port.setFrame(frame);
}
+ @UnsupportedAppUsage
public final void setInputValue(String inputName, Object value) {
setInputFrame(inputName, wrapInputValue(inputName, value));
}
diff --git a/media/mca/filterfw/java/android/filterfw/core/FilterContext.java b/media/mca/filterfw/java/android/filterfw/core/FilterContext.java
index 3c79d1b67011..a19220ef85f8 100644
--- a/media/mca/filterfw/java/android/filterfw/core/FilterContext.java
+++ b/media/mca/filterfw/java/android/filterfw/core/FilterContext.java
@@ -17,6 +17,7 @@
package android.filterfw.core;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.core.Filter;
import android.filterfw.core.Frame;
import android.filterfw.core.FrameManager;
@@ -36,6 +37,7 @@ public class FilterContext {
private HashMap<String, Frame> mStoredFrames = new HashMap<String, Frame>();
private Set<FilterGraph> mGraphs = new HashSet<FilterGraph>();
+ @UnsupportedAppUsage
public FrameManager getFrameManager() {
return mFrameManager;
}
@@ -52,6 +54,7 @@ public class FilterContext {
}
}
+ @UnsupportedAppUsage
public GLEnvironment getGLEnvironment() {
return mGLEnvironment;
}
diff --git a/media/mca/filterfw/java/android/filterfw/core/FilterGraph.java b/media/mca/filterfw/java/android/filterfw/core/FilterGraph.java
index 12f789264920..e6ca11ffca3c 100644
--- a/media/mca/filterfw/java/android/filterfw/core/FilterGraph.java
+++ b/media/mca/filterfw/java/android/filterfw/core/FilterGraph.java
@@ -30,6 +30,7 @@ import android.filterfw.core.KeyValueMap;
import android.filterpacks.base.FrameBranch;
import android.filterpacks.base.NullFilter;
+import android.annotation.UnsupportedAppUsage;
import android.util.Log;
/**
@@ -75,6 +76,7 @@ public class FilterGraph {
return mFilters.contains(filter);
}
+ @UnsupportedAppUsage
public Filter getFilter(String name) {
return mNameMap.get(name);
}
@@ -160,6 +162,7 @@ public class FilterGraph {
mTypeCheckMode = typeCheckMode;
}
+ @UnsupportedAppUsage
public void tearDown(FilterContext context) {
if (!mFilters.isEmpty()) {
flushFrames();
diff --git a/media/mca/filterfw/java/android/filterfw/core/Frame.java b/media/mca/filterfw/java/android/filterfw/core/Frame.java
index 7dd078327a09..e880783247a3 100644
--- a/media/mca/filterfw/java/android/filterfw/core/Frame.java
+++ b/media/mca/filterfw/java/android/filterfw/core/Frame.java
@@ -17,6 +17,7 @@
package android.filterfw.core;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.core.FrameFormat;
import android.filterfw.core.FrameManager;
import android.graphics.Bitmap;
@@ -54,6 +55,7 @@ public abstract class Frame {
mBindingId = bindingId;
}
+ @UnsupportedAppUsage
public FrameFormat getFormat() {
return mFormat;
}
@@ -94,6 +96,7 @@ public abstract class Frame {
public abstract Object getObjectValue();
+ @UnsupportedAppUsage
public abstract void setInts(int[] ints);
public abstract int[] getInts();
@@ -116,12 +119,15 @@ public abstract class Frame {
public abstract void setBitmap(Bitmap bitmap);
+ @UnsupportedAppUsage
public abstract Bitmap getBitmap();
+ @UnsupportedAppUsage
public void setTimestamp(long timestamp) {
mTimestamp = timestamp;
}
+ @UnsupportedAppUsage
public long getTimestamp() {
return mTimestamp;
}
@@ -138,6 +144,7 @@ public abstract class Frame {
return mRefCount;
}
+ @UnsupportedAppUsage
public Frame release() {
if (mFrameManager != null) {
return mFrameManager.releaseFrame(this);
diff --git a/media/mca/filterfw/java/android/filterfw/core/FrameFormat.java b/media/mca/filterfw/java/android/filterfw/core/FrameFormat.java
index 8f619be30e74..eb0ff0a32c3f 100644
--- a/media/mca/filterfw/java/android/filterfw/core/FrameFormat.java
+++ b/media/mca/filterfw/java/android/filterfw/core/FrameFormat.java
@@ -17,6 +17,7 @@
package android.filterfw.core;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.core.KeyValueMap;
import android.filterfw.core.MutableFrameFormat;
@@ -90,6 +91,7 @@ public class FrameFormat {
return mBytesPerSample / bytesPerSampleOf(mBaseType);
}
+ @UnsupportedAppUsage
public int getTarget() {
return mTarget;
}
@@ -135,10 +137,12 @@ public class FrameFormat {
return (mDimensions != null && mDimensions.length >= 1) ? mDimensions[0] : -1;
}
+ @UnsupportedAppUsage
public int getWidth() {
return getLength();
}
+ @UnsupportedAppUsage
public int getHeight() {
return (mDimensions != null && mDimensions.length >= 2) ? mDimensions[1] : -1;
}
@@ -156,6 +160,7 @@ public class FrameFormat {
return mObjectClass;
}
+ @UnsupportedAppUsage
public MutableFrameFormat mutableCopy() {
MutableFrameFormat result = new MutableFrameFormat();
result.setBaseType(getBaseType());
diff --git a/media/mca/filterfw/java/android/filterfw/core/FrameManager.java b/media/mca/filterfw/java/android/filterfw/core/FrameManager.java
index 8d6c4832da27..85c8fcd9787d 100644
--- a/media/mca/filterfw/java/android/filterfw/core/FrameManager.java
+++ b/media/mca/filterfw/java/android/filterfw/core/FrameManager.java
@@ -17,6 +17,7 @@
package android.filterfw.core;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.core.Frame;
import android.filterfw.core.FrameFormat;
import android.filterfw.core.MutableFrameFormat;
@@ -28,10 +29,13 @@ public abstract class FrameManager {
private FilterContext mContext;
+ @UnsupportedAppUsage
public abstract Frame newFrame(FrameFormat format);
+ @UnsupportedAppUsage
public abstract Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId);
+ @UnsupportedAppUsage
public Frame duplicateFrame(Frame frame) {
Frame result = newFrame(frame.getFormat());
result.setDataFromFrame(frame);
diff --git a/media/mca/filterfw/java/android/filterfw/core/GLEnvironment.java b/media/mca/filterfw/java/android/filterfw/core/GLEnvironment.java
index 19d564c9a4d0..e25d6a7d70ab 100644
--- a/media/mca/filterfw/java/android/filterfw/core/GLEnvironment.java
+++ b/media/mca/filterfw/java/android/filterfw/core/GLEnvironment.java
@@ -17,6 +17,7 @@
package android.filterfw.core;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.core.NativeAllocatorTag;
import android.graphics.SurfaceTexture;
import android.os.Looper;
@@ -66,6 +67,7 @@ public class GLEnvironment {
}
}
+ @UnsupportedAppUsage
public boolean isActive() {
return nativeIsActive();
}
@@ -78,6 +80,7 @@ public class GLEnvironment {
return nativeIsAnyContextActive();
}
+ @UnsupportedAppUsage
public void activate() {
if (Looper.myLooper() != null && Looper.myLooper().equals(Looper.getMainLooper())) {
Log.e("FilterFramework", "Activating GL context in UI thread!");
@@ -87,12 +90,14 @@ public class GLEnvironment {
}
}
+ @UnsupportedAppUsage
public void deactivate() {
if (mManageContext && !nativeDeactivate()) {
throw new RuntimeException("Could not deactivate GLEnvironment!");
}
}
+ @UnsupportedAppUsage
public void swapBuffers() {
if (!nativeSwapBuffers()) {
throw new RuntimeException("Error swapping EGL buffers!");
@@ -117,6 +122,7 @@ public class GLEnvironment {
return result;
}
+ @UnsupportedAppUsage
public int registerSurfaceFromMediaRecorder(MediaRecorder mediaRecorder) {
int result = nativeAddSurfaceFromMediaRecorder(mediaRecorder);
if (result < 0) {
@@ -126,18 +132,21 @@ public class GLEnvironment {
return result;
}
+ @UnsupportedAppUsage
public void activateSurfaceWithId(int surfaceId) {
if (!nativeActivateSurfaceId(surfaceId)) {
throw new RuntimeException("Could not activate surface " + surfaceId + "!");
}
}
+ @UnsupportedAppUsage
public void unregisterSurfaceId(int surfaceId) {
if (!nativeRemoveSurfaceId(surfaceId)) {
throw new RuntimeException("Could not unregister surface " + surfaceId + "!");
}
}
+ @UnsupportedAppUsage
public void setSurfaceTimestamp(long timestamp) {
if (!nativeSetSurfaceTimestamp(timestamp)) {
throw new RuntimeException("Could not set timestamp for current surface!");
diff --git a/media/mca/filterfw/java/android/filterfw/core/GLFrame.java b/media/mca/filterfw/java/android/filterfw/core/GLFrame.java
index 1558cc676d8b..9e3025fafb6e 100644
--- a/media/mca/filterfw/java/android/filterfw/core/GLFrame.java
+++ b/media/mca/filterfw/java/android/filterfw/core/GLFrame.java
@@ -17,6 +17,7 @@
package android.filterfw.core;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.core.Frame;
import android.filterfw.core.FrameFormat;
import android.filterfw.core.FrameManager;
@@ -223,6 +224,7 @@ public class GLFrame extends Frame {
}
@Override
+ @UnsupportedAppUsage
public void setBitmap(Bitmap bitmap) {
assertFrameMutable();
assertGLEnvValid();
@@ -283,6 +285,7 @@ public class GLFrame extends Frame {
setNativeViewport(rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top);
}
+ @UnsupportedAppUsage
public void generateMipMap() {
assertFrameMutable();
assertGLEnvValid();
@@ -291,6 +294,7 @@ public class GLFrame extends Frame {
}
}
+ @UnsupportedAppUsage
public void setTextureParameter(int param, int value) {
assertFrameMutable();
assertGLEnvValid();
@@ -300,6 +304,7 @@ public class GLFrame extends Frame {
}
}
+ @UnsupportedAppUsage
public int getTextureId() {
return getNativeTextureId();
}
diff --git a/media/mca/filterfw/java/android/filterfw/core/GraphRunner.java b/media/mca/filterfw/java/android/filterfw/core/GraphRunner.java
index b496c5451e4b..250cfaaba9d4 100644
--- a/media/mca/filterfw/java/android/filterfw/core/GraphRunner.java
+++ b/media/mca/filterfw/java/android/filterfw/core/GraphRunner.java
@@ -17,6 +17,8 @@
package android.filterfw.core;
+import android.annotation.UnsupportedAppUsage;
+
/**
* @hide
*/
@@ -50,6 +52,7 @@ public abstract class GraphRunner {
mFilterContext = context;
}
+ @UnsupportedAppUsage
public abstract FilterGraph getGraph();
public FilterContext getContext() {
@@ -81,12 +84,15 @@ public abstract class GraphRunner {
}
/** Starts running the graph. Will open the filters in the graph if they are not already open. */
+ @UnsupportedAppUsage
public abstract void run();
+ @UnsupportedAppUsage
public abstract void setDoneCallback(OnRunnerDoneListener listener);
public abstract boolean isRunning();
/** Stops graph execution. As part of stopping, also closes the graph nodes. */
+ @UnsupportedAppUsage
public abstract void stop();
/** Closes the filters in a graph. Can only be called if the graph is not running. */
@@ -96,5 +102,6 @@ public abstract class GraphRunner {
* Returns the last exception that happened during an asynchronous run. Returns null if
* there is nothing to report.
*/
+ @UnsupportedAppUsage
public abstract Exception getError();
}
diff --git a/media/mca/filterfw/java/android/filterfw/core/MutableFrameFormat.java b/media/mca/filterfw/java/android/filterfw/core/MutableFrameFormat.java
index 8c789754a3f6..ae2ad99899f0 100644
--- a/media/mca/filterfw/java/android/filterfw/core/MutableFrameFormat.java
+++ b/media/mca/filterfw/java/android/filterfw/core/MutableFrameFormat.java
@@ -17,6 +17,7 @@
package android.filterfw.core;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.core.FrameFormat;
import android.filterfw.core.KeyValueMap;
@@ -31,6 +32,7 @@ public class MutableFrameFormat extends FrameFormat {
super();
}
+ @UnsupportedAppUsage
public MutableFrameFormat(int baseType, int target) {
super(baseType, target);
}
@@ -44,6 +46,7 @@ public class MutableFrameFormat extends FrameFormat {
mTarget = target;
}
+ @UnsupportedAppUsage
public void setBytesPerSample(int bytesPerSample) {
mBytesPerSample = bytesPerSample;
mSize = SIZE_UNKNOWN;
@@ -61,6 +64,7 @@ public class MutableFrameFormat extends FrameFormat {
mSize = SIZE_UNKNOWN;
}
+ @UnsupportedAppUsage
public void setDimensions(int width, int height) {
int[] dimensions = new int[2];
dimensions[0] = width;
diff --git a/media/mca/filterfw/java/android/filterfw/core/Program.java b/media/mca/filterfw/java/android/filterfw/core/Program.java
index 19306480a8de..376c08554eb2 100644
--- a/media/mca/filterfw/java/android/filterfw/core/Program.java
+++ b/media/mca/filterfw/java/android/filterfw/core/Program.java
@@ -17,6 +17,7 @@
package android.filterfw.core;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.core.Frame;
/**
@@ -24,14 +25,17 @@ import android.filterfw.core.Frame;
*/
public abstract class Program {
+ @UnsupportedAppUsage
public abstract void process(Frame[] inputs, Frame output);
+ @UnsupportedAppUsage
public void process(Frame input, Frame output) {
Frame[] inputs = new Frame[1];
inputs[0] = input;
process(inputs, output);
}
+ @UnsupportedAppUsage
public abstract void setHostValue(String variableName, Object value);
public abstract Object getHostValue(String variableName);
diff --git a/media/mca/filterfw/java/android/filterfw/core/ShaderProgram.java b/media/mca/filterfw/java/android/filterfw/core/ShaderProgram.java
index a971cb6b7a9c..f41636e7cf76 100644
--- a/media/mca/filterfw/java/android/filterfw/core/ShaderProgram.java
+++ b/media/mca/filterfw/java/android/filterfw/core/ShaderProgram.java
@@ -17,6 +17,7 @@
package android.filterfw.core;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.core.Frame;
import android.filterfw.core.NativeAllocatorTag;
import android.filterfw.core.Program;
@@ -51,6 +52,7 @@ public class ShaderProgram extends Program {
private ShaderProgram(NativeAllocatorTag tag) {
}
+ @UnsupportedAppUsage
public ShaderProgram(FilterContext context, String fragmentShader) {
mGLEnvironment = getGLEnvironment(context);
allocate(mGLEnvironment, null, fragmentShader);
@@ -69,6 +71,7 @@ public class ShaderProgram extends Program {
this.setTimer();
}
+ @UnsupportedAppUsage
public static ShaderProgram createIdentity(FilterContext context) {
ShaderProgram program = nativeCreateIdentity(getGLEnvironment(context));
program.setTimer();
@@ -85,6 +88,7 @@ public class ShaderProgram extends Program {
}
@Override
+ @UnsupportedAppUsage
public void process(Frame[] inputs, Frame output) {
if (mTimer.LOG_MFF_RUNNING_TIMES) {
mTimer.start("glFinish");
@@ -129,6 +133,7 @@ public class ShaderProgram extends Program {
}
@Override
+ @UnsupportedAppUsage
public void setHostValue(String variableName, Object value) {
if (!setUniformValue(variableName, value)) {
throw new RuntimeException("Error setting uniform value for variable '" +
@@ -167,6 +172,7 @@ public class ShaderProgram extends Program {
}
}
+ @UnsupportedAppUsage
public void setSourceRegion(Quad region) {
setSourceRegion(region.p0.x, region.p0.y,
region.p1.x, region.p1.y,
@@ -181,6 +187,7 @@ public class ShaderProgram extends Program {
region.p3.x, region.p3.y);
}
+ @UnsupportedAppUsage
public void setSourceRect(float x, float y, float width, float height) {
setSourceRegion(x, y, x + width, y, x, y + height, x + width, y + height);
}
@@ -225,6 +232,7 @@ public class ShaderProgram extends Program {
}
}
+ @UnsupportedAppUsage
public void setMaximumTileSize(int size) {
mMaxTileSize = size;
}
diff --git a/media/mca/filterfw/java/android/filterfw/format/ImageFormat.java b/media/mca/filterfw/java/android/filterfw/format/ImageFormat.java
index d57f47c7a853..ac087305287f 100644
--- a/media/mca/filterfw/java/android/filterfw/format/ImageFormat.java
+++ b/media/mca/filterfw/java/android/filterfw/format/ImageFormat.java
@@ -17,6 +17,7 @@
package android.filterfw.format;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.core.FrameFormat;
import android.filterfw.core.MutableFrameFormat;
import android.graphics.Bitmap;
@@ -48,6 +49,7 @@ public class ImageFormat {
return result;
}
+ @UnsupportedAppUsage
public static MutableFrameFormat create(int width,
int height,
int colorspace,
@@ -59,6 +61,7 @@ public class ImageFormat {
target);
}
+ @UnsupportedAppUsage
public static MutableFrameFormat create(int colorspace, int target) {
return create(FrameFormat.SIZE_UNSPECIFIED,
FrameFormat.SIZE_UNSPECIFIED,
@@ -67,6 +70,7 @@ public class ImageFormat {
target);
}
+ @UnsupportedAppUsage
public static MutableFrameFormat create(int colorspace) {
return create(FrameFormat.SIZE_UNSPECIFIED,
FrameFormat.SIZE_UNSPECIFIED,
diff --git a/media/mca/filterfw/java/android/filterfw/geometry/Point.java b/media/mca/filterfw/java/android/filterfw/geometry/Point.java
index 4682a0db85fd..d7acf12dd1de 100644
--- a/media/mca/filterfw/java/android/filterfw/geometry/Point.java
+++ b/media/mca/filterfw/java/android/filterfw/geometry/Point.java
@@ -17,6 +17,7 @@
package android.filterfw.geometry;
+import android.annotation.UnsupportedAppUsage;
import java.lang.Math;
/**
@@ -24,12 +25,16 @@ import java.lang.Math;
*/
public class Point {
+ @UnsupportedAppUsage
public float x;
+ @UnsupportedAppUsage
public float y;
+ @UnsupportedAppUsage
public Point() {
}
+ @UnsupportedAppUsage
public Point(float x, float y) {
this.x = x;
this.y = y;
diff --git a/media/mca/filterfw/java/android/filterfw/geometry/Quad.java b/media/mca/filterfw/java/android/filterfw/geometry/Quad.java
index ee092fd1f650..610e5b80399d 100644
--- a/media/mca/filterfw/java/android/filterfw/geometry/Quad.java
+++ b/media/mca/filterfw/java/android/filterfw/geometry/Quad.java
@@ -17,6 +17,7 @@
package android.filterfw.geometry;
+import android.annotation.UnsupportedAppUsage;
import android.filterfw.geometry.Point;
import java.lang.Float;
@@ -29,14 +30,20 @@ import java.util.List;
*/
public class Quad {
+ @UnsupportedAppUsage
public Point p0;
+ @UnsupportedAppUsage
public Point p1;
+ @UnsupportedAppUsage
public Point p2;
+ @UnsupportedAppUsage
public Point p3;
+ @UnsupportedAppUsage
public Quad() {
}
+ @UnsupportedAppUsage
public Quad(Point p0, Point p1, Point p2, Point p3) {
this.p0 = p0;
this.p1 = p1;