/external/chromium_org/chrome/browser/media/ |
H A D | 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
|
H A D | 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;
|
/external/chromium_org/chrome/renderer/ |
H A D | 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/ |
H A D | provided_file_system_interface.h | 44 std::string thumbnail; member in struct:chromeos::file_system_provider::EntryMetadata
|
/external/chromium_org/chrome/browser/history/ |
H A D | top_sites_backend.cc | 59 const Images& thumbnail) { 63 url_rank, thumbnail)); 125 const Images& thumbnail) { 129 db_->SetPageThumbnail(url, url_rank, thumbnail); 57 SetPageThumbnail(const MostVisitedURL& url, int url_rank, const Images& thumbnail) argument 123 SetPageThumbnailOnDBThread(const MostVisitedURL& url, int url_rank, const Images& thumbnail) argument
|
H A D | 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); 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. 502 // Should still have the thumbnail [all...] |
H A D | 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, record 472 Images thumbnail; local 485 SetPageThumbnail(const MostVisitedURL& url, int new_rank, const Images& thumbnail) argument 502 UpdatePageThumbnail( const MostVisitedURL& url, const Images& thumbnail) argument 529 AddPageThumbnail(const MostVisitedURL& url, int new_rank, const Images& thumbnail) argument 657 GetPageThumbnail(const GURL& url, Images* thumbnail) argument [all...] |
H A D | top_sites_impl.cc | 135 const gfx::Image& thumbnail, 158 if (!EncodeBitmap(thumbnail, &thumbnail_data)) 496 // When comparing the thumbnail scores, we need to take into account the 497 // redirect hops, which are not generated when the thumbnail is because the 505 image->thumbnail.get()) 508 image->thumbnail = const_cast<base::RefCountedMemory*>(thumbnail_data); 517 const base::RefCountedMemory* thumbnail, 519 if (!SetPageThumbnailNoDB(url, thumbnail, score)) 564 const base::RefCountedMemory* thumbnail, 571 image.second.thumbnail 134 SetPageThumbnail(const GURL& url, const gfx::Image& thumbnail, const ThumbnailScore& score) argument 515 SetPageThumbnailEncoded( const GURL& url, const base::RefCountedMemory* thumbnail, const ThumbnailScore& score) argument 562 AddTemporaryThumbnail( const GURL& url, const base::RefCountedMemory* thumbnail, const ThumbnailScore& score) argument [all...] |
H A D | 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 fo 805 SkBitmap thumbnail = GetThumbnail(GURL("http://forced1")); local 1618 SkBitmap thumbnail = GetThumbnail(GURL("http://forced/5")); local [all...] |
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | thumbnail_service_impl.cc | 22 // The thumbnail size in DIP. 26 // True if thumbnail retargeting feature is enabled (Finch/flags). 56 const gfx::Image& thumbnail) { 61 return local_ptr->SetPageThumbnail(context.url, thumbnail, context.score); 105 // Skip if we don't have to udpate the existing thumbnail. 110 // Skip if we don't have to udpate the temporary thumbnail (i.e. the one 55 SetPageThumbnail(const ThumbnailingContext& context, const gfx::Image& thumbnail) argument
|
H A D | content_based_thumbnailing_algorithm.cc | 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)); 218 // thumbnail size).
|
H A D | thumbnail_tab_helper.cc | 41 // thumbnail for the tab rendered by the renderer, if needed. The 42 // heuristics to judge whether or not to update the thumbnail is 55 // Feed the constructed thumbnail to the thumbnail service. 57 const SkBitmap& thumbnail) { 58 gfx::Image image = gfx::Image::CreateFrom1xBitmap(thumbnail); 193 // Skip if we don't need to update the thumbnail. 56 UpdateThumbnail(const ThumbnailingContext& context, const SkBitmap& thumbnail) argument
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/profiles/ |
H A D | MostVisitedSites.java | 34 * Interface for receiving a thumbnail for a most visited site. 38 * Callback method for fetching thumbnail of a most visited URL. 41 * @param thumbnail The bitmap thumbnail for the requested URL. 44 public void onMostVisitedURLsThumbnailAvailable(Bitmap thumbnail); argument 93 * Fetches thumbnail bitmap for a url returned by getMostVisitedURLs. 101 public void onMostVisitedURLsThumbnailAvailable(Bitmap thumbnail) { 104 callback.onMostVisitedURLsThumbnailAvailable(thumbnail);
|
/external/chromium_org/pdf/ |
H A D | 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_r [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/ |
H A D | 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);
|
H A D | 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);
|
H A D | 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);
|
H A D | 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/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/ |
H A D | 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' || 887 // If the file is present, don't fill the thumbnail here and allow to 889 result.thumbnail = null; 891 result.thumbnail [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/ |
H A D | 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.",
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | desktop_media_picker_views.cc | 88 void DesktopMediaSourceView::SetThumbnail(const gfx::ImageSkia& thumbnail) { argument 89 image_view_->SetImage(thumbnail); 374 source_view->SetThumbnail(source.thumbnail);
|
/external/chromium_org/chrome/browser/android/thumbnail/ |
H A D | 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()); 200 Thumbnail* thumbnail = cache_.Get(tab_id); local 201 if (thumbnail) { 202 thumbnail->CreateUIResource(); 203 return thumbnail; 216 thumbnail = approximation_cache_.Get(tab_id); 217 if (thumbnail) { 472 InvalidateCachedThumbnail(Thumbnail* thumbnail) argument 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/components/history/core/browser/ |
H A D | 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
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
H A D | ChromeBrowserProvider.java | 654 private void populateNodeImages(BookmarkNode node, boolean favicon, boolean thumbnail) { argument 661 if (thumbnail) { 764 // Favicon and thumbnail optionally set in a 2-step procedure. 814 * @return The bookmark thumbnail, if any. 816 public byte[] thumbnail() { method in class:ChromeBrowserProvider.BookmarkNode 889 public void setThumbnail(byte[] thumbnail) { argument 890 mThumbnail = thumbnail; 968 byte[] thumbnail = source.createByteArray(); 978 node.setThumbnail(thumbnail);
|
/external/chromium_org/chrome/browser/android/provider/ |
H A D | chrome_browser_provider.cc | 1584 scoped_refptr<base::RefCountedMemory> thumbnail; local 1586 top_sites_->GetPageThumbnail(url, false, &thumbnail); 1588 if (!thumbnail.get() || !thumbnail->front()) { 1592 return base::android::ToJavaByteArray(env, thumbnail->front(), 1593 thumbnail->size());
|