Home
last modified time | relevance | path

Searched refs:printManager (Results 1 – 7 of 7) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/
DPdfPrintActivity.java67 PrintManager printManager = (PrintManager) getSystemService(Context.PRINT_SERVICE); in onCreate() local
68 if (printManager == null) { in onCreate()
76 printManager.print(mJobName, new PdfAdapter(), printAttributes); in onCreate()
DLocalDiscoverySession.java101 PrintManager printManager = mPrintService.getSystemService(PrintManager.class); in onStopPrinterDiscovery() local
102 printManager.removePrintServicesChangeListener(this); in onStopPrinterDiscovery()
103 printManager.removePrintServiceRecommendationsChangeListener(this); in onStopPrinterDiscovery()
DImagePrintActivity.java144 PrintManager printManager = (PrintManager) getSystemService(Context.PRINT_SERVICE); in onProgressUpdate() local
145 if (printManager == null) { in onProgressUpdate()
155 mPrintJob = printManager.print(mJobName, new ImageAdapter(), printAttributes); in onProgressUpdate()
/packages/apps/Settings/src/com/android/settings/print/
DSettingsPrintServicesLoader.java38 public SettingsPrintServicesLoader(@NonNull PrintManager printManager, @NonNull Context context, in SettingsPrintServicesLoader() argument
42 mLoader = new PrintServicesLoader(printManager, context, selectionFlags) { in SettingsPrintServicesLoader()
DPrintSettingsFragment.java166 PrintManager printManager = in onCreateLoader() local
168 if (printManager != null) { in onCreateLoader()
169 return new SettingsPrintServicesLoader(printManager, getContext(), in onCreateLoader()
DPrintServiceSettingsFragment.java722 PrintManager printManager = (PrintManager) getContext()
724 mDiscoverySession = printManager.createPrinterDiscoverySession();
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java555 PrintManager printManager = (PrintManager) getSystemService(Context.PRINT_SERVICE); in onMenuItemClick() local
558 printManager.print(jobName, printAdapter, new PrintAttributes.Builder().build()); in onMenuItemClick()