[Android] VideoPlayerActivity: function cosmetics

Edward Wang git at videolan.org
Sun Jun 16 05:55:50 CEST 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Wed Jun 12 22:46:26 2013 -0400| [d8499cf1031b479db08392823c7abe86fe2004fa] | committer: Edward Wang

VideoPlayerActivity: function cosmetics

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

 vlc-android/res/layout-land/audio_player.xml                       |    2 +-
 vlc-android/res/layout/audio_player.xml                            |    2 +-
 vlc-android/res/layout/audio_player_qvga.xml                       |    2 +-
 vlc-android/res/layout/player.xml                                  |    4 ++--
 .../src/org/videolan/vlc/gui/audio/AudioPlayerActivity.java        |    2 +-
 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java        |    3 +--
 6 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/vlc-android/res/layout-land/audio_player.xml b/vlc-android/res/layout-land/audio_player.xml
index df880ed..f97355e 100644
--- a/vlc-android/res/layout-land/audio_player.xml
+++ b/vlc-android/res/layout-land/audio_player.xml
@@ -162,7 +162,7 @@
                 android:layout_height="35dp"
                 android:layout_marginTop="20dp"
                 android:layout_gravity="center"
-                android:onClick="showAdvanceFunction"
+                android:onClick="showAdvancedOptions"
                 android:background="#00000000"
                 android:scaleType="fitXY"
                 android:src="@drawable/dots" />
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index bb396a7..66dc741 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -67,7 +67,7 @@
                 android:layout_gravity="center"
                 android:layout_marginTop="20dp"
                 android:background="#00000000"
-                android:onClick="showAdvanceFunction"
+                android:onClick="showAdvancedOptions"
                 android:scaleType="fitXY"
                 android:src="@drawable/dots" />
         </LinearLayout>
diff --git a/vlc-android/res/layout/audio_player_qvga.xml b/vlc-android/res/layout/audio_player_qvga.xml
index 7c51192..024dbe8 100644
--- a/vlc-android/res/layout/audio_player_qvga.xml
+++ b/vlc-android/res/layout/audio_player_qvga.xml
@@ -40,7 +40,7 @@
             android:layout_width="35dp"
             android:layout_height="35dp"
             android:scaleType="fitXY"
-            android:onClick="showAdvanceFunction" />
+            android:onClick="showAdvancedOptions" />
 
         <LinearLayout
             android:layout_width="90dip"
diff --git a/vlc-android/res/layout/player.xml b/vlc-android/res/layout/player.xml
index be02802..746c571 100644
--- a/vlc-android/res/layout/player.xml
+++ b/vlc-android/res/layout/player.xml
@@ -111,7 +111,7 @@
             android:layout_marginRight="5dp"
             android:layout_marginTop="20dp"
             android:background="@drawable/dots"
-            android:onClick="showAdvanceFunction" />
+            android:onClick="showAdvancedOptions" />
     </LinearLayout>
 
     <RelativeLayout
@@ -208,4 +208,4 @@
             android:background="@drawable/ic_lock" />
     </LinearLayout>
 
-</RelativeLayout>
\ No newline at end of file
+</RelativeLayout>
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerActivity.java
index 396dd11..44ae404 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerActivity.java
@@ -324,7 +324,7 @@ public class AudioPlayerActivity extends Activity implements IAudioPlayer {
     	return super.onKeyDown(keyCode, event);
     }
 
-    public void showAdvanceFunction(View v) {
+    public void showAdvancedOptions(View v) {
         CommonDialogs.advancedOptions(this, v);
     }
 }
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 0c622e2..ef67e6e 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -92,7 +92,6 @@ import android.widget.SeekBar.OnSeekBarChangeListener;
 import android.widget.TextView;
 
 public class VideoPlayerActivity extends Activity implements IVideoPlayer {
-
     public final static String TAG = "VLC/VideoPlayerActivity";
 
     // Internal intent identifier to distinguish between internal launch and
@@ -1497,7 +1496,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
         }
     }
 
-    public void showAdvanceFunction(View v) {
+    public void showAdvancedOptions(View v) {
         CommonDialogs.advancedOptions(this, v);
     }
 }



More information about the Android mailing list