Searched refs:graph (Results 1 - 25 of 54) sorted by relevance

123

/frameworks/support/navigation/common/ktx/src/androidTest/java/androidx/navigation/
H A DNavGraphTest.kt37 val graph = NavGraph(navGraphNavigator)
39 graph += destination
41 graph[DESTINATION_ID])
46 val graph = NavGraph(navGraphNavigator)
48 graph += destination
50 graph[DESTINATION_ID])
51 graph -= destination
53 DESTINATION_ID in graph)
58 val graph = NavGraph(navGraphNavigator)
62 graph
[all...]
H A DNavGraphBuilderTest.kt37 val graph = provider.navigation(startDestination = DESTINATION_ID) {
40 assertTrue("Destination should be added to the graph",
41 DESTINATION_ID in graph)
46 val graph = provider.navigation(startDestination = DESTINATION_ID) {
51 assertTrue("Destination should be added to the graph",
52 DESTINATION_ID in graph)
57 val graph = provider.navigation(startDestination = DESTINATION_ID) {
63 assertTrue("Destination should be added to the graph",
64 DESTINATION_ID in graph)
77 val graph
[all...]
/frameworks/compile/mclinker/unittests/
H A DGraphTest.cpp15 using namespace mcld::graph;
37 ListDigraph graph; local
39 ListDigraph::Node* u1 = graph.addNode();
40 ListDigraph::Node* u2 = graph.addNode();
41 ListDigraph::Node* u3 = graph.addNode();
59 graph.getHead(head);
62 graph.erase(*u2);
79 graph.getHead(head);
84 ListDigraph graph; local
86 ListDigraph::Node* u1 = graph
131 ListDigraph graph; local
178 ListDigraph graph; local
198 ListDigraph graph; local
218 ListDigraph graph; local
244 ListDigraph graph; local
270 ListDigraph graph; local
296 ListDigraph graph; local
314 Digraph graph; local
[all...]
/frameworks/support/navigation/common/src/test/java/androidx/navigation/
H A DNavGraphTest.java69 NavGraph graph = mNavGraphNavigator.createDestination();
70 graph.addDestination(destination);
71 return graph;
75 NavGraph graph = mNavGraphNavigator.createDestination();
76 graph.addDestinations(destinations);
77 return graph;
82 NavGraph graph = mNavGraphNavigator.createDestination();
84 graph.addDestination(destination);
90 NavGraph graph = createGraphWithDestination(destination);
92 assertThat(destination.getParent(), is(graph));
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DScheduler.java31 Scheduler(FilterGraph graph) { argument
32 mGraph = graph;
H A DSimpleScheduler.java28 public SimpleScheduler(FilterGraph graph) { argument
29 super(graph);
H A DRandomScheduler.java33 public RandomScheduler(FilterGraph graph) { argument
34 super(graph);
H A DRoundRobinScheduler.java32 public RoundRobinScheduler(FilterGraph graph) { argument
33 super(graph);
H A DFilterContext.java105 for (FilterGraph graph : mGraphs) {
106 graph.tearDown(this);
123 final void addGraph(FilterGraph graph) { argument
124 mGraphs.add(graph);
H A DOneShotScheduler.java39 public OneShotScheduler(FilterGraph graph) { argument
40 super(graph);
74 if (mLogVerbose) Log.v(TAG, "One pass through graph completed.");
H A DSyncRunner.java45 public SyncRunner(FilterContext context, FilterGraph graph, Class schedulerClass) { argument
56 mScheduler = (Scheduler)schedulerConstructor.newInstance(graph);
72 // Associate this runner and the graph with the context
74 mFilterContext.addGraph(graph);
80 // Setup graph filters
81 graph.setupFilters();
92 throw new RuntimeException("Trying to process graph that is not open!");
104 if (mLogVerbose) Log.v(TAG, "Closing graph.");
150 throw new RuntimeException("SyncRunner does not support stopping a graph!");
224 throw new RuntimeException("Calling step on scheduler with no graph i
[all...]
H A DAsyncRunner.java58 if (mLogVerbose) Log.v(TAG, "Starting background graph processing.");
61 if (mLogVerbose) Log.v(TAG, "Preparing filter graph for processing.");
64 if (mLogVerbose) Log.v(TAG, "Running graph.");
95 if (mLogVerbose) Log.v(TAG, "Done with background graph processing.");
124 if (mLogVerbose) Log.v(TAG, "Calling graph done callback.");
134 /** Create a new asynchronous graph runner with the given filter
146 /** Create a new asynchronous graph runner with the given filter
159 * completes running a graph, whether the completion is due to a stop() call
167 /** Sets the graph to be run. Will call prepare() on graph
170 setGraph(FilterGraph graph) argument
[all...]
/frameworks/support/navigation/runtime/ktx/src/androidTest/java/androidx/navigation/
H A DActivityNavigatorDestinationBuilderTest.kt35 val graph = navController.createGraph(startDestination = DESTINATION_ID) {
40 assertTrue("Destination should be added to the graph",
41 DESTINATION_ID in graph)
44 graph[DESTINATION_ID].label)
49 val graph = navController.createGraph(startDestination = DESTINATION_ID) {
54 assertTrue("Destination should be added to the graph",
55 DESTINATION_ID in graph)
58 (graph[DESTINATION_ID] as ActivityNavigator.Destination).component?.className)
63 val graph = navController.createGraph(startDestination = DESTINATION_ID) {
68 assertTrue("Destination should be added to the graph",
[all...]
H A DNavControllerTest.kt34 val graph = navController.createGraph(startDestination = DESTINATION_ID) {
37 assertTrue("Destination should be added to the graph",
38 DESTINATION_ID in graph)
H A DNavHostTest.kt35 val graph = navHost.createGraph(startDestination = DESTINATION_ID) {
38 assertTrue("Destination should be added to the graph",
39 DESTINATION_ID in graph)
/frameworks/support/navigation/testing/ktx/src/androidTest/java/androidx/navigation/testing/
H A DTestNavigatorDestinationBuilderTest.kt37 val graph = provider.navigation(startDestination = DESTINATION_ID) {
40 assertTrue("Destination should be added to the graph",
41 DESTINATION_ID in graph)
46 val graph = provider.navigation(startDestination = DESTINATION_ID) {
51 assertTrue("Destination should be added to the graph",
52 DESTINATION_ID in graph)
54 LABEL, graph[DESTINATION_ID].label)
/frameworks/support/navigation/fragment/ktx/src/androidTest/java/androidx/navigation/fragment/
H A DFragmentNavigatorDestinationBuilderTest.kt46 val graph = navHostFragment.createGraph(startDestination = DESTINATION_ID) {
49 assertTrue("Destination should be added to the graph",
50 DESTINATION_ID in graph)
53 (graph[DESTINATION_ID] as FragmentNavigator.Destination).fragmentClass)
62 val graph = navHostFragment.createGraph(startDestination = DESTINATION_ID) {
67 assertTrue("Destination should be added to the graph",
68 DESTINATION_ID in graph)
71 (graph[DESTINATION_ID] as FragmentNavigator.Destination).fragmentClass)
73 LABEL, graph[DESTINATION_ID].label)
/frameworks/base/media/mca/filterfw/java/android/filterfw/
H A DGraphEnvironment.java35 * A GraphEnvironment provides a simple front-end to filter graph setup and execution using the
38 * 2. Perform any configuration, such as adding graph references and setting a GL environment.
39 * 3. Load a graph file using loadGraph() or add a graph using addGraph().
59 public GraphHandle(FilterGraph graph) { argument
60 mGraph = graph;
95 * @param reader The GraphReader to use for graph loading, or null to auto-create one.
97 * null if you will not load any graph files.
105 * Returns the used graph reader. This will create one, if a reader has not been set already.
115 * Add graph reference
151 addGraph(FilterGraph graph) argument
[all...]
/frameworks/support/navigation/runtime/src/androidTest/java/androidx/navigation/
H A DNavInflaterTest.java51 NavGraph graph = navInflater.inflate(R.navigation.nav_simple);
53 assertThat(graph, is(notNullValue(NavGraph.class)));
54 assertThat(graph.getStartDestination(), is(R.id.start_test));
61 NavGraph graph = navInflater.inflate(R.navigation.nav_simple);
63 assertThat(graph, is(notNullValue(NavGraph.class)));
66 Pair<NavDestination, Bundle> result = graph.matchDeepLink(expectedUri);
108 NavGraph graph = navInflater.inflate(R.navigation.nav_default_arguments);
110 NavDestination startDestination = graph.findNode(graph.getStartDestination());
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphRunner.java27 * A GraphRunner schedules and executes the filter nodes of a graph.
197 public void enterSubGraph(FilterGraph graph, SubListener listener) { argument
199 onOpenGraph(graph);
289 private void onPrepare(FilterGraph graph) { argument
293 onOpenGraph(graph);
297 private void onOpenGraph(FilterGraph graph) { argument
298 loadFilters(graph);
299 mOpenedGraphs.add(graph);
380 for (FilterGraph graph : mOpenedGraphs) {
381 graph
386 onTearDown(FilterGraph graph) argument
393 loadFilters(FilterGraph graph) argument
404 closeFilters(FilterGraph graph) argument
668 start(FilterGraph graph) argument
681 enterSubGraph(FilterGraph graph, SubListener listener) argument
918 attachGraph(FilterGraph graph) argument
947 tearDownGraph(FilterGraph graph) argument
[all...]
H A DGraphExporter.java36 * Exports the graph as DOT (see http://en.wikipedia.org/wiki/DOT_language).
37 * Using the exported file, the graph can be visualized e.g. with the command line tool dot.
44 * 2. adb pull /data/data/<application name>/files/<graph filename>.gv graph.gv
45 * 3. dot -Tpng graph.gv -o graph.png
46 * 4. eog graph.png
48 static public void exportAsDot(FilterGraph graph, String filename, argument
52 Context myAppContext = graph.getContext().getApplicationContext();
53 Filter[] filters = graph
[all...]
H A DMffContext.java95 /** The set of graph runners within this context */
319 void addGraph(FilterGraph graph) { argument
321 mGraphs.add(graph);
430 for (FilterGraph graph : mGraphs) {
431 graph.tearDown();
H A DFilterGraph.java37 * A graph of Filter nodes.
40 * ports. Every filter belongs to exactly one graph and cannot be moved to another graph.
42 * FilterGraphs may contain sub-graphs that are dependent on the parent graph. These are typically
43 * used when inserting sub-graphs into MetaFilters. When a parent graph is torn down so are its
44 * sub-graphs. The same applies to flushing frames of a graph.
50 /** The context that this graph lives in */
59 /** The GraphRunner currently attached to this graph */
62 /** The set of sub-graphs of this graph */
65 /** The parent graph o
[all...]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DUtilsTest.java25 import com.android.settingslib.graph.BluetoothDeviceLayerDrawable;
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/
H A DMavenDependencyCollectorTask.groovy26 import org.eclipse.aether.graph.Dependency

Completed in 189 milliseconds

123