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 | 319 for (PrintJobInfo printJob : printJobs) { in onLoadFinished() 324 preference.setKey(printJob.getId().flattenToString()); in onLoadFinished() 326 switch (printJob.getState()) { in onLoadFinished() 329 if (!printJob.isCancelling()) { in onLoadFinished() 332 printJob.getLabel())); in onLoadFinished() 336 printJob.getLabel())); in onLoadFinished() 342 printJob.getLabel())); in onLoadFinished() 345 if (!printJob.isCancelling()) { in onLoadFinished() 348 printJob.getLabel())); in onLoadFinished() 352 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, 115 mStartTask = new StartJobTask(mContext, this, uri, printJob, capabilities) {
|