/frameworks/base/core/java/android/widget/ |
D | AbsSeekBar.java | 73 Drawable thumb = a.getDrawable(com.android.internal.R.styleable.SeekBar_thumb); in AbsSeekBar() local 74 setThumb(thumb); // will guess mThumbOffset if thumb != null... in AbsSeekBar() 97 public void setThumb(Drawable thumb) { in setThumb() argument 102 if (mThumb != null && thumb != mThumb) { in setThumb() 108 if (thumb != null) { in setThumb() 109 thumb.setCallback(this); in setThumb() 111 thumb.setLayoutDirection(getLayoutDirection()); in setThumb() 117 mThumbOffset = thumb.getIntrinsicWidth() / 2; in setThumb() 121 (thumb.getIntrinsicWidth() != mThumb.getIntrinsicWidth() in setThumb() 122 || thumb.getIntrinsicHeight() != mThumb.getIntrinsicHeight())) { in setThumb() [all …]
|
D | ScrollBarDrawable.java | 176 final Drawable thumb = mVerticalThumb; in drawThumb() local 177 if (changed) thumb.setBounds(thumbRect); in drawThumb() 178 thumb.draw(canvas); in drawThumb() 180 final Drawable thumb = mHorizontalThumb; in drawThumb() local 181 if (changed) thumb.setBounds(thumbRect); in drawThumb() 182 thumb.draw(canvas); in drawThumb() 186 public void setVerticalThumbDrawable(Drawable thumb) { in setVerticalThumbDrawable() argument 187 if (thumb != null) { in setVerticalThumbDrawable() 188 mVerticalThumb = thumb; in setVerticalThumbDrawable() 196 public void setHorizontalThumbDrawable(Drawable thumb) { in setHorizontalThumbDrawable() argument [all …]
|
D | FastScroller.java | 710 final View thumb = mThumbImage; in layoutTrack() local 718 final int thumbHalfHeight = thumb == null ? 0 : thumb.getHeight() / 2; in layoutTrack() 719 final int left = thumb.getLeft() + (thumb.getWidth() - trackWidth) / 2; in layoutTrack()
|
D | Switch.java | 414 public void setThumbDrawable(Drawable thumb) { in setThumbDrawable() argument 415 mThumbDrawable = thumb; in setThumbDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | ToggleSlider.java | 86 Drawable thumb; in onCheckedChanged() local 90 thumb = res.getDrawable( in onCheckedChanged() 95 thumb = res.getDrawable( in onCheckedChanged() 100 mSlider.setThumb(thumb); in onCheckedChanged()
|
/frameworks/base/core/java/android/app/ |
D | LauncherActivity.java | 302 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/base/core/java/android/provider/ |
D | DocumentsContract.java | 851 final long[] thumb = exif.getThumbnailRange(); in openImageThumbnail() local 852 if (thumb != null) { in openImageThumbnail() 853 return new AssetFileDescriptor(pfd, thumb[0], thumb[1], extras); in openImageThumbnail()
|
D | MediaStore.java | 850 Bitmap thumb = Bitmap.createBitmap(source, 0, 0, in StoreThumbnail() local 858 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); in StoreThumbnail() 859 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); in StoreThumbnail() 866 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); in StoreThumbnail() 868 return thumb; in StoreThumbnail()
|
/frameworks/base/docs/html/design/building-blocks/ |
D | seek-bars.jd | 6 by moving the slider thumb. The smallest value is to the left, the largest to the right. The
|
/frameworks/base/services/java/com/android/server/am/ |
D | TaskRecord.java | 134 ThumbnailHolder thumb = mActivities.get(i).thumbHolder; in disposeThumbnail() local 135 if (thumb != this) { in disposeThumbnail() 136 thumb.disposeThumbnail(); in disposeThumbnail()
|
/frameworks/base/docs/html/distribute/promote/ |
D | device-art.jd | 77 .device-list li .thumb-container { 81 .device-list li .thumb-container img { 90 .device-list li.drag-hover .thumb-container img { 374 .addClass('thumb-container') 376 .attr('src', 'device-art-resources/' + this.id + '/thumb.png')
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 1756 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/av/media/mtp/ |
D | MtpServer.cpp | 754 void* thumb = mDatabase->getThumbnail(handle, thumbSize); in doGetThumb() local 755 if (thumb) { in doGetThumb() 759 mData.writeData(mFD, thumb, thumbSize); in doGetThumb() 760 free(thumb); in doGetThumb()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | AppTransition.java | 387 Animation createThumbnailAnimationLocked(int transit, boolean enter, boolean thumb, in createThumbnailAnimationLocked() argument 394 if (thumb) { in createThumbnailAnimationLocked()
|
/frameworks/base/docs/html/guide/practices/ |
D | screen-compat-mode.jd | 28 <img src="{@docRoot}images/screens_support/compat-zoom-thumb.png" alt="" /> 36 <img src="{@docRoot}images/screens_support/compat-stretch-thumb.png" alt="" />
|
/frameworks/base/docs/html/training/scheduling/ |
D | wakelock.jd | 33 <p>The approach you take depends on the needs of your app. However, a general rule of thumb
|
/frameworks/base/core/java/android/view/ |
D | View.java | 4204 Drawable thumb = a.getDrawable(R.styleable.View_scrollbarThumbHorizontal); in initializeScrollbars() local 4205 if (thumb != null) { in initializeScrollbars() 4206 scrollabilityCache.scrollBar.setHorizontalThumbDrawable(thumb); in initializeScrollbars() 4218 thumb = a.getDrawable(R.styleable.View_scrollbarThumbVertical); in initializeScrollbars() 4219 if (thumb != null) { in initializeScrollbars() 4220 scrollabilityCache.scrollBar.setVerticalThumbDrawable(thumb); in initializeScrollbars() 4234 if (thumb != null) { in initializeScrollbars() 4235 thumb.setLayoutDirection(layoutDirection); in initializeScrollbars()
|
/frameworks/base/docs/html/design/patterns/ |
D | app-structure.jd | 195 minimize navigational effort. Rule of thumb: no more than 5–7 tabs.</p>
|
/frameworks/base/docs/html/training/articles/ |
D | perf-tips.jd | 315 <p>As a rule of thumb, floating-point is about 2x slower than integer on
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | BitcodeWriter.cpp | 1678 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer()
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | hardware-accel.jd | 736 of each other, consider merging them into a single layer. A good rule of thumb with current
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | BitcodeWriter.cpp | 1695 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer()
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | BitcodeWriter.cpp | 1888 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer()
|
/frameworks/base/docs/html/tools/sdk/ndk/ |
D | index.jd | 898 <li>Built additional GNU libstdc++ libraries in thumb for ARM.</li> 1233 {@code headers/libs} in sub-directory {@code armv7-a/thumb}. 2344 The previous binary generated invalid thumb instruction sequences when
|
/frameworks/base/api/ |
D | current.txt | 1120 field public static final int thumb = 16843074; // 0x1010142
|