/frameworks/base/core/java/android/widget/ |
D | AbsSeekBar.java | 92 final Drawable thumb = a.getDrawable(R.styleable.SeekBar_thumb); in AbsSeekBar() local 93 setThumb(thumb); in AbsSeekBar() 136 public void setThumb(Drawable thumb) { in setThumb() argument 141 if (mThumb != null && thumb != mThumb) { in setThumb() 148 if (thumb != null) { in setThumb() 149 thumb.setCallback(this); in setThumb() 151 thumb.setLayoutDirection(getLayoutDirection()); in setThumb() 157 mThumbOffset = thumb.getIntrinsicWidth() / 2; in setThumb() 161 (thumb.getIntrinsicWidth() != mThumb.getIntrinsicWidth() in setThumb() 162 || thumb.getIntrinsicHeight() != mThumb.getIntrinsicHeight())) { in setThumb() [all …]
|
D | ScrollBarDrawable.java | 211 final Drawable thumb = mVerticalThumb; in drawThumb() local 213 thumb.setBounds(bounds.left, bounds.top + offset, in drawThumb() 217 thumb.draw(canvas); in drawThumb() 221 final Drawable thumb = mHorizontalThumb; in drawThumb() local 223 thumb.setBounds(bounds.left + offset, bounds.top, in drawThumb() 227 thumb.draw(canvas); in drawThumb() 232 public void setVerticalThumbDrawable(Drawable thumb) { in setVerticalThumbDrawable() argument 237 propagateCurrentState(thumb); in setVerticalThumbDrawable() 238 mVerticalThumb = thumb; in setVerticalThumbDrawable() 250 public void setHorizontalThumbDrawable(Drawable thumb) { in setHorizontalThumbDrawable() argument [all …]
|
D | Switch.java | 610 public void setThumbDrawable(Drawable thumb) { in setThumbDrawable() argument 614 mThumbDrawable = thumb; in setThumbDrawable() 615 if (thumb != null) { in setThumbDrawable() 616 thumb.setCallback(this); in setThumbDrawable()
|
D | FastScroller.java | 769 final View thumb = mThumbImage; in layoutTrack() local 784 final int thumbHalfHeight = thumb.getHeight() / 2; in layoutTrack() 790 final int left = thumb.getLeft() + (thumb.getWidth() - trackWidth) / 2; in layoutTrack()
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
D | MediaStoreSaver.java | 128 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/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/compile/mclinker/lib/Target/ARM/TargetInfo/ |
D | ARMTargetInfo.cpp | 20 mcld::RegisterTarget<llvm::Triple::thumb> Y(TheThumbTarget, "thumb"); in MCLDInitializeARMLDTargetInfo()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 1048 final long[] thumb = exif.getThumbnailRange(); in openImageThumbnail() local 1049 if (thumb != null) { in openImageThumbnail() 1050 return new AssetFileDescriptor(pfd, thumb[0], thumb[1], extras); in openImageThumbnail()
|
D | MediaStore.java | 913 Bitmap thumb = Bitmap.createBitmap(source, 0, 0, in StoreThumbnail() local 921 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); in StoreThumbnail() 922 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); in StoreThumbnail() 929 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); in StoreThumbnail() 931 return thumb; in StoreThumbnail()
|
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/ |
D | device-art.jd | 74 .device-list li .thumb-container { 78 .device-list li .thumb-container img { 87 .device-list li.drag-hover .thumb-container img { 356 .addClass('thumb-container') 358 …tr('src', '../../../../../distribute/tools/promote/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/base/docs/html/distribute/tools/promote/ |
D | device-art.jd | 87 .device-list li .thumb-container { 91 .device-list li .thumb-container img { 100 .device-list li.drag-hover .thumb-container img { 427 .addClass('thumb-container') 429 .attr('src', 'device-art-resources/' + this.id + '/thumb.png')
|
/frameworks/av/media/mtp/ |
D | MtpServer.cpp | 806 void* thumb = mDatabase->getThumbnail(handle, thumbSize); in doGetThumb() local 807 if (thumb) { in doGetThumb() 811 mData.writeData(mFD, thumb, thumbSize); in doGetThumb() 812 free(thumb); in doGetThumb()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SwitchCompat.java | 429 public void setThumbDrawable(Drawable thumb) { in setThumbDrawable() argument 430 mThumbDrawable = thumb; in setThumbDrawable()
|
/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/ndk/guides/ |
D | android_mk.jd | 543 <p>By default, the build system generates ARM target binaries in <em>thumb</em> mode, where each 544 instruction is 16 bits wide and linked with the STL libraries in the {@code thumb/} directory. 582 {@code foo.c} with thumb and neon support, {@code bar.c} with thumb support, and
|
D | standalone_toolchain.jd | 405 <td>{@code thumb-none-linux-androideabi}</td>
|
/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/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 240 uint8_t* thumb = mCurrentThumbnail.editArray(); in setThumbnail() local 241 memcpy(thumb, buffer, size); in setThumbnail()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 4841 Drawable thumb = a.getDrawable(R.styleable.View_scrollbarThumbHorizontal); in initializeScrollbarsInternal() local 4842 if (thumb != null) { in initializeScrollbarsInternal() 4843 scrollabilityCache.scrollBar.setHorizontalThumbDrawable(thumb); in initializeScrollbarsInternal() 4855 thumb = a.getDrawable(R.styleable.View_scrollbarThumbVertical); in initializeScrollbarsInternal() 4856 if (thumb != null) { in initializeScrollbarsInternal() 4857 scrollabilityCache.scrollBar.setVerticalThumbDrawable(thumb); in initializeScrollbarsInternal() 4871 if (thumb != null) { in initializeScrollbarsInternal() 4872 thumb.setLayoutDirection(layoutDirection); in initializeScrollbarsInternal()
|
/frameworks/base/docs/html/design/patterns/ |
D | app-structure.jd | 204 minimize navigational effort. Rule of thumb: no more than 5–7 tabs.</p>
|
/frameworks/base/docs/html/training/articles/ |
D | perf-tips.jd | 314 <p>As a rule of thumb, floating-point is about 2x slower than integer on
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | hardware-accel.jd | 652 of each other, consider merging them into a single layer. A good rule of thumb with current
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | BitcodeWriter.cpp | 1685 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer()
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | BitcodeWriter.cpp | 1747 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer()
|