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

/frameworks/base/core/java/android/widget/
H A DScrollBarDrawable.java127 // avoid the tiny thumb
132 // avoid the too-big thumb
176 final Drawable thumb = mVerticalThumb;
177 if (changed) thumb.setBounds(thumbRect);
178 thumb.draw(canvas);
180 final Drawable thumb = mHorizontalThumb;
181 if (changed) thumb.setBounds(thumbRect);
182 thumb.draw(canvas);
186 public void setVerticalThumbDrawable(Drawable thumb) { argument
187 if (thumb !
196 setHorizontalThumbDrawable(Drawable thumb) argument
[all...]
H A DAbsSeekBar.java73 Drawable thumb = a.getDrawable(com.android.internal.R.styleable.SeekBar_thumb);
74 setThumb(thumb); // will guess mThumbOffset if thumb != null...
90 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.
92 * If the thumb is a valid drawable (i.e. not null), half its width will be
93 * used as the new thumb offset (@see #setThumbOffset(int)).
95 * @param thumb Drawable representing the thumb
97 public void setThumb(Drawable thumb) { argument
102 if (mThumb != null && thumb !
286 setThumbPos(int w, Drawable thumb, float scale, int gap) argument
[all...]
H A DSwitch.java46 * options. The user may drag the "thumb" back and forth to choose the selected option,
50 * controls the text on the thumb. Similarly, the
54 * the related seSwitchTypeface() methods control that of the thumb.
352 * @param pixels Horizontal padding for switch thumb text in pixels
364 * @return Horizontal padding for switch thumb text in pixels
407 * Set the drawable used for the switch "thumb" - the piece that the user
410 * @param thumb Thumb drawable
414 public void setThumbDrawable(Drawable thumb) { argument
415 mThumbDrawable = thumb;
420 * Set the drawable used for the switch "thumb"
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DAppTransition.java387 Animation createThumbnailAnimationLocked(int transit, boolean enter, boolean thumb, argument
394 if (thumb) {
/frameworks/av/media/mtp/
H A DMtpServer.cpp754 void* thumb = mDatabase->getThumbnail(handle, thumbSize); local
755 if (thumb) {
759 mData.writeData(mFD, thumb, thumbSize);
760 free(thumb);
844 mData.getUInt16(); // thumb format
845 mData.getUInt32(); // thumb compressed size
846 mData.getUInt32(); // thumb pix width
847 mData.getUInt32(); // thumb pix height

Completed in 112 milliseconds