Searched refs:page_width (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/ui/gfx/ |
D | gdi_util.cc | 99 double CalculatePageScale(HDC dc, int page_width, int page_height) { in CalculatePageScale() argument 104 if (dc_width >= page_width && dc_height >= page_height) in CalculatePageScale() 108 static_cast<double>(dc_width) / static_cast<double>(page_width); in CalculatePageScale()
|
D | gdi_util.h | 43 GFX_EXPORT double CalculatePageScale(HDC dc, int page_width, int page_height);
|
/external/chromium_org/printing/ |
D | printing_context_mac.mm | 269 double page_width = 0.0; 278 PMPaperGetWidth(default_paper, &page_width) != noErr || 290 page_width = media.size_microns.width() * kMutiplier; 300 MatchPaper(paper_list, paper_name, page_width, page_height); 313 page_width,
|
/external/chromium_org/pdf/pdfium/ |
D | pdfium_engine.cc | 436 int page_width, int page_height, in CalculateNonScaledClipBoxOffset() argument 450 *offset_x = page_width - source_clip_box.right; in CalculateNonScaledClipBoxOffset() 455 *offset_y = page_width - source_clip_box.top; in CalculateNonScaledClipBoxOffset() 3302 int page_width = static_cast<int>( in CalculatePosition() local 3315 (dest->width() > dest->height()) != (page_width > page_height)) { in CalculatePosition() 3317 std::swap(page_width, page_height); in CalculatePosition() 3323 ((page_width > dest->width()) || (page_height > dest->height()))) { in CalculatePosition() 3326 ((page_width < dest->width()) || (page_height < dest->height()))) { in CalculatePosition() 3334 double scale_factor_x = page_width; in CalculatePosition() 3341 dest->set_width(page_width / scale_factor_y); in CalculatePosition() [all …]
|
/external/chromium_org/ui/app_list/views/ |
D | apps_grid_view.cc | 1194 const int page_width = grid_size.width() + kPagePadding; in CalculateIdealBounds() local 1228 x_offset = -page_width; in CalculateIdealBounds() 1230 x_offset = page_width; in CalculateIdealBounds() 1235 x_offset += transition.progress * page_width * dir; in CalculateIdealBounds()
|