Lines Matching refs:Root
33 import android.provider.DocumentsContract.Root;
49 * Representation of a {@link Root}.
167 final RootInfo root = new RootInfo();
168 DurableUtils.readFromParcel(in, root);
169 return root;
179 final RootInfo root = new RootInfo();
180 root.authority = authority;
181 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID);
182 root.flags = getCursorInt(cursor, Root.COLUMN_FLAGS);
183 root.icon = getCursorInt(cursor, Root.COLUMN_ICON);
184 root.title = getCursorString(cursor, Root.COLUMN_TITLE);
185 root.summary = getCursorString(cursor, Root.COLUMN_SUMMARY);
186 root.documentId = getCursorString(cursor, Root.COLUMN_DOCUMENT_ID);
187 root.availableBytes = getCursorLong(cursor, Root.COLUMN_AVAILABLE_BYTES);
188 root.mimeTypes = getCursorString(cursor, Root.COLUMN_MIME_TYPES);
189 root.deriveFields();
190 return root;
241 // Note that "home" is the expected root id for the auto-created
282 return (flags & Root.FLAG_HAS_SETTINGS) != 0;
286 return (flags & Root.FLAG_SUPPORTS_IS_CHILD) != 0;
290 return (flags & Root.FLAG_SUPPORTS_CREATE) != 0;
294 return (flags & Root.FLAG_SUPPORTS_RECENTS) != 0;
298 return (flags & Root.FLAG_SUPPORTS_SEARCH) != 0;
302 return (flags & Root.FLAG_ADVANCED) != 0;
306 return (flags & Root.FLAG_LOCAL_ONLY) != 0;
310 return (flags & Root.FLAG_EMPTY) != 0;
314 return (flags & Root.FLAG_REMOVABLE_SD) != 0;
318 return (flags & Root.FLAG_REMOVABLE_USB) != 0;
363 // Sort by root type, then title, then summary.
379 return "Root{"