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

/frameworks/base/libs/hwui/tests/common/scenes/
H A DRecentsAnimation.cpp48 SkBitmap thumb = TestUtils::createSkBitmap(thumbnailSize, thumbnailSize); variable
49 thumb.eraseColor(COLORS[i]);
50 sp<RenderNode> card = createCard(x, y, cardsize, cardsize, thumb);
53 mThumbnail = thumb;
72 const SkBitmap& thumb) {
74 [&thumb, width, height](RenderProperties& props, TestCanvas& canvas) {
80 canvas.drawBitmap(thumb, 0, 0, thumb.width(), thumb.height(),
71 createCard(int x, int y, int width, int height, const SkBitmap& thumb) argument
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteVolumeSlider.java29 * Volume slider with showing, hiding, and applying alpha supports to the thumb.
58 // The thumb drawable is a collection of drawables and its current drawables are changed per
68 public void setThumb(Drawable thumb) { argument
69 mThumb = thumb;
74 * Sets whether to show or hide thumb.
88 * the thumb.
/frameworks/base/core/java/android/widget/
H A DScrollBarDrawable.java206 final Drawable thumb = mVerticalThumb;
208 thumb.setBounds(bounds.left, bounds.top + offset,
212 thumb.draw(canvas);
216 final Drawable thumb = mHorizontalThumb;
218 thumb.setBounds(bounds.left + offset, bounds.top,
222 thumb.draw(canvas);
227 public void setVerticalThumbDrawable(Drawable thumb) { argument
232 propagateCurrentState(thumb);
233 mVerticalThumb = thumb;
245 public void setHorizontalThumbDrawable(Drawable thumb) { argument
[all...]
H A DAbsSeekBar.java99 final Drawable thumb = a.getDrawable(R.styleable.SeekBar_thumb);
100 setThumb(thumb);
129 // Guess thumb offset if thumb != null, but allow layout to override.
152 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.
154 * If the thumb is a valid drawable (i.e. not null), half its width will be
155 * used as the new thumb offset (@see #setThumbOffset(int)).
157 * @param thumb Drawable representing the thumb
159 public void setThumb(Drawable thumb) { argument
608 setThumbPos(int w, Drawable thumb, float scale, int offset) argument
[all...]
H A DSwitch.java58 * options. The user may drag the "thumb" back and forth to choose the selected option,
62 * controls the text on the thumb. Similarly, the
66 * the related setSwitchTypeface() methods control that of the thumb.
122 * Width required to draw the switch track and thumb. Includes padding and
123 * optical bounds for both the track and thumb.
128 * Height required to draw the switch track and thumb. Includes padding and
129 * optical bounds for both the track and thumb.
134 * Width of the thumb's content region. Does not include padding or
139 /** Left bound for drawing the switch track and thumb. */
142 /** Top bound for drawing the switch track and thumb
611 setThumbDrawable(Drawable thumb) argument
[all...]
/frameworks/av/media/mtp/
H A DMtpServer.cpp811 void* thumb = mDatabase->getThumbnail(handle, thumbSize); local
812 if (thumb) {
816 mData.writeData(mFD, thumb, thumbSize);
817 free(thumb);
917 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format
918 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb compressed size
919 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix width
920 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix height
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSwitchCompat.java61 * options. The user may drag the "thumb" back and forth to choose the selected option,
65 * controls the text on the thumb. Similarly, the
69 * the related setSwitchTypeface() methods control that of the thumb.
129 * Width required to draw the switch track and thumb. Includes padding and
130 * optical bounds for both the track and thumb.
135 * Height required to draw the switch track and thumb. Includes padding and
136 * optical bounds for both the track and thumb.
141 * Width of the thumb's content region. Does not include padding or
146 /** Left bound for drawing the switch track and thumb. */
149 /** Top bound for drawing the switch track and thumb
585 setThumbDrawable(Drawable thumb) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp248 uint8_t* thumb = mCurrentThumbnail.editArray(); local
249 memcpy(thumb, buffer, size);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java1756 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 325 milliseconds