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

Commit f336c031 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add @UnsupportedAppUsage annotations"

parents 3d05f769 eb85b9bd
Loading
Loading
Loading
Loading
+0 −66
Original line number Diff line number Diff line
@@ -1784,72 +1784,6 @@ Landroid/database/sqlite/SQLiteStatement;-><init>(Landroid/database/sqlite/SQLit
Landroid/database/sqlite/SqliteWrapper;->checkSQLiteException(Landroid/content/Context;Landroid/database/sqlite/SQLiteException;)V
Landroid/database/sqlite/SqliteWrapper;->delete(Landroid/content/Context;Landroid/content/ContentResolver;Landroid/net/Uri;Ljava/lang/String;[Ljava/lang/String;)I
Landroid/database/sqlite/SqliteWrapper;->update(Landroid/content/Context;Landroid/content/ContentResolver;Landroid/net/Uri;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I
Landroid/filterfw/core/Filter;-><init>(Ljava/lang/String;)V
Landroid/filterfw/core/Filter;->isAvailable(Ljava/lang/String;)Z
Landroid/filterfw/core/Filter;->setInputValue(Ljava/lang/String;Ljava/lang/Object;)V
Landroid/filterfw/core/FilterContext;->getFrameManager()Landroid/filterfw/core/FrameManager;
Landroid/filterfw/core/FilterContext;->getGLEnvironment()Landroid/filterfw/core/GLEnvironment;
Landroid/filterfw/core/FilterGraph;->getFilter(Ljava/lang/String;)Landroid/filterfw/core/Filter;
Landroid/filterfw/core/FilterGraph;->tearDown(Landroid/filterfw/core/FilterContext;)V
Landroid/filterfw/core/Frame;->getBitmap()Landroid/graphics/Bitmap;
Landroid/filterfw/core/Frame;->getFormat()Landroid/filterfw/core/FrameFormat;
Landroid/filterfw/core/Frame;->getTimestamp()J
Landroid/filterfw/core/Frame;->release()Landroid/filterfw/core/Frame;
Landroid/filterfw/core/Frame;->setInts([I)V
Landroid/filterfw/core/Frame;->setTimestamp(J)V
Landroid/filterfw/core/FrameFormat;->getHeight()I
Landroid/filterfw/core/FrameFormat;->getTarget()I
Landroid/filterfw/core/FrameFormat;->getWidth()I
Landroid/filterfw/core/FrameFormat;->mutableCopy()Landroid/filterfw/core/MutableFrameFormat;
Landroid/filterfw/core/FrameManager;->duplicateFrame(Landroid/filterfw/core/Frame;)Landroid/filterfw/core/Frame;
Landroid/filterfw/core/FrameManager;->newBoundFrame(Landroid/filterfw/core/FrameFormat;IJ)Landroid/filterfw/core/Frame;
Landroid/filterfw/core/FrameManager;->newFrame(Landroid/filterfw/core/FrameFormat;)Landroid/filterfw/core/Frame;
Landroid/filterfw/core/GLEnvironment;->activate()V
Landroid/filterfw/core/GLEnvironment;->activateSurfaceWithId(I)V
Landroid/filterfw/core/GLEnvironment;->deactivate()V
Landroid/filterfw/core/GLEnvironment;->isActive()Z
Landroid/filterfw/core/GLEnvironment;->registerSurfaceFromMediaRecorder(Landroid/media/MediaRecorder;)I
Landroid/filterfw/core/GLEnvironment;->setSurfaceTimestamp(J)V
Landroid/filterfw/core/GLEnvironment;->swapBuffers()V
Landroid/filterfw/core/GLEnvironment;->unregisterSurfaceId(I)V
Landroid/filterfw/core/GLFrame;->generateMipMap()V
Landroid/filterfw/core/GLFrame;->getTextureId()I
Landroid/filterfw/core/GLFrame;->setBitmap(Landroid/graphics/Bitmap;)V
Landroid/filterfw/core/GLFrame;->setTextureParameter(II)V
Landroid/filterfw/core/GraphRunner;->getError()Ljava/lang/Exception;
Landroid/filterfw/core/GraphRunner;->getGraph()Landroid/filterfw/core/FilterGraph;
Landroid/filterfw/core/GraphRunner;->run()V
Landroid/filterfw/core/GraphRunner;->setDoneCallback(Landroid/filterfw/core/GraphRunner$OnRunnerDoneListener;)V
Landroid/filterfw/core/GraphRunner;->stop()V
Landroid/filterfw/core/MutableFrameFormat;-><init>(II)V
Landroid/filterfw/core/MutableFrameFormat;->setBytesPerSample(I)V
Landroid/filterfw/core/MutableFrameFormat;->setDimensions(II)V
Landroid/filterfw/core/Program;->process(Landroid/filterfw/core/Frame;Landroid/filterfw/core/Frame;)V
Landroid/filterfw/core/Program;->process([Landroid/filterfw/core/Frame;Landroid/filterfw/core/Frame;)V
Landroid/filterfw/core/Program;->setHostValue(Ljava/lang/String;Ljava/lang/Object;)V
Landroid/filterfw/core/ShaderProgram;-><init>(Landroid/filterfw/core/FilterContext;Ljava/lang/String;)V
Landroid/filterfw/core/ShaderProgram;->createIdentity(Landroid/filterfw/core/FilterContext;)Landroid/filterfw/core/ShaderProgram;
Landroid/filterfw/core/ShaderProgram;->process([Landroid/filterfw/core/Frame;Landroid/filterfw/core/Frame;)V
Landroid/filterfw/core/ShaderProgram;->setHostValue(Ljava/lang/String;Ljava/lang/Object;)V
Landroid/filterfw/core/ShaderProgram;->setMaximumTileSize(I)V
Landroid/filterfw/core/ShaderProgram;->setSourceRect(FFFF)V
Landroid/filterfw/core/ShaderProgram;->setSourceRegion(Landroid/filterfw/geometry/Quad;)V
Landroid/filterfw/format/ImageFormat;->create(I)Landroid/filterfw/core/MutableFrameFormat;
Landroid/filterfw/format/ImageFormat;->create(II)Landroid/filterfw/core/MutableFrameFormat;
Landroid/filterfw/format/ImageFormat;->create(IIII)Landroid/filterfw/core/MutableFrameFormat;
Landroid/filterfw/geometry/Point;-><init>()V
Landroid/filterfw/geometry/Point;-><init>(FF)V
Landroid/filterfw/geometry/Point;->x:F
Landroid/filterfw/geometry/Point;->y:F
Landroid/filterfw/geometry/Quad;-><init>()V
Landroid/filterfw/geometry/Quad;-><init>(Landroid/filterfw/geometry/Point;Landroid/filterfw/geometry/Point;Landroid/filterfw/geometry/Point;Landroid/filterfw/geometry/Point;)V
Landroid/filterfw/geometry/Quad;->p0:Landroid/filterfw/geometry/Point;
Landroid/filterfw/geometry/Quad;->p1:Landroid/filterfw/geometry/Point;
Landroid/filterfw/geometry/Quad;->p2:Landroid/filterfw/geometry/Point;
Landroid/filterfw/geometry/Quad;->p3:Landroid/filterfw/geometry/Point;
Landroid/filterfw/GraphEnvironment;-><init>()V
Landroid/filterfw/GraphEnvironment;->getRunner(II)Landroid/filterfw/core/GraphRunner;
Landroid/filterfw/GraphEnvironment;->loadGraph(Landroid/content/Context;I)I
Landroid/graphics/ColorMatrixColorFilter;->setColorMatrixArray([F)V
Landroid/graphics/FontFamily;->mNativePtr:J
Landroid/graphics/FontListParser;->parse(Ljava/io/InputStream;)Landroid/text/FontConfig;
+4 −0
Original line number Diff line number Diff line
@@ -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:
+4 −0
Original line number Diff line number Diff line
@@ -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));
    }
+3 −0
Original line number Diff line number Diff line
@@ -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;
    }
+3 −0
Original line number Diff line number Diff line
@@ -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();
Loading