/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
PictureData.java | 24 Bitmap thumbnail; field in class:PictureData 26 public PictureData(int resourceId, String description, Bitmap thumbnail) { 29 this.thumbnail = thumbnail;
|
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/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
|
native_desktop_media_list.cc | 177 // Get a thumbnail for each source. 207 gfx::ImageSkia thumbnail = local 212 media_list_, i, thumbnail)); 360 sources_[index].thumbnail = image;
|
/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/chromium_org/chrome/renderer/ |
chrome_render_frame_observer.cc | 111 SkBitmap thumbnail; local 116 thumbnail = Downscale(image, 121 routing_id(), thumbnail, original_size));
|
/external/chromium_org/chrome/browser/chromeos/file_system_provider/ |
provided_file_system_interface.h | 44 std::string thumbnail; member in struct:chromeos::file_system_provider::EntryMetadata
|
/external/chromium_org/chrome/browser/thumbnails/ |
content_based_thumbnailing_algorithm.cc | 20 const char kThumbnailHistogramName[] = "Thumbnail.RetargetMS"; 21 const char kFailureHistogramName[] = "Thumbnail.FailedRetargetMS"; 98 LOG(WARNING) << "PostSequencedWorkerTask failed. The thumbnail for " 162 SkBitmap thumbnail = thumbnailing_utils::CreateRetargetedThumbnailImage( local 164 bool processing_failed = thumbnail.empty(); 169 << "The thumbnail for " << context->url 177 source_bitmap.extractSubset(&thumbnail, gfx::RectToSkIRect(clipping_rect)); 178 thumbnail = SkBitmapOperations::DownsampleByTwoUntilSize( 179 thumbnail, thumbnail_size.width(), thumbnail_size.height()); 202 base::Bind(&CallbackInvocationAdapter, callback, context, thumbnail)); [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/ |
BitmapRequestBuilder.java | 100 public BitmapRequestBuilder<ModelType, TranscodeType> thumbnail(float sizeMultiplier) { method in class:BitmapRequestBuilder 101 super.thumbnail(sizeMultiplier); 105 public BitmapRequestBuilder<ModelType, TranscodeType> thumbnail(BitmapRequestBuilder<ModelType, TranscodeType> method in class:BitmapRequestBuilder 107 super.thumbnail(thumbnailRequest); 285 public BitmapRequestBuilder<ModelType, TranscodeType> thumbnail( method in class:BitmapRequestBuilder 287 super.thumbnail(thumbnailRequest);
|
DrawableRequestBuilder.java | 36 public DrawableRequestBuilder<ModelType> thumbnail( method in class:DrawableRequestBuilder 38 super.thumbnail(thumbnailRequest); 43 public DrawableRequestBuilder<ModelType> thumbnail( method in class:DrawableRequestBuilder 45 super.thumbnail(thumbnailRequest); 50 public DrawableRequestBuilder<ModelType> thumbnail(float sizeMultiplier) { method in class:DrawableRequestBuilder 51 super.thumbnail(sizeMultiplier);
|
GifRequestBuilder.java | 35 public GifRequestBuilder<ModelType, TranscodeType> thumbnail( method in class:GifRequestBuilder 37 super.thumbnail(thumbnailRequest); 41 public GifRequestBuilder<ModelType, TranscodeType> thumbnail( method in class:GifRequestBuilder 43 super.thumbnail(thumbnailRequest); 48 public GifRequestBuilder<ModelType, TranscodeType> thumbnail(float sizeMultiplier) { method in class:GifRequestBuilder 49 super.thumbnail(sizeMultiplier);
|
GenericRequestBuilder.java | 40 * A generic class that can handle loading a bitmap either from an image or as a thumbnail from a video given 97 * Loads and displays the image retrieved by the given thumbnail request if it finishes before this request. 98 * Best used for loading thumbnail images that are smaller and will be loaded more quickly than the fullsize 102 * @see #thumbnail(float) 105 * Note - Any options on the main request will not be passed on to the thumbnail request. For example, if 106 * you want an animation to occur when either the full image loads or the thumbnail loads, you need to call 107 * {@link #animate(int)} on both the thumb and the full request. For a simpler thumbnail option, see 108 * {@link #thumbnail(float)}. 112 * Only the thumbnail call on the main request will be obeyed. 115 * @param thumbnailRequest The request to use to load the thumbnail 118 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> thumbnail( method in class:GenericRequestBuilder 150 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> thumbnail( method in class:GenericRequestBuilder [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
DrawUtils.java | 222 * @return the thumbnail {@link Image} of required size for given "big" {@link Image}, centered or 234 // create "thumbnail" Image with required size 235 Image thumbnail = new Image(null, minWidth, minHeight); local 236 GC gc = new GC(thumbnail); 242 // recreate "thumbnail" Image with transparent pixel 244 ImageData thumbnailData = thumbnail.getImageData(); 248 thumbnail.dispose();
|
/external/chromium_org/pdf/ |
thumbnail_control.cc | 186 pp::ImageData* thumbnail = NULL; local 191 thumbnail = image_cache_[visible_pages_[i].index]; 197 if (thumbnail == NULL) { 198 thumbnail = new pp::ImageData(owner()->GetInstance(), 202 engine_->PaintThumbnail(thumbnail, visible_pages_[i].index); 208 (thumbnail->size().width() - page_number.size().width()) / 2, 209 (thumbnail->size().height() - page_number.size().height()) / 2); 213 thumbnail, origin, kOpaqueAlpha); 216 image_cache_[visible_pages_[i].index] = thumbnail; 224 AlphaBlend(*thumbnail, draw_page_rc, image_data [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/ |
metadata_cache.js | 19 * thumbnail: url, transform 39 * cache.clear(entry, 'thumbnail'); 40 * cache.getOne(entry, 'thumbnail', function(thumbnail) { 41 * img.src = thumbnail.url; 765 * thumbnail: { url, transform } 805 return type === 'external' || type === 'thumbnail' || 878 thumbnailUrl: data.thumbnailUrl // Thumbnail passed from external server. 887 // If the file is present, don't fill the thumbnail here and allow to 889 result.thumbnail = null [all...] |
/device/lge/mako/camera/QCamera/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 280 omx_jpeg_thumbnail thumbnail; local 308 memset(&thumbnail, 0, sizeof(thumbnail)); 310 /* thumbnail crop info */ 311 thumbnail.cropWidth = CEILING2(src_buf->crop.width); 312 thumbnail.cropHeight = CEILING2(src_buf->crop.height); 313 thumbnail.left = src_buf->crop.offset_x; 314 thumbnail.top = src_buf->crop.offset_y; 316 /* thumbnail output dimention */ 317 thumbnail.width = src_buf->out_dim.width [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 314 omx_jpeg_thumbnail thumbnail; local 318 /*No thumbnail is required*/ 351 memset(&thumbnail, 0, sizeof(thumbnail)); 353 /* thumbnail crop info */ 354 thumbnail.cropWidth = CEILING2(src_buf->crop.width); 355 thumbnail.cropHeight = CEILING2(src_buf->crop.height); 356 thumbnail.left = src_buf->crop.offset_x; 357 thumbnail.top = src_buf->crop.offset_y; 359 /* thumbnail output dimention * [all...] |
/external/chromium_org/chrome/browser/history/ |
expire_history_backend_unittest.cc | 26 #include "chrome/tools/profiles/thumbnail-inl.h" 170 // Each visit has indexed data, each URL has thumbnail. The first two URLs will 213 // Thumbnails for each URL. |thumbnail| takes ownership of decoded SkBitmap. 216 gfx::Image thumbnail = gfx::Image::CreateFrom1xBitmap(*thumbnail_bitmap); local 221 top_sites_->SetPageThumbnail(url_row1.url(), thumbnail, score); 222 top_sites_->SetPageThumbnail(url_row2.url(), thumbnail, score); 223 top_sites_->SetPageThumbnail(url_row3.url(), thumbnail, score); 320 // Thumbnail should be gone. 423 // Verify things are the way we expect with a URL row, favicon, thumbnail. 452 // Verify things are the way we expect with a URL row, favicon, thumbnail [all...] |
top_sites_database.cc | 24 // url URL of the sites for which we have a thumbnail. 25 // url_rank Index of the URL in that thumbnail, 0-based. The thumbnail 28 // title The title to display under that thumbnail. 31 // boring_score How "boring" that thumbnail is. See ThumbnailScore. 32 // good_clipping True if the thumbnail was clipped from the bottom, keeping 34 // at_top True if the thumbnail was captured at the top of the 36 // last_updated The time at which this thumbnail was last updated. 37 // load_completed True if the thumbnail was captured after the page load was 39 // last_forced If this is a forced thumbnail, records the last time i 472 Images thumbnail; local [all...] |
top_sites_impl_unittest.cc | 155 // thumbnail data, which is stored as jpgs. 200 // Gets the thumbnail for |url| from TopSites. 209 SkBitmap thumbnail; local 210 thumbnail.allocN32Pixels(4, 4); 211 thumbnail.eraseColor(color); 212 return gfx::Image::CreateFrom1xBitmap(thumbnail); // adds ref. 316 // Returns true if the thumbnail equals the specified bytes. 579 // Create a dummy thumbnail. 580 gfx::Image thumbnail(CreateBitmap(SK_ColorWHITE)); 587 // Setting the thumbnail for invalid pages should fail 805 SkBitmap thumbnail = GetThumbnail(GURL("http:\/\/forced1")); local 1618 SkBitmap thumbnail = GetThumbnail(GURL("http:\/\/forced\/5")); local [all...] |
/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_org/chrome/browser/android/thumbnail/ |
thumbnail_store.cc | 5 #include "chrome/browser/android/thumbnail/thumbnail_store.h" 170 scoped_ptr<Thumbnail> thumbnail = Thumbnail::Create( local 172 thumbnail->SetBitmap(bitmap); 176 cache_.Put(tab_id, thumbnail.Pass()); 181 scoped_ptr<Thumbnail> approx_thumbnail = Thumbnail::Create( 197 Thumbnail* ThumbnailStore::Get(TabId tab_id, 200 Thumbnail* thumbnail = cache_.Get(tab_id) local 633 Thumbnail* thumbnail = cache_.Get(tab_id); local 811 scoped_ptr<Thumbnail> thumbnail = Thumbnail::Create( local 833 Thumbnail* thumbnail = cache_.Get(tab_id); local [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/ |
wallpaper_private_api.cc | 597 // Generates thumbnail before call api function callback. We can then 598 // request thumbnail in the javascript callback. 728 // thumbnail. We should either resize it or include a wallpaper thumbnail in 760 BinaryValue* thumbnail = BinaryValue::CreateWithCopiedBuffer(data.c_str(), local 762 SetResult(thumbnail); 815 SetError(base::StringPrintf("Failed to create/write thumbnail of %s.", [all...] |
/external/chromium_org/chrome/browser/android/provider/ |
chrome_browser_provider.cc | 1584 scoped_refptr<base::RefCountedMemory> thumbnail; local [all...] |
/external/chromium_org/components/history/core/browser/ |
history_types.h | 330 // If this is a URL for which we want to force a thumbnail, records the last 332 // If it's not a forced thumbnail, keep a time of 0. 413 scoped_refptr<base::RefCountedMemory> thumbnail; member in struct:history::Images
|