Searched refs:PrinterPreference (Results 1 – 3 of 3) sorted by relevance
119 PrinterPreference pref = getPrinterPreference(printer.getUri()); in onPeerFound()123 pref = new PrinterPreference(getContext(), mPrintService, printer, true); in onPeerFound()144 PrinterPreference pref = getPrinterPreference(printer.path); in onPeerLost()150 private PrinterPreference getPrinterPreference(Uri printerPath) { in getPrinterPreference()153 if (pref instanceof PrinterPreference in getPrinterPreference()154 && ((PrinterPreference) pref).getPrinter().path.equals(printerPath)) { in getPrinterPreference()155 return (PrinterPreference) pref; in getPrinterPreference()
26 class PrinterPreference extends Preference { class31 PrinterPreference(Context context, BuiltInPrintService printService, in PrinterPreference() method in PrinterPreference
195 PrinterPreference pref = new PrinterPreference(getContext(), mPrintService, in updateSavedPrinters()