Home
last modified time | relevance | path

Searched refs:page_width (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/ui/gfx/
Dgdi_util.cc99 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()
Dgdi_util.h43 GFX_EXPORT double CalculatePageScale(HDC dc, int page_width, int page_height);
/external/chromium_org/printing/
Dprinting_context_mac.mm269 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/
Dpdfium_engine.cc436 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/
Dapps_grid_view.cc1194 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()