/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
H A D | MovieTransition.java | 88 * @param durationMs The duration in milliseconds 91 MovieTransition(Class<?> type, String id, long durationMs, int behavior) { argument 94 mAppDurationMs = mDurationMs = durationMs; 110 * @param durationMs The duration in milliseconds 114 MovieTransition(Class<?> type, String id, long durationMs, int behavior, argument 118 mAppDurationMs = mDurationMs = durationMs; 134 * @param durationMs The duration in milliseconds 140 MovieTransition(Class<?> type, String id, long durationMs, int behavior, argument 144 mAppDurationMs = mDurationMs = durationMs; 179 * @param durationMs th 181 setDuration(long durationMs) argument 197 setAppDuration(long durationMs) argument [all...] |
H A D | MovieOverlay.java | 80 * @param durationMs The duration
85 MovieOverlay(String id, long startTimeMs, long durationMs, String title,
argument 89 mAppDurationMs = mDurationMs = durationMs;
107 * @param durationMs The duration in milliseconds
109 void setDuration(long durationMs) {
argument 110 mDurationMs = durationMs;
124 * @param durationMs The duration in milliseconds
126 public void setAppDuration(long durationMs) {
argument 127 mAppDurationMs = durationMs;
|
H A D | MovieEffect.java | 82 * @param durationMs of the effect in milliseconds
84 void setDuration(long durationMs) {
argument 85 mDurationMs = durationMs;
|
H A D | 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) {} 225 onMediaItemDurationSet(String projectPath, String mediaItemId, long durationMs, Exception exception) argument 306 onTransitionDurationSet(String projectPath, String transitionId, long durationMs, Exception exception) argument 367 onOverlayDurationSet(String projectPath, String overlayId, String mediaItemId, long durationMs, Exception exception) argument
|
H A D | 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 818 String afterMediaItemId, String transitionId, long durationMs, int behavior, 825 intent.putExtra(PARAM_DURATION, durationMs); 841 * @param durationMs Th 557 addMediaItemImageUri(Context context, String projectPath, String mediaItemId, String afterMediaItemId, Uri uri, int renderingMode, long durationMs, String themeId) argument 688 setMediaItemDuration(Context context, String projectPath, String mediaItemId, long durationMs) argument 817 insertAlphaTransition(Context context, String projectPath, String afterMediaItemId, String transitionId, long durationMs, int behavior, int maskRawResourceId, int blending, boolean invert) argument 844 insertCrossfadeTransition(Context context, String projectPath, String afterMediaItemId, String transitionId, long durationMs, int behavior) argument 867 insertFadeBlackTransition(Context context, String projectPath, String afterMediaItemId, String transitionId, long durationMs, int behavior) argument 891 insertSlidingTransition(Context context, String projectPath, String afterMediaItemId, String transitionId, long durationMs, int behavior, int direction) argument 930 setTransitionDuration(Context context, String projectPath, String transitionId, long durationMs) argument 997 addEffectColor(Context context, String projectPath, String mediaItemId, String effectId, long startTimeMs, long durationMs, int type, int param) argument 1024 addEffectKenBurns(Context context, String projectPath, String mediaItemId, String effectId, long startTimeMs, long durationMs, Rect startRect, Rect endRect) argument 1069 addOverlay(Context context, String projectPath, String mediaItemId, String overlayId, Bundle userAttributes, long startTimeMs, long durationMs) argument 1132 setOverlayDuration(Context context, String projectPath, String mediaItemId, String overlayId, long durationMs) argument [all...] |
H A D | VideoEditorProject.java | 143 * @param durationMs The project duration 150 long lastSaved, long playheadPosMs, long durationMs, int zoomLevel, 166 mProjectDurationMs = durationMs; 1192 long durationMs = 0; 1205 durationMs = Long.parseLong(parser.getAttributeValue("", 1229 playheadPosMs, durationMs, zoomLevel, exportedMovieUri, themeId, downloads); 149 VideoEditorProject(VideoEditor videoEditor, String projectPath, String projectName, long lastSaved, long playheadPosMs, long durationMs, int zoomLevel, Uri exportedMovieUri, String theme, List<Download> downloads) argument
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | 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);
|
H A D | MediaLinearLayout.java | 1282 final long durationMs = computeViewDuration(view); 1284 final int right = (int)((float)((startMs + durationMs) * viewWidth) / 1305 startMs += durationMs; 1338 long durationMs; 1343 durationMs = mediaItem.getAppTimelineDuration(); 1345 durationMs -= mediaItem.getBeginTransition().getAppDuration(); 1349 durationMs -= mediaItem.getEndTransition().getAppDuration(); 1353 durationMs = transition.getAppDuration(); 1356 durationMs = 0; 1359 return durationMs; [all...] |
H A D | OverlayLinearLayout.java | 619 final long durationMs = Math.min(overlay.getAppDuration(), 621 right = leftViewWidth + (int)(((mediaItemStartTimeMs + durationMs) * 630 final long durationMs = mediaItem.getAppBoundaryEndTime() - startTimeMs; 633 durationMs) * viewWidth) / totalDurationMs);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | 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) { 320 zoomTo(final float scale, final float centerX, final float centerY, final float durationMs) argument
|
H A D | MenuHelper.java | 871 int durationMs) { 872 int duration = durationMs / 1000; 870 formatDuration(final Context context, int durationMs) argument
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
H A D | VideoEditorActivity.java | 1262 final long durationMs = mProject.computeDuration(); 1265 final int zoomWidth = mActivityWidth + timeToDimension(durationMs); 1278 if (mProject.getPlayheadPos() > durationMs) { 1279 movePlayhead(durationMs); 1294 * @param durationMs The time 1298 private int timeToDimension(long durationMs) { argument 1299 return (int)((mProject.getZoomLevel() * mActivityWidth * durationMs) / 1200000);
|
H A D | VideoEditorBaseActivity.java | 408 long durationMs, Exception exception) { 523 long durationMs, Exception exception) { 624 String mediaItemId, long durationMs, Exception exception) { 407 onMediaItemDurationSet(String projectPath, String mediaItemId, long durationMs, Exception exception) argument 522 onTransitionDurationSet(String projectPath, String transitionId, long durationMs, Exception exception) argument 623 onOverlayDurationSet(String projectPath, String overlayId, String mediaItemId, long durationMs, Exception exception) argument
|