Home
last modified time | relevance | path

Searched refs:page_number (Results 1 – 25 of 64) sorted by relevance

123

/external/chromium_org/chrome/renderer/printing/
Dprint_web_view_helper_win.cc44 int page_number = params.page_number; in PrintPageInternal() local
56 RenderPage(params.params, page_number, frame, false, metafile.get(), in PrintPageInternal()
77 page_params.page_number = page_number; in PrintPageInternal()
92 int page_number, in RenderPreviewPage() argument
106 RenderPage(print_params, page_number, print_preview_context_.prepared_frame(), in RenderPreviewPage()
119 return PreviewPageRendered(page_number, draft_metafile.get()); in RenderPreviewPage()
123 const PrintMsg_Print_Params& params, int page_number, WebFrame* frame, in RenderPage() argument
128 ComputePageLayoutInPointsForCss(frame, page_number, params, in RenderPage()
168 float webkit_page_shrink_factor = frame->getPrintPageShrink(page_number); in RenderPage()
190 PrintHeaderAndFooter(canvas.get(), page_number + 1, in RenderPage()
[all …]
Dprint_web_view_helper_mac.mm34 int page_number = params.page_number;
37 RenderPage(print_pages_params_->params, page_number, frame, false, &metafile,
43 page_params.page_number = page_number;
58 int page_number,
80 RenderPage(printParams, page_number, print_preview_context_.prepared_frame(),
95 return PreviewPageRendered(page_number, draft_metafile.get());
99 const PrintMsg_Print_Params& params, int page_number, WebFrame* frame,
103 double webkit_shrink_factor = frame->getPrintPageShrink(page_number);
107 ComputePageLayoutInPointsForCss(frame, page_number, params,
134 PrintHeaderAndFooter(canvas_ptr, page_number + 1,
[all …]
Dprint_web_view_helper_linux.cc30 int page_number, in RenderPreviewPage() argument
34 page_params.page_number = page_number; in RenderPreviewPage()
57 return PreviewPageRendered(page_number, draft_metafile.get()); in RenderPreviewPage()
89 page_params.page_number = printed_pages[i]; in PrintPagesNative()
142 printed_page_params.page_number = printed_pages[i]; in PrintPagesNative()
158 ComputePageLayoutInPointsForCss(frame, params.page_number, params.params, in PrintPageInternal()
184 PrintHeaderAndFooter(canvas.get(), params.page_number + 1, in PrintPageInternal()
190 RenderPageContent(frame, params.page_number, canvas_area, content_area, in PrintPageInternal()
Dprint_web_view_helper.h176 bool RenderPreviewPage(int page_number,
254 int page_number,
263 int page_number,
276 int page_number,
300 int page_number,
342 bool PreviewPageRendered(int page_number, Metafile* metafile);
/external/chromium_org/android_webview/renderer/
Dprint_web_view_helper_linux.cc32 int page_number, in RenderPreviewPage() argument
36 page_params.page_number = page_number; in RenderPreviewPage()
59 return PreviewPageRendered(page_number, draft_metafile.get()); in RenderPreviewPage()
91 page_params.page_number = printed_pages[i]; in PrintPagesNative()
144 printed_page_params.page_number = printed_pages[i]; in PrintPagesNative()
160 ComputePageLayoutInPointsForCss(frame, params.page_number, params.params, in PrintPageInternal()
186 PrintHeaderAndFooter(canvas.get(), params.page_number + 1, in PrintPageInternal()
192 RenderPageContent(frame, params.page_number, canvas_area, content_area, in PrintPageInternal()
Dprint_web_view_helper.h178 bool RenderPreviewPage(int page_number,
256 int page_number,
265 int page_number,
278 int page_number,
302 int page_number,
344 bool PreviewPageRendered(int page_number, Metafile* metafile);
/external/chromium_org/printing/
Dprinted_document.cc66 void PrintedDocument::SetPage(int page_number, in SetPage() argument
74 new PrintedPage(page_number + 1, in SetPage()
81 mutable_.pages_[page_number] = page; in SetPage()
84 if (page_number < mutable_.first_page) in SetPage()
85 mutable_.first_page = page_number; in SetPage()
91 bool PrintedDocument::GetPage(int page_number, in GetPage() argument
94 PrintedPages::const_iterator itr = mutable_.pages_.find(page_number); in GetPage()
183 base::StringPrintf("%02d", page.page_number())); in DebugDump()
Dprinted_document_mac.cc22 DCHECK(&page == mutable_.pages_.find(page.page_number() - 1)->second.get()); in RenderPrintedPage()
34 const int page_number = 1; in RenderPrintedPage() local
37 metafile->RenderPage(page_number, context, content_area.ToCGRect(), params); in RenderPrintedPage()
Dimage_mac.cc17 const unsigned int page_number = 1; in LoadMetafile() local
18 gfx::Rect rect(metafile.GetPageBounds(page_number)); in LoadMetafile()
42 metafile.RenderPage(page_number, bitmap_context, in LoadMetafile()
Dpdf_metafile_cg_mac.cc174 bool PdfMetafileCg::RenderPage(unsigned int page_number, in RenderPage() argument
183 CGPDFPageRef pdf_page = CGPDFDocumentGetPage(pdf_doc, page_number); in RenderPage()
248 gfx::Rect PdfMetafileCg::GetPageBounds(unsigned int page_number) const { in GetPageBounds()
254 if (page_number > GetPageCount()) { in GetPageBounds()
255 LOG(ERROR) << "Invalid page number: " << page_number; in GetPageBounds()
258 CGPDFPageRef pdf_page = CGPDFDocumentGetPage(pdf_doc, page_number); in GetPageBounds()
Dprinted_document_gtk.cc20 DCHECK(&page == mutable_.pages_.find(page.page_number() - 1)->second.get()); in RenderPrintedPage()
28 if (page.page_number() - 1 == mutable_.first_page) { in RenderPrintedPage()
Dprint_destination_win.cc33 virtual void SetPageContent(int page_number, in SetPageContent() argument
37 metro_set_print_page_content_(page_number - 1, content, in SetPageContent()
Dprinted_page.h25 PrintedPage(int page_number,
32 int page_number() const { return page_number_; } in page_number() function
Dprinted_page.cc9 PrintedPage::PrintedPage(int page_number, in PrintedPage() argument
14 : page_number_(page_number), in PrintedPage()
Dpdf_metafile_cg_mac.h55 virtual gfx::Rect GetPageBounds(unsigned int page_number) const OVERRIDE;
62 virtual bool RenderPage(unsigned int page_number,
Dmetafile.h125 virtual gfx::Rect GetPageBounds(unsigned int page_number) const = 0;
154 virtual bool RenderPage(unsigned int page_number,
Dpdf_metafile_skia.h49 virtual gfx::Rect GetPageBounds(unsigned int page_number) const OVERRIDE;
60 virtual bool RenderPage(unsigned int page_number,
/external/bluetooth/bluedroid/stack/btm/
Dbtm_devctl.c117 static void btm_get_local_ext_features (UINT8 page_number);
118 static void btm_decode_ext_features_page (UINT8 page_number, const BD_FEATURES p_features);
563 static void btm_get_local_ext_features (UINT8 page_number) in btm_get_local_ext_features() argument
567 btsnd_hcic_read_local_ext_features(page_number); in btm_get_local_ext_features()
927 static void btm_decode_ext_features_page (UINT8 page_number, const UINT8 *p_features) in btm_decode_ext_features_page() argument
932 BTM_TRACE_DEBUG1 ("btm_decode_ext_features_page page: %d", page_number); in btm_decode_ext_features_page()
933 switch (page_number) in btm_decode_ext_features_page()
1099 BTM_TRACE_ERROR1("btm_decode_ext_features_page page=%d unknown", page_number); in btm_decode_ext_features_page()
1370 UINT8 page_number; in btm_read_local_ext_features_complete() local
1385 STREAM_TO_UINT8 (page_number, p); in btm_read_local_ext_features_complete()
[all …]
/external/chromium_org/chrome/browser/printing/
Dprint_preview_message_handler.cc119 int page_number = params.page_number; in OnDidPreviewPage() local
120 if (page_number < FIRST_PAGE_INDEX || !params.data_size) in OnDidPreviewPage()
131 print_preview_ui->SetPrintPreviewDataForIndex(page_number, data_bytes); in OnDidPreviewPage()
132 print_preview_ui->OnDidPreviewPage(page_number, params.preview_request_id); in OnDidPreviewPage()
/external/chromium_org/win8/metro_driver/
Dprint_document_source.cc401 void PrintDocumentSource::AddPage(size_t page_number, in AddPage() argument
407 DCHECK(page_number < pages_.size()); in AddPage()
409 pages_[page_number] = metafile_stream; in AddPage()
410 pages_ready_state_[page_number]->Signal(); in AddPage()
479 HRESULT PrintDocumentSource::WaitAndGetPage(size_t page_number, in WaitAndGetPage() argument
490 DCHECK(page_number <= pages_ready_state_.size()); in WaitAndGetPage()
492 while (!aborted_ && pages_[page_number].Get() == NULL) in WaitAndGetPage()
493 pages_ready_state_[page_number]->Wait(); in WaitAndGetPage()
498 DCHECK(page_number < pages_.size()); in WaitAndGetPage()
513 hr = pages_[page_number]->Seek(seek_pos, STREAM_SEEK_SET, &result); in WaitAndGetPage()
[all …]
Dprint_handler.cc233 void PrintHandler::AddPage(size_t page_number, IStream* metafile_stream) { in AddPage() argument
237 page_number, in AddPage()
425 void PrintHandler::OnAddPage(size_t page_number, in OnAddPage() argument
431 current_document_source_->AddPage(page_number, metafile_stream.Get()); in OnAddPage()
465 void MetroSetPrintPageContent(size_t page_number, in MetroSetPrintPageContent() argument
468 DVLOG(1) << __FUNCTION__ << " Page number: " << page_number; in MetroSetPrintPageContent()
482 metro_driver::PrintHandler::AddPage(page_number, metafile_stream.Get()); in MetroSetPrintPageContent()
Dprint_handler.h36 static void AddPage(size_t page_number, IStream* metafile_stream);
66 static void OnAddPage(size_t page_number,
/external/chromium_org/sql/test/
Dtest_helpers.cc34 bool GetRootPage(sql::Connection* db, const char* name, int* page_number) { in GetRootPage() argument
40 *page_number = s.ColumnInt(0); in GetRootPage()
122 int page_number = 0; in CorruptTableOrIndex() local
123 if (!GetRootPage(&db, tree_name, &page_number)) in CorruptTableOrIndex()
127 const long int page_ofs = (page_number - 1) * page_size; in CorruptTableOrIndex()
/external/chromium_org/chrome/test/functional/ap_lab/
Dlinksys_ap_configurator.py43 def NavigateToPage(self, page_number): argument
44 if page_number == 1:
47 elif page_number == 2:
53 page_number)
57 def SavePage(self, page_number): argument
/external/chromium_org/chrome/utility/
Dchrome_content_utility_client.cc133 int page_number, in RenderPDFPageToBitmap() argument
142 return render_pdf_to_bitmap_func_(pdf_buffer, pdf_buffer_size, page_number, in RenderPDFPageToBitmap()
168 int page_number,
251 int page_number, in RenderPDFPageToDC() argument
266 return render_pdf_to_dc_func_(pdf_buffer, buffer_size, page_number, in RenderPDFPageToDC()
277 const void* pdf_buffer, int buffer_size, int page_number, HDC dc,
605 for (int page_number = iter->from; page_number <= iter->to; ++page_number) { in RenderPDFToWinMetafile() local
606 if (page_number >= total_page_count) in RenderPDFToWinMetafile()
612 &buffer.front(), buffer.size(), page_number, metafile.context(), in RenderPDFToWinMetafile()
617 if (*highest_rendered_page_number < page_number) in RenderPDFToWinMetafile()
[all …]

123