Searched defs:scaleFactor (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/imageio/plugins/jpeg/
H A DJPEGQTable.java165 * by <code>scaleFactor</code> and then clamped to the range 1..32767
168 * Values of <code>scaleFactor</code> less than 1 tend to improve
171 * @param scaleFactor multiplication factor for the table.
177 public JPEGQTable getScaledInstance(float scaleFactor, argument
182 int sv = (int)((qTable[i] * scaleFactor)+0.5f);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DRescaleOp.java45 * dstElement = (srcElement*scaleFactor) + offset
95 * and offsets. The length of the scaleFactor and offset arrays
119 * and offset. The scaleFactor and offset will be applied to
123 * @param scaleFactor the specified scale factor
128 public RescaleOp (float scaleFactor, float offset, RenderingHints hints) { argument
132 this.scaleFactors[0] = scaleFactor;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DHighPrecisionJScrollBar.java48 private BigDecimal scaleFactor; field in class:HighPrecisionJScrollBar
263 scaleFactor = new BigDecimal(rangeHP, SCALE).divide(new BigDecimal(range2, SCALE), BigDecimal.ROUND_DOWN).max(new BigDecimal(BigInteger.ONE));
266 scaleFactor = new BigDecimal(range2, SCALE).divide(new BigDecimal(rangeHP, SCALE), BigDecimal.ROUND_DOWN).max(new BigDecimal(BigInteger.ONE));
283 return scaleFactor;
/openjdk7/jdk/src/share/classes/java/lang/
H A DMath.java1461 * 2<sup>{@code scaleFactor}</sup> rounded as if performed
1485 * @param scaleFactor power of 2 used to scale {@code d}
1486 * @return {@code d} &times; 2<sup>{@code scaleFactor}</sup>
1489 public static double scalb(double d, int scaleFactor) { argument
1490 return sun.misc.FpUtils.scalb(d, scaleFactor);
1495 * 2<sup>{@code scaleFactor}</sup> rounded as if performed
1519 * @param scaleFactor power of 2 used to scale {@code f}
1520 * @return {@code f} &times; 2<sup>{@code scaleFactor}</sup>
1523 public static float scalb(float f, int scaleFactor) { argument
1524 return sun.misc.FpUtils.scalb(f, scaleFactor);
[all...]
H A DStrictMath.java1403 * 2<sup>{@code scaleFactor}</sup> rounded as if performed
1427 * @param scaleFactor power of 2 used to scale {@code d}
1428 * @return {@code d} &times; 2<sup>{@code scaleFactor}</sup>
1431 public static double scalb(double d, int scaleFactor) { argument
1432 return sun.misc.FpUtils.scalb(d, scaleFactor);
1437 * 2<sup>{@code scaleFactor}</sup> rounded as if performed
1461 * @param scaleFactor power of 2 used to scale {@code f}
1462 * @return {@code f} &times; 2<sup>{@code scaleFactor}</sup>
1465 public static float scalb(float f, int scaleFactor) { argument
1466 return sun.misc.FpUtils.scalb(f, scaleFactor);
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCTrayIcon.java393 * @param scaleFactor scale factor to use
396 private static BufferedImage scaleIcon(Icon icon, double scaleFactor) { argument
417 int scaledW = (int) (w * scaleFactor);
418 int scaledH = (int) (h * scaleFactor);

Completed in 33 milliseconds