Searched refs:Dpi (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/components/cloud_devices/common/ |
D | printer_description.h | 89 struct Dpi { struct 90 Dpi(); 91 Dpi(int32 horizontal, int32 vertical); 94 bool operator==(const Dpi& other) const; 95 bool operator!=(const Dpi& other) const { return !(*this == other); } 348 typedef SelectionCapability<Dpi, DpiTraits> DpiCapability; 362 typedef TicketItem<Dpi, DpiTraits> DpiTicketItem;
|
D | printer_description.cc | 425 Dpi::Dpi() : horizontal(0), vertical(0) { in Dpi() function in cloud_devices::printer::Dpi 428 Dpi::Dpi(int32 horizontal, int32 vertical) in Dpi() function in cloud_devices::printer::Dpi 432 bool Dpi::IsValid() const { in IsValid() 436 bool Dpi::operator==(const Dpi& other) const { in operator ==() 675 static bool IsValid(const Dpi& option) { return option.IsValid(); } in IsValid() 677 static bool Load(const base::DictionaryValue& dict, Dpi* option) { in Load() 685 static void Save(const Dpi& option, base::DictionaryValue* dict) { in Save() 820 template class SelectionCapability<Dpi, DpiTraits>; 833 template class TicketItem<Dpi, DpiTraits>;
|
D | printer_description_unittest.cc | 356 dpi.AddOption(Dpi(150, 250)); in TEST() 357 dpi.AddDefaultOption(Dpi(600, 1600), true); in TEST() 453 EXPECT_TRUE(dpi.Contains(Dpi(150, 250))); in TEST() 454 EXPECT_TRUE(dpi.Contains(Dpi(600, 1600))); in TEST() 455 EXPECT_EQ(Dpi(600, 1600), dpi.GetDefault()); in TEST() 539 dpi.set_value(Dpi(562, 125)); in TEST() 604 EXPECT_EQ(dpi.value(), Dpi(562, 125)); in TEST()
|
/external/chromium_org/chrome/common/cloud_print/ |
D | cloud_print_cdd_conversion.cc | 94 Dpi default_dpi(semantic_info.default_dpi.width(), in PrinterSemanticCapsAndDefaultsToCdd() 98 Dpi new_dpi(semantic_info.dpis[i].width(), in PrinterSemanticCapsAndDefaultsToCdd()
|