/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | RecentsAnimation.cpp | 45 sk_sp<Bitmap> thumb(TestUtils::createBitmap(thumbnailSize, thumbnailSize, &bitmap)); 48 sp<RenderNode> card = createCard(x, y, cardsize, cardsize, *thumb); 69 sp<RenderNode> createCard(int x, int y, int width, int height, Bitmap& thumb) { argument 72 [&thumb, width, height](RenderProperties& props, Canvas& canvas) { 78 canvas.drawBitmap(thumb, 0, 0, thumb.width(), thumb.height(), 0, 0, width,
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
H A D | MediaRouteVolumeSlider.java | 29 * 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/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
H A D | MediaRouteVolumeSlider.java | 28 * 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 70 public void setThumb(Drawable thumb) { argument 71 mThumb = thumb; 76 * Sets whether to show or hide thumb. 90 * the thumb.
|
/frameworks/base/core/java/android/widget/ |
H A D | ScrollBarDrawable.java | 206 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 D | AbsSeekBar.java | 41 * AbsSeekBar extends the capabilities of ProgressBar by adding a draggable thumb. 103 final Drawable thumb = a.getDrawable(R.styleable.SeekBar_thumb); 104 setThumb(thumb); 133 // Guess thumb offset if thumb != null, but allow layout to override. 156 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar. 158 * If the thumb is a valid drawable (i.e. not null), half its width will be 159 * used as the new thumb offset (@see #setThumbOffset(int)). 161 * @param thumb Drawable representing the thumb 163 setThumb(Drawable thumb) argument 628 setThumbPos(int w, Drawable thumb, float scale, int offset) argument [all...] |
H A D | Switch.java | 59 * options. The user may drag the "thumb" back and forth to choose the selected option, 63 * controls the text on the thumb. Similarly, the 67 * the related setSwitchTypeface() methods control that of the thumb. 127 * Width required to draw the switch track and thumb. Includes padding and 128 * optical bounds for both the track and thumb. 133 * Height required to draw the switch track and thumb. Includes padding and 134 * optical bounds for both the track and thumb. 139 * Width of the thumb's content region. Does not include padding or 144 /** Left bound for drawing the switch track and thumb. */ 147 /** Top bound for drawing the switch track and thumb 618 setThumbDrawable(Drawable thumb) argument [all...] |
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/impl/ |
H A D | ListBuilder.java | 189 * Set the {@link IconCompat} to be displayed as the thumb on the input range. 191 void setThumb(@NonNull IconCompat thumb); argument
|
H A D | ListBuilderV1Impl.java | 252 public void setThumb(@NonNull IconCompat thumb) { argument 253 mThumb = thumb;
|
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/ |
H A D | ListBuilder.java | 738 public InputRangeBuilder setThumb(@NonNull Icon thumb) { argument 739 return setThumb(IconCompat.createFromIcon(thumb)); 743 * Set the {@link Icon} to be displayed as the thumb on the input range. 746 public InputRangeBuilder setThumb(@NonNull IconCompat thumb) { argument 747 mImpl.setThumb(thumb);
|
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 821 void* thumb = mDatabase->getThumbnail(handle, thumbSize); local 822 if (thumb) { 826 mData.writeData(mHandle, thumb, thumbSize); 827 free(thumb); 928 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format 929 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb compressed size 930 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix width 931 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix height
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | SwitchCompat.java | 60 * options. The user may drag the "thumb" back and forth to choose the selected option, 64 * controls the text on the thumb. Similarly, the 68 * the related setSwitchTypeface() methods control that of the thumb. 141 * Width required to draw the switch track and thumb. Includes padding and 142 * optical bounds for both the track and thumb. 147 * Height required to draw the switch track and thumb. Includes padding and 148 * optical bounds for both the track and thumb. 153 * Width of the thumb's content region. Does not include padding or 158 /** Left bound for drawing the switch track and thumb. */ 161 /** Top bound for drawing the switch track and thumb 595 setThumbDrawable(Drawable thumb) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_DngCreator.cpp | 250 uint8_t* thumb = mCurrentThumbnail.editArray(); local 251 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)) {
|