/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 73 Drawable thumb = a.getDrawable(com.android.internal.R.styleable.SeekBar_thumb); 74 setThumb(thumb); // will guess mThumbOffset if thumb != null... 90 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar. 92 * If the thumb is a valid drawable (i.e. not null), half its width will be 93 * used as the new thumb offset (@see #setThumbOffset(int)). 95 * @param thumb Drawable representing the thumb 97 public void setThumb(Drawable thumb) { argument 102 if (mThumb != null && thumb ! 286 setThumbPos(int w, Drawable thumb, float scale, int gap) argument [all...] |
H A D | ScrollBarDrawable.java | 127 // avoid the tiny thumb 132 // avoid the too-big thumb 176 final Drawable thumb = mVerticalThumb; 177 if (changed) thumb.setBounds(thumbRect); 178 thumb.draw(canvas); 180 final Drawable thumb = mHorizontalThumb; 181 if (changed) thumb.setBounds(thumbRect); 182 thumb.draw(canvas); 186 public void setVerticalThumbDrawable(Drawable thumb) { argument 187 if (thumb ! 196 setHorizontalThumbDrawable(Drawable thumb) argument [all...] |
H A D | FastScroller.java | 49 * Helper class for AbsListView to draw and control the Fast Scroll thumb 67 /** Minimum number of pages to justify showing a fast scroll thumb. */ 70 /** Scroll thumb and preview not showing. */ 73 /** Scroll thumb visible and moving along with the scrollbar. */ 76 /** Scroll thumb and preview being dragged by user. */ 105 /** Delay before considering a tap in the thumb area to be a drag. */ 174 * <li>{@link #STATE_VISIBLE}, showing track and thumb 207 /** Whether to precisely match the thumb position to the list. */ 277 // Add thumb to overlay if it has an image. 285 // If necessary, apply minimum thumb widt [all...] |
H A D | Switch.java | 46 * options. The user may drag the "thumb" back and forth to choose the selected option, 50 * controls the text on the thumb. Similarly, the 54 * the related seSwitchTypeface() methods control that of the thumb. 352 * @param pixels Horizontal padding for switch thumb text in pixels 364 * @return Horizontal padding for switch thumb text in pixels 407 * Set the drawable used for the switch "thumb" - the piece that the user 410 * @param thumb Thumb drawable 414 public void setThumbDrawable(Drawable thumb) { argument 415 mThumbDrawable = thumb; 420 * Set the drawable used for the switch "thumb" [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | ToggleSlider.java | 86 Drawable thumb; 90 thumb = res.getDrawable( 95 thumb = res.getDrawable( 100 mSlider.setThumb(thumb);
|
/frameworks/base/core/java/android/app/ |
H A D | LauncherActivity.java | 302 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); 304 canvas.setBitmap(thumb); 316 icon = new BitmapDrawable(getResources(), thumb); 320 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); 322 canvas.setBitmap(thumb); 329 icon = new BitmapDrawable(getResources(), thumb);
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsContract.java | 851 final long[] thumb = exif.getThumbnailRange(); 852 if (thumb != null) { 853 return new AssetFileDescriptor(pfd, thumb[0], thumb[1], extras);
|
H A D | MediaStore.java | 756 * The mini thumb id. 850 Bitmap thumb = Bitmap.createBitmap(source, 0, 0, 858 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); 859 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); 866 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); 868 return thumb; 1951 * The mini thumb id.
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | TaskRecord.java | 134 ThumbnailHolder thumb = mActivities.get(i).thumbHolder; 135 if (thumb != this) { 136 thumb.disposeThumbnail();
|
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 754 void* thumb = mDatabase->getThumbnail(handle, thumbSize); local 755 if (thumb) { 759 mData.writeData(mFD, thumb, thumbSize); 760 free(thumb); 844 mData.getUInt16(); // thumb format 845 mData.getUInt32(); // thumb compressed size 846 mData.getUInt32(); // thumb pix width 847 mData.getUInt32(); // thumb pix height
|
/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)) {
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | AppTransition.java | 387 Animation createThumbnailAnimationLocked(int transit, boolean enter, boolean thumb, argument 394 if (thumb) {
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 4204 Drawable thumb = a.getDrawable(R.styleable.View_scrollbarThumbHorizontal); 4205 if (thumb != null) { 4206 scrollabilityCache.scrollBar.setHorizontalThumbDrawable(thumb); 4218 thumb = a.getDrawable(R.styleable.View_scrollbarThumbVertical); 4219 if (thumb != null) { 4220 scrollabilityCache.scrollBar.setVerticalThumbDrawable(thumb); 4234 if (thumb != null) { 4235 thumb.setLayoutDirection(layoutDirection); 11759 * <p>Compute the horizontal offset of the horizontal scrollbar's thumb 11761 * of the thumb withi [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
H A D | BitcodeWriter.cpp | 1658 // Match x86_64-*, i[3-9]86-*, powerpc-*, powerpc64-*, arm-*, thumb-*, 1678 else if (Arch == Triple::arm || Arch == Triple::thumb)
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
H A D | BitcodeWriter.cpp | 1675 // Match x86_64-*, i[3-9]86-*, powerpc-*, powerpc64-*, arm-*, thumb-*, 1695 else if (Arch == Triple::arm || Arch == Triple::thumb)
|
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | BitcodeWriter.cpp | 1868 // Match x86_64-*, i[3-9]86-*, powerpc-*, powerpc64-*, arm-*, thumb-*, 1888 else if (Arch == Triple::arm || Arch == Triple::thumb)
|