Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/
DAbsSeekBar.java97 final Drawable thumb = a.getDrawable(com.android.internal.R.styleable.SeekBar_thumb); in AbsSeekBar() local
98 setThumb(thumb); in AbsSeekBar()
137 public void setThumb(Drawable thumb) { in setThumb() argument
142 if (mThumb != null && thumb != mThumb) { in setThumb()
149 if (thumb != null) { in setThumb()
150 thumb.setCallback(this); in setThumb()
152 thumb.setLayoutDirection(getLayoutDirection()); in setThumb()
158 mThumbOffset = thumb.getIntrinsicWidth() / 2; in setThumb()
162 (thumb.getIntrinsicWidth() != mThumb.getIntrinsicWidth() in setThumb()
163 || thumb.getIntrinsicHeight() != mThumb.getIntrinsicHeight())) { in setThumb()
[all …]
DScrollBarDrawable.java177 final Drawable thumb = mVerticalThumb; in drawThumb() local
178 if (changed) thumb.setBounds(thumbRect); in drawThumb()
179 thumb.draw(canvas); in drawThumb()
183 final Drawable thumb = mHorizontalThumb; in drawThumb() local
184 if (changed) thumb.setBounds(thumbRect); in drawThumb()
185 thumb.draw(canvas); in drawThumb()
190 public void setVerticalThumbDrawable(Drawable thumb) { in setVerticalThumbDrawable() argument
191 if (thumb != null) { in setVerticalThumbDrawable()
192 mVerticalThumb = thumb; in setVerticalThumbDrawable()
200 public void setHorizontalThumbDrawable(Drawable thumb) { in setHorizontalThumbDrawable() argument
[all …]
DSwitch.java482 public void setThumbDrawable(Drawable thumb) { in setThumbDrawable() argument
486 mThumbDrawable = thumb; in setThumbDrawable()
487 if (thumb != null) { in setThumbDrawable()
488 thumb.setCallback(this); in setThumbDrawable()
DFastScroller.java747 final View thumb = mThumbImage; in layoutTrack() local
755 final int thumbHalfHeight = thumb == null ? 0 : thumb.getHeight() / 2; in layoutTrack()
756 final int left = thumb.getLeft() + (thumb.getWidth() - trackWidth) / 2; in layoutTrack()
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/
DPress.java42 float thumb[] = {25f, 25f}; in describePrecision() local
43 return thumb; in describePrecision()
/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/
DDocumentsContract.java1020 final long[] thumb = exif.getThumbnailRange(); in openImageThumbnail() local
1021 if (thumb != null) { in openImageThumbnail()
1022 return new AssetFileDescriptor(pfd, thumb[0], thumb[1], extras); in openImageThumbnail()
DMediaStore.java883 Bitmap thumb = Bitmap.createBitmap(source, 0, 0, in StoreThumbnail() local
891 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); in StoreThumbnail()
892 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); in StoreThumbnail()
899 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); in StoreThumbnail()
901 return thumb; in StoreThumbnail()
/frameworks/base/docs/html/design/building-blocks/
Dseek-bars.jd6 by moving the slider thumb. The smallest value is to the left, the largest to the right. The
/frameworks/base/docs/html/distribute/tools/promote/
Ddevice-art.jd81 .device-list li .thumb-container {
85 .device-list li .thumb-container img {
94 .device-list li.drag-hover .thumb-container img {
378 .addClass('thumb-container')
380 .attr('src', 'device-art-resources/' + this.id + '/thumb.png')
/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/av/media/mtp/
DMtpServer.cpp770 void* thumb = mDatabase->getThumbnail(handle, thumbSize); in doGetThumb() local
771 if (thumb) { in doGetThumb()
775 mData.writeData(mFD, thumb, thumbSize); in doGetThumb()
776 free(thumb); in doGetThumb()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java398 public void setThumbDrawable(Drawable thumb) { in setThumbDrawable() argument
399 mThumbDrawable = thumb; in setThumbDrawable()
/frameworks/base/docs/html/guide/practices/
Dscreen-compat-mode.jd28 <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/
Dwakelock.jd33 <p>The approach you take depends on the needs of your app. However, a general rule of thumb
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp151 uint8_t* thumb = mCurrentThumbnail.editArray(); in setThumbnail() local
152 memcpy(thumb, buffer, size); in setThumbnail()
/frameworks/base/core/java/android/view/
DView.java4523 Drawable thumb = a.getDrawable(R.styleable.View_scrollbarThumbHorizontal); in initializeScrollbarsInternal() local
4524 if (thumb != null) { in initializeScrollbarsInternal()
4525 scrollabilityCache.scrollBar.setHorizontalThumbDrawable(thumb); in initializeScrollbarsInternal()
4537 thumb = a.getDrawable(R.styleable.View_scrollbarThumbVertical); in initializeScrollbarsInternal()
4538 if (thumb != null) { in initializeScrollbarsInternal()
4539 scrollabilityCache.scrollBar.setVerticalThumbDrawable(thumb); in initializeScrollbarsInternal()
4553 if (thumb != null) { in initializeScrollbarsInternal()
4554 thumb.setLayoutDirection(layoutDirection); in initializeScrollbarsInternal()
/frameworks/base/docs/html/design/patterns/
Dapp-structure.jd195 minimize navigational effort. Rule of thumb: no more than 5&ndash;7 tabs.</p>
/frameworks/base/docs/html/training/articles/
Dperf-tips.jd314 <p>As a rule of thumb, floating-point is about 2x slower than integer on
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp1661 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer()
/frameworks/base/docs/html/guide/topics/graphics/
Dhardware-accel.jd608 of each other, consider merging them into a single layer. A good rule of thumb with current
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp1678 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer()
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp1836 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer()
/frameworks/base/docs/html/tools/sdk/ndk/
Dindex.jd1739 <li>Built additional GNU libstdc++ libraries in thumb for ARM.</li>
2078 {@code headers/libs} in sub-directory {@code armv7-a/thumb}.
3195 The previous binary generated invalid thumb instruction sequences when

12