[Android] Remove frenglish and NEWS technical terms for 055bbe27

Alexandre Perraud git at videolan.org
Wed Apr 29 11:59:47 CEST 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Apr 29 11:54:24 2015 +0200| [ffaa3f774fe2385468ba0fb9b7ca91759a628e1a] | committer: Alexandre Perraud

Remove frenglish and NEWS technical terms for 055bbe27

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=ffaa3f774fe2385468ba0fb9b7ca91759a628e1a
---

 NEWS                                                            |    2 +-
 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java     |    7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/NEWS b/NEWS
index 2a11486..ce84cf6 100644
--- a/NEWS
+++ b/NEWS
@@ -10,7 +10,7 @@ Application:
  * Fix back button behavior on VideoPlayer
  * Improve Material look, Ripple effect on Lollipop
  * Activate the Audio Delay control
- * Smaller Video Player HUD
+ * Smaller Video Player Controler
  * Fix crashes, focus
 
 JNI:
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index b853bd8..b423896 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -131,7 +131,6 @@ import java.lang.reflect.Method;
 import java.net.URLDecoder;
 import java.util.ArrayList;
 import java.util.Date;
-import java.util.Locale;
 import java.util.Map;
 
 public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlayer, GestureDetector.OnDoubleTapListener, IDelayController {
@@ -513,7 +512,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlay
         } else
             setRequestedOrientation(getScreenOrientation());
 
-        rearrangeVideoPlayerHud();
+        resetHudLayout();
         updateNavStatus();
         mDetector = new GestureDetectorCompat(this, mGestureListener);
         mDetector.setOnDoubleTapListener(this);
@@ -557,10 +556,10 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlay
         if (!LibVlcUtil.isHoneycombOrLater())
             setSurfaceLayout(mVideoWidth, mVideoHeight, mVideoVisibleWidth, mVideoVisibleHeight, mSarNum, mSarDen);
         super.onConfigurationChanged(newConfig);
-        rearrangeVideoPlayerHud();
+        resetHudLayout();
     }
 
-    public void rearrangeVideoPlayerHud() {
+    public void resetHudLayout() {
         RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams)mOverlayButtons.getLayoutParams();
         if (getScreenOrientation() == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) {
             layoutParams.addRule(RelativeLayout.BELOW, R.id.player_overlay_length);



More information about the Android mailing list