/frameworks/base/media/java/android/media/videoeditor/ |
AudioTrack.java | 106 * @param endMs end time in the audio track in milliseconds (relative to the 124 long startTimeMs,long beginMs, long endMs, boolean loop, 172 if (endMs == MediaItem.END_OF_FILE) { 173 endMs = properties.audioDuration; 184 mTimelineDurationMs = endMs - beginMs; 188 mEndBoundaryTimeMs = endMs; 358 * @param endMs end time in the audio track in milliseconds (relative to the 361 public void setExtractBoundaries(long beginMs, long endMs) { 365 if (endMs > mDurationMs) { 371 if (endMs < 0) [all...] |
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...] |
MediaItem.java | 565 * @param endMs The end of the time range in milliseconds 573 long startMs, long endMs, 585 long startMs, long endMs, 593 getThumbnailList(width, height, startMs, endMs,
|
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...] |
MediaArtistNativeHelper.java | [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
DateIntervalFormat.java | 66 public static String formatDateRange(long startMs, long endMs, int flags, String olsonId) { 71 return formatDateRange(Locale.getDefault(), tz, startMs, endMs, flags); 76 public static String formatDateRange(Locale locale, TimeZone tz, long startMs, long endMs, int flags) { 81 if (startMs == endMs) { 85 endCalendar.setTimeInMillis(endMs); 94 if (startMs != endMs && endsAtMidnight && 97 endMs -= DAY_IN_MS; 102 return formatDateInterval(getFormatter(skeleton, locale.toString(), tz.getID()), startMs, endMs);
|
/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)) { 230 private static void trimUsingMp4Parser(File src, File dst, int startMs, int endMs) 240 double endTime = endMs / 1000;
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
BlockingStateListener.java | 233 long endMs = SystemClock.elapsedRealtime(); 234 timeoutLeft -= (endMs - startMs); 235 startMs = endMs;
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
MovieAudioTrack.java | 322 * @param endMs end time in the audio track in milliseconds (relative to the
325 void setExtractBoundaries(long beginMs, long endMs) {
327 mEndBoundaryTimeMs = endMs;
|
MovieMediaItem.java | 307 * @param endMs End time in milliseconds. 309 public void setAppExtractBoundaries(long beginMs, long endMs) { 311 mAppEndBoundaryTimeMs = endMs;
|
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...] |
ApiService.java | 659 * @param endMs The end time in milliseconds 664 long startMs, long endMs, int count, int token, int[] indices) { 672 intent.putExtra(PARAM_END_TIME, endMs); [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
MediaLinearLayout.java | [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
VideoEditorPreviewTest.java | 148 protected void validatePreviewProgress(int startMs, int endMs, 167 if (endMs == -1) { 171 waitingTime += (endMs - startMs); 175 mVideoEditor.startPreview(surfaceHolder, startMs, endMs, loop, 1, [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProvider2.java | [all...] |