Lines Matching defs:root
133 private static final String EXTRA_ROOT = "root";
142 public static void showNormal(FragmentManager fm, RootInfo root, DocumentInfo doc, int anim) {
143 show(fm, TYPE_NORMAL, root, doc, null, anim);
146 public static void showSearch(FragmentManager fm, RootInfo root, String query, int anim) {
147 show(fm, TYPE_SEARCH, root, null, query, anim);
154 private static void show(FragmentManager fm, int type, RootInfo root, DocumentInfo doc,
158 args.putParcelable(EXTRA_ROOT, root);
183 private static String buildStateKey(RootInfo root, DocumentInfo doc) {
185 builder.append(root != null ? root.authority : "null").append(';');
186 builder.append(root != null ? root.rootId : "null").append(';');
252 final RootInfo root = getArguments().getParcelable(EXTRA_ROOT);
257 mStateKey = buildStateKey(root, doc);
285 context, mType, root, doc, contentsUri, state.userSortOrder);
288 root.authority, root.rootId, query);
293 context, mType, root, doc, contentsUri, state.userSortOrder);
411 final RootInfo root = getArguments().getParcelable(EXTRA_ROOT);
414 if (root != null && doc != null) {
416 root.authority, root.rootId, doc.documentId);
948 final RootInfo root = roots.getRootBlocking(docAuthority, docRootId);
950 iconDrawable = root.loadGridIcon(context);
952 iconDrawable = root.loadIcon(context);
959 summary.setText(root.getDirectoryString());
963 if (iconDrawable != null && roots.isIconUniqueBlocking(root)) {
967 summary.setText(root.getDirectoryString());