Searched refs:page_height (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/ui/gfx/
H A Dgdi_util.h43 GFX_EXPORT double CalculatePageScale(HDC dc, int page_width, int page_height);
H A Dgdi_util.cc99 double CalculatePageScale(HDC dc, int page_width, int page_height) { argument
104 if (dc_width >= page_width && dc_height >= page_height)
110 static_cast<double>(dc_height) / static_cast<double>(page_height);
/external/chromium_org/ui/app_list/views/
H A Dcontents_view.cc194 int page_height = bounds.height(); local
198 bounds.set_y(origin_above ? -page_height : page_height);
H A Dapps_grid_view.cc1193 // tile slot in the next page; similarly for tile.y + page_height.
1195 const int page_height = grid_size.height() + kPagePadding; local
1240 y_offset = -page_height;
1242 y_offset = page_height;
1247 y_offset += transition.progress * page_height * dir;
/external/chromium_org/pdf/pdfium/
H A Dpdfium_page.h109 base::Value* GetTextBoxAsValue(double page_height, double left, double top,
H A Dpdfium_engine.cc430 // |page_height| specifies the screen destination page height.
436 int page_width, int page_height,
443 *offset_y = page_height - source_clip_box.top;
454 *offset_x = page_height - source_clip_box.right;
3304 int page_height = static_cast<int>( local
3315 (dest->width() > dest->height()) != (page_width > page_height)) {
3317 std::swap(page_width, page_height);
3323 ((page_width > dest->width()) || (page_height > dest->height()))) {
3326 ((page_width < dest->width()) || (page_height < dest->height()))) {
3336 double scale_factor_y = page_height;
435 CalculateNonScaledClipBoxOffset(const pp::Rect& content_rect, int rotation, int page_width, int page_height, const ClipBox& source_clip_box, double* offset_x, double* offset_y) argument
3502 double page_height = 0; local
[all...]
H A Dpdfium_page.cc131 base::Value* PDFiumPage::GetTextBoxAsValue(double page_height, argument
166 node->SetDouble(kTextBoxTop, page_height - top);

Completed in 677 milliseconds