Searched refs:printJob (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintSettingsFragment.java | 315 for (PrintJobInfo printJob : printJobs) { in onLoadFinished() 320 preference.setKey(printJob.getId().flattenToString()); in onLoadFinished() 322 switch (printJob.getState()) { in onLoadFinished() 325 if (!printJob.isCancelling()) { in onLoadFinished() 328 printJob.getLabel())); in onLoadFinished() 332 printJob.getLabel())); in onLoadFinished() 338 printJob.getLabel())); in onLoadFinished() 341 if (!printJob.isCancelling()) { in onLoadFinished() 344 printJob.getLabel())); in onLoadFinished() 348 printJob.getLabel())); in onLoadFinished() [all …]
|
D | PrintJobSettingsFragment.java | 72 final PrintJob printJob = use(PrintJobPreferenceController.class).getPrintJob(); in onCreateOptionsMenu() local 73 if (printJob == null) { in onCreateOptionsMenu() 77 if (!printJob.getInfo().isCancelling()) { in onCreateOptionsMenu() 83 if (printJob.isFailed()) { in onCreateOptionsMenu() 92 final PrintJob printJob = use(PrintJobPreferenceController.class).getPrintJob(); in onOptionsItemSelected() local 94 if (printJob != null) { in onOptionsItemSelected() 97 printJob.cancel(); in onOptionsItemSelected() 103 printJob.restart(); in onOptionsItemSelected()
|
D | PrintJobPreferenceController.java | 36 final PrintJob printJob = getPrintJob(); in updateUi() local 38 if (printJob == null) { in updateUi() 43 if (printJob.isCancelled() || printJob.isCompleted()) { in updateUi() 48 PrintJobInfo info = printJob.getInfo(); in updateUi() 58 if (!printJob.getInfo().isCancelling()) { in updateUi() 75 if (!printJob.getInfo().isCancelling()) { in updateUi()
|
D | PrintJobMessagePreferenceController.java | 30 final PrintJob printJob = getPrintJob(); in updateUi() local 32 if (printJob == null) { in updateUi() 37 if (printJob.isCancelled() || printJob.isCompleted()) { in updateUi() 42 final PrintJobInfo info = printJob.getInfo(); in updateUi()
|
D | PrintSettingPreferenceController.java | 134 static boolean shouldShowToUser(PrintJobInfo printJob) { in shouldShowToUser() argument 135 switch (printJob.getState()) { in shouldShowToUser()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | StartJobTask.java | 83 StartJobTask(Context context, Backend backend, Uri destination, PrintJob printJob, in StartJobTask() argument 90 mJobId = printJob.getId().toString(); in StartJobTask() 91 mJobInfo = printJob.getInfo(); in StartJobTask() 92 mDocInfo = printJob.getDocument().getInfo(); in StartJobTask() 93 mSourceFileDescriptor = printJob.getDocument().getData(); in StartJobTask()
|
D | Backend.java | 110 public void print(Uri uri, PrintJob printJob, LocalPrinterCapabilities capabilities, in print() argument 117 mStartTask = new StartJobTask(mContext, this, uri, printJob, capabilities) { in print()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/print/ |
D | PrintJobSettingsActivityTest.java | 123 PrintJob printJob = pm.print(uuid.toString(), adapter, null); in viewPrintJobSettings() local 132 intent.putExtra(EXTRA_PRINT_JOB_ID, printJob.getId().flattenToString()); in viewPrintJobSettings() 133 intent.setData(Uri.fromParts("printjob", printJob.getId().flattenToString(), null)); in viewPrintJobSettings()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | BuiltInPrintService.java | 166 protected void onPrintJobQueued(PrintJob printJob) { in onPrintJobQueued() argument 168 mJobQueue.print(new LocalPrintJob(this, mBackend, printJob)); in onPrintJobQueued() 172 protected void onRequestCancelPrintJob(PrintJob printJob) { in onRequestCancelPrintJob() argument 174 mJobQueue.cancel(printJob.getId()); in onRequestCancelPrintJob()
|
D | LocalPrintJob.java | 76 LocalPrintJob(BuiltInPrintService printService, Backend backend, PrintJob printJob) { in LocalPrintJob() argument 79 mPrintJob = printJob; in LocalPrintJob()
|