Searched defs:height_in_pixels (Results 1 - 2 of 2) sorted by path

/external/chromium_org/chrome/browser/printing/
H A Dprint_preview_pdf_generated_browsertest.cc383 double height_in_pixels = ConvertUnitDouble( local
387 // |height_in_pixels|. This is because the page will be rotated to fit
389 // |height_in_pixels| have to be swapped or else they won't reflect the
391 if (width_in_pixels > height_in_pixels)
392 std::swap(width_in_pixels, height_in_pixels);
394 total_height_in_pixels += height_in_pixels;
395 gfx::Rect rect(width_in_pixels, height_in_pixels);
/external/chromium_org/pdf/pdfium/
H A Dpdfium_engine.cc1115 int height_in_pixels = ConvertUnit(source_page_height, local
1119 pp::Rect rect(width_in_pixels, height_in_pixels);
2390 int height_in_pixels = static_cast<int>( local
2393 std::swap(width_in_pixels, height_in_pixels);
2394 size = pp::Size(width_in_pixels, height_in_pixels);

Completed in 242 milliseconds