HomeSort by relevance Sort by last modified time
    Searched refs:source_size (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium_org/remoting/client/
frame_consumer.h 40 virtual void SetSourceSize(const SkISize& source_size,
frame_consumer_proxy.cc 45 void FrameConsumerProxy::SetSourceSize(const SkISize& source_size,
49 &FrameConsumerProxy::SetSourceSize, this, source_size, source_dpi));
54 frame_consumer_->SetSourceSize(source_size, source_dpi);
frame_consumer_proxy.h 37 virtual void SetSourceSize(const SkISize& source_size,
rectangle_update_decoder.cc 69 SkISize source_size = SkISize::Make(packet->format().screen_width(), local
71 if (source_size_ != source_size) {
72 source_size_ = source_size;
  /external/chromium_org/chrome/browser/thumbnails/
simple_thumbnail_crop.cc 28 const gfx::Size& source_size,
32 DCHECK(!source_size.IsEmpty());
34 *clipping_rect = GetClippingRect(source_size, target_size_, &clip_result);
139 gfx::Rect SimpleThumbnailCrop::GetClippingRect(const gfx::Size& source_size,
150 if (source_size.width() < desired_size.width() ||
151 source_size.height() < desired_size.height()) {
159 static_cast<float>(source_size.width()) / source_size.height();
163 int new_width = static_cast<int>(source_size.height() * desired_aspect);
164 int x_offset = (source_size.width() - new_width) / 2
    [all...]
content_based_thumbnailing_algorithm.cc 44 const gfx::Size& source_size,
48 DCHECK(!source_size.IsEmpty());
54 source_size, target_thumbnail_size, target_size, &clipping_method);
206 const gfx::Size& source_size,
218 if (source_size.width() < thumbnail_size.width() ||
219 source_size.height() < thumbnail_size.height()) {
223 } else if (source_size.width() < thumbnail_size.width() * 4 ||
224 source_size.height() < thumbnail_size.height() * 4) {
225 clipping_rect = gfx::Rect(source_size);
226 *target_size = source_size;
    [all...]
content_based_thumbnailing_algorithm_unittest.cc 68 gfx::Size source_size(1000, 600);
71 source_size, ui::SCALE_FACTOR_100P, &clipping_rect, &target_size);
73 EXPECT_EQ(source_size.ToString(), clipping_rect.size().ToString());
75 EXPECT_EQ(source_size, target_size);
77 source_size.SetSize(6000, 3000);
79 source_size, ui::SCALE_FACTOR_100P, &clipping_rect, &target_size);
81 EXPECT_EQ(source_size.ToString(), clipping_rect.size().ToString());
83 EXPECT_LT(target_size.width(), source_size.width());
84 EXPECT_LT(target_size.height(), source_size.height());
86 static_cast<float>(source_size.width()) / source_size.height()
    [all...]
content_based_thumbnailing_algorithm.h 20 virtual ClipResult GetCanvasCopyInfo(const gfx::Size& source_size,
49 static gfx::Rect GetClippingRect(const gfx::Size& source_size,
thumbnailing_algorithm.h 26 // canvas of |source_size|. Auxiliary |scale_factor| helps compute the target
31 virtual ClipResult GetCanvasCopyInfo(const gfx::Size& source_size,
simple_thumbnail_crop.h 21 virtual ClipResult GetCanvasCopyInfo(const gfx::Size& source_size,
49 static gfx::Rect GetClippingRect(const gfx::Size& source_size,
  /external/chromium_org/media/base/
audio_fifo.cc 64 const int source_size = source->frames(); local
65 CHECK_LE(source_size + frames(), max_frames_);
71 GetSizes(write_pos_, max_frames(), source_size, &append_size, &wrap_size);
89 Atomic32 new_frames_pushed = frames_pushed_ + source_size;
93 write_pos_ = UpdatePos(write_pos_, source_size, max_frames());
  /external/chromium_org/remoting/client/jni/
jni_frame_consumer.h 37 virtual void SetSourceSize(const SkISize& source_size,
jni_frame_consumer.cc 96 void JniFrameConsumer::SetSourceSize(const SkISize& source_size,
102 view_size_ = source_size;
  /external/chromium_org/chrome/browser/history/
select_favicon_frames.cc 39 int source_size) {
48 int shift = (desired_size - source_size) / 2;
49 SkRect dest(SkRect::MakeXYWH(shift, shift, source_size, source_size));
103 int source_size = static_cast<int>(16 * scale + 0.5f); local
105 if (candidate_sizes[i].width() == source_size &&
106 candidate_sizes[i].height() == source_size) {
114 if (candidate_sizes[i].width() * scale == source_size &&
115 candidate_sizes[i].height() * scale == source_size) {
  /external/chromium/sdch/open-vcdiff/src/
blockhash.h 123 BlockHash(const char* source_data, size_t source_size, int starting_offset);
357 size_t source_size() { return source_size_; } function in class:open_vcdiff::BlockHash
368 // to calling AddAllBlocksThroughIndex(source_data + source_size).
blockhash.cc 29 size_t source_size,
32 source_size_(source_size),
222 int last_legal_hash_index = static_cast<int>(source_size() - kBlockSize);
  /external/chromium_org/remoting/base/
util.cc 81 const SkISize& source_size,
90 DCHECK(SkIRect::MakeSize(source_size).contains(source_buffer_rect));
93 DCHECK(ScaleRect(source_buffer_rect, source_size, dest_size).
109 if (source_size == dest_size) {
159 source_size.width(),
160 source_size.height(),
177 source_size.width(),
178 source_size.height(),
util.h 29 // as ratio between |dest_size| and |source_size|. The target rectangle
44 const SkISize& source_size,
  /external/chromium_org/sdch/open-vcdiff/src/
blockhash.h 123 BlockHash(const char* source_data, size_t source_size, int starting_offset);
357 size_t source_size() { return source_size_; } function in class:open_vcdiff::BlockHash
368 // to calling AddAllBlocksThroughIndex(source_data + source_size).
  /external/open-vcdiff/src/
blockhash.h 123 BlockHash(const char* source_data, size_t source_size, int starting_offset);
357 size_t source_size() { return source_size_; } function in class:open_vcdiff::BlockHash
368 // to calling AddAllBlocksThroughIndex(source_data + source_size).
  /external/chromium_org/chrome/renderer/
mock_printer.cc 46 uint32 source_size,
48 : source_size_(source_size),
51 source_data_.reset(new uint8[source_size]);
53 memcpy(source_data_.get(), source_data, source_size);
283 uint32 source_size = pages_[page]->source_size(); local
285 source_size);
mock_printer.h 31 uint32 source_size,
37 uint32 source_size() const { return source_size_; } function in class:MockPrinterPage
  /external/chromium_org/remoting/client/plugin/
pepper_view.h 49 virtual void SetSourceSize(const SkISize& source_size,
pepper_view.cc 205 void PepperView::SetSourceSize(const SkISize& source_size,
209 if (source_size_ == source_size && source_dpi_ == source_dpi)
212 source_size_ = source_size;
216 instance_->SetDesktopSize(source_size, source_dpi);
  /frameworks/av/media/libstagefright/
CameraSourceTimeLapse.cpp 225 size_t source_size = source_data->size(); local
228 sp<MemoryHeapBase> newMemoryHeap = new MemoryHeapBase(source_size);
229 sp<MemoryBase> newMemory = new MemoryBase(newMemoryHeap, 0, source_size);
230 memcpy(newMemory->pointer(), source_pointer, source_size);

Completed in 228 milliseconds

1 2