HomeSort by relevance Sort by last modified time
    Searched defs:endMs (Results 1 - 6 of 6) sorted by null

  /packages/apps/Gallery2/src/com/android/gallery3d/app/
VideoUtils.java 71 public static void startTrim(File src, File dst, int startMs, int endMs)
74 genVideoUsingMuxer(src.getPath(), dst.getPath(), startMs, endMs,
77 trimUsingMp4Parser(src, dst, startMs, endMs);
121 * @param endMs end time for trimming in milliseconds. Set to negative if
128 int startMs, int endMs, boolean useAudio, boolean useVideo)
206 if (endMs > 0 && bufferInfo.presentationTimeUs > (endMs * 1000)) {
225 private static void trimUsingMp4Parser(File src, File dst, int startMs, int endMs)
235 double endTime = endMs / 1000;
  /frameworks/base/media/java/android/media/videoeditor/
MediaVideoItem.java 98 * @param endMs End time in milliseconds. Set to {@link #END_OF_FILE} to
108 int renderingMode, long beginMs, long endMs, int volumePercent, boolean muted,
184 mEndBoundaryTimeMs = endMs == END_OF_FILE ? mDurationMs : endMs;
205 * @param endMs End time in milliseconds. Set to {@link #END_OF_FILE} to
212 public void setExtractBoundaries(long beginMs, long endMs) {
217 if (endMs > mDurationMs) {
221 if ((endMs != -1) && (beginMs >= endMs) ) {
225 if ((beginMs < 0) || ((endMs != -1) && (endMs < 0)))
    [all...]
MediaImageItem.java 620 long startMs, long endMs,
632 if (startMs > endMs) {
636 if (endMs > mDurationMs) {
641 height, startMs, endMs, thumbnailCount, indices, callback, 0);
    [all...]
VideoEditorImpl.java     [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/service/
VideoEditorProject.java 666 long endMs = 0;
672 endMs = beginMs + mediaItem.getAppTimelineDuration();
676 endMs -= mediaItem.getEndTransition().getAppDuration();
680 if (timeMs >= beginMs && timeMs <= endMs) {
681 if (timeMs - beginMs < endMs - timeMs) { // Closer to the beginning
688 beginMs = endMs;
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarProvider2.java     [all...]

Completed in 446 milliseconds