/frameworks/base/sax/tests/saxtests/res/raw/ |
youtube.xml | 93 <media:thumbnail url='http://img.youtube.com/vi/nojWJ6-XmeQ/2.jpg' 95 time='00:00:22.500'></media:thumbnail> 96 <media:thumbnail url='http://img.youtube.com/vi/nojWJ6-XmeQ/1.jpg' 98 time='00:00:11.250'></media:thumbnail> 99 <media:thumbnail url='http://img.youtube.com/vi/nojWJ6-XmeQ/3.jpg' 101 time='00:00:33.750'></media:thumbnail> 102 <media:thumbnail url='http://img.youtube.com/vi/nojWJ6-XmeQ/0.jpg' 103 height='240' width='320'></media:thumbnail> 171 <media:thumbnail url='http://img.youtube.com/vi/JahdnOQ9XCA/2.jpg' 173 time='00:00:34.500'></media:thumbnail> [all...] |
/development/samples/devbytes/animation/WindowAnimations/src/com/example/android/windowanimations/ |
WindowAnimations.java | 46 final ImageView thumbnail = (ImageView) findViewById(R.id.thumbnail); local 90 // representations. Here, we scale up from a thumbnail image of the final sub-activity 91 thumbnail.setOnClickListener(new View.OnClickListener() { 94 BitmapDrawable drawable = (BitmapDrawable) thumbnail.getDrawable(); 98 thumbnail, bm, 0, 0).toBundle();
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
DrawableRequestBuilder.java | 54 * Loads and displays the {@link GlideDrawable} retrieved by the given thumbnail request if it finishes before this 55 * request. Best used for loading thumbnail {@link GlideDrawable}s that are smaller and will be loaded more quickly 60 * @see #thumbnail(float) 63 * Note - Any options on the main request will not be passed on to the thumbnail request. For example, if 64 * you want an animation to occur when either the full {@link GlideDrawable} loads or the thumbnail loads, 65 * you need to call {@link #animate(int)} on both the thumb and the full request. For a simpler thumbnail 66 * option where these options are applied to the humbnail as well, see {@link #thumbnail(float)}. 70 * Only the thumbnail call on the main request will be obeyed, recursive calls to this method are ignored. 73 * @param thumbnailRequest The request to use to load the thumbnail. 76 public DrawableRequestBuilder<ModelType> thumbnail( method in class:DrawableRequestBuilder 86 public DrawableRequestBuilder<ModelType> thumbnail( method in class:DrawableRequestBuilder 96 public DrawableRequestBuilder<ModelType> thumbnail(float sizeMultiplier) { method in class:DrawableRequestBuilder [all...] |
GifRequestBuilder.java | 48 public GifRequestBuilder<ModelType> thumbnail(GenericRequestBuilder<?, ?, ?, GifDrawable> thumbnailRequest) { method in class:GifRequestBuilder 49 super.thumbnail(thumbnailRequest); 54 * Loads and displays the GIF retrieved by the given thumbnail request if it finishes before this 55 * request. Best used for loading thumbnail GIFs that are smaller and will be loaded more quickly 60 * @see #thumbnail(float) 63 * Note - Any options on the main request will not be passed on to the thumbnail request. For example, if 64 * you want an animation to occur when either the full GIF loads or the thumbnail loads, 65 * you need to call {@link #animate(int)} on both the thumb and the full request. For a simpler thumbnail 66 * option where these options are applied to the humbnail as well, see {@link #thumbnail(float)}. 70 * Only the thumbnail call on the main request will be obeyed, recursive calls to this method are ignored 76 public GifRequestBuilder<ModelType> thumbnail(GifRequestBuilder<?> thumbnailRequest) { method in class:GifRequestBuilder 85 public GifRequestBuilder<ModelType> thumbnail(float sizeMultiplier) { method in class:GifRequestBuilder [all...] |
/frameworks/support/v4/jellybean/android/support/v4/app/ |
ActivityOptionsCompatJB.java | 40 Bitmap thumbnail, int startX, int startY) { 42 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY));
|
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
JpegImageBackendImageSaver.java | 54 * and just routes this image artifact as the thumbnail and to remote devices. 75 public void saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, 77 // TODO: Use thumbnail to speed up RGB thumbnail creation whenever 79 if (thumbnail.isPresent()) { 80 thumbnail.get().close(); 122 // Just start the thumbnail now, since there's no earlier event. 154 /** Factor to downsample full-size JPEG image for use in thumbnail bitmap. */
|
SingleImageSaver.java | 29 * Implementations should save and close the image and thumbnail (if 34 public void saveAndCloseImage(ImageProxy fullSize, Optional<ImageProxy> thumbnail,
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
BitmapUtils.java | 64 Bitmap thumbnail = getThumbnail(bitmap, 200); local 66 pictures.add(new PictureData(resourceId, description, thumbnail)); 85 * Create and return a thumbnail image given the original source bitmap and a max 101 Bitmap thumbnail = Bitmap.createScaledBitmap(original, scaledWidth, scaledHeight, true); local 103 return thumbnail;
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
ObjectBrowser.java | 94 byte[] thumbnail = mClient.getThumbnail(mDeviceName, info.getObjectHandle()); 95 if (thumbnail != null) { 96 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length); 98 ImageView thumbView = (ImageView)view.findViewById(R.id.thumbnail);
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
ZoomActivity.java | 35 * A sample showing how to zoom an image thumbnail to full-screen, by animating the bounds of the 36 * zoomed image from the thumbnail bounds to the screen bounds. 58 // Hook up clicks on the thumbnail views. 94 * "Zooms" in a thumbnail view by assigning the high resolution image to a hidden "zoomed-in" 106 * @param thumbView The thumbnail view to zoom in. 107 * @param imageResId The high-resolution version of the image represented by the thumbnail. 125 // The start bounds are the global visible rectangle of the thumbnail, and the 155 // Hide the thumbnail and show the zoomed-in view. When the animation begins, 156 // it will position the zoomed-in view in the place of the thumbnail. 192 // and show the thumbnail instead of the expanded image [all...] |
/device/asus/flo/camera/mm-image-codec/qomx_core/ |
QOMX_JpegExtensions.h | 40 * @ OMX_EVENT_THUMBNAIL_DROPPED - Indicates that the thumbnail 54 #define QOMX_IMAGE_EXT_THUMBNAIL_NAME "OMX.QCOM.image.exttype.thumbnail" 71 //Name: OMX.QCOM.image.exttype.thumbnail 151 * Includes all information associated with the thumbnail 152 * @input_width - Width of the input thumbnail buffer 153 * @input_height - Heighr of the input thumbnail buffer 154 * @scaling_enabled - Flag indicating if thumbnail scaling is 158 * @output_width - Output Width of the the thumbnail. This is 162 * @output_height - Output height of the thumbnail. This is 218 * or sequential encoding for the thumbnail an [all...] |
/device/lge/hammerhead/camera/mm-image-codec/qomx_core/ |
QOMX_JpegExtensions.h | 40 * @ OMX_EVENT_THUMBNAIL_DROPPED - Indicates that the thumbnail 54 #define QOMX_IMAGE_EXT_THUMBNAIL_NAME "OMX.QCOM.image.exttype.thumbnail" 71 //Name: OMX.QCOM.image.exttype.thumbnail 151 * Includes all information associated with the thumbnail 152 * @input_width - Width of the input thumbnail buffer 153 * @input_height - Heighr of the input thumbnail buffer 154 * @scaling_enabled - Flag indicating if thumbnail scaling is 162 * @output_width - Output Width of the the thumbnail. This is 166 * @output_height - Output height of the thumbnail. This is 223 * or sequential encoding for the thumbnail an [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaThumbRequest.java | 100 // Only requests from Thumbnail API has this group_id parameter. In other cases, 108 Uri updateDatabase(Bitmap thumbnail) { 123 values.put(Images.Thumbnails.WIDTH, thumbnail.getWidth()); 124 values.put(Images.Thumbnails.HEIGHT, thumbnail.getHeight()); 134 * Check if the corresponding thumbnail and mini-thumb have been created 137 * created, MINI_KIND thumbnail is stored in JPEG file and MICRO_KIND 138 * thumbnail is stored in a random access file (MiniThumbFile). 172 // If we can't retrieve the thumbnail, first check if there is one 186 Log.w(TAG, "Can't create mini thumbnail for " + mPath); 238 Log.w(TAG, "can't create bitmap for thumbnail.") [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoProcessor.java | 35 * photo and a thumbnail photo. 75 * The default sizes of a thumbnail/display picture. This is used in {@link #initialize()} 78 /** Size of a thumbnail */ 117 * @param maxThumbnailPhotoDim The maximum height and width for the thumbnail photo. 129 * @param maxThumbnailPhotoDim The maximum height and width for the thumbnail photo. 142 * @param maxThumbnailPhotoDim The maximum height and width for the thumbnail photo. 162 * @param maxThumbnailPhotoDim The maximum height and width for the thumbnail photo. 176 * Processes the original image, producing a scaled-down display photo and thumbnail photo. 273 * Retrieves the uncompressed thumbnail photo. 287 * Retrieves the compressed thumbnail photo as a byte array [all...] |
/frameworks/base/core/java/android/app/ |
ActivityOptions.java | 86 * Bitmap for thumbnail animation. 92 * Start X position of thumbnail animation. 98 * Start Y position of thumbnail animation. 343 * Create an ActivityOptions specifying an animation where a thumbnail 350 * thumbnail location and size provided here. 352 * @param source The View that this thumbnail is animating from. This 354 * @param thumbnail The bitmap that will be shown as the initial thumbnail 362 Bitmap thumbnail, int startX, int startY) { 363 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null) [all...] |
/frameworks/base/docs/html/training/contacts-provider/ |
display-contact-badge.jd | 17 <a href="#SetURIThumbnail">Set the Contact URI and Thumbnail</a> 55 initially appears as a thumbnail image. Although you can use any {@link android.graphics.Bitmap} 56 for the thumbnail image, you usually use a {@link android.graphics.Bitmap} decoded from the 57 contact's photo thumbnail image. 136 <h2 id="SetURIThumbnail">Set the Contact URI and Thumbnail</h2> 181 <h3>Set the photo thumbnail</h3> 184 load the contact's thumbnail photo. To load the photo, get a URI for the photo from the 186 thumbnail photo, and read the file into a {@link android.graphics.Bitmap}. 201 // The column in which to find the thumbnail ID 204 * The thumbnail URI, expressed as a String [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
RecentsTaskLoader.java | 191 // Load the thumbnail if it is stale or we haven't cached one yet 194 if (DEBUG) Log.d(TAG, "Loading thumbnail: " + t.key); 421 // Return the cached thumbnail if it exists 422 Bitmap thumbnail = mThumbnailCache.getAndInvalidateIfModified(taskKey); local 423 if (thumbnail != null) { 424 return thumbnail; 429 // Load the thumbnail from the system 430 thumbnail = ssp.getTaskThumbnail(taskKey.id); 431 if (thumbnail != null) { 432 mThumbnailCache.put(taskKey, thumbnail); 490 Bitmap thumbnail = mThumbnailCache.getAndInvalidateIfModified(t.key); local [all...] |
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
RSSPullParser.java | 42 // An attribute value indicating that the element contains a thumbnail 43 private static final String THUMBNAIL = "media:thumbnail"; 154 // If it's a THUMBNAIL 155 } else if (eventName.equalsIgnoreCase(THUMBNAIL)) { 157 // Stores the thumbnail URL and thumbnail name column names as keys
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ThumbnailLoadTask.java | 40 * Performs the load of a thumbnail bitmap in a background 74 // begin loading a thumbnail if this is an image and either the thumbnail or the original 83 // not an image, or no thumbnail exists. fall back to default. 131 // and pick the least affected dimension to ensure the thumbnail is fillable 150 LogUtils.i(LOG_TAG, "Unable to decode thumbnail %s: %s %s", thumbnailUri, 176 LogUtils.i(LOG_TAG, "Unable to get orientation of thumbnail %s: %s %s", thumbnailUri,
|
/frameworks/base/packages/SystemUI/res/values-land/ |
dimens.xml | 23 <!-- How far the thumbnail for a recent app appears from left edge --> 25 <!-- How far the thumbnail for a recent app appears from top edge --> 37 <!-- Where to place the app icon over the thumbnail -->
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
AttachmentProvider.java | 56 * content://com.android.mail.attachmentprovider/acct#/attach#/THUMBNAIL/width#/height# 98 * - If thumbnail Uri, always returns "image/png" (even if there's no attachment) 134 * and "thumbnail", which attempts to generate a thumbnail image. 138 * TODO: The thumbnail format returns null for its failure cases, instead of throwing 198 Bitmap thumbnail = createThumbnail(type, in); local 199 if (thumbnail == null) { 202 thumbnail = Bitmap.createScaledBitmap(thumbnail, width, height, true); 204 thumbnail.compress(Bitmap.CompressFormat.PNG, 100, out) [all...] |
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 37 * Thumbnail generation routines for media provider. 59 * Constant used to indicate the dimension of mini thumbnail. 65 * Constant used to indicate the dimension of micro thumbnail. 71 * This method first examines if the thumbnail embedded in EXIF is bigger than our target 72 * size. If not, then it'll create a thumbnail from original image. Due to efficiency 76 * This method always returns a "square thumbnail" for MICRO_KIND thumbnail. 137 // now we make it a "square thumbnail" for MICRO_KIND thumbnail 146 * Create a video thumbnail for a video. May return null if the video i 226 Bitmap thumbnail = transform(matrix, source, width, height, local [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/res/values/ |
strings.xml | 22 <string name="imageview_description">Image Thumbnail</string>
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/res/values/ |
strings.xml | 22 <string name="imageview_description">Image Thumbnail</string>
|
/development/samples/browseable/DisplayingBitmaps/res/values/ |
strings.xml | 22 <string name="imageview_description">Image Thumbnail</string>
|