[Android] VerticalSeekBar: add @Override
Jean-Baptiste Kempf
git at videolan.org
Fri Jul 18 21:23:04 CEST 2014
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul 18 21:15:41 2014 +0200| [414357ed368118a1059f2b31ceb509f1413be312] | committer: Jean-Baptiste Kempf
VerticalSeekBar: add @Override
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=414357ed368118a1059f2b31ceb509f1413be312
---
vlc-android/src/org/videolan/vlc/widget/VerticalSeekBar.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/widget/VerticalSeekBar.java b/vlc-android/src/org/videolan/vlc/widget/VerticalSeekBar.java
index c8a5587..b451321 100644
--- a/vlc-android/src/org/videolan/vlc/widget/VerticalSeekBar.java
+++ b/vlc-android/src/org/videolan/vlc/widget/VerticalSeekBar.java
@@ -43,6 +43,7 @@ public class VerticalSeekBar extends SeekBar {
super(context, attrs);
}
+ @Override
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(h, w, oldh, oldw);
}
@@ -53,6 +54,7 @@ public class VerticalSeekBar extends SeekBar {
setMeasuredDimension(getMeasuredHeight(), getMeasuredWidth());
}
+ @Override
protected void onDraw(Canvas c) {
c.rotate(-90);
c.translate(-getHeight(), 0);
More information about the Android
mailing list