/cts/tests/tests/print/src/android/print/cts/services/ |
PrintServiceCallbacks.java | 19 import android.printservice.PrintJob; 36 public abstract void onRequestCancelPrintJob(PrintJob printJob); 38 public abstract void onPrintJobQueued(PrintJob printJob);
|
StubbablePrintService.java | 19 import android.printservice.PrintJob; 36 public void onRequestCancelPrintJob(PrintJob printJob) { 39 callbacks.onRequestCancelPrintJob(printJob); 44 public void onPrintJobQueued(PrintJob printJob) { 47 callbacks.onPrintJobQueued(printJob);
|
/external/chromium_org/chrome/browser/printing/ |
print_job.cc | 39 PrintJob::PrintJob() 53 PrintJob::~PrintJob() { 61 void PrintJob::Initialize(PrintJobWorkerOwner* job, 83 content::Source<PrintJob>(this)); 86 void PrintJob::Observe(int type, 101 void PrintJob::GetSettingsDone(const PrintSettings& new_settings, 106 PrintJobWorker* PrintJob::DetachWorker(PrintJobWorkerOwner* new_owner) { 111 const PrintSettings& PrintJob::settings() const [all...] |
print_job.h | 35 // worker thread so the caller never blocks. PrintJob will send notifications on 39 class PrintJob : public PrintJobWorkerOwner, 42 // Create a empty PrintJob. When initializing with this constructor, 44 PrintJob(); 70 // handle to the object. Use PrintJob::is_stopped() to check whether the 101 virtual ~PrintJob(); 160 base::WeakPtrFactory<PrintJob> quit_factory_; 162 DISALLOW_COPY_AND_ASSIGN(PrintJob); 189 // not a good moment to release the handle to PrintJob. 193 // PrintJob [all...] |
print_job_manager.h | 22 class PrintJob; 76 typedef std::set<scoped_refptr<PrintJob> > PrintJobs; 79 void OnPrintJobEvent(PrintJob* print_job,
|
print_view_manager_base.h | 27 class PrintJob; 139 scoped_refptr<PrintJob> print_job_;
|
print_job_unittest.cc | 66 class TestPrintJob : public printing::PrintJob { 90 // Test the multi-threaded nature of PrintJob to make sure we can use it with 100 scoped_refptr<printing::PrintJob> job(new TestPrintJob(&check)); 120 scoped_refptr<printing::PrintJob> job(new TestPrintJob(&check));
|
print_job_worker.h | 23 class PrintJob; 32 // PrintJob always outlives its worker instance. 60 // Dequeues waiting pages. Called when PrintJob receives a 93 // and DEFAULT_INIT_DONE. These three are sent through PrintJob::InitDone().
|
print_job_manager.cc | 62 // corresponding PrintJob, so any pending preview requests are not covered 117 OnPrintJobEvent(content::Source<PrintJob>(source).ptr(), 129 PrintJob* print_job,
|
print_view_manager_base.cc | 313 // PrintJob will send a ALL_PAGES_REQUESTED after having received all the 359 print_job_ = new PrintJob(); 362 content::Source<PrintJob>(print_job_.get())); 421 content::Source<PrintJob>(print_job_.get()));
|
print_job_worker.cc | 82 // We know that is is a PrintJob object in this circumstance. 83 content::Source<PrintJob>(static_cast<PrintJob*>(print_job)), 181 // PrintJob will create the new PrintedDocument.
|
/frameworks/base/core/java/android/print/ |
PrintJob.java | 28 public final class PrintJob { 34 PrintJob(PrintJobInfo info, PrintManager printManager) { 192 PrintJob other = (PrintJob) obj;
|
PrintManager.java | 101 * @see PrintJob 294 * @see PrintJob 297 public PrintJob getPrintJob(PrintJobId printJobId) { 303 PrintJobInfo printJob = mService.getPrintJobInfo(printJobId, mAppId, mUserId); 304 if (printJob != null) { 305 return new PrintJob(printJob, this); 317 * @see PrintJob 319 public List<PrintJob> getPrintJobs() { 330 List<PrintJob> printJobs = new ArrayList<PrintJob>(printJobCount) [all...] |
/frameworks/base/core/java/android/printservice/ |
PrintService.java | 62 * #onPrintJobQueued(PrintJob)}. The print service may handle the print job immediately 69 * while processing it. Initially, a print job is queued, i.e. {@link PrintJob#isQueued() 70 * PrintJob.isQueued()} returns true, which means that the document to be printed is 72 * the printed document by calling {@link PrintJob#getDocument() PrintJob.getDocument()} 75 * state to started by calling {@link PrintJob#start()} after which 76 * {@link PrintJob#isStarted() PrintJob.isStarted()} would return true. Upon successful 78 * PrintJob#complete() PrintJob.complete()} after which {@link PrintJob#isCompleted( [all...] |
PrintJob.java | 34 public final class PrintJob { 36 private static final String LOG_TAG = "PrintJob"; 44 PrintJob(PrintJobInfo jobInfo, IPrintServiceClient client) { 266 * {@link PrintService#onRequestCancelPrintJob(PrintJob)}. 361 PrintJob other = (PrintJob) obj;
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
MyPrintService.java | 35 import android.printservice.PrintJob; 75 private final Map<PrintJobId, PrintJob> mProcessedPrintJobs = 76 new ArrayMap<PrintJobId, PrintJob>(); 111 protected void onRequestCancelPrintJob(final PrintJob printJob) { 113 mProcessedPrintJobs.put(printJob.getId(), printJob); 116 intent.putExtra(INTENT_EXTRA_PRINT_JOB_ID, printJob.getId()); 122 public void onPrintJobQueued(final PrintJob printJob) { [all...] |
/cts/tests/tests/print/src/android/print/cts/ |
PageRangeAdjustmentTest.java | 42 import android.printservice.PrintJob; 80 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; 81 PageRange[] pages = printJob.getInfo().getPages(); 83 printJob.complete(); 164 any(PrintJob.class)); 183 PrintJob printJob = (PrintJob) invocation.getArguments()[0] [all...] |
PrinterDiscoverySessionLifecycleTest.java | 39 import android.printservice.PrintJob; 82 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; 84 printJob.complete(); 179 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; 181 printJob.complete();
|
BasePrintTest.java | 49 import android.printservice.PrintJob; 403 doAnswer(onPrintJobQueued).when(service).onPrintJobQueued(any(PrintJob.class)); 407 any(PrintJob.class));
|
PrintDocumentAdapterContractTest.java | 44 import android.printservice.PrintJob; [all...] |
/packages/apps/Settings/src/com/android/settings/print/ |
PrintJobSettingsFragment.java | 24 import android.print.PrintJob; 69 private PrintJob mPrintJob; 115 PrintJob printJob = getPrintJob(); 116 if (printJob == null) { 120 if (!printJob.getInfo().isCancelling()) { 126 if (printJob.isFailed()) { 160 private PrintJob getPrintJob() { 168 PrintJob printJob = getPrintJob() [all...] |
PrintSettingsFragment.java | 40 import android.print.PrintJob; 379 PrintJobInfo printJob = printJobs.get(i); 386 preference.setKey(printJob.getId().flattenToString()); 388 switch (printJob.getState()) { 391 if (!printJob.isCancelling()) { 394 printJob.getLabel())); 398 printJob.getLabel())); 405 printJob.getLabel())); 409 if (!printJob.isCancelling()) { 412 printJob.getLabel())) [all...] |
/packages/experimental/PrintService2/src/foo/bar/printservice2/ |
MyPrintService.java | 16 import android.printservice.PrintJob; 65 public void onPrintJobQueued(final PrintJob printJob) { 67 PrintJobInfo info = printJob.getInfo(); 76 new FileInputStream(printJob.getData())); 118 if (printJob.isQueued()) { 119 printJob.start(); 122 PrintJobInfo info = printJob.getInfo(); 128 if (printJob.isStarted()) { 129 printJob.complete() [all...] |
/prebuilts/sdk/19/ |
android.jar | |
/external/chromium_org/third_party/android_platform/webview/ |
frameworks.jar | |