Loading media/java/android/media/videoeditor/Transition.java +5 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,11 @@ public abstract class Transition { if (durationMs > getMaximumDuration()) { throw new IllegalArgumentException("The duration is too large"); } if (afterMediaItem != null) { mNativeHelper = afterMediaItem.getNativeContext(); }else { mNativeHelper = beforeMediaItem.getNativeContext(); } } /** Loading media/java/android/media/videoeditor/TransitionAlpha.java +0 −7 Original line number Diff line number Diff line Loading @@ -104,13 +104,6 @@ public class TransitionAlpha extends Transition { mWidth = dbo.outWidth; mHeight = dbo.outHeight; if (afterMediaItem != null) { mNativeHelper = afterMediaItem.getNativeContext(); }else { mNativeHelper = beforeMediaItem.getNativeContext(); } mRGBMaskFile = String.format(mNativeHelper.getProjectPath() + "/" + "mask" + transitionId+ ".rgb"); Loading Loading
media/java/android/media/videoeditor/Transition.java +5 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,11 @@ public abstract class Transition { if (durationMs > getMaximumDuration()) { throw new IllegalArgumentException("The duration is too large"); } if (afterMediaItem != null) { mNativeHelper = afterMediaItem.getNativeContext(); }else { mNativeHelper = beforeMediaItem.getNativeContext(); } } /** Loading
media/java/android/media/videoeditor/TransitionAlpha.java +0 −7 Original line number Diff line number Diff line Loading @@ -104,13 +104,6 @@ public class TransitionAlpha extends Transition { mWidth = dbo.outWidth; mHeight = dbo.outHeight; if (afterMediaItem != null) { mNativeHelper = afterMediaItem.getNativeContext(); }else { mNativeHelper = beforeMediaItem.getNativeContext(); } mRGBMaskFile = String.format(mNativeHelper.getProjectPath() + "/" + "mask" + transitionId+ ".rgb"); Loading