/frameworks/base/core/java/android/print/ |
PrintJobInfo.aidl | 19 parcelable PrintJobInfo;
|
PrintJob.java | 23 * print job state is represented by the {@link PrintJobInfo} class. 32 private PrintJobInfo mCachedInfo; 34 PrintJob(PrintJobInfo info, PrintManager printManager) { 49 * Gets the {@link PrintJobInfo} that describes this job. 58 public PrintJobInfo getInfo() { 62 PrintJobInfo info = mPrintManager.getPrintJobInfo(mCachedInfo.getId()); 80 if (state == PrintJobInfo.STATE_QUEUED 81 || state == PrintJobInfo.STATE_STARTED 82 || state == PrintJobInfo.STATE_BLOCKED 83 || state == PrintJobInfo.STATE_FAILED) [all...] |
IPrintSpoolerClient.aidl | 20 import android.print.PrintJobInfo; 29 void onPrintJobQueued(in PrintJobInfo printJob); 32 void onPrintJobStateChanged(in PrintJobInfo printJob);
|
IPrintSpoolerCallbacks.aidl | 19 import android.print.PrintJobInfo; 30 void onGetPrintJobInfosResult(in List<PrintJobInfo> printJob, int sequence); 34 void onGetPrintJobInfoResult(in PrintJobInfo printJob, int sequence);
|
PrintJobInfo.java | 31 public final class PrintJobInfo implements Parcelable { 171 public PrintJobInfo() { 176 public PrintJobInfo(PrintJobInfo other) { 194 private PrintJobInfo(Parcel parcel) { 618 builder.append("PrintJobInfo{"); 669 * Builder for creating a {@link PrintJobInfo}. 672 private final PrintJobInfo mPrototype; 680 public Builder(PrintJobInfo prototype) { 682 ? new PrintJobInfo(prototype [all...] |
IPrintManager.aidl | 25 import android.print.PrintJobInfo; 35 List<PrintJobInfo> getPrintJobInfos(int appId, int userId); 36 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId);
|
IPrintSpooler.aidl | 26 import android.print.PrintJobInfo; 41 void createPrintJob(in PrintJobInfo printJob);
|
PrintManager.java | 82 * Print jobs can be in {@link PrintJobInfo#STATE_CREATED created}, {@link 83 * PrintJobInfo#STATE_QUEUED queued}, {@link PrintJobInfo#STATE_STARTED started}, 84 * {@link PrintJobInfo#STATE_BLOCKED blocked}, {@link PrintJobInfo#STATE_COMPLETED 85 * completed}, {@link PrintJobInfo#STATE_FAILED failed}, and {@link 86 * PrintJobInfo#STATE_CANCELED canceled} state. Print jobs are stored in dedicated 100 * @see PrintJobInfo 131 * <strong>Type:</strong> {@link android.print.PrintJobInfo} 220 PrintJobInfo getPrintJobInfo(PrintJobId printJobId) [all...] |
/frameworks/base/core/java/android/printservice/ |
PrintJob.java | 21 import android.print.PrintJobInfo; 42 private PrintJobInfo mCachedInfo; 44 PrintJob(PrintJobInfo jobInfo, IPrintServiceClient client) { 62 * Gets the {@link PrintJobInfo} that describes this job. 71 public PrintJobInfo getInfo() { 76 PrintJobInfo info = null; 109 return getInfo().getState() == PrintJobInfo.STATE_QUEUED; 124 return getInfo().getState() == PrintJobInfo.STATE_STARTED; 139 return getInfo().getState() == PrintJobInfo.STATE_BLOCKED; 152 return getInfo().getState() == PrintJobInfo.STATE_COMPLETED [all...] |
IPrintService.aidl | 20 import android.print.PrintJobInfo; 30 void requestCancelPrintJob(in PrintJobInfo printJobInfo); 31 void onPrintJobQueued(in PrintJobInfo printJobInfo);
|
IPrintServiceClient.aidl | 20 import android.print.PrintJobInfo; 32 List<PrintJobInfo> getPrintJobInfos(); 33 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId);
|
PrintService.java | 29 import android.print.PrintJobInfo; 197 * PrintJobInfo} to your activity allowing you to modify it. After you are 198 * done, you must return the modified {@link PrintJobInfo} via the same extra. 200 * You cannot modify the passed in {@link PrintJobInfo} directly, rather you 201 * should build another one using the {@link PrintJobInfo.Builder} class. You 203 * ones via {@link PrintJobInfo.Builder#putAdvancedOption(String, String) 204 * PrintJobInfo.Builder#putAdvancedOption(String, String)} and {@link 205 * PrintJobInfo.Builder#putAdvancedOption(String, int) 206 * PrintJobInfo.Builder#putAdvancedOption(String, int)}. The advanced options 299 List<PrintJobInfo> printJobInfos = mClient.getPrintJobInfos() [all...] |
/packages/experimental/PrintService/src/foo/bar/printservice/ |
CustomPrintOptionsActivity.java | 10 import android.print.PrintJobInfo; 26 PrintJobInfo printJobInfo = (PrintJobInfo) getIntent().getParcelableExtra( 39 PrintJobInfo.Builder builder = new PrintJobInfo.Builder(printJobInfo); 47 PrintJobInfo newPrintJobInfo = builder.build();
|
MyPrintService.java | 31 import android.print.PrintJobInfo; 226 final PrintJobInfo info = printJob.getInfo();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
NotificationController.java | 36 import android.print.PrintJobInfo; 69 public void onUpdateNotifications(List<PrintJobInfo> printJobs) { 70 List<PrintJobInfo> notifyPrintJobs = new ArrayList<PrintJobInfo>(); 74 PrintJobInfo printJob = printJobs.get(i); 83 private void updateNotification(List<PrintJobInfo> printJobs) { 93 private void createSimpleNotification(PrintJobInfo printJob) { 95 case PrintJobInfo.STATE_FAILED: { 99 case PrintJobInfo.STATE_BLOCKED: { 117 private void createPrintingNotification(PrintJobInfo printJob) [all...] |
PrintSpoolerService.java | 38 import android.print.PrintJobInfo; 92 private final List<PrintJobInfo> mPrintJobs = new ArrayList<PrintJobInfo>(); 143 PrintJobInfo printJob = mPrintJobs.get(i); 162 private void sendOnPrintJobQueued(PrintJobInfo printJob) { 204 PrintJobInfo printJob = (PrintJobInfo) message.obj; 242 PrintJobInfo printJob = (PrintJobInfo) message.obj; 254 public List<PrintJobInfo> getPrintJobInfos(ComponentName componentName [all...] |
PrintJobConfigActivity.java | 56 import android.print.PrintJobInfo; 200 PrintJobInfo printJob = extras.getParcelable(PrintManager.EXTRA_PRINT_JOB); 271 PrintJobInfo.STATE_QUEUED, null); 274 PrintJobInfo.STATE_CANCELED, null); 801 PrintJobInfo printJobInfo = (PrintJobInfo) data.getParcelableExtra( 803 if (printJobInfo != null) { 804 mEditor.updateFromAdvancedOptions(printJobInfo); 821 PrintJobInfo printJob = mSpoolerProvider.getSpooler( [all...] |
/packages/apps/Settings/src/com/android/settings/print/ |
PrintSettingsFragment.java | 39 import android.print.PrintJobInfo; 343 private final class PrintJobsController implements LoaderCallbacks<List<PrintJobInfo>> { 346 public Loader<List<PrintJobInfo>> onCreateLoader(int id, Bundle args) { 354 public void onLoadFinished(Loader<List<PrintJobInfo>> loader, 355 List<PrintJobInfo> printJobs) { 367 PrintJobInfo printJob = printJobs.get(i); 377 case PrintJobInfo.STATE_QUEUED: 378 case PrintJobInfo.STATE_STARTED: { 390 case PrintJobInfo.STATE_FAILED: { 396 case PrintJobInfo.STATE_BLOCKED: [all...] |
PrintJobSettingsFragment.java | 26 import android.print.PrintJobInfo; 168 PrintJobInfo info = mPrintJob.getInfo(); 171 case PrintJobInfo.STATE_QUEUED: 172 case PrintJobInfo.STATE_STARTED: { 182 case PrintJobInfo.STATE_FAILED: { 187 case PrintJobInfo.STATE_BLOCKED: { 204 case PrintJobInfo.STATE_QUEUED: 205 case PrintJobInfo.STATE_STARTED: { 209 case PrintJobInfo.STATE_FAILED: 210 case PrintJobInfo.STATE_BLOCKED: [all...] |
/frameworks/base/services/java/com/android/server/print/ |
RemotePrintSpooler.java | 33 import android.print.PrintJobInfo; 89 public void onPrintJobQueued(PrintJobInfo printJob); 91 public void onPrintJobStateChanged(PrintJobInfo printJob); 105 public final List<PrintJobInfo> getPrintJobInfos(ComponentName componentName, int state, 131 public final void createPrintJob(PrintJobInfo printJob) { 180 public final PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId) { 343 private void onPrintJobStateChanged(PrintJobInfo printJob) { 461 extends TimedRemoteCaller<List<PrintJobInfo>> { 468 public void onGetPrintJobInfosResult(List<PrintJobInfo> printJobs, int sequence) { 474 public List<PrintJobInfo> getPrintJobInfos(IPrintSpooler target [all...] |
UserState.java | 46 import android.print.PrintJobInfo; 133 public void onPrintJobQueued(PrintJobInfo printJob) { 145 mSpooler.setPrintJobState(printJob.getId(), PrintJobInfo.STATE_FAILED, 170 final PrintJobInfo printJob = new PrintJobInfo(); 175 printJob.setState(PrintJobInfo.STATE_CREATED); 218 public List<PrintJobInfo> getPrintJobInfos(int appId) { 219 List<PrintJobInfo> cachedPrintJobs = mPrintJobForAppCache.getPrintJobs(appId); 226 ArrayMap<PrintJobId, PrintJobInfo> result = 227 new ArrayMap<PrintJobId, PrintJobInfo>(); [all...] |
RemotePrintService.java | 34 import android.print.PrintJobInfo; 196 public void onRequestCancelPrintJob(PrintJobInfo printJob) { 201 private void handleRequestCancelPrintJob(final PrintJobInfo printJob) { 223 public void onPrintJobQueued(PrintJobInfo printJob) { 228 private void handleOnPrintJobQueued(final PrintJobInfo printJob) { 651 PrintJobInfo printJob = (PrintJobInfo) message.obj; 656 PrintJobInfo printJob = (PrintJobInfo) message.obj; 679 public List<PrintJobInfo> getPrintJobInfos() [all...] |
PrintManagerService.java | 44 import android.print.PrintJobInfo; 119 public List<PrintJobInfo> getPrintJobInfos(int appId, int userId) { 135 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId, int userId) {
|
/packages/experimental/PrintService2/src/foo/bar/printservice2/ |
MyPrintService.java | 13 import android.print.PrintJobInfo; 67 PrintJobInfo info = printJob.getInfo(); 122 PrintJobInfo info = printJob.getInfo();
|
/prebuilts/sdk/19/ |
android.jar | |