¡@

Home 

2014/10/16 ¤W¤È 08:20:52

android Programming Glossary: ooffset

How can I get a working vertical SeekBar in Android?

http://stackoverflow.com/questions/4892179/how-can-i-get-a-working-vertical-seekbar-in-android

onTouchEvent from that example public boolean onTouchEvent MotionEvent event xPos event.getX yPos event.getY oOffset this.getThumbOffset oProgress this.getProgress Code from example Not working this.setThumbOffset progress this.getBottom..

Modifying the Android seekbar widget to operate vertically

http://stackoverflow.com/questions/631238/modifying-the-android-seekbar-widget-to-operate-vertically

android.widget.SeekBar public class SlideBar extends SeekBar private int oHeight 320 oWidth 29 private int oProgress 1 oOffset 1 private float xPos 1 yPos 1 private int top 1 bottom 1 left 1 right 1 public SlideBar Context context super context .. SlideBar Context context super context public SlideBar Context context AttributeSet attrs super context attrs oOffset this.getThumbOffset oProgress this.getProgress public SlideBar Context context AttributeSet attrs int defStyle super.. MotionEvent event xPos event.getX yPos event.getY float progress yPos this.getTop this.getBottom this.getTop oOffset this.getThumbOffset oProgress this.getProgress Log.d offset System.nanoTime new Integer oOffset .toString Log.d progress..