Home
last modified time | relevance | path

Searched refs:PageRange (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/printing/android/java/src/org/chromium/printing/
DPrintingControllerImpl.java10 import android.print.PageRange;
183 PageRange[] pageRanges = convertIntegerArrayToPageRanges(mPages); in pdfWritingDone()
261 final PageRange[] ranges, in onWrite()
280 if (ranges.length == 1 && ranges[0].equals(PageRange.ALL_PAGES)) { in onWrite()
352 private static PageRange[] convertIntegerArrayToPageRanges(int[] pagesArray) { in convertIntegerArrayToPageRanges()
353 PageRange[] pageRanges; in convertIntegerArrayToPageRanges()
355 pageRanges = new PageRange[pagesArray.length]; in convertIntegerArrayToPageRanges()
358 pageRanges[i] = new PageRange(page, page); in convertIntegerArrayToPageRanges()
362 pageRanges = new PageRange[] { PageRange.ALL_PAGES }; in convertIntegerArrayToPageRanges()
370 private static int[] normalizeRanges(final PageRange[] ranges) { in normalizeRanges()
[all …]
DPrintDocumentAdapterWrapper.java10 import android.print.PageRange;
36 final PageRange[] ranges, in onWrite()
50 void onWriteFinished(PageRange[] pages); in onWriteFinished()
86 public void onWriteFinished(PageRange[] pages) { in onWriteFinished()
130 final PageRange[] ranges, in onWrite()
/external/chromium_org/chrome/browser/resources/print_preview/data/ticket_items/
Dpage_range.js16 function PageRange(documentInfo) { class
31 PageRange.MAX_PAGE_NUMBER_ = 1000000000;
33 PageRange.prototype = { class
90 PageRange: PageRange
/external/chromium_org/printing/
Dpage_range.h14 struct PageRange;
16 typedef std::vector<PageRange> PageRanges;
19 struct PRINTING_EXPORT PageRange { struct
23 bool operator==(const PageRange& rhs) const { argument
Dpage_range_unittest.cc10 printing::PageRange range; in TEST()
20 std::vector<int> pages(printing::PageRange::GetPages(ranges)); in TEST()
34 std::vector<int> pages(printing::PageRange::GetPages(ranges)); in TEST()
40 printing::PageRange range; in TEST()
44 std::vector<int> pages(printing::PageRange::GetPages(ranges)); in TEST()
Dpage_range.cc16 std::vector<int> PageRange::GetPages(const PageRanges& ranges) { in GetPages()
20 const PageRange& range = ranges[i]; in GetPages()
Dprinting_context_android.cc52 printing::PageRange range; in GetPageRanges()
Dprinting_context_system_dialog_win.cc127 PageRange range; in InitializeSettings()
Dprinted_document.cc101 const PageRange& range = settings.ranges()[i]; in PrintedDocument()
Dprint_settings_conversion.cc154 PageRange range; in PrintSettingsFromJobSettings()
Dprinting_context_mac.mm411 PageRange range;
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DAwPrintDocumentAdapter.java10 import android.print.PageRange;
66 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in onWrite()
72 callback.onWriteFinished(new PageRange[] { PageRange.ALL_PAGES }); in onWrite()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/printing/
DPrintingControllerTest.java11 import android.print.PageRange;
63 public void onWriteFinished(PageRange[] pages) {} in onWriteFinished()
233 new PageRange[] {PageRange.ALL_PAGES}, in callWriteOnUiThread()
238 public void onWriteFinished(PageRange[] pages) { in callWriteOnUiThread()
/external/chromium_org/chrome/renderer/
Dchrome_mock_render_thread.cc195 printing::PageRange range; in OnUpdatePrintSettings()
207 std::vector<int> pages(printing::PageRange::GetPages(new_ranges)); in OnUpdatePrintSettings()
/external/chromium_org/chrome/utility/
Dprinting_handler.h21 struct PageRange;
/external/chromium_org/components/cloud_devices/common/
Dprinter_description.h325 typedef std::vector<Interval> PageRange; typedef
366 typedef TicketItem<PageRange, PageRangeTraits> PageRangeTicketItem;
Dprinter_description.cc707 static bool IsValid(const PageRange& option) { in IsValid()
716 static bool Load(const base::DictionaryValue& dict, PageRange* option) { in Load()
732 static void Save(const PageRange& option, base::DictionaryValue* dict) { in Save()
837 template class TicketItem<PageRange, PageRangeTraits>;
Dprinter_description_unittest.cc541 PageRange page_ranges; in TEST()
606 PageRange page_ranges; in TEST()
/external/chromium_org/chrome/service/
Dservice_utility_process_host.h31 struct PageRange;
/external/chromium_org/chrome/browser/printing/
Dprinting_message_filter.cc352 params.pages = PageRange::GetPages(printer_query->settings().ranges()); in OnScriptedPrintReply()
425 params.pages = PageRange::GetPages(printer_query->settings().ranges()); in OnUpdatePrintSettingsReply()
/external/chromium_org/chrome/common/
Dprint_messages.h183 IPC_STRUCT_TRAITS_BEGIN(printing::PageRange)
/external/chromium_org/chrome/browser/resources/print_preview/data/
Dprint_ticket_store.js102 new print_preview.ticket_items.PageRange(this.documentInfo_);
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dprint_dialog_gtk2.cc443 printing::PageRange range; in OnResponse()