HomeSort by relevance Sort by last modified time
    Searched refs:pageRanges (Results 1 - 10 of 10) sorted by null

  /packages/experimental/PrintApp/src/foo/bar/print/
PrintActivity.java 217 PageRange[] pageRanges = computePageRanges(mWrittenPages);
218 callback.onWriteFinished(pageRanges);
239 List<PageRange> pageRanges = new ArrayList<PageRange>();
255 pageRanges.add(pageRange);
259 PageRange[] pageRangesArray = new PageRange[pageRanges.size()];
260 pageRanges.toArray(pageRangesArray);
264 private boolean containsPage(PageRange[] pageRanges, int page) {
265 final int pageRangeCount = pageRanges.length;
267 if (pageRanges[i].getStart() <= page
268 && pageRanges[i].getEnd() >= page)
    [all...]
  /external/chromium_org/printing/android/java/src/org/chromium/printing/
PrintingControllerImpl.java 179 PageRange[] pageRanges = convertIntegerArrayToPageRanges(mPages);
180 mOnWriteCallback.onWriteFinished(pageRanges);
346 PageRange[] pageRanges;
348 pageRanges = new PageRange[pagesArray.length];
349 for (int i = 0; i < pageRanges.length; i++) {
351 pageRanges[i] = new PageRange(page, page);
355 pageRanges = new PageRange[] { PageRange.ALL_PAGES };
357 return pageRanges;
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PrintCustomContent.java 420 PageRange[] pageRanges = computeWrittenPageRanges(mWrittenPages);
421 callback.onWriteFinished(pageRanges);
451 List<PageRange> pageRanges = new ArrayList<PageRange>();
467 pageRanges.add(pageRange);
471 PageRange[] pageRangesArray = new PageRange[pageRanges.size()];
472 pageRanges.toArray(pageRangesArray);
476 private boolean containsPage(PageRange[] pageRanges, int page) {
477 final int pageRangeCount = pageRanges.length;
479 if (pageRanges[i].getStart() <= page
480 && pageRanges[i].getEnd() >= page)
    [all...]
  /external/chromium_org/chrome/browser/resources/print_preview/
print_preview_utils.js 110 var pageRanges = [];
122 pageRanges.push({'from': from, 'to': to});
129 pageRanges.push({'from': singlePageNumber, 'to': singlePageNumber});
132 return pageRanges;
146 var pageRanges = pageRangeTextToPageRanges(pageRangeText, totalPageCount);
148 if (pageRanges) {
149 for (var i = 0; i < pageRanges.length; ++i) {
150 for (var j = pageRanges[i].from; j <= Math.min(pageRanges[i].to,
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
PrintJobConfigActivity.java     [all...]
PrintSpoolerService.java     [all...]
  /external/chromium/chrome/browser/resources/
print_preview.js 180 var pageRanges = getSelectedPageRanges();
184 for (var i = 0; i < pageRanges.length; ++i) {
185 if (pageRanges[i].from == pageRanges[i].to)
186 parsedPageRanges += pageRanges[i].from;
188 parsedPageRanges += pageRanges[i].from + '-' + pageRanges[i].to;
189 if (i < pageRanges.length - 1)
574 var pageRanges = [];
580 pageRanges.push({'from': tempFrom, 'to': tempTo})
    [all...]
  /frameworks/base/core/java/android/print/
PrintJobInfo.java 454 * @param pageRanges The included pages.
458 public void setPages(PageRange[] pageRanges) {
459 mPageRanges = pageRanges;
  /frameworks/support/v4/kitkat/android/support/v4/print/
PrintHelperKitkat.java 200 public void onWrite(PageRange[] pageRanges, ParcelFileDescriptor fileDescriptor,
387 public void onWrite(PageRange[] pageRanges, ParcelFileDescriptor fileDescriptor,
  /prebuilts/maven_repo/android/com/android/support/support-v4/19.0.0/
support-v4-19.0.0.jar 

Completed in 98 milliseconds