Home
last modified time | relevance | path

Searched refs:thumbnail (Results 1 – 25 of 117) sorted by relevance

12345

/external/chromium_org/chrome/browser/history/
Dtop_sites_database.cc472 Images thumbnail; in GetPageThumbnails() local
474 thumbnail.thumbnail = base::RefCountedBytes::TakeVector(&data); in GetPageThumbnails()
475 thumbnail.thumbnail_score.boring_score = statement.ColumnDouble(5); in GetPageThumbnails()
476 thumbnail.thumbnail_score.good_clipping = statement.ColumnBool(6); in GetPageThumbnails()
477 thumbnail.thumbnail_score.at_top = statement.ColumnBool(7); in GetPageThumbnails()
478 thumbnail.thumbnail_score.time_at_snapshot = in GetPageThumbnails()
480 thumbnail.thumbnail_score.load_completed = statement.ColumnBool(9); in GetPageThumbnails()
481 (*thumbnails)[gurl] = thumbnail; in GetPageThumbnails()
487 const Images& thumbnail) { in SetPageThumbnail() argument
493 AddPageThumbnail(url, new_rank, thumbnail); in SetPageThumbnail()
[all …]
Dtop_sites_database.h47 const Images& thumbnail);
54 bool GetPageThumbnail(const GURL& url, Images* thumbnail);
82 const Images& thumbnail);
90 const Images& thumbnail);
Dtop_sites_impl_unittest.cc209 SkBitmap thumbnail; in CreateBitmap() local
210 thumbnail.allocN32Pixels(4, 4); in CreateBitmap()
211 thumbnail.eraseColor(color); in CreateBitmap()
212 return gfx::Image::CreateFrom1xBitmap(thumbnail); // adds ref. in CreateBitmap()
580 gfx::Image thumbnail(CreateBitmap(SK_ColorWHITE)); in TEST_F() local
589 thumbnail, medium_score)); in TEST_F()
593 EXPECT_TRUE(top_sites()->SetPageThumbnail(url2, thumbnail, medium_score)); in TEST_F()
594 EXPECT_FALSE(top_sites()->SetPageThumbnail(url2, thumbnail, low_score)); in TEST_F()
595 EXPECT_TRUE(top_sites()->SetPageThumbnail(url2, thumbnail, high_score)); in TEST_F()
600 EXPECT_TRUE(top_sites()->SetPageThumbnail(url1a, thumbnail, medium_score)); in TEST_F()
[all …]
Dtop_sites_backend.cc59 const Images& thumbnail) { in SetPageThumbnail() argument
63 url_rank, thumbnail)); in SetPageThumbnail()
125 const Images& thumbnail) { in SetPageThumbnailOnDBThread() argument
129 db_->SetPageThumbnail(url, url_rank, thumbnail); in SetPageThumbnailOnDBThread()
Dtop_sites_database_unittest.cc116 thumbnails[urls[0].url].thumbnail->size()); in TEST_F()
117 EXPECT_TRUE(!memcmp(thumbnails[urls[0].url].thumbnail->front(), in TEST_F()
143 thumbnails[urls[0].url].thumbnail->size()); in TEST_F()
144 EXPECT_TRUE(!memcmp(thumbnails[urls[0].url].thumbnail->front(), in TEST_F()
231 thumbnails[urls[0].url].thumbnail->size()); in TEST_F()
232 EXPECT_TRUE(!memcmp(thumbnails[urls[0].url].thumbnail->front(), in TEST_F()
276 thumbnails[urls[0].url].thumbnail->size()); in TEST_F()
277 EXPECT_TRUE(!memcmp(thumbnails[urls[0].url].thumbnail->front(), in TEST_F()
Dtop_sites_backend.h51 const Images& thumbnail);
83 const Images& thumbnail);
Dtop_sites_impl.h57 const gfx::Image& thumbnail,
131 const base::RefCountedMemory* thumbnail,
145 const base::RefCountedMemory* thumbnail,
/external/chromium_org/chrome/browser/resources/ntp4/
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-shield,
[all …]
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-shield {
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/ui/file_manager/gallery/js/
Dribbon.js318 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;
344 Ribbon.prototype.setThumbnailImage_ = function(thumbnail, item) { argument
350 thumbnail.querySelector('.image-wrapper'),
366 var thumbnail = this.renderCache_[url];
[all …]
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
Dexif_encoder.js105 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_OFFSET);
117 ExifEncoder.findOrCreateTag(thumbnail, EXIF_TAG_JPG_THUMB_LENGTH);
120 ExifEncoder.findOrCreateTag(thumbnail, EXIF_TAG_ORIENTATION).value = 1;
126 if (this.ifd_.thumbnail) {
127 delete this.ifd_.thumbnail;
[all …]
/external/chromium_org/chrome/browser/android/thumbnail/
Dthumbnail_store.cc170 scoped_ptr<Thumbnail> thumbnail = Thumbnail::Create( in Put() local
172 thumbnail->SetBitmap(bitmap); in Put()
176 cache_.Put(tab_id, thumbnail.Pass()); in Put()
200 Thumbnail* thumbnail = cache_.Get(tab_id); in Get() local
201 if (thumbnail) { in Get()
202 thumbnail->CreateUIResource(); in Get()
203 return thumbnail; in Get()
216 thumbnail = approximation_cache_.Get(tab_id); in Get()
217 if (thumbnail) { in Get()
218 thumbnail->CreateUIResource(); in Get()
[all …]
/external/chromium_org/pdf/
Dthumbnail_control.cc186 pp::ImageData* thumbnail = NULL; in Paint() local
191 thumbnail = image_cache_[visible_pages_[i].index]; in Paint()
197 if (thumbnail == NULL) { in Paint()
198 thumbnail = new pp::ImageData(owner()->GetInstance(), in Paint()
202 engine_->PaintThumbnail(thumbnail, visible_pages_[i].index); in Paint()
208 (thumbnail->size().width() - page_number.size().width()) / 2, in Paint()
209 (thumbnail->size().height() - page_number.size().height()) / 2); in Paint()
213 thumbnail, origin, kOpaqueAlpha); in Paint()
216 image_cache_[visible_pages_[i].index] = thumbnail; in Paint()
224 AlphaBlend(*thumbnail, draw_page_rc, image_data, in Paint()
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/
Dget_metadata.cc47 if (params->metadata.thumbnail.get()) { in ConvertRequestValueToFileInfo()
53 params->metadata.thumbnail.get()->substr(0, expected_prefix.size()); in ConvertRequestValueToFileInfo()
62 output->thumbnail = *params->metadata.thumbnail.get(); in ConvertRequestValueToFileInfo()
92 options.thumbnail = in Execute()
/external/chromium_org/chrome/renderer/resources/extensions/
Dfile_system_provider_custom_bindings.js71 result.thumbnail = metadata.thumbnail;
179 if (!options.thumbnail && metadata.thumbnail)
184 if ('thumbnail' in metadata && !verifyImageURI(metadata.thumbnail))
188 metadata.thumbnail.length > METADATA_THUMBNAIL_SIZE_LIMIT) {
226 if (metadata.thumbnail) {
/external/glide/library/src/main/java/com/bumptech/glide/
DGifRequestBuilder.java35 public GifRequestBuilder<ModelType, TranscodeType> thumbnail( in thumbnail() method in GifRequestBuilder
37 super.thumbnail(thumbnailRequest); in thumbnail()
41 public GifRequestBuilder<ModelType, TranscodeType> thumbnail( in thumbnail() method in GifRequestBuilder
43 super.thumbnail(thumbnailRequest); in thumbnail()
48 public GifRequestBuilder<ModelType, TranscodeType> thumbnail(float sizeMultiplier) { in thumbnail() method in GifRequestBuilder
49 super.thumbnail(sizeMultiplier); in thumbnail()
DDrawableRequestBuilder.java36 public DrawableRequestBuilder<ModelType> thumbnail( in thumbnail() method in DrawableRequestBuilder
38 super.thumbnail(thumbnailRequest); in thumbnail()
43 public DrawableRequestBuilder<ModelType> thumbnail( in thumbnail() method in DrawableRequestBuilder
45 super.thumbnail(thumbnailRequest); in thumbnail()
50 public DrawableRequestBuilder<ModelType> thumbnail(float sizeMultiplier) { in thumbnail() method in DrawableRequestBuilder
51 super.thumbnail(sizeMultiplier); in thumbnail()
DBitmapRequestBuilder.java100 public BitmapRequestBuilder<ModelType, TranscodeType> thumbnail(float sizeMultiplier) { in thumbnail() method in BitmapRequestBuilder
101 super.thumbnail(sizeMultiplier); in thumbnail()
105 …public BitmapRequestBuilder<ModelType, TranscodeType> thumbnail(BitmapRequestBuilder<ModelType, Tr… in thumbnail() method in BitmapRequestBuilder
107 super.thumbnail(thumbnailRequest); in thumbnail()
285 public BitmapRequestBuilder<ModelType, TranscodeType> thumbnail( in thumbnail() method in BitmapRequestBuilder
287 super.thumbnail(thumbnailRequest); in thumbnail()
/external/chromium_org/chrome/browser/thumbnails/
Dcontent_based_thumbnailing_algorithm.cc162 SkBitmap thumbnail = thumbnailing_utils::CreateRetargetedThumbnailImage( in CreateRetargetedThumbnail() local
164 bool processing_failed = thumbnail.empty(); in CreateRetargetedThumbnail()
177 source_bitmap.extractSubset(&thumbnail, gfx::RectToSkIRect(clipping_rect)); in CreateRetargetedThumbnail()
178 thumbnail = SkBitmapOperations::DownsampleByTwoUntilSize( in CreateRetargetedThumbnail()
179 thumbnail, thumbnail_size.width(), thumbnail_size.height()); in CreateRetargetedThumbnail()
202 base::Bind(&CallbackInvocationAdapter, callback, context, thumbnail)); in CreateRetargetedThumbnail()
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/
Dexif_parser.js190 thumbnail: {} property
204 this.readDirectory(br, metadata.ifd.thumbnail);
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) {
234 br.seek(metadata.ifd.thumbnail[EXIF_TAG_JPG_THUMB_OFFSET].value);
236 metadata.ifd.thumbnail[EXIF_TAG_JPG_THUMB_LENGTH].value);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/profiles/
DMostVisitedSites.java44 public void onMostVisitedURLsThumbnailAvailable(Bitmap thumbnail); in onMostVisitedURLsThumbnailAvailable() argument
101 public void onMostVisitedURLsThumbnailAvailable(Bitmap thumbnail) { in getURLThumbnail()
104 callback.onMostVisitedURLsThumbnailAvailable(thumbnail); in getURLThumbnail()
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dthumbnail_loader.js53 if (((opt_metadata.thumbnail && opt_metadata.thumbnail.url) ||
60 (opt_metadata.thumbnail && opt_metadata.thumbnail.url) ||
63 (opt_metadata.thumbnail && opt_metadata.thumbnail.transform);
/external/chromium_org/chrome/renderer/
Dchrome_render_frame_observer.cc111 SkBitmap thumbnail; in OnRequestThumbnailForContextNode() local
116 thumbnail = Downscale(image, in OnRequestThumbnailForContextNode()
121 routing_id(), thumbnail, original_size)); in OnRequestThumbnailForContextNode()
/external/chromium_org/components/suggestions/proto/
Dsuggestions.proto40 // The URL of the thumbnail associated with this page.
41 optional string thumbnail = 4; field
58 // ImageData contains the data to represent a website image (e.g. thumbnail).

12345