[Android] Remove tabs

Geoffrey Métais git at videolan.org
Thu Mar 5 14:12:12 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar  5 14:11:42 2015 +0100| [8f4067ed8ba4b37ccdef1c1064d92c0da8792a18] | committer: Geoffrey Métais

Remove tabs

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

 .../videolan/vlc/gui/video/VideoGridFragment.java  |    2 +-
 .../videolan/vlc/gui/video/VideoListHandler.java   |   32 ++++++-------
 .../org/videolan/vlc/interfaces/IVideoBrowser.java |   48 ++++++++++----------
 .../src/org/videolan/vlc/util/VLCInstance.java     |    4 +-
 4 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
index df1a554..1e29ac5 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -170,7 +170,7 @@ public class VideoGridFragment extends BrowserFragment implements ISortable, IVi
         getActivity().registerReceiver(messageReceiverVideoListFragment, filter);
         Log.i(TAG, "mMediaLibrary.isWorking() " + Boolean.toString(mMediaLibrary.isWorking()));
         if (mMediaLibrary.isWorking()) {
-        	Util.actionScanStart();
+            Util.actionScanStart();
         }
 
         mAnimator = new VideoGridAnimator(mGridView);
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoListHandler.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoListHandler.java
index 624bc56..8cc7f16 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoListHandler.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoListHandler.java
@@ -7,24 +7,24 @@ import org.videolan.vlc.util.WeakHandler;
 import android.os.Message;
 
 public class VideoListHandler extends WeakHandler<IVideoBrowser> {
-	public static final int UPDATE_ITEM = 0;
+    public static final int UPDATE_ITEM = 0;
     public static final int MEDIA_ITEMS_UPDATED = 100;
 
-	public VideoListHandler(IVideoBrowser owner) {
-		super(owner);
-	}
+    public VideoListHandler(IVideoBrowser owner) {
+        super(owner);
+    }
 
-	@Override
-	public void handleMessage(Message msg) {
-		IVideoBrowser owner = getOwner();
-		if(owner == null) return;
+    @Override
+    public void handleMessage(Message msg) {
+        IVideoBrowser owner = getOwner();
+        if(owner == null) return;
 
-		switch (msg.what) {
-		case UPDATE_ITEM:
-			owner.updateItem();
-			break;
-		case MediaLibrary.MEDIA_ITEMS_UPDATED:
-			owner.updateList();
-		}
-	}
+        switch (msg.what) {
+            case UPDATE_ITEM:
+                owner.updateItem();
+                break;
+            case MediaLibrary.MEDIA_ITEMS_UPDATED:
+                owner.updateList();
+        }
+    }
 };
\ No newline at end of file
diff --git a/vlc-android/src/org/videolan/vlc/interfaces/IVideoBrowser.java b/vlc-android/src/org/videolan/vlc/interfaces/IVideoBrowser.java
index 0797a8e..7e4b0e7 100644
--- a/vlc-android/src/org/videolan/vlc/interfaces/IVideoBrowser.java
+++ b/vlc-android/src/org/videolan/vlc/interfaces/IVideoBrowser.java
@@ -1,38 +1,38 @@
 /*****************************************************************************
- * VideoBrowserInterface.java
+ * videobrowserinterface.java
  *****************************************************************************
- * Copyright © 2014-2015 VLC authors and VideoLAN
+ * copyright © 2014-2015 vlc authors and videolan
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * this program is free software; you can redistribute it and/or modify
+ * it under the terms of the gnu general public license as published by
+ * the free software foundation; either version 2 of the license, or
  * (at your option) any later version.
  *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * this program is distributed in the hope that it will be useful,
+ * but without any warranty; without even the implied warranty of
+ * merchantability or fitness for a particular purpose.  see the
+ * gnu general public license for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * you should have received a copy of the gnu general public license
+ * along with this program; if not, write to the free software
+ * foundation, inc., 51 franklin street, fifth floor, boston ma 02110-1301, usa.
  *****************************************************************************/
 
 package org.videolan.vlc.interfaces;
 
-import java.util.concurrent.BrokenBarrierException;
+import java.util.concurrent.brokenbarrierexception;
 
-import org.videolan.vlc.MediaWrapper;
+import org.videolan.vlc.mediawrapper;
 
-public interface IVideoBrowser {
+public interface ivideobrowser {
 
-	public void resetBarrier();
-	public void setItemToUpdate(MediaWrapper item);
-	public void await() throws InterruptedException, BrokenBarrierException;
-	public void updateItem();
-	public void updateList();
-    public void showProgressBar();
-    public void hideProgressBar();
-    public void clearTextInfo();
-    public void sendTextInfo(String info, int progress, int max);
+    public void resetbarrier();
+    public void setitemtoupdate(mediawrapper item);
+    public void await() throws interruptedexception, brokenbarrierexception;
+    public void updateitem();
+    public void updatelist();
+    public void showprogressbar();
+    public void hideprogressbar();
+    public void cleartextinfo();
+    public void sendtextinfo(string info, int progress, int max);
 }
diff --git a/vlc-android/src/org/videolan/vlc/util/VLCInstance.java b/vlc-android/src/org/videolan/vlc/util/VLCInstance.java
index 17032f8..17b6bb5 100644
--- a/vlc-android/src/org/videolan/vlc/util/VLCInstance.java
+++ b/vlc-android/src/org/videolan/vlc/util/VLCInstance.java
@@ -81,10 +81,10 @@ public class VLCInstance {
         }
         int vout;
         try {
-        	vout = Integer.parseInt(pref.getString("vout", "-1"));
+            vout = Integer.parseInt(pref.getString("vout", "-1"));
         }
         catch (NumberFormatException nfe) {
-        	vout = -1;
+            vout = -1;
         }
         int deblocking;
         try {



More information about the Android mailing list