Lines Matching defs:graph

45  * {@link NavGraph navigation graph} owned by the controller. These graphs are typically
182 * to construct the {@link NavGraph navigation graph} for this nav controller should be added
183 * to this navigator provider before the graph is constructed.
321 // We're already at the startDestination of the graph so there's no 'Up' to go to
335 * Sets the {@link NavGraph navigation graph} as specified in the application manifest.
337 * <p>Applications may declare a graph resource in their manifest instead of declaring
341 * <meta-data android:name="android.nav.graph" android:resource="@xml/my_nav_graph" />
344 * <p>The inflated graph can be retrieved via {@link #getGraph()}. Calling this will have no
345 * effect if there is no metadata graph specified.</p>
372 * Sets the {@link NavGraph navigation graph} to the specified resource.
373 * Any current navigation graph data will be replaced.
375 * <p>The inflated graph can be retrieved via {@link #getGraph()}.</p>
377 * @param graphResId resource id of the navigation graph to inflate
390 * Sets the {@link NavGraph navigation graph} to the specified graph.
391 * Any current navigation graph data will be replaced.
393 * <p>The graph can be retrieved later via {@link #getGraph()}.</p>
395 * @param graph graph to set
399 public void setGraph(@NonNull NavGraph graph) {
400 mGraph = graph;
433 // Navigate to the first destination in the graph
442 * This is called automatically for you the first time you set the graph if you've passed in an
449 * {@link #createDeepLink()}. This assumes that the current graph shares
455 * <p>The {@link #getGraph() navigation graph} should be set before calling this method.</p>
519 NavGraph graph = mGraph;
522 NavDestination node = i == 0 ? mGraph : graph.findNode(destinationId);
529 graph = (NavGraph) node;
541 * Gets the topmost navigation graph associated with this NavController.
573 * Navigate to a destination from the current navigation graph. This supports both navigating
584 * Navigate to a destination from the current navigation graph. This supports both navigating
596 * Navigate to a destination from the current navigation graph. This supports both navigating
740 // Set the graph right away, onGraphCreated will handle restoring the