/openjdk7/jdk/src/share/classes/javax/print/attribute/standard/ |
H A D | PrinterResolution.java | 85 * @param units 91 * 1 or <CODE>feedResolution</CODE> < 1 or <CODE>units</CODE> < 1. 94 int units) { 95 super (crossFeedResolution, feedResolution, units); 93 PrinterResolution(int crossFeedResolution, int feedResolution, int units) argument
|
H A D | MediaPrintableArea.java | 68 * internally as integers in units of micrometers (µm), where 1 micrometer 85 private int units; field in class:MediaPrintableArea 90 * Value to indicate units of inches (in). It is actually the conversion 96 * Value to indicate units of millimeters (mm). It is actually the 107 * @param units in which the values are expressed. 112 * <CODE>units</CODE> < 1. 114 public MediaPrintableArea(float x, float y, float w, float h, int units) { argument 116 (units < 1)) { 120 this.x = (int) (x * units + 0.5f); 121 this.y = (int) (y * units 140 MediaPrintableArea(int x, int y, int w, int h, int units) argument 164 getPrintableArea(int units) argument 182 getX(int units) argument 199 getY(int units) argument 214 getWidth(int units) argument 229 getHeight(int units) argument 306 toString(int units, String unitsName) argument 329 convertFromMicrometers(int x, int units) argument [all...] |
H A D | MediaSize.java | 69 * @param units 75 * < 0 or <CODE>units</CODE> < 1 or <CODE>x</CODE> > <CODE>y</CODE>. 77 public MediaSize(float x, float y,int units) { argument 78 super (x, y, units); 90 * @param units 96 * < 0 or <CODE>units</CODE> < 1 or <CODE>x</CODE> > <CODE>y</CODE>. 98 public MediaSize(int x, int y,int units) { argument 99 super (x, y, units); 112 * @param units 119 * < 0 or <CODE>units</COD 121 MediaSize(float x, float y,int units, MediaSizeName media) argument 147 MediaSize(int x, int y,int units, MediaSizeName media) argument 200 findMedia(float x, float y, int units) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/ |
H A D | AbstractMonitor.java | 38 protected Units units; field in class:AbstractMonitor 48 * @param units the units of measure attribute 53 protected AbstractMonitor(String name, Units units, Variability variability, argument 56 this.units = units; 67 * @param units the units of measure attribute 71 protected AbstractMonitor(String name, Units units, Variability variability, argument 73 this(name, units, variabilit [all...] |
/openjdk7/jdk/src/share/classes/javax/print/attribute/ |
H A D | ResolutionSyntax.java | 38 * units in which the values are measured. Methods are provided to return a 39 * resolution attribute's values, indicating the units in which the values are 40 * to be returned. The two most common resolution units are dots per inch (dpi) 43 * indicating those units. 50 * resolution values are stored internally using units of dots per 100 inches 51 * (dphi). Storing the values in dphi rather than, say, metric units allows 54 * into and retrieved back from a resolution attribute in either units with no 57 * resolution attribute's values are created in one units and retrieved in 58 * different units; for example, 600 dpi will be rounded to 236 dpcm, whereas 61 * Storing the values internally in common units o 130 ResolutionSyntax(int crossFeedResolution, int feedResolution, int units) argument 162 convertFromDphi(int dphi, int units) argument 184 getResolution(int units) argument 203 getCrossFeedResolution(int units) argument 220 getFeedResolution(int units) argument 243 toString(int units, String unitsName) argument [all...] |
H A D | Size2DSyntax.java | 37 * constructed by supplying the two values and indicating the units in which the 39 * attribute's values, indicating the units in which the values are to be 40 * returned. The two most common size units are inches (in) and millimeters 42 * <CODE>MM</CODE>} are provided for indicating those units. 49 * internally as integers in units of micrometers (µm), where 1 micrometer 57 * Storing the dimensions internally in common units of µm lets two size 58 * attributes be compared without regard to the units in which they were 62 * representations regardless of the units in which they were created. Using 66 * units, you have to search for a media size of 215.9 x 279.4 mm; rounding off 73 * µm. A client can specify a resolution value in units othe 127 Size2DSyntax(float x, float y, int units) argument 155 Size2DSyntax(int x, int y, int units) argument 184 convertFromMicrometers(int x, int units) argument 205 getSize(int units) argument 222 getX(int units) argument 239 getY(int units) argument 262 toString(int units, String unitsName) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/management/counter/ |
H A D | AbstractCounter.java | 37 Units units; field in class:AbstractCounter 47 protected AbstractCounter(String name, Units units, argument 51 this.units = units; 57 protected AbstractCounter(String name, Units units, argument 59 this(name, units, variability, flags, 0); 73 return units;
|
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | CustomMediaSizeName.java | 98 int units) { 101 if (x <= 0.0f || y <= 0.0f || units < 1) { 134 dim = mediaSize.getSize(units); 97 findMedia(Media[] media, float x, float y, int units) argument
|
H A D | ServiceDialog.java | 1330 private int units = MediaPrintableArea.MM; field in class:ServiceDialog.MarginsPanel 1356 units = MediaPrintableArea.INCH; 1361 if (units == MediaPrintableArea.MM) { 1596 mediaSize.getX(units), 1597 mediaSize.getY(units), 1598 units); 1601 float wid = mediaSize.getX(units); 1602 float hgt = mediaSize.getY(units); 1609 pax < mpaMax.getX(units) || paw > mpaMax.getWidth(units) || [all...] |
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | LEFontInstance.cpp | 140 void LEFontInstance::unitsToPoints(LEPoint &units, LEPoint &points) const argument 142 points.fX = xUnitsToPoints(units.fX); 143 points.fY = yUnitsToPoints(units.fY); 156 void LEFontInstance::pixelsToUnits(LEPoint &pixels, LEPoint &units) const 158 units.fX = xPixelsToUnits(pixels.fX); 159 units.fY = yPixelsToUnits(pixels.fY);
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Perf.java | 354 * with the given variability characteristic, units, and initial value. 361 * @param units the units for this entry. 373 int units, long value); 377 * the given variability characteristic, units, and initial value. 392 * @param units the units for this entry. 406 int units, String value, int maxLength) 412 return createByteArray(name, variability, units, v1, Math.max(v1.length, maxLength)); 417 * the given variability characteristic, units, an 372 createLong(String name, int variability, int units, long value) argument 405 createString(String name, int variability, int units, String value, int maxLength) argument 444 createString(String name, int variability, int units, String value) argument 482 createByteArray(String name, int variability, int units, byte[] value, int maxLength) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | FloatControl.java | 85 * A label for the units in which the control values are expressed, 88 private final String units; field in class:FloatControl 129 * @param units the label for the units in which the control's values are expressed, 141 String units, String minLabel, String midLabel, String maxLabel) { 166 this.units = units; 186 * @param units the label for the units in which the control's values are expressed, 194 float precision, int updatePeriod, float initialValue, String units) { 139 FloatControl(Type type, float minimum, float maximum, float precision, int updatePeriod, float initialValue, String units, String minLabel, String midLabel, String maxLabel) argument 193 FloatControl(Type type, float minimum, float maximum, float precision, int updatePeriod, float initialValue, String units) argument [all...] |
/openjdk7/jdk/src/share/native/com/sun/media/sound/ |
H A D | PortMixer.c | 266 float min, float max, float precision, char* units) { 302 min, max, precision, (*creator->env)->NewStringUTF(creator->env, units)); 308 min, max, precision, (*creator->env)->NewStringUTF(creator->env, units)); 265 PORT_NewFloatControl(void* creatorV, void* controlID, char* type, float min, float max, float precision, char* units) argument
|
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | FontInstanceAdapter.h | 148 void unitsToPoints(LEPoint &units, LEPoint &points) const argument 150 points.fX = xUnitsToPoints(units.fX); 151 points.fY = yUnitsToPoints(units.fY); 164 void pixelsToUnits(LEPoint &pixels, LEPoint &units) const 166 units.fX = xPixelsToUnits(pixels.fX); 167 units.fY = yPixelsToUnits(pixels.fY);
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/ |
H A D | Result.java | 74 "units", 139 "Work units per Time", 140 "Time units per Work", 184 return "Both time units: "+opt; 190 return "Both work units: "+opt; 260 public void setUnits(int units) { argument 261 this.unitsPerRep = units; 443 "num-units=\""+getUnitsPerRep()+"\" "+
|
/openjdk7/jdk/src/share/classes/sun/management/counter/perf/ |
H A D | PerfDataEntry.java | 144 throw new InstrumentationException("Invalid units attribute: " + 182 public Units units() { method in class:PerfDataEntry
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | PortMixer.java | 434 float min, float max, float precision, String units) { 435 this(controlID, new FCT(name), min, max, precision, units); 439 float min, float max, float precision, String units) { 440 this(controlID, FLOAT_CONTROL_TYPES[type], min, max, precision, units); 444 float min, float max, float precision, String units) { 445 super(typ, min, max, precision, 1000, min, units); 433 FloatCtrl(long controlID, String name, float min, float max, float precision, String units) argument 438 FloatCtrl(long controlID, int type, float min, float max, float precision, String units) argument 443 FloatCtrl(long controlID, FloatControl.Type typ, float min, float max, float precision, String units) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicScrollBarUI.java | 976 int units, boolean limitToBlock) { 993 for (int i=0; i<units; i++) { 975 scrollByUnits(JScrollBar scrollbar, int direction, int units, boolean limitToBlock) argument
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | perfData.hpp | 126 * set of units are: 128 * None - the data has no units of measure 163 * long data value with units specified in U_Bytes in the "java.gc.*" 324 // returns the units associated with this item. 325 Units units() { return _u; } function in class:PerfData
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/processing/ |
H A D | JavacProcessingEnvironment.java | 1265 private List<ClassSymbol> getTopLevelClasses(List<? extends JCCompilationUnit> units) { argument 1267 for (JCCompilationUnit unit : units) { 1289 private List<PackageSymbol> getPackageInfoFiles(List<? extends JCCompilationUnit> units) { argument 1291 for (JCCompilationUnit unit : units) {
|
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngget.c | 730 png_charp *units, png_charpp *params) 736 nparams != NULL && units != NULL && params != NULL) 743 *units = info_ptr->pcal_units; 728 png_get_pCAL(png_const_structp png_ptr, png_const_infop info_ptr, png_charp *purpose, png_int_32 *X0, png_int_32 *X1, int *type, int *nparams, png_charp *units, png_charpp *params) argument
|
H A D | pngset.c | 266 int nparams, png_const_charp units, png_charpp params) 307 length = png_strlen(units) + 1; 308 png_debug1(3, "allocating units for info (%lu bytes)", 315 png_warning(png_ptr, "Insufficient memory for pCAL units"); 319 png_memcpy(info_ptr->pcal_units, units, length); 264 png_set_pCAL(png_structp png_ptr, png_infop info_ptr, png_const_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, png_const_charp units, png_charpp params) argument
|
H A D | pngrutil.c | 1859 png_charp buf, units, endptr; local 1923 png_debug(3, "Reading pCAL X0, X1, type, nparams, and units"); 1928 units = buf + 11; 1950 for (buf = units; *buf; buf++) 1951 /* Empty loop to move past the units string. */ ; 1988 units, params);
|
H A D | pngtest.c | 730 * 3: vpAg units 1127 png_charp purpose, units; local 1133 &nparams, &units, ¶ms)) 1136 nparams, units, params); 1295 fprintf(STDERR, " vpAg = %lu x %lu, units = %lu\n",
|
H A D | pngwutil.c | 1886 png_int_32 X1, int type, int nparams, png_const_charp units, 1903 units_len = png_strlen(units) + (nparams == 0 ? 0 : 1); 1904 png_debug1(3, "pCAL units length = %d", (int)units_len); 1930 png_write_chunk_data(png_ptr, (png_const_bytep)units, (png_size_t)units_len); 1885 png_write_pCAL(png_structp png_ptr, png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, png_const_charp units, png_charpp params) argument
|