Searched refs:thumb (Results 1 - 20 of 20) sorted by relevance

/frameworks/compile/mclinker/lib/Target/ARM/TargetInfo/
H A DARMTargetInfo.cpp20 mcld::RegisterTarget<llvm::Triple::thumb> Y(TheThumbTarget, "thumb");
/frameworks/base/libs/hwui/tests/common/scenes/
H A DRecentsAnimation.cpp49 sk_sp<Bitmap> thumb(TestUtils::createBitmap(thumbnailSize, thumbnailSize, &bitmap));
52 sp<RenderNode> card = createCard(x, y, cardsize, cardsize, *thumb);
73 sp<RenderNode> createCard(int x, int y, int width, int height, Bitmap& thumb) { argument
75 [&thumb, width, height](RenderProperties& props, Canvas& canvas) {
81 canvas.drawBitmap(thumb, 0, 0, thumb.width(), thumb.height(),
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java41 * AbsSeekBar extends the capabilities of ProgressBar by adding a draggable thumb.
103 final Drawable thumb = a.getDrawable(R.styleable.SeekBar_thumb);
104 setThumb(thumb);
133 // Guess thumb offset if thumb != null, but allow layout to override.
156 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.
158 * If the thumb is a valid drawable (i.e. not null), half its width will be
159 * used as the new thumb offset (@see #setThumbOffset(int)).
161 * @param thumb Drawable representing the thumb
163 setThumb(Drawable thumb) argument
628 setThumbPos(int w, Drawable thumb, float scale, int offset) argument
[all...]
H A DScrollBarDrawable.java206 final Drawable thumb = mVerticalThumb;
208 thumb.setBounds(bounds.left, bounds.top + offset,
212 thumb.draw(canvas);
216 final Drawable thumb = mHorizontalThumb;
218 thumb.setBounds(bounds.left + offset, bounds.top,
222 thumb.draw(canvas);
227 public void setVerticalThumbDrawable(Drawable thumb) { argument
232 propagateCurrentState(thumb);
233 mVerticalThumb = thumb;
245 public void setHorizontalThumbDrawable(Drawable thumb) { argument
[all...]
H A DSwitch.java58 * options. The user may drag the "thumb" back and forth to choose the selected option,
62 * controls the text on the thumb. Similarly, the
66 * the related setSwitchTypeface() methods control that of the thumb.
125 * Width required to draw the switch track and thumb. Includes padding and
126 * optical bounds for both the track and thumb.
131 * Height required to draw the switch track and thumb. Includes padding and
132 * optical bounds for both the track and thumb.
137 * Width of the thumb's content region. Does not include padding or
142 /** Left bound for drawing the switch track and thumb. */
145 /** Top bound for drawing the switch track and thumb
614 setThumbDrawable(Drawable thumb) argument
[all...]
H A DFastScroller.java53 * Helper class for AbsListView to draw and control the Fast Scroll thumb
71 /** Minimum number of pages to justify showing a fast scroll thumb. */
74 /** Scroll thumb and preview not showing. */
77 /** Scroll thumb visible and moving along with the scrollbar. */
80 /** Scroll thumb and preview being dragged by user. */
88 // Positions for thumb in relation to track.
96 /** Delay before considering a tap in the thumb area to be a drag. */
141 // Used to convert between y-coordinate and thumb position within track.
184 * <li>{@link #STATE_VISIBLE}, showing track and thumb
218 /** Whether to precisely match the thumb positio
[all...]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DMediaStoreSaver.java128 Bitmap thumb = Bitmap.createBitmap(source, 0, 0,
137 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight());
138 values.put(Images.Thumbnails.WIDTH, thumb.getWidth());
144 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut);
146 return thumb;
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DMediaStoreSaver.java128 Bitmap thumb = Bitmap.createBitmap(source, 0, 0,
137 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight());
138 values.put(Images.Thumbnails.WIDTH, thumb.getWidth());
144 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut);
146 return thumb;
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteVolumeSlider.java28 * Volume slider with showing, hiding, and applying alpha supports to the thumb.
57 // The thumb drawable is a collection of drawables and its current drawables are changed per
67 public void setThumb(Drawable thumb) { argument
68 mThumb = thumb;
73 * Sets whether to show or hide thumb.
87 * the thumb.
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java302 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 DMediaStore.java841 * The mini thumb id.
935 Bitmap thumb = Bitmap.createBitmap(source, 0, 0,
943 values.put(Images.Thumbnails.HEIGHT, thumb.getHeight());
944 values.put(Images.Thumbnails.WIDTH, thumb.getWidth());
951 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut);
953 return thumb;
2066 * The mini thumb id.
H A DDocumentsContract.java1653 final long[] thumb = exif.getThumbnailRange();
1654 if (thumb != null) {
1655 return new AssetFileDescriptor(pfd, thumb[0], thumb[1], extras);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSwitchCompat.java59 * options. The user may drag the "thumb" back and forth to choose the selected option,
63 * controls the text on the thumb. Similarly, the
67 * the related setSwitchTypeface() methods control that of the thumb.
140 * Width required to draw the switch track and thumb. Includes padding and
141 * optical bounds for both the track and thumb.
146 * Height required to draw the switch track and thumb. Includes padding and
147 * optical bounds for both the track and thumb.
152 * Width of the thumb's content region. Does not include padding or
157 /** Left bound for drawing the switch track and thumb. */
160 /** Top bound for drawing the switch track and thumb
594 setThumbDrawable(Drawable thumb) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java1756 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/av/media/mtp/
H A DMtpServer.cpp834 void* thumb = mDatabase->getThumbnail(handle, thumbSize); local
835 if (thumb) {
839 mData.writeData(sHandle, thumb, thumbSize);
840 free(thumb);
940 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format
941 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb compressed size
942 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix width
943 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix height
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp249 uint8_t* thumb = mCurrentThumbnail.editArray(); local
250 memcpy(thumb, buffer, size);
/frameworks/base/core/java/android/view/
H A DView.java5772 Drawable thumb = a.getDrawable(R.styleable.View_scrollbarThumbHorizontal);
5773 if (thumb != null) {
5774 scrollabilityCache.scrollBar.setHorizontalThumbDrawable(thumb);
5786 thumb = a.getDrawable(R.styleable.View_scrollbarThumbVertical);
5787 if (thumb != null) {
5788 scrollabilityCache.scrollBar.setVerticalThumbDrawable(thumb);
5802 if (thumb != null) {
5803 thumb.setLayoutDirection(layoutDirection);
16430 * <p>Compute the horizontal offset of the horizontal scrollbar's thumb
16432 * of the thumb withi
[all...]
/frameworks/compile/slang/BitWriter_2_9/
H A DBitcodeWriter.cpp1664 // Match x86_64-*, i[3-9]86-*, powerpc-*, powerpc64-*, arm-*, thumb-*,
1684 else if (Arch == Triple::arm || Arch == Triple::thumb)
/frameworks/compile/slang/BitWriter_2_9_func/
H A DBitcodeWriter.cpp1728 // Match x86_64-*, i[3-9]86-*, powerpc-*, powerpc64-*, arm-*, thumb-*,
1748 else if (Arch == Triple::arm || Arch == Triple::thumb)
/frameworks/compile/slang/BitWriter_3_2/
H A DBitcodeWriter.cpp1802 // Match x86_64-*, i[3-9]86-*, powerpc-*, powerpc64-*, arm-*, thumb-*,
1822 else if (Arch == Triple::arm || Arch == Triple::thumb)

Completed in 633 milliseconds