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

  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
PageRangeUtils.java 48 * @param pageRanges The page ranges.
52 public static boolean contains(PageRange[] pageRanges, int pageIndex) {
53 final int rangeCount = pageRanges.length;
55 PageRange pageRange = pageRanges[i];
114 * @param pageRanges The page ranges to normalize.
117 public static PageRange[] normalize(PageRange[] pageRanges) {
118 if (pageRanges == null) {
122 final int oldRangeCount = pageRanges.length;
124 return pageRanges;
127 Arrays.sort(pageRanges, sComparator)
    [all...]
  /packages/experimental/PrintApp/src/foo/bar/permission2/
PrintActivity.java 249 PageRange[] pageRanges = computePageRanges(mWrittenPages);
250 callback.onWriteFinished(pageRanges);
271 List<PageRange> pageRanges = new ArrayList<PageRange>();
287 pageRanges.add(pageRange);
291 PageRange[] pageRangesArray = new PageRange[pageRanges.size()];
292 pageRanges.toArray(pageRangesArray);
296 private boolean containsPage(PageRange[] pageRanges, int page) {
297 final int pageRangeCount = pageRanges.length;
299 if (pageRanges[i].getStart() <= page
300 && pageRanges[i].getEnd() >= page)
    [all...]
  /packages/experimental/PrintApp/src/foo/bar/print/
PrintActivity.java 245 PageRange[] pageRanges = computePageRanges(mWrittenPages);
246 callback.onWriteFinished(pageRanges);
267 List<PageRange> pageRanges = new ArrayList<PageRange>();
283 pageRanges.add(pageRange);
287 PageRange[] pageRangesArray = new PageRange[pageRanges.size()];
288 pageRanges.toArray(pageRangesArray);
292 private boolean containsPage(PageRange[] pageRanges, int page) {
293 final int pageRangeCount = pageRanges.length;
295 if (pageRanges[i].getStart() <= page
296 && pageRanges[i].getEnd() >= page)
    [all...]
  /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...]
  /frameworks/base/core/java/android/print/
PrintJobInfo.java 511 * @param pageRanges The included pages.
515 public void setPages(PageRange[] pageRanges) {
516 mPageRanges = pageRanges;
  /frameworks/support/core-utils/kitkat/android/support/v4/print/
PrintHelperKitkat.java 266 public void onWrite(PageRange[] pageRanges, ParcelFileDescriptor fileDescriptor,
582 public void onWrite(PageRange[] pageRanges, ParcelFileDescriptor fileDescriptor,
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
PrintSpoolerService.java     [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
PageAdapter.java 721 PageRange[] pageRanges = new PageRange[pageRangesList.size()];
722 pageRangesList.toArray(pageRanges);
724 return PageRangeUtils.normalize(pageRanges);
PrintActivity.java     [all...]
  /developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/libs/
android-support-v4.jar 
  /developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/
android-support-v4.jar 
  /external/libgdx/backends/gdx-backend-android/libs/
support-v4-19.0.1.jar 
  /prebuilts/maven_repo/android/com/android/support/support-v4/19.0.1/
support-v4-19.0.1.jar 
  /prebuilts/maven_repo/android/com/android/support/support-v4/19.1.0/
support-v4-19.1.0.jar 
  /prebuilts/maven_repo/android/com/android/support/support-v4/19.0.0/
support-v4-19.0.0.jar 
  /prebuilts/sdk/current/support/v13/
android-support-v13.jar 
  /prebuilts/sdk/current/support/v4/
android-support-v4.jar 

Completed in 1002 milliseconds