Searched refs:copies (Results 1 - 20 of 20) sorted by relevance

/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DJobAttributes.java31 * Instances of this class control the number of copies, default selection,
164 * It is used to control how the sheets of multiple copies of a single
174 "separate-documents-collated-copies",
175 "separate-documents-uncollated-copies"
180 * that the job should be divided into separate, collated copies.
188 * that the job should be divided into separate, uncollated copies.
244 private int copies; field in class:JobAttributes
267 * Number of copies defaults to {@code 1}. Multiple document handling defaults
297 * @param copies an integer greater than 0
335 public JobAttributes(int copies, DefaultSelectionTyp argument
413 setCopies(int copies) argument
[all...]
/openjdk10/jdk/src/java.desktop/windows/classes/sun/print/
H A DWin32PrintJob.java105 private int copies = 0; field in class:Win32PrintJob
508 if (copies == 0) {
510 copies = c.getValue();
526 job.setCopies(copies);
566 if (copies == 0) {
568 copies = c.getValue();
570 job.setCopies(copies);
715 copies = ((Copies)attr).getValue();
H A DWin32PrintService.java734 private boolean isSupportedCopies(Copies copies) { argument
741 int numCopies = copies.getValue();
/openjdk10/jdk/src/java.desktop/windows/classes/sun/awt/windows/
H A DWPrinterJob.java213 * indicates how many copies of a print job an application must render.
215 * set on return indicates the application generated copies should be
218 * generating multiple copies themselves, but uncollated is more
219 * universal than collated copies.
231 * DM_COPIES flag indicates support for multiple driver copies
232 * and dmCopies is the number of copies the driver will print
233 * DM_COLLATE flag indicates support for collated driver copies and
236 * Multiple copies from Java applications:
237 * We provide API to get & set the number of copies as well as allowing the
239 * we can accurately report back the number of copies selecte
1332 setCopies(int copies) argument
1345 setNativeCopies(int copies) argument
1651 setRangeCopiesAttribute(int from, int to, boolean isRangeSet, int copies) argument
1919 short copies; field in class:WPrinterJob.DevModeValues
2031 setJobAttributes(PrintRequestAttributeSet attributes, int fields, int values, short copies, short dmPaperSize, short dmPaperWidth, short dmPaperLength, short dmDefaultSource, short xRes, short yRes) argument
2120 showDocProperties(long hWnd, PrintRequestAttributeSet aset, int dmFields, short copies, short collate, short color, short duplex, short orient, short paper, short bin, short xres_quality, short yres) argument
[all...]
/openjdk10/jdk/test/javax/swing/JTree/DnD/
H A DLastNodeLowerHalfDrop.java278 // Make up a node array of copies for transfer and
281 List<DefaultMutableTreeNode> copies = new ArrayList<>();
286 copies.add(copy);
298 copies.add(copy(next));
302 DefaultMutableTreeNode[] nodes = copies
303 .toArray(new DefaultMutableTreeNode[copies.size()]);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.loop/src/org/graalvm/compiler/loop/
H A DDefaultLoopPolicies.java204 int copies = firstSplit.successors().count() - 1;
211 copies--;
214 actualDiff = actualDiff * copies;
/openjdk10/jdk/src/java.desktop/unix/classes/sun/print/
H A DUnixPrintJob.java114 private int copies = 1; field in class:UnixPrintJob
643 job.setCopies(copies);
682 job.setCopies(copies);
832 copies = ((Copies)attr).getValue();
856 String jobTitle, int copies, String spoolFile) {
880 if (copies > 1) {
904 execCmd[n++] = "-n " + copies;
925 execCmd[n++] = "-#" + copies;
1026 mNoJobSheet, jobName, copies, fileName);
854 printExecCmd(String printer, String options, boolean noJobSheet, String jobTitle, int copies, String spoolFile) argument
H A DUnixPrintService.java448 private boolean isSupportedCopies(Copies copies) { argument
449 int numCopies = copies.getValue();
H A DIPPPrintService.java1222 private boolean isSupportedCopies(Copies copies) { argument
1235 int value = copies.getValue();
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/presentation/rmi/
H A DStubInvocationHandlerImpl.java175 Object[] copies = dmm.copyArguments( args, orb ) ;
189 Object result = method.invoke( so.servant, copies ) ;
/openjdk10/jdk/src/java.desktop/windows/native/libawt/windows/
H A Dawt_PrintControl.cpp820 WORD copies = (WORD)env->CallIntMethod(printCtrl, local
822 if (copies > 0) {
824 devmode->dmCopies = copies;
914 unsigned int copies = 1; local
939 copies = devmode->dmCopies;
945 copies = pd.nCopies;
1040 copies = pd.nCopies;
1072 // copies & range are always set so no need to check for any flags
1075 copies);
H A Dawt_PrintJob.cpp417 jshort copies,
448 devmode->dmCopies = copies;
738 jint copies) {
743 short nCopies = (copies < (jint)SHRT_MAX)
744 ? static_cast<short>(copies) : SHRT_MAX;
1182 int copies = 1; local
1184 // multiple copies although it actually can . So this modification
1185 // handles that, to make sure that we report copies = 1 because
1186 // we already emulated multiple copies.
1190 copies
412 Java_sun_awt_windows_WPrinterJob_showDocProperties(JNIEnv *env, jobject wJob, jlong hWndParent, jobject attrSet, jint dmFields, jshort copies, jshort collate, jshort color, jshort duplex, jshort orient, jshort paper, jshort bin, jshort xres_quality, jshort yres) argument
737 Java_sun_awt_windows_WPrinterJob_setNativeCopies(JNIEnv *env, jobject self, jint copies) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/sun/print/
H A DRasterPrinterJob.java206 * The number of book copies to be printed.
212 * when multiple copies are requested. For two copies
1081 Copies copies = (Copies)attributes.get(Copies.class);
1082 if (copies != null) {
1083 setCopies(copies.getValue());
1261 Copies copies = (Copies)attributes.get(Copies.class);
1262 if (isSupportedValue(copies, attributes) ||
1263 (!fidelity && copies != null)) {
1264 copiesAttr = copies
1797 setCopies(int copies) argument
[all...]
H A DPSStreamPrintJob.java90 private int copies = 1; field in class:PSStreamPrintJob
524 copies = ((Copies)attr).getValue();
H A DPSPrinterJob.java158 private static final String COPIES = "/#copies exch def";
452 Copies copies = (Copies)attributes.get(Copies.class);
453 if (copies != null) {
454 setCopies(copies.getValue());
628 /* PostScript printers can always generate uncollated copies.
1573 * If the printer makes copies itself then this
1586 String jobTitle, int copies, String spoolFile) {
1609 if (copies > 1) {
1632 execCmd[n++] = "-#" + copies;
1655 execCmd[n++] = "-n" + copies;
1584 printExecCmd(String printer, String options, boolean noJobSheet, String jobTitle, int copies, String spoolFile) argument
[all...]
H A DPSStreamPrintService.java391 private boolean isSupportedCopies(Copies copies) { argument
392 int numCopies = copies.getValue();
H A DPrintJob2D.java1242 int copies = jobAttributes.getCopies();
1243 if (copies > 0) {
1244 props.setProperty(NUMCOPIES_PROP, "" + copies);
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/
H A DCPrinterJob.java53 // printing, such as controlling the # of copies and collating. These
215 private void setCopiesAttribute(int copies) { argument
217 attributes.add(new Copies(copies));
218 super.setCopies(copies);
356 // Normalize the collated, # copies, numPages, first/last pages. Need to
/openjdk10/hotspot/src/os_cpu/linux_arm/vm/
H A Dlinux_arm_64.s94 # Each pair of instructions before dw_tail_table_base copies 16 bytes.
113 # Execute (x16/16) ldp-stp pairs; each pair copies 16 bytes
420 # Each pair of instructions before ci_forward_tail_table_base copies 8 bytes.
439 # Execute (x16/8) ldp-stp pairs; each pair copies 8 bytes
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/print/
H A DPrinterJob.java523 * by equivalent method calls, (for example), copies:
561 * Sets the number of copies to be printed.
562 * @param copies the number of copies to be printed
565 public abstract void setCopies(int copies); argument
568 * Gets the number of copies to be printed.
569 * @return the number of copies to be printed.

Completed in 187 milliseconds