/external/chromium_org/remoting/host/ |
screen_resolution.h | 29 const webrtc::DesktopVector& dpi() const { return dpi_; } 40 webrtc::DesktopVector dpi_; member in class:remoting::ScreenResolution
|
screen_resolution.cc | 16 dpi_(webrtc::DesktopVector(0, 0)) { 22 dpi_(dpi) { 35 width = std::min(width * new_dpi.x() / dpi_.x(), 37 height = std::min(height * new_dpi.y() / dpi_.y(), 43 return dimensions_.is_empty() || dpi_.is_zero(); 47 return dimensions_.equals(other.dimensions()) && dpi_.equals(other.dpi());
|
/external/chromium_org/chrome/renderer/ |
mock_printer.cc | 59 : dpi_(printing::kPointsPerInch), 78 page_size_.SetSize(static_cast<int>(8.5 * dpi_), 79 static_cast<int>(11.0 * dpi_)); 80 content_size_.SetSize(static_cast<int>((7.5 * dpi_)), 81 static_cast<int>((10.0 * dpi_))); 82 margin_left_ = margin_top_ = static_cast<int>(0.5 * dpi_); 83 printable_area_.SetRect(static_cast<int>(0.25 * dpi_), 84 static_cast<int>(0.25 *dpi_), 85 static_cast<int>(8 * dpi_), 86 static_cast<int>(10.5 * dpi_)); [all...] |
mock_printer.h | 120 double dpi_; member in class:MockPrinter
|
/external/chromium_org/printing/ |
print_settings.h | 61 void set_dpi(int dpi) { dpi_ = dpi; } 62 int dpi() const { return dpi_; } 181 int dpi_; member in class:printing::PrintSettings
|
print_settings.cc | 132 dpi_ = 0;
|
/external/chromium_org/win8/metro_driver/ |
print_document_source.cc | 53 dpi_(96), 301 static_cast<UINT32>(ceil(width * dpi_ / 96)), 302 static_cast<UINT32>(ceil(height * dpi_ / 96)), 328 d2d_context->SetDpi(dpi_, dpi_); 353 FLOAT dpi = dpi_; 357 *reinterpret_cast<UINT32*>(&dpi) = static_cast<UINT32>(dpi_); 360 UINT32 dpi = static_cast<UINT32>(dpi_); 364 *reinterpret_cast<FLOAT*>(&dpi) = dpi_; 378 if (dpi == dpi_) [all...] |
print_document_source.h | 152 float dpi_; member in class:metro_driver::PrintDocumentSource
|