/frameworks/ex/carousel/test/src/com/android/carouseltest/ |
TaskSwitcherActivity.java | 69 Bitmap thumbnail; field in class:TaskSwitcherActivity.ActivityDescription 79 thumbnail = _thumbnail; 88 thumbnail = null; 145 Bitmap bitmap = desc.thumbnail == null ? mBlankBitmap : desc.thumbnail; 177 Log.v(TAG, "New thumbnail for id=" + id + ", dimensions=" + w + "x" + h 181 info.thumbnail = bitmap; 249 if (r.thumbnail != null) { 250 int thumbWidth = r.thumbnail.getWidth(); 251 int thumbHeight = r.thumbnail.getHeight() [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ProjectPickerAdapter.java | 132 // Inflate a new view with project thumbnail and information. 135 // as a convertView, the async task might put a wrong thumbnail on it. 137 ImageView iv = (ImageView) v.findViewById(R.id.thumbnail); 138 Bitmap thumbnail; local 144 thumbnail = renderNewProjectThumbnail(); 152 thumbnail = getThumbnail(project.getPath(), iv, title, duration); 155 if (thumbnail != null) { 156 drawBottomOverlay(thumbnail, title, duration); 157 iv.setImageBitmap(thumbnail); 267 final File thumbnail = new File(mProjectPath, VideoEditor.THUMBNAIL_FILENAME) local [all...] |
/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;
|
/external/chromium_org/chrome/browser/resources/ntp4/ |
new_tab_theme.css | 101 .most-visited:focus:not(.filler) .thumbnail-wrapper, 102 .most-visited:hover:not(.filler) .thumbnail-wrapper { 106 .thumbnail-wrapper { 107 /* This shows through at the (rounded) thumbnail's corners. */ 111 .filler .thumbnail {
|
/external/chromium_org/chrome/browser/thumbnails/ |
thumbnail_service_unittest.cc | 45 // Adds a known URL with the associated thumbnail score. 111 // Should be true, as the existing thumbnail is bad (i.e. need a better one). 114 // Replace the thumbnail score with a really good one. 123 // Should be false, as the existing thumbnail is good enough (i.e. don't 124 // need to replace the existing thumbnail which is new and good).
|
thumbnail_tab_helper.cc | 42 // thumbnail for the tab rendered by the renderer, if needed. The 43 // heuristics to judge whether or not to update the thumbnail is 56 // Feed the constructed thumbnail to the thumbnail service. 58 const SkBitmap& thumbnail) { 59 gfx::Image image = gfx::Image::CreateFrom1xBitmap(thumbnail); 61 VLOG(1) << "Thumbnail taken for " << context.url << ": " 95 // for creating the thumbnail. 208 // Skip if we don't need to update the 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...] |
/hardware/qcom/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...] |
/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). 169 // If we can't retrieve the thumbnail, first check if there is one 183 Log.w(TAG, "Can't create mini thumbnail for " + mPath); 230 Log.w(TAG, "can't create bitmap for thumbnail.") [all...] |
/external/chromium/chrome/browser/tab_contents/ |
thumbnail_generator.cc | 40 // when a request for a thumbnail comes in, to grab the backing store and make 51 // thumbnail for the tab rendered by the renderer, if needed. The 52 // heuristics to judge whether or not to update the thumbnail is 63 static const char kThumbnailHistogramName[] = "Thumbnail.ComputeMS"; 73 // Creates a downsampled thumbnail for the given backing store. The returned 94 // Check if a clipped thumbnail is requested. 206 // We are going to render the thumbnail asynchronously now, so keep 258 // have to return the empty thumbnail. 415 // thumbnail in the wider screen. 442 // Skip if we don't need to update the thumbnail 448 SkBitmap thumbnail = GetThumbnailForRendererWithOptions( local [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/media/ |
media_util.js | 8 * Loads a thumbnail using provided url. In CANVAS mode, loaded images 18 * jpeg thumbnail if available. Default: USE_EMBEDDED. 52 if (opt_metadata.thumbnail && opt_metadata.thumbnail.url && 54 this.thumbnailUrl_ = opt_metadata.thumbnail.url; 56 opt_metadata.thumbnail.transform; 62 // Use fallback as the primary thumbnail. 65 } // else the generic thumbnail based on the media type will be used. 70 * in a container, when loading a thumbnail in FillMode.AUTO mode. 77 * Type of displaying a thumbnail within a box [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. 268 * Retrieves the uncompressed thumbnail photo. 282 * Retrieves the compressed thumbnail photo as a byte array [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...] |
/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
|
/frameworks/support/v4/java/android/support/v4/app/ |
ActivityOptionsCompat.java | 83 * Create an ActivityOptions specifying an animation where a thumbnail is 89 * those bounds will be filled in for you based on the initial thumbnail 92 * @param source The View that this thumbnail is animating from. This 94 * @param thumbnail The bitmap that will be shown as the initial thumbnail 102 Bitmap thumbnail, int startX, int startY) { 105 ActivityOptionsCompatJB.makeThumbnailScaleUpAnimation(source, thumbnail,
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ThumbnailLoadTask.java | 40 * Performs the load of a thumbnail bitmap in a background 66 // begin loading a thumbnail if this is an image and either the thumbnail or the original 80 // not an image, or no thumbnail exists. fall back to default. 128 // and pick the least affected dimension to ensure the thumbnail is fillable 147 LogUtils.i(LOG_TAG, "Unable to decode thumbnail %s: %s %s", thumbnailUri, 173 LogUtils.i(LOG_TAG, "Unable to get orientation of thumbnail %s: %s %s", thumbnailUri,
|
/device/lge/mako/camera/mm-camera-interface/ |
mm_omx_jpeg_encoder.c | 81 static omx_jpeg_thumbnail thumbnail; variable 356 ALOGV("%s: thumbnail widht %d height %d", __func__, 357 thumbnail.width, thumbnail.height); 504 thumbnail.width = encode_params->dimension->thumbnail_width; 505 thumbnail.height = encode_params->dimension->thumbnail_height; 509 ALOGV("%s: thumbnail width %d height %d", __func__, 580 /*case of thumbnail*/ 589 thumbnail.scaling = 0; 597 thumbnail.cropWidth = CEILING2(encode_params->dimension->thumbnail_width) [all...] |
/external/chromium/chrome/browser/history/ |
history_publisher.h | 37 void PublishPageThumbnail(const std::vector<unsigned char>& thumbnail, 52 const std::vector<unsigned char>* thumbnail; member in struct:history::HistoryPublisher::PageData 77 // The format of the thumbnail we pass to indexers.
|
top_sites.h | 57 // Sets the given thumbnail for the given URL. Returns true if the thumbnail 59 // that our current thumbnail was superior to the given one. 61 const SkBitmap& thumbnail, 75 // Get a thumbnail for a given page. Returns true iff we have the thumbnail. 82 // Get a thumbnail score for a given page. Returns true iff we have the 83 // thumbnail score. This may be invoked on any thread. The score will 87 // Get a temporary thumbnail score for a given page. Returns true iff we 88 // have the thumbnail score. Useful when checking if we should update [all...] |
/external/chromium/chrome/common/ |
thumbnail_score_unittest.cc | 38 // Having many redirects should age the thumbnail. 59 // generate a new thumbnail. 71 // at_top is important. Finally, the thumbnail is new and interesting enough.
|
/external/chromium_org/chrome/android/java/res/values/ |
values.xml | 17 <!-- The number of thumbnails that the thumbnail cache can hold. --> 21 <!-- The maximum size of the write queue in the thumbnail cache. --> 23 <!-- The maximum size of the compression queue in the thumbnail cache. -->
|
/external/chromium_org/chrome/browser/media/ |
desktop_media_list.h | 29 // The thumbnail for the source. 30 gfx::ImageSkia thumbnail; member in struct:DesktopMediaList::Source 36 // thumbnail are updated once per second. If called after StartUpdating() then
|
/packages/apps/Email/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...] |