Home
last modified time | relevance | path

Searched refs:thumb (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/widget/
DAbsSeekBar.java103 final Drawable thumb = a.getDrawable(R.styleable.SeekBar_thumb); in AbsSeekBar() local
104 setThumb(thumb); in AbsSeekBar()
163 public void setThumb(Drawable thumb) { in setThumb() argument
168 if (mThumb != null && thumb != mThumb) { in setThumb()
175 if (thumb != null) { in setThumb()
176 thumb.setCallback(this); in setThumb()
178 thumb.setLayoutDirection(getLayoutDirection()); in setThumb()
184 mThumbOffset = thumb.getIntrinsicWidth() / 2; in setThumb()
188 (thumb.getIntrinsicWidth() != mThumb.getIntrinsicWidth() in setThumb()
189 || thumb.getIntrinsicHeight() != mThumb.getIntrinsicHeight())) { in setThumb()
[all …]
DScrollBarDrawable.java206 final Drawable thumb = mVerticalThumb; in drawThumb() local
208 thumb.setBounds(bounds.left, bounds.top + offset, in drawThumb()
212 thumb.draw(canvas); in drawThumb()
216 final Drawable thumb = mHorizontalThumb; in drawThumb() local
218 thumb.setBounds(bounds.left + offset, bounds.top, in drawThumb()
222 thumb.draw(canvas); in drawThumb()
227 public void setVerticalThumbDrawable(Drawable thumb) { in setVerticalThumbDrawable() argument
232 propagateCurrentState(thumb); in setVerticalThumbDrawable()
233 mVerticalThumb = thumb; in setVerticalThumbDrawable()
245 public void setHorizontalThumbDrawable(Drawable thumb) { in setHorizontalThumbDrawable() argument
[all …]
DSwitch.java614 public void setThumbDrawable(Drawable thumb) { in setThumbDrawable() argument
618 mThumbDrawable = thumb; in setThumbDrawable()
619 if (thumb != null) { in setThumbDrawable()
620 thumb.setCallback(this); in setThumbDrawable()
DFastScroller.java771 final View thumb = mThumbImage; in layoutTrack() local
786 final int thumbHalfHeight = thumb.getHeight() / 2; in layoutTrack()
792 final int left = thumb.getLeft() + (thumb.getWidth() - trackWidth) / 2; in layoutTrack()
/frameworks/base/libs/hwui/tests/common/scenes/
DRecentsAnimation.cpp49 sk_sp<Bitmap> thumb(TestUtils::createBitmap(thumbnailSize, thumbnailSize, &bitmap)); in createContent() local
52 sp<RenderNode> card = createCard(x, y, cardsize, cardsize, *thumb); in createContent()
73 sp<RenderNode> createCard(int x, int y, int width, int height, Bitmap& thumb) { in createCard() argument
75 [&thumb, width, height](RenderProperties& props, Canvas& canvas) { in createCard()
81 canvas.drawBitmap(thumb, 0, 0, thumb.width(), thumb.height(), in createCard()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMediaStoreSaver.java128 Bitmap thumb = Bitmap.createBitmap(source, 0, 0, in storeThumbnail() local
137 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); in storeThumbnail()
138 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); in storeThumbnail()
144 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); in storeThumbnail()
146 return thumb; in storeThumbnail()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DMediaStoreSaver.java128 Bitmap thumb = Bitmap.createBitmap(source, 0, 0, in storeThumbnail() local
137 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); in storeThumbnail()
138 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); in storeThumbnail()
144 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); in storeThumbnail()
146 return thumb; in storeThumbnail()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteVolumeSlider.java67 public void setThumb(Drawable thumb) { in setThumb() argument
68 mThumb = thumb; in setThumb()
/frameworks/base/core/java/android/app/
DLauncherActivity.java302 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); in createIconThumbnail() local
304 canvas.setBitmap(thumb); in createIconThumbnail()
316 icon = new BitmapDrawable(getResources(), thumb); in createIconThumbnail()
320 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); in createIconThumbnail() local
322 canvas.setBitmap(thumb); in createIconThumbnail()
329 icon = new BitmapDrawable(getResources(), thumb); in createIconThumbnail()
/frameworks/compile/mclinker/lib/Target/ARM/TargetInfo/
DARMTargetInfo.cpp20 mcld::RegisterTarget<llvm::Triple::thumb> Y(TheThumbTarget, "thumb"); in MCLDInitializeARMLDTargetInfo()
/frameworks/base/core/java/android/provider/
DMediaStore.java935 Bitmap thumb = Bitmap.createBitmap(source, 0, 0, in StoreThumbnail() local
943 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); in StoreThumbnail()
944 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); in StoreThumbnail()
951 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); in StoreThumbnail()
953 return thumb; in StoreThumbnail()
DDocumentsContract.java1653 final long[] thumb = exif.getThumbnailRange(); in openImageThumbnail() local
1654 if (thumb != null) { in openImageThumbnail()
1655 return new AssetFileDescriptor(pfd, thumb[0], thumb[1], extras); in openImageThumbnail()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail(); in getThumbnailBitmap()
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length); in getThumbnailBitmap()
1817 public boolean setCompressedThumbnail(byte[] thumb) { in setCompressedThumbnail() argument
1819 mData.setCompressedThumbnail(thumb); in setCompressedThumbnail()
1830 public boolean setCompressedThumbnail(Bitmap thumb) { in setCompressedThumbnail() argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) { in setCompressedThumbnail()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java594 public void setThumbDrawable(Drawable thumb) { in setThumbDrawable() argument
598 mThumbDrawable = thumb; in setThumbDrawable()
599 if (thumb != null) { in setThumbDrawable()
600 thumb.setCallback(this); in setThumbDrawable()
/frameworks/av/media/mtp/
DMtpServer.cpp834 void* thumb = mDatabase->getThumbnail(handle, thumbSize); in doGetThumb() local
835 if (thumb) { in doGetThumb()
839 mData.writeData(sHandle, thumb, thumbSize); in doGetThumb()
840 free(thumb); in doGetThumb()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp249 uint8_t* thumb = mCurrentThumbnail.editArray(); in setThumbnail() local
250 memcpy(thumb, buffer, size); in setThumbnail()
/frameworks/base/core/java/android/view/
DView.java5772 Drawable thumb = a.getDrawable(R.styleable.View_scrollbarThumbHorizontal);
5773 if (thumb != null) {
5774 scrollabilityCache.scrollBar.setHorizontalThumbDrawable(thumb);
5786 thumb = a.getDrawable(R.styleable.View_scrollbarThumbVertical);
5787 if (thumb != null) {
5788 scrollabilityCache.scrollBar.setVerticalThumbDrawable(thumb);
5802 if (thumb != null) {
5803 thumb.setLayoutDirection(layoutDirection);
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp1684 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer()
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp1822 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer()
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp1748 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1279 field public static final int thumb = 16843074; // 0x1010142
/frameworks/base/api/
Dcurrent.txt1378 field public static final int thumb = 16843074; // 0x1010142
Dtest-current.txt1378 field public static final int thumb = 16843074; // 0x1010142
Dsystem-current.txt1514 field public static final int thumb = 16843074; // 0x1010142