Lines Matching defs:root
103 final RootInfo root = getCurrentRoot();
105 // If we're browsing a specific root, and that root went away, then we
107 if (state.action == State.ACTION_BROWSE && root != null) {
108 if (mRoots.getRootBlocking(root.authority, root.rootId) == null) {
128 final RootInfo root = getCurrentRoot();
139 mSearchManager.update(root);
161 void onRootPicked(RootInfo root) {
164 // Clear entire backstack and start in new root
165 state.stack.root = root;
169 mSearchManager.update(root);
174 if (mRoots.isRecentsRoot(root)) {
177 new PickRootTask(root).executeOnExecutor(getCurrentExecutor());
227 final RootInfo root = getCurrentRoot();
229 intent.setDataAndType(DocumentsContract.buildRootUri(root.authority, root.rootId),
239 * Call this when directory changes. Prior to root fragment update
470 if (state.stack.root != null) {
471 return state.stack.root;
508 public PickRootTask(RootInfo root) {
509 mRoot = root;
519 Log.w(mTag, "Failed to find root", e);
647 final RootInfo root = getCurrentRoot();
648 title.setText(root.title);
668 final RootInfo root = getCurrentRoot();
669 title.setText(root.title);
708 * @param root Info about the current directory.
710 void update(RootInfo root) {
736 showMenu(root != null
737 && ((root.flags & Root.FLAG_SUPPORTS_SEARCH) != 0));