Searched refs:mPrinterRegistry (Results 1 – 2 of 2) sorted by relevance
103 private PrinterRegistry mPrinterRegistry; field in SelectPrinterActivity133 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()512 … mPrinterRegistry.setOnPrintersChangeListener(new PrinterRegistry.OnPrintersChangeListener() { in DestinationAdapter()
199 private PrinterRegistry mPrinterRegistry; field in PrintActivity335 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 …]