Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java375 private final PrinterCapabilitiesInfo mPrototype; field in PrinterCapabilitiesInfo.Builder
388 mPrototype = new PrinterCapabilitiesInfo(); in Builder()
406 if (mPrototype.mMediaSizes == null) { in addMediaSize()
407 mPrototype.mMediaSizes = new ArrayList<MediaSize>(); in addMediaSize()
409 final int insertionIndex = mPrototype.mMediaSizes.size(); in addMediaSize()
410 mPrototype.mMediaSizes.add(mediaSize); in addMediaSize()
413 mPrototype.mDefaults[PROPERTY_MEDIA_SIZE] = insertionIndex; in addMediaSize()
434 if (mPrototype.mResolutions == null) { in addResolution()
435 mPrototype.mResolutions = new ArrayList<Resolution>(); in addResolution()
437 final int insertionIndex = mPrototype.mResolutions.size(); in addResolution()
[all …]
DPrinterInfo.java220 private final PrinterInfo mPrototype; field in PrinterInfo.Builder
241 mPrototype = new PrinterInfo(); in Builder()
242 mPrototype.mId = printerId; in Builder()
243 mPrototype.mName = name; in Builder()
244 mPrototype.mStatus = status; in Builder()
253 mPrototype = new PrinterInfo(); in Builder()
254 mPrototype.copyFrom(other); in Builder()
268 mPrototype.mStatus = status; in setStatus()
280 mPrototype.mName = name; in setName()
292 mPrototype.mDescription = description; in setDescription()
[all …]
DPrintDocumentInfo.java276 private final PrintDocumentInfo mPrototype; field in PrintDocumentInfo.Builder
295 mPrototype = new PrintDocumentInfo(); in Builder()
296 mPrototype.mName = name; in Builder()
314 mPrototype.mPageCount = pageCount; in setPageCount()
331 mPrototype.mContentType = type; in setContentType()
344 if (mPrototype.mPageCount == 0) { in build()
345 mPrototype.mPageCount = PAGE_COUNT_UNKNOWN; in build()
347 return new PrintDocumentInfo(mPrototype); in build()
DPrintJobInfo.java672 private final PrintJobInfo mPrototype; field in PrintJobInfo.Builder
681 mPrototype = (prototype != null) in Builder()
692 mPrototype.mCopies = copies; in setCopies()
701 mPrototype.mAttributes = attributes; in setAttributes()
710 mPrototype.mPageRanges = pages; in setPages()
720 if (mPrototype.mAdvancedOptions == null) { in putAdvancedOption()
721 mPrototype.mAdvancedOptions = new Bundle(); in putAdvancedOption()
723 mPrototype.mAdvancedOptions.putString(key, value); in putAdvancedOption()
733 if (mPrototype.mAdvancedOptions == null) { in putAdvancedOption()
734 mPrototype.mAdvancedOptions = new Bundle(); in putAdvancedOption()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java1427 private MotionEvent mPrototype; field in TouchExplorer.SendHoverExitDelayed
1433 mPrototype = MotionEvent.obtain(prototype); in post()
1451 mPrototype.recycle(); in clear()
1452 mPrototype = null; in clear()
1469 sendMotionEvent(mPrototype, MotionEvent.ACTION_HOVER_EXIT, in run()