Home | History | Annotate | Download | only in provider

Lines Matching defs:Media

31 import android.media.MiniThumbFile;
32 import android.media.ThumbnailUtils;
46 * The Media provider contains meta data for all available media on both internal
52 public static final String AUTHORITY = "media";
58 * This broadcast is only sent if MTP activity has modified the media database during the
66 * The method name used by the media scanner and mtp to tell the media provider to
74 * This is for internal use by the media scanner only.
80 * for different types of media.
96 * Activity Action: Perform a search for media.
110 * An intent to perform a search for music media and automatically play content from the
128 "android.media.action.MEDIA_PLAY_FROM_SEARCH";
131 * An intent to perform a search for readable media and automatically play content from the
140 * sense for apps that can support large-scale search of text media, such as services connected
145 "android.media.action.TEXT_OPEN_FROM_SEARCH";
148 * An intent to perform a search for video media and automatically play content from the
162 "android.media.action.VIDEO_PLAY_FROM_SEARCH";
226 public static final String INTENT_ACTION_STILL_IMAGE_CAMERA = "android.media.action.STILL_IMAGE_CAMERA";
242 "android.media.action.STILL_IMAGE_CAMERA_SECURE";
248 public static final String INTENT_ACTION_VIDEO_CAMERA = "android.media.action.VIDEO_CAMERA";
267 public final static String ACTION_IMAGE_CAPTURE = "android.media.action.IMAGE_CAPTURE";
295 "android.media.action.IMAGE_CAPTURE_SECURE";
318 public final static String ACTION_VIDEO_CAPTURE = "android.media.action.VIDEO_CAPTURE";
344 * The string that is used when a media attribute is not known. For example,
380 * The time the file was added to the media provider
389 * NOTE: This is for internal use by the media scanner. Do not modify this field.
402 * Used to pass the new file's object handle through the media scanner
403 * from MTP to the media provider
404 * For internal use only by MTP, media scanner and media provider.
411 * Non-zero if the media file is drm-protected
429 * Media provider table containing an index of all files in the media storage,
430 * including non-media files. This should be used by applications that work with
431 * non-media file types (text, HTML, PDF, etc) as well as applications that need to
432 * work with multiple media file types in a single query.
492 * Fields for master table for all media files.
529 * The media type (audio, video, image or playlist)
530 * of the file, or 0 for not a media file
644 MiniThumbFile thumbFile = new MiniThumbFile(isVideo ? Video.Media.EXTERNAL_CONTENT_URI
645 : Images.Media.EXTERNAL_CONTENT_URI);
711 .toString().replaceFirst("thumbnails", "media"));
808 public static final class Media implements ImageColumns {
923 values.put(Images.Media.TITLE, title);
924 values.put(Images.Media.DESCRIPTION, description);
925 values.put(Images.Media.MIME_TYPE, "image/jpeg");
969 * Get the content:// style URI for the image media table on the
973 * @return the URI to the image media table on the given volume
977 "/images/media");
1091 * Get the content:// style URI for the image media table on the
1095 * @return the URI to the image media table on the given volume
1297 * Does not exist in the database - only used by the media scanner for inserts.
1369 public static final class Media implements AudioColumns {
1383 * Get the content:// style URI for the audio media table on the
1387 * @return the URI to the audio media table on the given volume
1391 "/audio/media");
1436 * <p>Output: An uri to the recorded sound stored in the Media Library
1491 "/audio/media/" + audioId + "/genres");
1574 * The time the file was added to the media provider
1583 * NOTE: This is for internal use by the media scanner. Do not modify this field.
2027 public static final class Media implements VideoColumns {
2029 * Get the content:// style URI for the video media table on the
2033 * @return the URI to the video media table on the given volume
2037 "/video/media");
2134 * Get the content:// style URI for the image media table on the
2138 * @return the URI to the image media table on the given volume
2200 * Uri for querying the state of the media scanner.
2207 * Name of current volume being scanned by the media scanner.
2212 * Name of the file signaling the media scanner to ignore media in the containing directory
2220 * Get the media provider's version.
2221 * Applications that import data from the media provider into their own caches
2222 * can use this to detect that the media provider changed, and reimport data