Searched defs:target_size (Results 1 - 25 of 40) sorted by relevance

12

/external/chromium_org/ui/snapshot/
H A Dsnapshot_async.cc29 const gfx::Size& target_size) {
32 target_size.width(),
33 target_size.height(),
64 const gfx::Size& target_size,
79 base::Bind(ScaleBitmap, *result->TakeBitmap(), target_size),
28 ScaleBitmap(const SkBitmap& input_bitmap, const gfx::Size& target_size) argument
62 ScaleCopyOutputResult( const GrabWindowSnapshotAsyncCallback& callback, const gfx::Size& target_size, scoped_refptr<base::TaskRunner> background_task_runner, scoped_ptr<cc::CopyOutputResult> result) argument
H A Dsnapshot_aura.cc46 const gfx::Size& target_size,
53 target_size,
43 GrabWindowSnapshotAndScaleAsync( gfx::NativeWindow window, const gfx::Rect& source_rect, const gfx::Size& target_size, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncCallback& callback) argument
H A Dsnapshot_android.cc62 const gfx::Size& target_size,
69 target_size,
59 GrabWindowSnapshotAndScaleAsync( gfx::NativeWindow window, const gfx::Rect& source_rect, const gfx::Size& target_size, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncCallback& callback) argument
H A Dsnapshot_win.cc126 const gfx::Size& target_size,
123 GrapWindowSnapshotAsync( gfx::NativeWindow window, const gfx::Rect& snapshot_bounds, const gfx::Size& target_size, scoped_refptr<base::TaskRunner> background_task_runner, GrabWindowSnapshotAsyncCallback callback) argument
/external/chromium_org/chrome/browser/thumbnails/
H A Dcontent_based_thumbnailing_algorithm_unittest.cc67 gfx::Size target_size; local
71 source_size, ui::SCALE_FACTOR_100P, &clipping_rect, &target_size);
75 EXPECT_EQ(source_size, target_size);
79 source_size, ui::SCALE_FACTOR_100P, &clipping_rect, &target_size);
83 EXPECT_LT(target_size.width(), source_size.width());
84 EXPECT_LT(target_size.height(), source_size.height());
85 EXPECT_NEAR(static_cast<float>(target_size.width()) / target_size.height(),
90 source_size, ui::SCALE_FACTOR_100P, &clipping_rect, &target_size);
H A Dcontent_based_thumbnailing_algorithm.cc38 const gfx::Size& target_size)
39 : target_size_(target_size) {
40 DCHECK(!target_size.IsEmpty());
47 gfx::Size* target_size) const {
54 source_size, target_thumbnail_size, target_size, &clipping_method);
212 gfx::Size* target_size,
219 DCHECK(target_size);
225 *target_size = thumbnail_size;
230 *target_size = source_size;
234 target_size
37 ContentBasedThumbnailingAlgorithm( const gfx::Size& target_size) argument
209 GetClippingRect( const gfx::Size& source_size, const gfx::Size& thumbnail_size, gfx::Size* target_size, ClipResult* clip_result) argument
[all...]
H A Dsimple_thumbnail_crop.cc23 SimpleThumbnailCrop::SimpleThumbnailCrop(const gfx::Size& target_size) argument
24 : target_size_(target_size) {
25 DCHECK(!target_size.IsEmpty());
32 gfx::Size* target_size) const {
36 *target_size = GetCopySizeForThumbnail(scale_factor, target_size_);
/external/chromium_org/ash/desktop_background/
H A Dwallpaper_resizer.cc27 // Resizes |orig_bitmap| to |target_size| using |layout| and stores the
30 const gfx::Size& target_size,
38 const int new_width = target_size.width();
39 const int new_height = target_size.height();
102 const gfx::Size& target_size,
106 target_size_(target_size),
29 Resize(SkBitmap orig_bitmap, const gfx::Size& target_size, WallpaperLayout layout, SkBitmap* resized_bitmap_out) argument
101 WallpaperResizer(const gfx::ImageSkia& image, const gfx::Size& target_size, WallpaperLayout layout) argument
H A Dwallpaper_resizer_unittest.cc67 const gfx::Size& target_size,
70 resizer.reset(new WallpaperResizer(image, target_size, layout));
126 gfx::Size target_size = gfx::Size(kTargetWidth, kTargetHeight); local
127 gfx::ImageSkia center = Resize(image, target_size, WALLPAPER_LAYOUT_CENTER);
129 gfx::ImageSkia center_cropped = Resize(image, target_size,
132 gfx::ImageSkia stretch = Resize(image, target_size, WALLPAPER_LAYOUT_STRETCH);
134 gfx::ImageSkia tile = Resize(image, target_size, WALLPAPER_LAYOUT_TILE);
66 Resize(const gfx::ImageSkia& image, const gfx::Size& target_size, WallpaperLayout layout) argument
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/
H A Duser_image_loader.cc98 const int target_size = it->second.pixels_per_side; local
104 if (target_size > 0) {
112 if (pixels_per_side > target_size) {
117 target_size,
118 target_size);
/external/chromium_org/sdch/open-vcdiff/src/
H A Dvcdiffengine.cc136 size_t target_size,
139 if (target_size != static_cast<size_t>(coder->target_length())) {
141 "original target size (" << target_size
150 size_t target_size,
158 if (target_size == 0) {
162 if (target_size < static_cast<size_t>(BlockHash::kBlockSize)) {
163 AddUnmatchedRemainder(target_data, target_size, coder);
164 FinishEncoding(target_size, diff, coder);
173 target_size,
180 const char* const target_end = target_data + target_size;
135 FinishEncoding( size_t target_size, OutputStringInterface* diff, CodeTableWriterInterface* coder) const argument
149 EncodeInternal(const char* target_data, size_t target_size, OutputStringInterface* diff, CodeTableWriterInterface* coder) const argument
234 Encode(const char* target_data, size_t target_size, bool look_for_target_matches, OutputStringInterface* diff, CodeTableWriterInterface* coder) const argument
[all...]
H A Dblockhash.cc95 size_t target_size,
98 target_size,
395 size_t target_size,
425 const size_t target_bytes_to_right = target_size - target_match_end;
94 CreateTargetHash(const char* target_data, size_t target_size, size_t dictionary_size) argument
392 FindBestMatch(uint32_t hash_value, const char* target_candidate_start, const char* target_start, size_t target_size, Match* best_match) const argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_screen_cache.c166 unsigned target_size)
188 if (cache->total_size <= target_size) {
234 unsigned target_size = SVGA_HOST_SURFACE_CACHE_BYTES - surf_size; local
236 svga_screen_cache_shrink(svgascreen, target_size);
238 if (cache->total_size > target_size) {
165 svga_screen_cache_shrink(struct svga_screen *svgascreen, unsigned target_size) argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_screen_cache.c166 unsigned target_size)
188 if (cache->total_size <= target_size) {
234 unsigned target_size = SVGA_HOST_SURFACE_CACHE_BYTES - surf_size; local
236 svga_screen_cache_shrink(svgascreen, target_size);
238 if (cache->total_size > target_size) {
165 svga_screen_cache_shrink(struct svga_screen *svgascreen, unsigned target_size) argument
/external/chromium_org/media/filters/
H A Dwsola_internals.cc225 int target_size = target_block->frames(); local
226 int num_candidate_blocks = search_block->frames() - (target_size - 1);
241 MultiChannelMovingBlockEnergies(search_block, target_size,
246 target_size, energy_target_block.get());
/external/chromium_org/net/disk_cache/blockfile/
H A Deviction.cc131 int target_size = empty ? 0 : max_size_; local
132 while ((header_->num_bytes > target_size || test_mode_) && next.get()) {
349 int target_size = empty ? 0 : max_size_; local
352 while ((header_->num_bytes > target_size || test_mode_) &&
H A Deviction_v3.cc135 int target_size = empty ? 0 : max_size_; local
136 while ((header_->num_bytes > target_size || test_mode_) && next.get()) {
336 int target_size = empty ? 0 : max_size_; local
339 while ((header_->num_bytes > target_size || test_mode_) &&
/external/chromium_org/net/disk_cache/memory/
H A Dmem_backend_impl.cc320 int target_size = empty ? 0 : LowWaterAdjust(max_size_); local
321 while (current_size_ > target_size && next) {
/external/chromium_org/third_party/freetype/src/base/
H A Dftbitmap.c70 FT_ULong target_size; local
75 target_size = (FT_ULong)( target_pitch * target->rows );
77 if ( target_size != size )
78 (void)FT_QREALLOC( target->buffer, target_size, size );
/external/freetype/src/base/
H A Dftbitmap.c70 FT_ULong target_size; local
75 target_size = (FT_ULong)( target_pitch * target->rows );
77 if ( target_size != size )
78 (void)FT_QREALLOC( target->buffer, target_size, size );
/external/iproute2/include/linux/netfilter/
H A Dx_tables.h36 __u16 target_size; member in struct:xt_entry_target::__anon22305::__anon22306
43 __u16 target_size; member in struct:xt_entry_target::__anon22305::__anon22307
50 __u16 target_size; member in union:xt_entry_target::__anon22305
59 .target_size = XT_ALIGN(__size), \
/external/iptables/include/linux/netfilter/
H A Dx_tables.h36 __u16 target_size; member in struct:xt_entry_target::__anon22576::__anon22577
43 __u16 target_size; member in struct:xt_entry_target::__anon22576::__anon22578
50 __u16 target_size; member in union:xt_entry_target::__anon22576
59 .target_size = XT_ALIGN(__size), \
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dx_tables.h36 __u16 target_size; member in struct:xt_entry_target::__anon23203::__anon23204
43 __u16 target_size; member in struct:xt_entry_target::__anon23203::__anon23205
50 __u16 target_size; member in union:xt_entry_target::__anon23203
59 .target_size = XT_ALIGN(__size), \
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dfxft_ftbitmap.c70 FT_ULong target_size; local
75 target_size = (FT_ULong)( target_pitch * target->rows );
77 if ( target_size != size )
78 (void)FT_QREALLOC( target->buffer, target_size, size );
/external/chromium_org/chrome/browser/ui/views/download/
H A Ddownload_shelf_view.cc88 int CenterPosition(int size, int target_size) { argument
89 return std::max((target_size - size) / 2, kTopBottomPadding);

Completed in 425 milliseconds

12