Searched defs:content_size (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/android_webview/browser/net/
H A Dinput_stream_reader.cc26 int content_size = 0; local
29 int error_code = VerifyRequestedRange(&verified_byte_range, &content_size);
37 DCHECK_GE(content_size, 0);
38 return content_size;
55 int* content_size) {
56 DCHECK(content_size);
71 *content_size = size;
54 VerifyRequestedRange(net::HttpByteRange* byte_range, int* content_size) argument
/external/chromium_org/cc/resources/
H A Dskpicture_content_layer_updater.cc26 const gfx::Size& content_size,
39 content_size,
25 PrepareToUpdate( const gfx::Size& content_size, const gfx::Rect& paint_rect, const gfx::Size& tile_size, float contents_width_scale, float contents_height_scale) argument
H A Dlayer_updater.h50 virtual void PrepareToUpdate(const gfx::Size& content_size, argument
H A Dbitmap_content_layer_updater.cc57 void BitmapContentLayerUpdater::PrepareToUpdate(const gfx::Size& content_size, argument
77 content_size,
/external/chromium_org/third_party/webrtc/common_audio/
H A Dwav_writer_unittest.cc57 COMPILE_ASSERT(sizeof(kExpectedContents) == kContentSize, content_size); local
101 COMPILE_ASSERT(sizeof(kExpectedContents) == kContentSize, content_size); local
/external/chromium_org/ui/views/controls/scrollbar/
H A Dscroll_bar.cc22 void ScrollBar::Update(int viewport_size, int content_size, int current_pos) { argument
23 max_pos_ = std::max(0, content_size - viewport_size);
H A Dnative_scroll_bar.cc92 int content_size,
94 ScrollBar::Update(viewport_size, content_size, current_pos);
97 native_wrapper_->Update(viewport_size, content_size, current_pos);
91 Update(int viewport_size, int content_size, int current_pos) argument
H A Dnative_scroll_bar_views.cc345 int content_size,
347 BaseScrollBar::Update(viewport_size, content_size, current_pos);
344 Update(int viewport_size, int content_size, int current_pos) argument
H A Dbase_scroll_bar.cc395 int content_size,
397 ScrollBar::Update(viewport_size, content_size, contents_scroll_offset);
401 contents_size_ = std::max(1, content_size);
405 if (content_size < 0)
406 content_size = 0;
409 if (contents_scroll_offset > content_size)
410 contents_scroll_offset = content_size;
394 Update(int viewport_size, int content_size, int contents_scroll_offset) argument
/external/chromium_org/chrome/browser/android/thumbnail/
H A Dthumbnail.cc65 const gfx::Size& content_size) {
67 DCHECK(!content_size.IsEmpty());
71 scaled_content_size_ = gfx::ScaleSize(content_size, 1.f / scale_);
64 SetCompressedBitmap(skia::RefPtr<SkPixelRef> compressed_bitmap, const gfx::Size& content_size) argument
H A Dthumbnail_store.cc357 const gfx::Size& content_size) {
371 content_size,
493 const gfx::Size& content_size,
502 if (!WriteBigEndianToFile(file, content_size.width()))
505 if (!WriteBigEndianToFile(file, content_size.height()))
546 const gfx::Size& content_size,
554 content_size,
577 gfx::Size content_size; local
611 content_size = raw_data_size;
618 base::Bind(post_compression_task, compressed_data, content_size));
353 WriteThumbnailIfNecessary( TabId tab_id, skia::RefPtr<SkPixelRef> compressed_data, float scale, const gfx::Size& content_size) argument
492 WriteToFile(base::File& file, const gfx::Size& content_size, const float scale, skia::RefPtr<SkPixelRef> compressed_data) argument
543 WriteTask(const base::FilePath& file_path, skia::RefPtr<SkPixelRef> compressed_data, float scale, const gfx::Size& content_size, const base::Callback<void()>& post_write_task) argument
621 PostCompressionTask( TabId tab_id, const base::Time& time_stamp, float scale, skia::RefPtr<SkPixelRef> compressed_data, const gfx::Size& content_size) argument
753 gfx::Size content_size; local
788 PostReadTask(TabId tab_id, skia::RefPtr<SkPixelRef> compressed_data, float scale, const gfx::Size& content_size) argument
842 DecompressionTask( const base::Callback<void(bool, SkBitmap)>& post_decompression_callback, skia::RefPtr<SkPixelRef> compressed_data, float scale, const gfx::Size& content_size) argument
[all...]
/external/chromium_org/chromecast/media/cma/ipc/
H A Dmedia_message.h80 return minimum_msg_size() + cached_msg_.header.content_size;
84 size_t content_size() const { return cached_msg_.header.content_size; } function in class:chromecast::media::MediaMessage
124 uint32 content_size; member in struct:chromecast::media::MediaMessage::Header
/external/chromium_org/android_webview/common/
H A Dprint_messages.h34 gfx::Size content_size; member in struct:PrintMsg_Print_Params
90 IPC_STRUCT_TRAITS_MEMBER(content_size)
/external/chromium_org/ash/shelf/
H A Doverflow_bubble_view.cc188 const gfx::Size content_size = GetPreferredSize(); local
194 content_size,
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_pixeltest_filters.cc173 void RunPixelTestType(int content_size, argument
176 int half_content = content_size / 2;
179 gfx::Rect(0, 0, content_size, content_size), SK_ColorWHITE);
182 gfx::Rect(0, 0, content_size, content_size), SK_ColorGREEN);
187 gfx::Rect(0, 0, content_size, content_size), SK_ColorBLUE);
195 half_content, half_content, content_size, content_size);
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Ddrive_file_stream_reader_unittest.cc351 size_t content_size = entry->file_info().size(); local
356 EXPECT_EQ(content_size, first_content.size());
381 EXPECT_EQ(content_size, static_cast<size_t>(entry->file_info().size()));
/external/chromium_org/chrome/common/
H A Dprint_messages.h33 gfx::Size content_size; member in struct:PrintMsg_Print_Params
104 IPC_STRUCT_TRAITS_MEMBER(content_size)
/external/chromium_org/cc/test/
H A Dtiled_layer_test_common.cc38 void FakeLayerUpdater::PrepareToUpdate(const gfx::Size& content_size, argument
/external/chromium_org/chrome/browser/sessions/
H A Dsession_backend.cc309 const size_type content_size = static_cast<size_type>((*i)->size()); local
310 const size_type total_size = content_size + sizeof(id_type);
328 if (content_size > 0) {
330 content_size);
331 if (wrote != content_size) {
/external/chromium_org/net/base/
H A Dmime_sniffer.cc343 // pretend the length is content_size.
870 size_t content_size,
874 DCHECK_LT(content_size, 1000000U); // sanity check
890 return SniffForInvalidOfficeDocs(content, content_size, url, result);
900 if (SniffForHTML(content, content_size, &have_enough_content, result))
912 if (!SniffBinary(content, content_size, &have_enough_content, result)) {
926 if (SniffXML(content, content_size, &have_enough_content, result))
933 if (SniffCRX(content, content_size, url, type_hint,
940 if (SniffForOfficeDocs(content, content_size, url,
951 if (SniffForMagicNumbers(content, content_size,
869 SniffMimeType(const char* content, size_t content_size, const GURL& url, const std::string& type_hint, std::string* result) argument
[all...]
/external/chromium_org/content/browser/media/capture/
H A Dweb_contents_video_capture_device.cc96 const gfx::Size& content_size) {
99 content_size);
95 ComputeYV12LetterboxRegion(const gfx::Size& frame_size, const gfx::Size& content_size) argument
/external/chromium_org/ui/message_center/views/
H A Dnotifier_settings_view.cc649 gfx::Size content_size = scroller_->contents()->GetPreferredSize(); local
650 return gfx::Size(std::max(title_size.width(), content_size.width()),
651 title_size.height() + content_size.height());
/external/chromium_org/net/http/
H A Dhttp_response_headers_unittest.cc2074 int64 content_size = parsed->GetContentLength(); local
2078 parsed->UpdateWithNewRange(range, content_size, false);
2083 parsed->UpdateWithNewRange(range, content_size, true);
/external/chromium_org/ui/views/controls/
H A Dscroll_view.cc56 int CheckScrollBounds(int viewport_size, int content_size, int current_pos) { argument
57 int max = std::max(content_size - viewport_size, 0);
81 int content_size,
87 const int max_position = std::max(0, content_size - viewport_size);
280 gfx::Size content_size = contents_->size(); local
282 content_size,
514 const gfx::Size& content_size,
519 if (content_size.width() <= vp_size.width() &&
520 content_size.height() <= vp_size.height()) {
523 } else if (content_size
79 AdjustPosition(int current_position, int new_position, int content_size, int viewport_size) argument
513 ComputeScrollBarsVisibility(const gfx::Size& vp_size, const gfx::Size& content_size, bool* horiz_is_shown, bool* vert_is_shown) const argument
[all...]
/external/chromium_org/content/browser/android/
H A Dcontent_view_core_impl.cc369 const gfx::SizeF& content_size,
388 content_size.width(),
389 content_size.height(),
365 UpdateFrameInfo( const gfx::Vector2dF& scroll_offset, float page_scale_factor, const gfx::Vector2dF& page_scale_factor_limits, const gfx::SizeF& content_size, const gfx::SizeF& viewport_size, const gfx::Vector2dF& controls_offset, const gfx::Vector2dF& content_offset) argument

Completed in 1729 milliseconds

12