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