/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintSettingsFragment.java | 316 for (PrintJobInfo printJob : printJobs) { in onLoadFinished() 321 preference.setKey(printJob.getId().flattenToString()); in onLoadFinished() 323 switch (printJob.getState()) { in onLoadFinished() 326 if (!printJob.isCancelling()) { in onLoadFinished() 329 printJob.getLabel())); in onLoadFinished() 333 printJob.getLabel())); in onLoadFinished() 339 printJob.getLabel())); in onLoadFinished() 342 if (!printJob.isCancelling()) { in onLoadFinished() 345 printJob.getLabel())); in onLoadFinished() 349 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 | 129 static boolean shouldShowToUser(PrintJobInfo printJob) { in shouldShowToUser() argument 130 switch (printJob.getState()) { in shouldShowToUser()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/ |
D | PrintSettingsFragment.java | 316 for (PrintJobInfo printJob : printJobs) { in onLoadFinished() 321 preference.setKey(printJob.getId().flattenToString()); in onLoadFinished() 323 switch (printJob.getState()) { in onLoadFinished() 326 if (!printJob.isCancelling()) { in onLoadFinished() 329 printJob.getLabel())); in onLoadFinished() 333 printJob.getLabel())); in onLoadFinished() 339 printJob.getLabel())); in onLoadFinished() 342 if (!printJob.isCancelling()) { in onLoadFinished() 345 printJob.getLabel())); in onLoadFinished() 349 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 | 129 static boolean shouldShowToUser(PrintJobInfo printJob) { in shouldShowToUser() argument 130 switch (printJob.getState()) { in shouldShowToUser()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | StartJobTask.java | 81 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 | 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/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 | 164 protected void onPrintJobQueued(PrintJob printJob) { in onPrintJobQueued() argument 166 mJobQueue.print(new LocalPrintJob(this, mBackend, printJob)); in onPrintJobQueued() 170 protected void onRequestCancelPrintJob(PrintJob printJob) { in onRequestCancelPrintJob() argument 172 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()
|