/frameworks/base/core/java/android/print/ |
PrinterInfo.aidl | 19 parcelable PrinterInfo;
|
PrinterInfo.java | 31 public final class PrinterInfo implements Parcelable { 52 private PrinterInfo() { 56 private PrinterInfo(PrinterInfo prototype) { 63 public void copyFrom(PrinterInfo other) { 131 private PrinterInfo(Parcel parcel) { 176 PrinterInfo other = (PrinterInfo) obj; 206 builder.append("PrinterInfo{"); 217 * Builder for creating of a {@link PrinterInfo} [all...] |
IPrinterDiscoveryObserver.aidl | 20 import android.print.PrinterInfo;
|
PrinterDiscoverySession.java | 44 private final LinkedHashMap<PrinterId, PrinterInfo> mPrinters = 45 new LinkedHashMap<PrinterId, PrinterInfo>(); 148 public final List<PrinterInfo> getPrinters() { 153 return new ArrayList<PrinterInfo>(mPrinters.values()); 196 private void handlePrintersAdded(List<PrinterInfo> addedPrinters) { 205 PrinterInfo printer = addedPrinters.get(i); 213 ArrayMap<PrinterId, PrinterInfo> addedPrintersMap = 214 new ArrayMap<PrinterId, PrinterInfo>(); 217 PrinterInfo printer = addedPrinters.get(i); 223 PrinterInfo updatedPrinter = addedPrintersMap.remove(oldPrinterId) [all...] |
IPrintSpooler.aidl | 23 import android.print.PrinterInfo;
|
/frameworks/base/core/java/android/printservice/ |
PrinterDiscoverySession.java | 23 import android.print.PrinterInfo; 88 private final ArrayMap<PrinterId, PrinterInfo> mPrinters = 89 new ArrayMap<PrinterId, PrinterInfo>(); 94 private ArrayMap<PrinterId, PrinterInfo> mLastSentPrinters; 115 mObserver.onPrintersAdded(new ParceledListSlice<PrinterInfo>(getPrinters())); 141 public final List<PrinterInfo> getPrinters() { 146 return new ArrayList<PrinterInfo>(mPrinters.values()); 164 public final void addPrinters(List<PrinterInfo> printers) { 175 List<PrinterInfo> addedPrinters = null; 178 PrinterInfo addedPrinter = printers.get(i) [all...] |
IPrintServiceClient.aidl | 22 import android.print.PrinterInfo;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
PrinterRegistry.java | 27 import android.print.PrinterInfo; 39 private final List<PrinterInfo> mPrinters = new ArrayList<>(); 50 public void onPrintersChanged(List<PrinterInfo> printers); 66 public List<PrinterInfo> getPrinters() { 70 public void addHistoricalPrinter(PrinterInfo printer) { 112 private final LoaderCallbacks<List<PrinterInfo>> mLoaderCallbacks = 113 new LoaderCallbacks<List<PrinterInfo>>() { 115 public void onLoaderReset(Loader<List<PrinterInfo>> loader) { 130 public void onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) [all...] |
FusedPrintersProvider.java | 28 import android.print.PrinterInfo; 62 public final class FusedPrintersProvider extends Loader<List<PrinterInfo>> { 72 private final List<PrinterInfo> mPrinters = 75 private final List<PrinterInfo> mFavoritePrinters = 91 public void addHistoricalPrinter(PrinterInfo printer) { 95 private void computeAndDeliverResult(Map<PrinterId, PrinterInfo> discoveredPrinters, 96 List<PrinterInfo> favoritePrinters) { 97 List<PrinterInfo> printers = new ArrayList<>(); 102 PrinterInfo favoritePrinter = favoritePrinters.get(i); 103 PrinterInfo updatedPrinter = discoveredPrinters.remove [all...] |
SelectPrinterActivity.java | 42 import android.print.PrinterInfo; 132 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position); 189 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position); 194 if (printer.getStatus() != PrinterInfo.STATUS_UNAVAILABLE) { 417 private final List<PrinterInfo> mPrinters = new ArrayList<>(); 419 private final List<PrinterInfo> mFilteredPrinters = new ArrayList<>(); 426 public void onPrintersChanged(List<PrinterInfo> printers) { 460 List<PrinterInfo> filteredPrinters = new ArrayList<>() [all...] |
PrintActivity.java | 50 import android.print.PrinterInfo; 207 private PrinterInfo mCurrentPrinter; 658 private void startAdvancedPrintOptionsActivity(PrinterInfo printer) { [all...] |
/external/chromium_org/printing/backend/ |
printing_info_win.h | 24 class PrinterInfo { 59 typedef internal::PrinterInfo<PRINTER_INFO_2, 2> PrinterInfo2; 60 typedef internal::PrinterInfo<PRINTER_INFO_5, 5> PrinterInfo5;
|
/cts/tests/tests/print/src/android/print/cts/ |
PrinterDiscoverySessionLifecycleTest.java | 33 import android.print.PrinterInfo; 283 final List<PrinterInfo> reportedPrinters = new ArrayList<PrinterInfo>(); 295 PrinterInfo reportedPrinter = reportedPrinters.get(i); 318 List<PrinterInfo> printers = new ArrayList<PrinterInfo>(); 323 PrinterInfo firstPrinter = new PrinterInfo.Builder(firstPrinterId, 324 FIRST_PRINTER_NAME, PrinterInfo.STATUS_IDLE) 331 PrinterInfo secondPrinter = new PrinterInfo.Builder(secondPrinterId [all...] |
PrintDocumentAdapterContractTest.java | 38 import android.print.PrinterInfo; [all...] |
PageRangeAdjustmentTest.java | 36 import android.print.PrinterInfo; 646 List<PrinterInfo> printers = new ArrayList<>(); 659 PrinterInfo firstPrinter = new PrinterInfo.Builder(firstPrinterId, 660 FIRST_PRINTER, PrinterInfo.STATUS_IDLE)
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
CustomPrintOptionsActivity.java | 12 import android.print.PrinterInfo; 28 PrinterInfo printerInfo = (PrinterInfo) getIntent().getParcelableExtra( 31 PrinterCapabilitiesInfo capabilities = printerInfo.getCapabilities();
|
MyPrintService.java | 34 import android.print.PrinterInfo; 339 private final List<PrinterInfo> mFakePrinters = new ArrayList<PrinterInfo>(); 344 PrinterInfo printer = new PrinterInfo 346 ? PrinterInfo.STATUS_UNAVAILABLE : PrinterInfo.STATUS_IDLE) 380 PrinterInfo printer = findPrinterInfo(printerId); 396 printer = new PrinterInfo.Builder(printer) 400 List<PrinterInfo> printers = new ArrayList<PrinterInfo>() [all...] |
/packages/experimental/PrintService2/src/foo/bar/printservice2/ |
MyPrintService.java | 15 import android.print.PrinterInfo; 138 PrinterInfo printer = new PrinterInfo.Builder(printerId, "Printer 1") 139 .setStatus(PrinterInfo.STATUS_READY) 167 List<PrinterInfo> printers = new ArrayList<PrinterInfo>(); 174 PrinterInfo printer = new PrinterInfo.Builder(printerId, "Printer 2") 175 .setStatus(PrinterInfo.STATUS_READY) 205 List<PrinterInfo> printers = new ArrayList<PrinterInfo>() [all...] |
/packages/apps/Settings/src/com/android/settings/print/ |
PrintServiceSettingsFragment.java | 44 import android.print.PrinterInfo; 472 implements LoaderManager.LoaderCallbacks<List<PrinterInfo>>, Filterable { 475 private final List<PrinterInfo> mPrinters = new ArrayList<PrinterInfo>(); 477 private final List<PrinterInfo> mFilteredPrinters = new ArrayList<PrinterInfo>(); 504 List<PrinterInfo> filteredPrinters = new ArrayList<PrinterInfo>(); 508 PrinterInfo printer = mPrinters.get(i); 528 List<PrinterInfo> printers = (List<PrinterInfo>) results.values [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
UserState.java | 49 import android.print.PrinterInfo; 497 public void onPrintersAdded(List<PrinterInfo> printers) { [all...] |
RemotePrintService.java | 37 import android.print.PrinterInfo; 95 public void onPrintersAdded(List<PrinterInfo> printers); 763 List<PrinterInfo> addedPrinters = (List<PrinterInfo>) printers.getList(); 791 List<PrinterInfo> printerInfos) {
|
/frameworks/base/ |
Android.mk | 474 frameworks/base/core/java/android/print/PrinterInfo.aidl \ [all...] |
/external/chromium_org/third_party/android_platform/webview/ |
frameworks.jar | |
/prebuilts/sdk/19/ |
android.jar | |