Home
last modified time | relevance | path

Searched refs:PrintManager (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/print/
DPrintJob.java30 private final PrintManager mPrintManager;
34 PrintJob(PrintJobInfo info, PrintManager printManager) { in PrintJob()
DPrintManager.java102 public final class PrintManager { class
183 public PrintManager(Context context, IPrintManager service, int userId, int appId) { in PrintManager() method in PrintManager
216 public PrintManager getGlobalPrintManagerForUser(int userId) { in getGlobalPrintManagerForUser()
217 return new PrintManager(mContext, mService, userId, APP_ID_ANY); in getGlobalPrintManagerForUser()
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java34 import android.print.PrintManager;
168 PrintManager printManager = (PrintManager) mContext.getSystemService(Context.PRINT_SERVICE); in printBitmap()
434 PrintManager printManager = (PrintManager) mContext.getSystemService(Context.PRINT_SERVICE); in printBitmap()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DPrintSpoolerService.java39 import android.print.PrintManager;
265 final boolean sameAppId = appId == PrintManager.APP_ID_ANY in getPrintJobInfos()
298 && (appId == PrintManager.APP_ID_ANY in getPrintJobInfo()
394 printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in writePrintJobData()
477 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobState()
584 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobTag()
606 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobCancelling()
624 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobCopiesNoPersistence()
634 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobAdvancedOptionsNoPersistence()
644 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobPrintDocumentInfoNoPersistence()
[all …]
DFusedPrintersProvider.java24 import android.print.PrintManager;
170 PrintManager printManager = (PrintManager) getContext() in loadInternal()
474 PrintManager printManager = (PrintManager) getContext() in onPostExecute()
DNotificationController.java37 import android.print.PrintManager;
340 printManager.cancelPrintJob(printJobId, PrintManager.APP_ID_ANY, in handleCancelPrintJob()
377 printManager.restartPrintJob(printJobId, PrintManager.APP_ID_ANY, in handleRestartPrintJob()
DSelectPrinterFragment.java42 import android.print.PrintManager;
281 PrintManager printManager = (PrintManager) getActivity() in updateAddPrintersAdapter()
DPrintJobConfigActivity.java57 import android.print.PrintManager;
200 PrintJobInfo printJob = extras.getParcelable(PrintManager.EXTRA_PRINT_JOB); in onCreate()
206 mIPrintDocumentAdapter = extras.getBinder(PrintManager.EXTRA_PRINT_DOCUMENT_ADAPTER); in onCreate()
822 .getPrintJobInfo(mPrintJobId, PrintManager.APP_ID_ANY); in writePrintJobDataAndFinish()
1762 mPrintJobId, PrintManager.APP_ID_ANY); in registerAdvancedPrintOptionsButtonClickListener()
2311 PrintManager printManager = (PrintManager) getSystemService(Context.PRINT_SERVICE); in getAdvancedOptionsActivityName()
/frameworks/base/docs/html/training/printing/
Dhtml-docs.jd80 // to the PrintManager
147 the {@link android.print.PrintManager}, creating a print adapter, and finally, creating a print
153 // Get a PrintManager instance
154 PrintManager printManager = (PrintManager) getActivity()
Dcustom-docs.jd48 of the {@link android.print.PrintManager} class. This class allows you to initialize a print job
54 // Get a PrintManager instance
55 PrintManager printManager = (PrintManager) getActivity()
73 <strong>Note:</strong> The last parameter in the {@link android.print.PrintManager#print print()}
/frameworks/base/services/java/com/android/server/print/
DUserState.java47 import android.print.PrintManager;
197 Intent intent = new Intent(PrintManager.ACTION_PRINT_DIALOG); in print()
199 intent.putExtra(PrintManager.EXTRA_PRINT_DOCUMENT_ADAPTER, adapter.asBinder()); in print()
200 intent.putExtra(PrintManager.EXTRA_PRINT_JOB, printJob); in print()
209 result.putParcelable(PrintManager.EXTRA_PRINT_JOB, printJob); in print()
210 result.putParcelable(PrintManager.EXTRA_PRINT_DIALOG_INTENT, intentSender); in print()
821 PrintJobInfo.STATE_ANY_SCHEDULED, PrintManager.APP_ID_ANY); in failScheduledPrintJobsForServiceInternal()
856 if (record.appId == PrintManager.APP_ID_ANY in handleDispatchPrintJobStateChanged()
1586 if (appId == PrintManager.APP_ID_ANY) { in getPrintJobs()
DRemotePrintService.java35 import android.print.PrintManager;
685 PrintJobInfo.STATE_ANY_SCHEDULED, PrintManager.APP_ID_ANY); in getPrintJobInfos()
700 PrintManager.APP_ID_ANY); in getPrintJobInfo()
/frameworks/base/core/java/android/app/
DContextImpl.java98 import android.print.PrintManager;
590 return new PrintManager(ctx.getOuterContext(), service, UserHandle.myUserId(), in registerService()
/frameworks/base/docs/html/about/versions/
Dandroid-4.4.jd203 …he user's request using the {@link android.print.PrintManager} method, {@link android.print.PrintM…
/frameworks/base/api/
Dcurrent.txt19030 public final class PrintManager {