Searched defs:thumb (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/core/java/android/widget/ |
H A D | ScrollBarDrawable.java | 142 // Avoid the tiny thumb. 148 // Avoid the too-big thumb. 211 final Drawable thumb = mVerticalThumb; 213 thumb.setBounds(bounds.left, bounds.top + offset, 217 thumb.draw(canvas); 221 final Drawable thumb = mHorizontalThumb; 223 thumb.setBounds(bounds.left + offset, bounds.top, 227 thumb.draw(canvas); 232 public void setVerticalThumbDrawable(Drawable thumb) { argument 237 propagateCurrentState(thumb); 250 setHorizontalThumbDrawable(Drawable thumb) argument [all...] |
H A D | AbsSeekBar.java | 92 final Drawable thumb = a.getDrawable(R.styleable.SeekBar_thumb); 93 setThumb(thumb); 108 // Guess thumb offset if thumb != null, but allow layout to override. 129 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar. 131 * If the thumb is a valid drawable (i.e. not null), half its width will be 132 * used as the new thumb offset (@see #setThumbOffset(int)). 134 * @param thumb Drawable representing the thumb 136 public void setThumb(Drawable thumb) { argument 455 setThumbPos(int w, Drawable thumb, float scale, int offset) argument [all...] |
H A D | Switch.java | 57 * options. The user may drag the "thumb" back and forth to choose the selected option, 61 * controls the text on the thumb. Similarly, the 65 * the related setSwitchTypeface() methods control that of the thumb. 121 * Width required to draw the switch track and thumb. Includes padding and 122 * optical bounds for both the track and thumb. 127 * Height required to draw the switch track and thumb. Includes padding and 128 * optical bounds for both the track and thumb. 133 * Width of the thumb's content region. Does not include padding or 138 /** Left bound for drawing the switch track and thumb. */ 141 /** Top bound for drawing the switch track and thumb 610 setThumbDrawable(Drawable thumb) argument [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 806 void* thumb = mDatabase->getThumbnail(handle, thumbSize); local 807 if (thumb) { 811 mData.writeData(mFD, thumb, thumbSize); 812 free(thumb); 911 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format 912 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb compressed size 913 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix width 914 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix height
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SwitchCompat.java | 63 * options. The user may drag the "thumb" back and forth to choose the selected option, 67 * controls the text on the thumb. Similarly, the 71 * the related seSwitchTypeface() methods control that of the thumb. 109 * Width required to draw the switch track and thumb. Includes padding and 110 * optical bounds for both the track and thumb. 115 * Height required to draw the switch track and thumb. Includes padding and 116 * optical bounds for both the track and thumb. 121 * Width of the thumb's content region. Does not include padding or 126 /** Left bound for drawing the switch track and thumb. */ 129 /** Top bound for drawing the switch track and thumb 429 setThumbDrawable(Drawable thumb) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_DngCreator.cpp | 241 uint8_t* thumb = mCurrentThumbnail.editArray(); local 242 memcpy(thumb, buffer, size);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1756 byte[] thumb = mData.getCompressedThumbnail(); 1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length); 1814 * @param thumb a byte array containing a jpeg compressed image. 1817 public boolean setCompressedThumbnail(byte[] thumb) { argument 1819 mData.setCompressedThumbnail(thumb); 1827 * @param thumb a bitmap to compress to a jpeg thumbnail. 1830 public boolean setCompressedThumbnail(Bitmap thumb) { argument 1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {
|
Completed in 275 milliseconds