HomeSort by relevance Sort by last modified time
    Searched refs:PageRange (Results 1 - 25 of 43) sorted by null

1 2

  /frameworks/base/core/java/android/print/
PageRange.aidl 19 parcelable PageRange;
IWriteResultCallback.aidl 19 import android.print.PageRange;
27 void onWriteFinished(in PageRange[] pages, int sequence);
PageRange.java 26 public final class PageRange implements Parcelable {
31 public static final PageRange ALL_PAGES = new PageRange(0, Integer.MAX_VALUE);
45 public PageRange(int start, int end) {
59 private PageRange (Parcel parcel) {
112 PageRange other = (PageRange) obj;
125 return "PageRange[<all pages>]";
128 builder.append("PageRange[")
136 public static final Parcelable.Creator<PageRange> CREATOR
    [all...]
PrintDocumentAdapter.java 42 * a call to {@link #onWrite(PageRange[], ParcelFileDescriptor, CancellationSignal,
66 * The {@link #onWrite(PageRange[], ParcelFileDescriptor, CancellationSignal,
100 * printed content. Then you can handle {@link #onWrite(PageRange[], ParcelFileDescriptor,
196 * invoke {@link WriteResultCallback#onWriteFinished(PageRange[])}, if writing
241 public abstract void onWrite(PageRange[] pages, ParcelFileDescriptor destination,
255 * PrintDocumentAdapter#onWrite(PageRange[], ParcelFileDescriptor, CancellationSignal,
273 public void onWriteFinished(PageRange[] pages) {
IPrintDocumentAdapter.aidl 24 import android.print.PageRange;
37 void write(in PageRange[] pages, in ParcelFileDescriptor fd,
PrintFileDocumentAdapter.java 87 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination,
145 mResultCallback.onWriteFinished(new PageRange[] {PageRange.ALL_PAGES});
PrintJobInfo.java 156 private PageRange[] mPageRanges;
207 mPageRanges = new PageRange[parcelables.length];
209 mPageRanges[i] = (PageRange) parcelables[i];
447 public PageRange[] getPages() {
458 public void setPages(PageRange[] pageRanges) {
709 public void setPages(PageRange[] pages) {
  /external/chromium_org/printing/
page_range.h 14 struct PageRange;
16 typedef std::vector<PageRange> PageRanges;
19 struct PRINTING_EXPORT PageRange {
23 bool operator==(const PageRange& rhs) const {
page_range_unittest.cc 10 printing::PageRange range;
20 std::vector<int> pages(printing::PageRange::GetPages(ranges));
34 std::vector<int> pages(printing::PageRange::GetPages(ranges));
40 printing::PageRange range;
44 std::vector<int> pages(printing::PageRange::GetPages(ranges));
page_range.cc 16 std::vector<int> PageRange::GetPages(const PageRanges& ranges) {
20 const PageRange& range = ranges[i];
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwPrintDocumentAdapter.java 10 import android.print.PageRange;
53 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination,
59 callback.onWriteFinished(new PageRange[] { PageRange.ALL_PAGES });
  /packages/experimental/PrintService/src/foo/bar/printservice/
CustomPrintOptionsActivity.java 7 import android.print.PageRange;
43 builder.setPages(new PageRange[] {new PageRange(1, 1), new PageRange(3, 3)});
  /external/chromium_org/printing/android/java/src/org/chromium/printing/
PrintingControllerImpl.java 10 import android.print.PageRange;
179 PageRange[] pageRanges = convertIntegerArrayToPageRanges(mPages);
257 final PageRange[] ranges,
276 if (ranges.length == 1 && ranges[0].equals(PageRange.ALL_PAGES)) {
345 private static PageRange[] convertIntegerArrayToPageRanges(int[] pagesArray) {
346 PageRange[] pageRanges;
348 pageRanges = new PageRange[pagesArray.length];
351 pageRanges[i] = new PageRange(page, page);
355 pageRanges = new PageRange[] { PageRange.ALL_PAGES }
    [all...]
PrintDocumentAdapterWrapper.java 10 import android.print.PageRange;
36 final PageRange[] ranges,
50 void onWriteFinished(PageRange[] pages);
86 public void onWriteFinished(PageRange[] pages) {
130 final PageRange[] ranges,
  /packages/experimental/PrintApp/src/foo/bar/print/
PrintActivity.java 32 import android.print.PageRange;
155 public void onWrite(final PageRange[] pages,
217 PageRange[] pageRanges = computePageRanges(mWrittenPages);
238 private PageRange[] computePageRanges(SparseIntArray writtenPages) {
239 List<PageRange> pageRanges = new ArrayList<PageRange>();
254 PageRange pageRange = new PageRange(start, end);
255 pageRanges.add(pageRange);
    [all...]
  /external/chromium_org/chrome/utility/
chrome_content_utility_client.h 26 struct PageRange;
56 const std::vector<printing::PageRange>& page_ranges);
78 const std::vector<printing::PageRange>& page_ranges,
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PrintCustomContent.java 28 import android.print.PageRange;
300 public void onWrite(final PageRange[] pages,
420 PageRange[] pageRanges = computeWrittenPageRanges(mWrittenPages);
450 private PageRange[] computeWrittenPageRanges(SparseIntArray writtenPages) {
451 List<PageRange> pageRanges = new ArrayList<PageRange>();
466 PageRange pageRange = new PageRange(start, end);
467 pageRanges.add(pageRange);
    [all...]
PrintHtmlOffScreen.java 24 import android.print.PageRange;
114 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination,
  /external/chromium/chrome/common/
utility_messages.h 28 IPC_STRUCT_TRAITS_BEGIN(printing::PageRange)
85 std::vector<printing::PageRange>)
  /external/chromium_org/chrome/service/
service_utility_process_host.h 35 struct PageRange;
99 const std::vector<printing::PageRange>& page_ranges);
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/printing/
PrintingControllerTest.java 9 import android.print.PageRange;
64 public void onWriteFinished(PageRange[] pages) {}
210 new PageRange[] {PageRange.ALL_PAGES},
215 public void onWriteFinished(PageRange[] pages) {
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
PrintJobConfigActivity.java 48 import android.print.PageRange;
166 public static final PageRange[] ALL_PAGES_ARRAY = new PageRange[] {PageRange.ALL_PAGES};
344 private PageRange[] mRequestedPages;
499 mRequestedPages = new PageRange[] {new PageRange(0, 0)};
502 mRequestedPages = new PageRange[] {new PageRange(firstPage, firstPage)};
546 private void handleOnWriteFinished(PageRange[] pages, int sequence)
    [all...]
RemotePrintDocumentAdapter.java 26 import android.print.PageRange;
79 public void write(final PageRange[] pages, final IWriteResultCallback callback,
  /frameworks/support/v4/kitkat/android/support/v4/print/
PrintHelperKitkat.java 30 import android.print.PageRange;
200 public void onWrite(PageRange[] pageRanges, ParcelFileDescriptor fileDescriptor,
225 new PageRange[]{PageRange.ALL_PAGES});
387 public void onWrite(PageRange[] pageRanges, ParcelFileDescriptor fileDescriptor,
413 new PageRange[]{PageRange.ALL_PAGES});
  /external/chromium_org/chrome/common/
chrome_utility_messages.h 37 IPC_STRUCT_TRAITS_BEGIN(printing::PageRange)
148 std::vector<printing::PageRange>)

Completed in 3756 milliseconds

1 2