/frameworks/base/media/java/android/media/videoeditor/ |
Effect.java | 60 * @param durationMs The effect duration in milliseconds 63 long durationMs) { 68 if ((startTimeMs < 0) || (durationMs < 0)) { 71 if (startTimeMs + durationMs > mediaItem.getDuration()) { 78 mDurationMs = durationMs; 94 * @param durationMs of the effect in milliseconds 96 public void setDuration(long durationMs) { 97 if (durationMs <0) { 101 if (mStartTimeMs + durationMs > mMediaItem.getDuration()) { 108 mDurationMs = durationMs; [all...] |
Overlay.java | 58 * @param durationMs The duration 61 * startTimeMs and durationMs are incorrect. 64 long durationMs) { 69 if ((startTimeMs<0) || (durationMs<0) ) { 73 if (startTimeMs + durationMs > mediaItem.getDuration()) { 80 mDurationMs = durationMs; 106 * @param durationMs The duration in milliseconds 108 public void setDuration(long durationMs) { 109 if (durationMs < 0) { 113 if (mStartTimeMs + durationMs > mMediaItem.getDuration()) [all...] |
TransitionCrossfade.java | 44 * @param durationMs duration of the transition in milliseconds 51 MediaItem beforeMediaItem, long durationMs, int behavior) { 52 super(transitionId, afterMediaItem, beforeMediaItem, durationMs, behavior);
|
TransitionFadeBlack.java | 44 * @param durationMs duration of the transition 51 MediaItem beforeMediaItem, long durationMs, int behavior) { 52 super(transitionId, afterMediaItem, beforeMediaItem, durationMs, behavior);
|
EffectKenBurns.java | 50 * @param durationMs The duration of the Ken Burns effect in milliseconds 53 Rect endRect, long startTimeMs, long durationMs) { 54 super(mediaItem, effectId, startTimeMs, durationMs);
|
TransitionSliding.java | 54 * @param durationMs duration of the transition in milliseconds 63 MediaItem beforeMediaItem, long durationMs, int behavior, 65 super(transitionId, afterMediaItem, beforeMediaItem, durationMs, behavior);
|
EffectColor.java | 86 * @param durationMs The duration of this effect in milliseconds 94 long durationMs, int type, int color) { 95 super(mediaItem, effectId, startTimeMs, durationMs);
|
OverlayFrame.java | 81 * @param durationMs The overlay duration in milliseconds 84 * startTimeMs and durationMs are incorrect. 87 long startTimeMs,long durationMs) { 88 super(mediaItem, overlayId, startTimeMs, durationMs); 104 * @param durationMs The overlay duration in milliseconds 107 * startTimeMs and durationMs are incorrect. 110 long startTimeMs,long durationMs) { 111 super(mediaItem, overlayId, startTimeMs, durationMs);
|
Transition.java | 113 * @param durationMs The duration of the transition in milliseconds 117 MediaItem beforeMediaItem,long durationMs, 128 mDurationMs = durationMs; 131 if (durationMs > getMaximumDuration()) { 172 * @param durationMs the duration of the transition in milliseconds 174 public void setDuration(long durationMs) { 175 if (durationMs > getMaximumDuration()) { 179 mDurationMs = durationMs;
|
TransitionAlpha.java | 78 * @param durationMs duration of the transition in milliseconds 91 MediaItem beforeMediaItem, long durationMs, int behavior, 93 super(transitionId, afterMediaItem, beforeMediaItem, durationMs, behavior);
|
MediaImageItem.java | 92 * @param durationMs The duration of the image on the storyboard 97 public MediaImageItem(VideoEditor editor, String mediaItemId, String filename, long durationMs, 130 mDurationMs = durationMs; 289 * @param durationMs The duration of the image in the storyboard timeline 291 public void setDuration(long durationMs) { 292 if (durationMs == mDurationMs) { 312 mDurationMs = durationMs; 649 void invalidateTransitions(long startTimeMs, long durationMs) { 654 if (isOverlapping(startTimeMs, durationMs, 0, mBeginTransition.getDuration())) { 661 if (isOverlapping(startTimeMs, durationMs, [all...] |
VideoEditorImpl.java | [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
MovieTransition.java | 88 * @param durationMs The duration in milliseconds 91 MovieTransition(Class<?> type, String id, long durationMs, int behavior) { 94 mAppDurationMs = mDurationMs = durationMs; 110 * @param durationMs The duration in milliseconds 114 MovieTransition(Class<?> type, String id, long durationMs, int behavior, 118 mAppDurationMs = mDurationMs = durationMs; 134 * @param durationMs The duration in milliseconds 140 MovieTransition(Class<?> type, String id, long durationMs, int behavior, 144 mAppDurationMs = mDurationMs = durationMs; 179 * @param durationMs the duration of the transition in millisecond [all...] |
MovieOverlay.java | 80 * @param durationMs The duration
85 MovieOverlay(String id, long startTimeMs, long durationMs, String title,
89 mAppDurationMs = mDurationMs = durationMs;
107 * @param durationMs The duration in milliseconds
109 void setDuration(long durationMs) {
110 mDurationMs = durationMs;
124 * @param durationMs The duration in milliseconds
126 public void setAppDuration(long durationMs) {
127 mAppDurationMs = durationMs;
|
MovieEffect.java | 82 * @param durationMs of the effect in milliseconds
84 void setDuration(long durationMs) {
85 mDurationMs = durationMs;
|
ApiServiceListener.java | 222 * @param durationMs The duration of the image media item 226 long durationMs, Exception exception) {} 303 * @param durationMs The duration in milliseconds 307 long durationMs, Exception exception) {} 364 * @param durationMs The duration in milliseconds 368 String mediaItemId, long durationMs, Exception exception) {}
|
ApiService.java | 554 * @param durationMs The duration of the item (for images only, ignored for videos) 559 long durationMs, String themeId) { 567 intent.putExtra(PARAM_DURATION, durationMs); 686 * @param durationMs The media item duration 689 String mediaItemId, long durationMs) { 694 intent.putExtra(PARAM_DURATION, durationMs); 811 * @param durationMs The duration in milliseconds [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
VideoEditorHelper.java | 217 MediaItem afterMediaItem, MediaItem beforeMediaItem, long durationMs, 220 " Duration= " + durationMs + " Behaviour " + behavior); 224 beforeMediaItem, durationMs, behavior); 234 MediaItem afterMediaItem, MediaItem beforeMediaItem, long durationMs, 239 beforeMediaItem, durationMs, behavior); 249 MediaItem afterMediaItem, MediaItem beforeMediaItem, long durationMs, 253 beforeMediaItem, durationMs, behavior, direction); 264 MediaItem afterMediaItem, MediaItem beforeMediaItem, long durationMs, 268 beforeMediaItem, durationMs, behavior, maskFilename, 280 Bitmap bitmap, long startTimeMs, long durationMs) { [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
PlayheadView.java | 135 final long durationMs = mProject.computeDuration(); 136 final long durationSec = durationMs / 1000; 139 if (durationMs == 0 || durationSec == 0) { 166 final float spacing = ((float) (width * tickMs) / (float) durationMs);
|
MediaLinearLayout.java | [all...] |
/frameworks/av/media/libmedia/ |
mediaplayer.cpp | 399 int durationMs; 400 status_t ret = mPlayer->getDuration(&durationMs); 404 durationMs = -1; 409 *msec = durationMs; 432 int durationMs; 433 status_t err = mPlayer->getDuration(&durationMs); 440 if (msec > durationMs) { 442 "durationMs = %d", 444 durationMs); 446 msec = durationMs; [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 321 final float centerY, final float durationMs) { 322 final float incrementPerMs = (scale - getScale()) / durationMs; 329 float currentMs = Math.min(durationMs, now - startTime); 333 if (currentMs < durationMs) {
|
/frameworks/base/core/jni/ |
android_media_ToneGenerator.cpp | 41 static jboolean android_media_ToneGenerator_startTone(JNIEnv *env, jobject thiz, jint toneType, jint durationMs) { 51 return lpToneGen->startTone((ToneGenerator::tone_type) toneType, durationMs);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaRecorderTest.java | 383 private void testSetMaxDuration(long durationMs, long toleranceMs) throws Exception { 386 mMediaRecorder.setMaxDuration((int)durationMs); 391 if (!mMaxDurationCond.block(durationMs + toleranceMs)) { 397 checkRecordedTime(durationMs, actualDurationMs, toleranceMs);
|
MediaPlayerTest.java | 499 final long durationMs = RECORDED_DURATION_MS; 505 recordVideo(width, height, angle, file, durationMs); 517 int w, int h, int angle, String file, long durationMs) throws Exception { 531 Thread.sleep(durationMs); [all...] |