Searched refs:thumbnail (Results 1 - 25 of 72) sorted by relevance

123

/external/chromium_org/chrome/browser/resources/ntp4/
H A Dmost_visited_page.css30 /* filler mode: hide everything except the thumbnail --- leave a grey rectangle
102 .thumbnail {
111 * to scale a thumbnail larger than this size. */
116 .filler .thumbnail {
123 .thumbnail-shield {
132 .thumbnail-shield {
137 .most-visited:focus .thumbnail,
138 .most-visited:hover .thumbnail {
142 .most-visited:focus .thumbnail-shield,
143 .most-visited:hover .thumbnail
[all...]
H A Dsuggestions_page.css86 .suggestions:focus .thumbnail,
87 .suggestions:hover .thumbnail {
91 .suggestions:focus .thumbnail-shield,
92 .suggestions:hover .thumbnail-shield,
93 .suggestions:active .thumbnail-shield {
99 /* The thumbnail gets lighter when clicked, but not when the click is on the
101 .suggestions:active .close-button:not(:active) + .thumbnail {
105 /* The thumbnail gets a shadow when clicked, but not when the click is on the
107 .suggestions:active .close-button:not(:active) + .thumbnail .thumbnail
[all...]
H A Dnew_tab_theme.css101 .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/history/
H A Dtop_sites_database.h41 // Set a thumbnail for a URL. |url_rank| is the position of the URL
44 // thumbnail and rank. Shift the ranks of other URLs if necessary.
47 const Images& thumbnail);
53 // Get a thumbnail for a given page. Returns true iff we have the thumbnail.
54 bool GetPageThumbnail(const GURL& url, Images* thumbnail);
75 // Upgrades the thumbnail table to version 3, returning true if the
82 const Images& thumbnail);
87 // Updates thumbnail of a URL that's already in the database.
90 const Images& thumbnail);
[all...]
H A Dtop_sites_database.cc24 // 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 Dtop_sites_backend.h48 // Sets the thumbnail.
51 const Images& thumbnail);
80 // Sets the thumbnail.
83 const Images& thumbnail);
H A Dtop_sites_backend.cc59 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 Dtop_sites_impl_unittest.cc155 // 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/android/java/src/org/chromium/chrome/browser/profiles/
H A DMostVisitedSites.java34 * 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/ui/file_manager/gallery/js/
H A Dribbon.js8 * Scrollable thumbnail ribbon at the bottom of the Gallery in the Slide mode.
300 * Create a DOM element for a thumbnail.
318 var thumbnail = this.ownerDocument.createElement('div');
319 thumbnail.className = 'ribbon-image';
320 thumbnail.addEventListener('click', function() {
326 util.createChild(thumbnail, 'image-wrapper');
328 this.setThumbnailImage_(thumbnail, item);
333 this.renderCache_[url] = thumbnail;
334 return thumbnail;
338 * Set the thumbnail imag
[all...]
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/
H A Dget_metadata.cc47 if (params->metadata.thumbnail.get()) {
48 // Sanity check for the thumbnail format. Note, that another, more granural
53 params->metadata.thumbnail.get()->substr(0, expected_prefix.size());
62 output->thumbnail = *params->metadata.thumbnail.get();
92 options.thumbnail =
/external/chromium_org/chrome/browser/media/
H A Ddesktop_media_list.h29 // 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
/external/chromium_org/chrome/browser/thumbnails/
H A Dthumbnail_service.h24 // bridge facilitating switch from TopSites as the thumbnail source to a more
28 // Sets the given thumbnail for the given URL. Returns true if the thumbnail
30 // that our current thumbnail was superior to the given one.
32 const gfx::Image& thumbnail) = 0;
36 // process of creating a thumbnail from tab contents. The lifetime of these
41 // Gets a thumbnail for a given page. Returns true iff we have the thumbnail.
43 // If an exact thumbnail URL match fails, |prefix_match| specifies whether or
44 // not to try harder by matching the query thumbnail UR
[all...]
H A Dthumbnail_service_impl.h27 const gfx::Image& thumbnail) OVERRIDE;
H A Dthumbnail_service_impl.cc22 // 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 Dcontent_based_thumbnailing_algorithm.cc98 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).
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
H A Dexif_encoder.js22 var EXIF_TAG_JPG_THUMB_OFFSET = 0x0201; // Pointer from TIFF to thumbnail.
23 var EXIF_TAG_JPG_THUMB_LENGTH = 0x0202; // Length of thumbnail data.
105 var thumbnail = this.ifd_.thumbnail;
106 if (!thumbnail)
107 thumbnail = this.ifd_.thumbnail = {};
109 ExifEncoder.findOrCreateTag(thumbnail, EXIF_TAG_IMAGE_WIDTH).value =
112 ExifEncoder.findOrCreateTag(thumbnail, EXIF_TAG_IMAGE_HEIGHT).value =
116 ExifEncoder.findOrCreateTag(thumbnail, EXIF_TAG_JPG_THUMB_OFFSE
[all...]
/external/chromium_org/pdf/
H A Dthumbnail_control.cc186 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/chromium_org/chrome/renderer/resources/extensions/
H A Dfile_system_provider_custom_bindings.js15 * Maximum size of the thumbnail in bytes.
22 * Regular expression to validate if the thumbnail URI is a valid data URI,
70 if ('thumbnail' in metadata)
71 result.thumbnail = metadata.thumbnail;
176 // It is invalid to return a thumbnail when it's not requested. The
177 // restriction is added in order to avoid fetching the thumbnail while
179 if (!options.thumbnail && metadata.thumbnail)
184 if ('thumbnail' i
[all...]
/external/chromium_org/chrome/browser/android/thumbnail/
H A Dthumbnail_store.cc5 #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/chrome/renderer/
H A Dchrome_render_frame_observer.cc111 SkBitmap thumbnail; local
116 thumbnail = Downscale(image,
121 routing_id(), thumbnail, original_size));
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/imageinfo/
H A Dinfo.css41 #thumbnail {
/external/glide/library/src/main/java/com/bumptech/glide/
H A DDrawableRequestBuilder.java36 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 DGifRequestBuilder.java35 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);
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/
H A Dexif_parser.js20 var EXIF_TAG_JPG_THUMB_OFFSET = 0x0201; // Pointer from TIFF to thumbnail.
21 var EXIF_TAG_JPG_THUMB_LENGTH = 0x0202; // Length of thumbnail data.
190 thumbnail: {}
202 this.vlog('Read thumbnail directory.');
204 this.readDirectory(br, metadata.ifd.thumbnail);
205 // If no thumbnail orientation is encoded, assume same orientation as
208 this.parseOrientation(metadata.ifd.thumbnail) ||
231 if (EXIF_TAG_JPG_THUMB_OFFSET in metadata.ifd.thumbnail &&
232 EXIF_TAG_JPG_THUMB_LENGTH in metadata.ifd.thumbnail) {
233 this.vlog('Read thumbnail imag
[all...]

Completed in 1322 milliseconds

123