Home | History | Annotate | Download | only in util

Lines Matching refs:Video

25 import android.provider.MediaStore.Video;
26 import android.provider.MediaStore.Video.VideoColumns;
35 // This function can decide which folder to save the video file, and generate
36 // the needed information for the video file including filename.
89 * Insert the content (saved file) with proper video properties.
96 values.put(Video.Media.TITLE, mDstFileInfo.mFileName);
97 values.put(Video.Media.DISPLAY_NAME, mDstFileInfo.mFile.getName());
98 values.put(Video.Media.MIME_TYPE, "video/mp4");
99 values.put(Video.Media.DATE_TAKEN, nowInMs);
100 values.put(Video.Media.DATE_MODIFIED, nowInSec);
101 values.put(Video.Media.DATE_ADDED, nowInSec);
102 values.put(Video.Media.DATA, mDstFileInfo.mFile.getAbsolutePath());
103 values.put(Video.Media.SIZE, mDstFileInfo.mFile.length());
105 values.put(Video.Media.DURATION, durationMs);
121 values.put(Video.Media.DATE_TAKEN, timeTaken);
129 values.put(Video.Media.LATITUDE, latitude);
130 values.put(Video.Media.LONGITUDE, longitude);
132 values.put(Video.Media.RESOLUTION, cursor.getString(3));
137 return contentResolver.insert(Video.Media.EXTERNAL_CONTENT_URI, values);