Home
last modified time | relevance | path

Searched refs:printContext (Results 1 – 8 of 8) sorted by relevance

/external/webkit/Source/WebCore/page/
DPrintContext.cpp256 PrintContext printContext(frame); in pageNumberForElement() local
257 printContext.begin(pageRect.width(), pageRect.height()); in pageNumberForElement()
260 printContext.computePageRectsWithPageSize(scaledPageSize, false); in pageNumberForElement()
265 for (; pageNumber < printContext.pageCount(); pageNumber++) { in pageNumberForElement()
266 const IntRect& page = printContext.pageRect(pageNumber); in pageNumberForElement()
276 PrintContext printContext(frame); in pageProperty() local
277 printContext.begin(800); // Any width is OK here. in pageProperty()
319 PrintContext printContext(frame); in numberOfPages() local
320 printContext.begin(pageRect.width(), pageRect.height()); in numberOfPages()
324 printContext.computePageRectsWithPageSize(scaledPageSize, false); in numberOfPages()
[all …]
/external/webkit/Source/WebCore/page/win/
DFrameWin.cpp41 PrintContext printContext(frame); in computePageRectsForFrame() local
43printContext.computePageRects(printRect, headerHeight, footerHeight, userScaleFactor, pageHeight); in computePageRectsForFrame()
45 outPages = printContext.pageRects(); in computePageRectsForFrame()
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitwebframe.cpp753 PrintContext* printContext = reinterpret_cast<PrintContext*>(user_data); in begin_print_callback() local
759 printContext->begin(width); in begin_print_callback()
765 printContext->computePageRects(printRect, headerHeight, footerHeight, 1.0, pageHeight); in begin_print_callback()
766 gtk_print_operation_set_n_pages(op, printContext->pageCount()); in begin_print_callback()
784 PrintContext* printContext = reinterpret_cast<PrintContext*>(user_data); in end_print_callback() local
785 printContext->end(); in end_print_callback()
816 PrintContext printContext(coreFrame); in webkit_web_frame_print_full() local
818 g_signal_connect(operation, "begin-print", G_CALLBACK(begin_print_callback), &printContext); in webkit_web_frame_print_full()
819 g_signal_connect(operation, "draw-page", G_CALLBACK(draw_page_callback), &printContext); in webkit_web_frame_print_full()
820 g_signal_connect(operation, "end-print", G_CALLBACK(end_print_callback), &printContext); in webkit_web_frame_print_full()
/external/dexmaker/src/dx/java/com/android/dx/util/
DExceptionWithContext.java135 public void printContext(PrintStream out) { in printContext() method in ExceptionWithContext
145 public void printContext(PrintWriter out) { in printContext() method in ExceptionWithContext
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
DExceptionWithContext.java143 public void printContext(PrintStream out) { in printContext() method in ExceptionWithContext
153 public void printContext(PrintWriter out) { in printContext() method in ExceptionWithContext
/external/webkit/Source/WebKit/qt/Api/
Dqwebframe.cpp1441 PrintContext printContext(d->frame); in print() local
1450 printContext.begin(pageRect.width()); in print()
1452printContext.computePageRects(pageRect, /* headerHeight */ 0, /* footerHeight */ 0, /* userScaleFa… in print()
1470 toPage = printContext.pageCount(); in print()
1474 toPage = qMin(static_cast<int>(printContext.pageCount()), toPage); in print()
1497 printContext.end(); in print()
1500 printContext.spoolPage(ctx, page - 1, pageRect.width()); in print()
1520 printContext.end(); in print()
/external/webkit/Source/WebCore/rendering/
DRenderTreeAsText.cpp760 PrintContext printContext(frame); in externalRepresentation() local
764 printContext.begin(frame->contentRenderer()->width()); in externalRepresentation()
/external/webkit/Source/WebKit/mac/WebView/
DWebFrame.mm1349 PrintContext printContext(_private->coreFrame);
1350 printContext.computePageRectsWithPageSize(FloatSize(printWidth, printHeight), true);
1351 const Vector<IntRect>& pageRects = printContext.pageRects();