Home
last modified time | relevance | path

Searched refs:mPrinterRegistry (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java103 private PrinterRegistry mPrinterRegistry; field in SelectPrinterActivity
133 mPrinterRegistry = new PrinterRegistry(this, null, LOADER_ID_PRINT_REGISTRY, in onCreate()
305 if (mPrinterRegistry.isFavoritePrinter(printer.getId())) { in onCreateContextMenu()
325 mPrinterRegistry.forgetFavoritePrinter(printerId); in onContextItemSelected()
512mPrinterRegistry.setOnPrintersChangeListener(new PrinterRegistry.OnPrintersChangeListener() { in DestinationAdapter()
DPrintActivity.java199 private PrinterRegistry mPrinterRegistry; field in PrintActivity
335 mPrinterRegistry = new PrinterRegistry(PrintActivity.this, () -> { in onConnectedToPrintSpooler()
396 if (mPrinterRegistry != null && mCurrentPrinter != null) { in onStart()
397 mPrinterRegistry.setTrackedPrinter(mCurrentPrinter.getId()); in onStart()
455 if (mPrinterRegistry != null) { in onStop()
456 mPrinterRegistry.setTrackedPrinter(null); in onStop()
1283 mPrinterRegistry.addHistoricalPrinter(mCurrentPrinter); in addCurrentPrinterToHistory()
2158 if (mPrinterRegistry != null) { in doFinish()
2159 mPrinterRegistry.setTrackedPrinter(null); in doFinish()
2160 mPrinterRegistry.setOnPrintersChangeListener(null); in doFinish()
[all …]