Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java350 int duplexModes = mDuplexModes; in duplexModesToString() local
351 while (duplexModes != 0) { in duplexModesToString()
352 final int duplexMode = 1 << Integer.numberOfTrailingZeros(duplexModes); in duplexModesToString()
353 duplexModes &= ~duplexMode; in duplexModesToString()
589 public @NonNull Builder setDuplexModes(@DuplexMode int duplexModes, in setDuplexModes() argument
591 enforceValidMask(duplexModes, in setDuplexModes()
594 mPrototype.mDuplexModes = duplexModes; in setDuplexModes()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1815 final int duplexModes = capabilities.getDuplexModes(); in updateOptionsUi() local
1820 if (Integer.bitCount(duplexModes) != mDuplexModeSpinnerAdapter.getCount()) { in updateOptionsUi()
1823 int remainingDuplexModes = duplexModes; in updateOptionsUi()
1845 int remainingDuplexModes = duplexModes; in updateOptionsUi()