Home
last modified time | relevance | path

Searched refs:original_size (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/extensions/browser/
Dimage_loader.cc54 gfx::Size original_size(bitmap.width(), bitmap.height()); in ResizeIfNeeded() local
56 original_size, in ResizeIfNeeded()
153 const gfx::Size& original_size,
158 gfx::Size original_size; member
164 const gfx::Size& original_size, in LoadResult() argument
167 original_size(original_size), in LoadResult()
200 gfx::Size original_size(bitmap.width(), bitmap.height()); in LoadImagesOnBlockingPool() local
204 ImageLoader::LoadResult(bitmap, original_size, image)); in LoadImagesOnBlockingPool()
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
Ddebug_main.cc48 int32_t original_size = TotalFontSize(font); in main() local
61 original_size, new_size, in main()
62 static_cast<double>(new_size) / original_size * 100); in main()
Dsubsetter_main.cc62 int32_t original_size = TotalFontSize(font); in main() local
79 original_size, new_size, in main()
80 static_cast<double>(new_size) / original_size * 100); in main()
/external/sfntly/cpp/src/sample/subtly/
Ddebug_main.cc48 int32_t original_size = TotalFontSize(font); in main() local
61 original_size, new_size, in main()
62 static_cast<double>(new_size) / original_size * 100); in main()
Dsubsetter_main.cc62 int32_t original_size = TotalFontSize(font); in main() local
79 original_size, new_size, in main()
80 static_cast<double>(new_size) / original_size * 100); in main()
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_browsertest.cc338 int64 original_size = RequestDiskUsage(); in IN_PROC_BROWSER_TEST_F() local
339 EXPECT_GT(original_size, 0); in IN_PROC_BROWSER_TEST_F()
342 EXPECT_NE(original_size, new_size); in IN_PROC_BROWSER_TEST_F()
354 int64 original_size = RequestDiskUsage(); in IN_PROC_BROWSER_TEST_F() local
355 EXPECT_GT(original_size, 0); in IN_PROC_BROWSER_TEST_F()
358 EXPECT_NE(original_size, new_size); in IN_PROC_BROWSER_TEST_F()
370 int64 original_size = RequestDiskUsage(); in IN_PROC_BROWSER_TEST_F() local
371 EXPECT_GT(original_size, 0); in IN_PROC_BROWSER_TEST_F()
374 EXPECT_NE(original_size, new_size); in IN_PROC_BROWSER_TEST_F()
386 int64 original_size = RequestDiskUsage(); in IN_PROC_BROWSER_TEST_F() local
[all …]
/external/chromium_org/media/base/
Daudio_block_fifo.cc94 const int original_size = audio_blocks_.size(); in IncreaseCapacity() local
100 if (!original_size) in IncreaseCapacity()
104 audio_blocks_.begin() + original_size, in IncreaseCapacity()
/external/protobuf/src/google/protobuf/stubs/
Dsubstitute.cc110 int original_size = output->size(); in SubstituteAndAppend() local
111 STLStringResizeUninitialized(output, original_size + size); in SubstituteAndAppend()
112 char* target = string_as_array(output) + original_size; in SubstituteAndAppend()
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dsubstitute.cc110 int original_size = output->size(); in SubstituteAndAppend() local
111 STLStringResizeUninitialized(output, original_size + size); in SubstituteAndAppend()
112 char* target = string_as_array(output) + original_size; in SubstituteAndAppend()
/external/chromium_org/chrome/renderer/
Dchrome_render_frame_observer.cc112 gfx::Size original_size; in OnRequestThumbnailForContextNode() local
115 original_size = image.size(); in OnRequestThumbnailForContextNode()
121 routing_id(), thumbnail, original_size)); in OnRequestThumbnailForContextNode()
/external/chromium_org/components/favicon_base/
Dselect_favicon_frames.cc153 gfx::Size original_size, in GetResizedBitmap() argument
156 (original_size.width() == desired_size_in_pixel && in GetResizedBitmap()
157 original_size.height() == desired_size_in_pixel)) { in GetResizedBitmap()
160 if (desired_size_in_pixel % original_size.width() == 0 && in GetResizedBitmap()
161 desired_size_in_pixel % original_size.height() == 0) { in GetResizedBitmap()
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dzip_file_creator_browsertest.cc108 EXPECT_EQ(3, entry->original_size()); in IN_PROC_BROWSER_TEST_F()
111 EXPECT_EQ(kRandomDataSize, entry->original_size()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ui/base/clipboard/
Dcustom_data_helper.cc53 uint64 original_size = types->size(); in ReadCustomDataTypes() local
59 types->resize(original_size); in ReadCustomDataTypes()
/external/chromium_org/third_party/leveldatabase/src/table/
Dformat.cc34 const size_t original_size = dst->size(); in EncodeTo() local
41 assert(dst->size() == original_size + kEncodedLength); in EncodeTo()
/external/chromium_org/chrome/browser/history/
Dtop_sites_database.cc210 int64 original_size = 0; in RecoverDatabaseOrRaze() local
211 base::GetFileSize(db_path, &original_size); in RecoverDatabaseOrRaze()
298 if (original_size > 0 && in RecoverDatabaseOrRaze()
302 final_size * 100 / original_size); in RecoverDatabaseOrRaze()
Dthumbnail_database.cc406 int64 original_size = 0; in RecoverDatabaseOrRaze() local
407 base::GetFileSize(db_path, &original_size); in RecoverDatabaseOrRaze()
521 if (original_size > 0 && in RecoverDatabaseOrRaze()
524 int percentage = static_cast<int>(original_size * 100 / final_size); in RecoverDatabaseOrRaze()
/external/chromium_org/media/filters/
Dffmpeg_video_decoder_unittest.cc169 gfx::Size original_size = kVisibleRect.size(); in DecodeIFrameThenTestFile() local
170 EXPECT_EQ(original_size.width(), in DecodeIFrameThenTestFile()
172 EXPECT_EQ(original_size.height(), in DecodeIFrameThenTestFile()
/external/chromium_org/ui/message_center/
Dmessage_center_impl_unittest.cc705 gfx::Size original_size(0, 0); in TEST_F() local
717 EXPECT_EQ(original_size, notification->icon().Size()); in TEST_F()
718 EXPECT_EQ(original_size, notification->image().Size()); in TEST_F()
719 EXPECT_EQ(original_size, original_buttons[0].icon.Size()); in TEST_F()
720 EXPECT_EQ(original_size, original_buttons[1].icon.Size()); in TEST_F()
729 EXPECT_NE(original_size, new_size); in TEST_F()
/external/chromium_org/chrome/browser/ui/tab_contents/
Dcore_tab_helper.cc206 const gfx::Size& original_size) { in OnRequestThumbnailForContextNodeACK() argument
236 search_args.image_original_size = original_size; in OnRequestThumbnailForContextNodeACK()
Dcore_tab_helper.h70 const gfx::Size& original_size);
/external/chromium_org/third_party/zlib/google/
Dzip_reader.h69 int64 original_size() const { return original_size_; } in original_size() function
Dzip_reader_unittest.cc347 EXPECT_EQ(13527, current_entry_info->original_size()); in TEST_F()
416 EXPECT_EQ(0, current_entry_info->original_size()); in TEST_F()
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_unittest.cc653 gfx::Rect original_size(0, 0, 100, 100); in TEST_F() local
655 view_->set_bounds(original_size); in TEST_F()
659 EXPECT_EQ(original_size.size(), host_->old_resize_params_->new_size); in TEST_F()
668 EXPECT_EQ(original_size.size(), host_->old_resize_params_->new_size); in TEST_F()
700 params.view_size = original_size.size(); in TEST_F()
754 gfx::Rect original_size(0, 0, 100, 100); in TEST_F() local
755 view_->set_bounds(original_size); in TEST_F()
758 EXPECT_EQ(original_size.size(), host_->old_resize_params_->new_size); in TEST_F()
/external/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARFDebugMap.cpp874 const uint32_t original_size = variables.GetSize(); in PrivateFindGlobalVariables() local
891 return variables.GetSize() - original_size; in PrivateFindGlobalVariables()
904 const uint32_t original_size = variables.GetSize(); in FindGlobalVariables() local
933 return variables.GetSize() - original_size; in FindGlobalVariables()
946 const uint32_t original_size = variables.GetSize(); in FindGlobalVariables() local
974 return variables.GetSize() - original_size; in FindGlobalVariables()
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_store_file.cc883 int64 original_size = 0; in DoUpdate() local
884 if (!empty_ && !base::GetFileSize(filename_, &original_size)) in DoUpdate()
889 int64 shard_size = original_size + update_size; in DoUpdate()

12