[Android] Sliding pane: use more consistent function names

Adrien Maglo git at videolan.org
Thu Jan 9 17:32:13 CET 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Thu Jan  9 17:31:21 2014 +0100| [81043ecd8cfeef51a377cfc3534558f330e7a78d] | committer: Adrien Maglo

Sliding pane: use more consistent function names

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

 vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java b/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java
index 1d40851..538c8ac 100644
--- a/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java
+++ b/vlc-android/src/org/videolan/vlc/widget/SlidingPaneLayout.java
@@ -522,7 +522,7 @@ public class SlidingPaneLayout extends ViewGroup {
         return false;
     }
 
-    private boolean hidePane(View pane, int initialVelocity) {
+    private boolean openPaneEntirely(View pane, int initialVelocity) {
         if (mFirstLayout || smoothSlideTo(1.f, initialVelocity)) {
             mPreservedOpenState = false;
             return true;
@@ -555,7 +555,7 @@ public class SlidingPaneLayout extends ViewGroup {
      * @return true if the pane was slideable and is now closed/in the process of closing
      */
     public boolean openPaneEntirely() {
-        return hidePane(mSlideableView, 0);
+        return openPaneEntirely(mSlideableView, 0);
     }
 
     /**



More information about the Android mailing list