Search in sources :

Example 6 with SyncRunner

use of android.filterfw.core.SyncRunner in project android_frameworks_base by crdroidandroid.

the class FilterGraphEffect method createGraph.

private void createGraph(String graphString) {
    GraphReader reader = new TextGraphReader();
    try {
        mGraph = reader.readGraphString(graphString);
    } catch (GraphIOException e) {
        throw new RuntimeException("Could not setup effect", e);
    }
    if (mGraph == null) {
        throw new RuntimeException("Could not setup effect");
    }
    mRunner = new SyncRunner(getFilterContext(), mGraph, mSchedulerClass);
}
Also used : GraphReader(android.filterfw.io.GraphReader) TextGraphReader(android.filterfw.io.TextGraphReader) TextGraphReader(android.filterfw.io.TextGraphReader) GraphIOException(android.filterfw.io.GraphIOException) SyncRunner(android.filterfw.core.SyncRunner)

Aggregations

SyncRunner (android.filterfw.core.SyncRunner)6 GraphIOException (android.filterfw.io.GraphIOException)6 GraphReader (android.filterfw.io.GraphReader)6 TextGraphReader (android.filterfw.io.TextGraphReader)6