Searched refs:printJob (Results 1 – 7 of 7) sorted by relevance
/packages/experimental/PrintService/src/foo/bar/printservice/ |
D | MyPrintService.java | 113 protected void onRequestCancelPrintJob(final PrintJob printJob) { in onRequestCancelPrintJob() argument 115 mProcessedPrintJobs.put(printJob.getId(), printJob); in onRequestCancelPrintJob() local 118 intent.putExtra(INTENT_EXTRA_PRINT_JOB_ID, printJob.getId()); in onRequestCancelPrintJob() 124 public void onPrintJobQueued(final PrintJob printJob) { in onPrintJobQueued() argument 126 mProcessedPrintJobs.put(printJob.getId(), printJob); in onPrintJobQueued() local 127 if (printJob.isQueued()) { in onPrintJobQueued() 128 printJob.start(); in onPrintJobQueued() 133 intent.putExtra(INTENT_EXTRA_PRINT_JOB_ID, printJob.getId()); in onPrintJobQueued() 139 PrintJob printJob = mProcessedPrintJobs.get(printJobId); in handleRequestCancelPrintJob() local 140 if (printJob == null) { in handleRequestCancelPrintJob() [all …]
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintJobSettingsFragment.java | 121 PrintJob printJob = getPrintJob(); in onCreateOptionsMenu() local 122 if (printJob == null) { in onCreateOptionsMenu() 126 if (!printJob.getInfo().isCancelling()) { in onCreateOptionsMenu() 132 if (printJob.isFailed()) { in onCreateOptionsMenu() 141 PrintJob printJob = getPrintJob(); in onOptionsItemSelected() local 143 if (printJob != null) { in onOptionsItemSelected() 146 printJob.cancel(); in onOptionsItemSelected() 152 printJob.restart(); in onOptionsItemSelected() 176 PrintJob printJob = getPrintJob(); in updateUi() local 178 if (printJob == null) { in updateUi() [all …]
|
D | PrintSettingsFragment.java | 320 for (PrintJobInfo printJob : printJobs) { in onLoadFinished() 325 preference.setKey(printJob.getId().flattenToString()); in onLoadFinished() 327 switch (printJob.getState()) { in onLoadFinished() 330 if (!printJob.isCancelling()) { in onLoadFinished() 333 printJob.getLabel())); in onLoadFinished() 337 printJob.getLabel())); in onLoadFinished() 344 printJob.getLabel())); in onLoadFinished() 348 if (!printJob.isCancelling()) { in onLoadFinished() 351 printJob.getLabel())); in onLoadFinished() 355 printJob.getLabel())); in onLoadFinished() [all …]
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | BuiltInPrintService.java | 106 protected void onPrintJobQueued(PrintJob printJob) { in onPrintJobQueued() argument 109 mJobQueue.print(new LocalPrintJob(this, mBackend, printJob)); in onPrintJobQueued() 111 printJob.fail(getString(R.string.wifi_not_connected)); in onPrintJobQueued() 116 protected void onRequestCancelPrintJob(PrintJob printJob) { in onRequestCancelPrintJob() argument 118 mJobQueue.cancel(printJob.getId()); in onRequestCancelPrintJob()
|
D | LocalPrintJob.java | 64 LocalPrintJob(BuiltInPrintService printService, Backend backend, PrintJob printJob) { in LocalPrintJob() argument 67 mPrintJob = printJob; in LocalPrintJob()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | StartJobTask.java | 81 public StartJobTask(Context context, Backend backend, Uri destination, PrintJob printJob, in StartJobTask() argument 88 mJobId = printJob.getId().toString(); in StartJobTask() 89 mJobInfo = printJob.getInfo(); in StartJobTask() 90 mDocInfo = printJob.getDocument().getInfo(); in StartJobTask() 91 mSourceFileDescriptor = printJob.getDocument().getData(); in StartJobTask()
|
D | Backend.java | 108 public void print(Uri uri, PrintJob printJob, LocalPrinterCapabilities capabilities, in print() argument 115 mStartTask = new StartJobTask(mContext, this, uri, printJob, capabilities) { in print()
|