Home | History | Annotate | Download | only in provider

Lines Matching defs:Root

66     // content://com.example/root/
67 // content://com.example/root/sdcard/
68 // content://com.example/root/sdcard/recent/
69 // content://com.example/root/sdcard/search/?query=pony
300 * Constants related to a root of documents, including {@link Cursor} column
301 * names and flags. A root is the start of a tree of documents, such as a
302 * physical storage device, or an account. Each root starts at the directory
303 * referenced by {@link Root#COLUMN_DOCUMENT_ID}, which can recursively
308 public final static class Root {
309 private Root() {
313 * Unique ID of a root. This ID is both provided by and interpreted by a
322 * Flags that apply to a root. This column is required.
334 * Icon resource ID for a root. This column is required.
341 * Title for a root, which will be shown to a user. This column is
350 * Summary for this root, which may be shown to a user. This column is
361 * this root. This column is required.
370 * Number of bytes available in this root. This column is optional, and
378 * MIME types supported by this root. This column is optional, and if
379 * {@code null} the root is assumed to support all MIME types. Multiple
380 * MIME types can be separated by a newline. For example, a root
388 public static final String MIME_TYPE_ITEM = "vnd.android.document/root";
391 * Flag indicating that at least one directory under this root supports
400 * Flag indicating that this root offers content that is strictly local
409 * Flag indicating that this root can be queried to provide recently
419 * Flag indicating that this root supports search.
430 * Flag indicating that this root is currently empty. This may be used
431 * to hide the root when opening documents, but the root will still be
433 * also set. If the value of this flag changes, such as when a root
445 * Flag indicating that this root should only be visible to advanced
490 private static final String PATH_ROOT = "root";
502 * {@link Root}.
512 * Build URI representing the given {@link Root#COLUMN_ROOT_ID} in a
523 * Build URI representing the recently modified documents of a specific root
568 * root in a document provider. When queried, a provider will return zero or
607 * Extract the {@link Root#COLUMN_ROOT_ID} from the given URI.
612 throw new IllegalArgumentException("Not a root: " + rootUri);
615 throw new IllegalArgumentException("Not a root: " + rootUri);