Loading media/java/android/media/videoeditor/MediaArtistNativeHelper.java +0 −1 Original line number Diff line number Diff line Loading @@ -2105,7 +2105,6 @@ class MediaArtistNativeHelper { //For image get the scaled height. Aspect ratio would remain the same mediaItemHeight = ((MediaImageItem)overlay.getMediaItem()).getScaledHeight(); aspectRatio = overlay.getMediaItem().getAspectRatio(); effectSettings.framingResize = false; //since the image can be of odd size. } } else { aspectRatio = overlay.getMediaItem().getAspectRatio(); Loading media/java/android/media/videoeditor/OverlayFrame.java +5 −1 Original line number Diff line number Diff line Loading @@ -235,7 +235,7 @@ public class OverlayFrame extends Overlay { mOFWidth = width; } /** * Delete the overlay file * Delete the overlay files */ void invalidate() { if (mFilename != null) { Loading @@ -244,5 +244,9 @@ public class OverlayFrame extends Overlay { mBitmap.recycle(); mBitmap = null; } if (mBitmapFileName != null) { new File(mBitmapFileName).delete(); mBitmapFileName = null; } } } Loading
media/java/android/media/videoeditor/MediaArtistNativeHelper.java +0 −1 Original line number Diff line number Diff line Loading @@ -2105,7 +2105,6 @@ class MediaArtistNativeHelper { //For image get the scaled height. Aspect ratio would remain the same mediaItemHeight = ((MediaImageItem)overlay.getMediaItem()).getScaledHeight(); aspectRatio = overlay.getMediaItem().getAspectRatio(); effectSettings.framingResize = false; //since the image can be of odd size. } } else { aspectRatio = overlay.getMediaItem().getAspectRatio(); Loading
media/java/android/media/videoeditor/OverlayFrame.java +5 −1 Original line number Diff line number Diff line Loading @@ -235,7 +235,7 @@ public class OverlayFrame extends Overlay { mOFWidth = width; } /** * Delete the overlay file * Delete the overlay files */ void invalidate() { if (mFilename != null) { Loading @@ -244,5 +244,9 @@ public class OverlayFrame extends Overlay { mBitmap.recycle(); mBitmap = null; } if (mBitmapFileName != null) { new File(mBitmapFileName).delete(); mBitmapFileName = null; } } }