Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2339 PrinterHolder printerHolder = (PrinterHolder) getItem(i); in getPrinterIndex() local
2340 if (printerHolder != null && printerHolder.printer.getId().equals(printerId)) { in getPrinterIndex()
2351 PrinterHolder printerHolder = mPrinterHolders.get(i); in ensurePrinterInVisibleAdapterPosition() local
2353 if (printerHolder.printer.getId().equals(printer.getId())) { in ensurePrinterInVisibleAdapterPosition()
2363 mPrinterHolders.set(lastPrinterIndex, printerHolder); in ensurePrinterInVisibleAdapterPosition()
2369 PrinterHolder printerHolder = new PrinterHolder(printer); in ensurePrinterInVisibleAdapterPosition() local
2370 printerHolder.removed = true; in ensurePrinterInVisibleAdapterPosition()
2372 mPrinterHolders.add(Math.max(0, getCount() - 3), printerHolder); in ensurePrinterInVisibleAdapterPosition()
2391 PrinterHolder printerHolder = (PrinterHolder) item; in isEnabled() local
2392 return !printerHolder.removed in isEnabled()
[all …]