/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/ |
H A D | Press.java | 38 // average width of an adult thumb is 25 mm (1 inch). 42 float thumb[] = {25f, 25f}; 43 return thumb;
|
/frameworks/compile/mclinker/lib/Target/ARM/TargetInfo/ |
H A D | ARMTargetInfo.cpp | 20 mcld::RegisterTarget<llvm::Triple::thumb> Y(TheThumbTarget, "thumb");
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 97 final Drawable thumb = a.getDrawable(com.android.internal.R.styleable.SeekBar_thumb); 98 setThumb(thumb); 111 // Guess thumb offset if thumb != null, but allow layout to override. 130 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar. 132 * If the thumb is a valid drawable (i.e. not null), half its width will be 133 * used as the new thumb offset (@see #setThumbOffset(int)). 135 * @param thumb Drawable representing the thumb 137 public void setThumb(Drawable thumb) { argument 458 setThumbPos(int w, Drawable thumb, float scale, int offset) argument [all...] |
H A D | ScrollBarDrawable.java | 127 // avoid the tiny thumb 132 // avoid the too-big thumb 177 final Drawable thumb = mVerticalThumb; 178 if (changed) thumb.setBounds(thumbRect); 179 thumb.draw(canvas); 183 final Drawable thumb = mHorizontalThumb; 184 if (changed) thumb.setBounds(thumbRect); 185 thumb.draw(canvas); 190 public void setVerticalThumbDrawable(Drawable thumb) { argument 191 if (thumb ! 200 setHorizontalThumbDrawable(Drawable thumb) argument [all...] |
H A D | Switch.java | 51 * options. The user may drag the "thumb" back and forth to choose the selected option, 55 * controls the text on the thumb. Similarly, the 59 * the related seSwitchTypeface() methods control that of the thumb. 105 * Width required to draw the switch track and thumb. Includes padding and 106 * optical bounds for both the track and thumb. 111 * Height required to draw the switch track and thumb. Includes padding and 112 * optical bounds for both the track and thumb. 117 * Width of the thumb's content region. Does not include padding or 122 /** Left bound for drawing the switch track and thumb. */ 125 /** Top bound for drawing the switch track and thumb 482 setThumbDrawable(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. */ 88 /** Delay before considering a tap in the thumb area to be a drag. */ 169 * <li>{@link #STATE_VISIBLE}, showing track and thumb 203 /** Whether to precisely match the thumb position to the list. */ 283 // Add thumb to overlay if it has an image. 291 // Account for minimum thumb widt [all...] |
/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 | 1020 final long[] thumb = exif.getThumbnailRange(); 1021 if (thumb != null) { 1022 return new AssetFileDescriptor(pfd, thumb[0], thumb[1], extras);
|
H A D | MediaStore.java | 789 * The mini thumb id. 883 Bitmap thumb = Bitmap.createBitmap(source, 0, 0, 891 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight()); 892 values.put(Images.Thumbnails.WIDTH, thumb.getWidth()); 899 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); 901 return thumb; 1999 * The mini thumb id.
|
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 770 void* thumb = mDatabase->getThumbnail(handle, thumbSize); local 771 if (thumb) { 775 mData.writeData(mFD, thumb, thumbSize); 776 free(thumb); 860 mData.getUInt16(); // thumb format 861 mData.getUInt32(); // thumb compressed size 862 mData.getUInt32(); // thumb pix width 863 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/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SwitchCompat.java | 61 * options. The user may drag the "thumb" back and forth to choose the selected option, 65 * controls the text on the thumb. Similarly, the 69 * the related seSwitchTypeface() methods control that of the thumb. 109 * Width required to draw the switch track and thumb. Includes padding and 110 * optical bounds for both the track and thumb. 115 * Height required to draw the switch track and thumb. Includes padding and 116 * optical bounds for both the track and thumb. 121 * Width of the thumb's content region. Does not include padding or 126 /** Left bound for drawing the switch track and thumb. */ 129 /** Top bound for drawing the switch track and thumb 398 setThumbDrawable(Drawable thumb) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_DngCreator.cpp | 151 uint8_t* thumb = mCurrentThumbnail.editArray(); local 152 memcpy(thumb, buffer, size);
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 4523 Drawable thumb = a.getDrawable(R.styleable.View_scrollbarThumbHorizontal); 4524 if (thumb != null) { 4525 scrollabilityCache.scrollBar.setHorizontalThumbDrawable(thumb); 4537 thumb = a.getDrawable(R.styleable.View_scrollbarThumbVertical); 4538 if (thumb != null) { 4539 scrollabilityCache.scrollBar.setVerticalThumbDrawable(thumb); 4553 if (thumb != null) { 4554 thumb.setLayoutDirection(layoutDirection); 12598 * <p>Compute the horizontal offset of the horizontal scrollbar's thumb 12600 * of the thumb withi [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
H A D | BitcodeWriter.cpp | 1641 // Match x86_64-*, i[3-9]86-*, powerpc-*, powerpc64-*, arm-*, thumb-*, 1661 else if (Arch == Triple::arm || Arch == Triple::thumb)
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
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_3_2/ |
H A D | BitcodeWriter.cpp | 1816 // Match x86_64-*, i[3-9]86-*, powerpc-*, powerpc64-*, arm-*, thumb-*, 1836 else if (Arch == Triple::arm || Arch == Triple::thumb)
|