Searched defs:thumb (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java65 Drawable thumb = a.getDrawable(com.android.internal.R.styleable.SeekBar_thumb);
66 setThumb(thumb); // will guess mThumbOffset if thumb != null...
80 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.
82 * If the thumb is a valid drawable (i.e. not null), half its width will be
83 * used as the new thumb offset (@see #setThumbOffset(int)).
85 * @param thumb Drawable representing the thumb
87 public void setThumb(Drawable thumb) { argument
88 if (thumb !
225 setThumbPos(int w, Drawable thumb, float scale, int gap) argument
[all...]
H A DScrollBarDrawable.java128 // avoid the tiny thumb
133 // avoid the too-big thumb
177 final Drawable thumb = mVerticalThumb;
178 if (changed) thumb.setBounds(thumbRect);
179 thumb.draw(canvas);
181 final Drawable thumb = mHorizontalThumb;
182 if (changed) thumb.setBounds(thumbRect);
183 thumb.draw(canvas);
187 public void setVerticalThumbDrawable(Drawable thumb) { argument
188 if (thumb !
197 setHorizontalThumbDrawable(Drawable thumb) argument
[all...]

Completed in 66 milliseconds