Searched defs:scale (Results 26 - 50 of 114) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/sun/tools/jstat/
H A DColumnFormat.java40 private Scale scale = Scale.RAW; field in class:ColumnFormat
84 public void setScale(Scale scale) { argument
85 this.scale = scale;
113 return scale;
144 + ";scale=" + scale.toString() + ";align=" + align.toString());
H A DScale.java182 protected double scale(double value) { method in class:Scale
/openjdk7/jdk/src/share/demo/applets/BarChart/
H A DBarChart.java66 private int scale = 10; field in class:BarChart
105 temp = getParameter("scale");
107 scale = 10;
109 scale = Integer.parseInt(temp);
218 int widthOfItems = maxLabelWidth + 3 + (maxValue * scale) + 5
235 (values[i] * scale), barHeight);
240 for (int k = 0; k <= values[i] * scale; k += 2) {
245 (values[i] * scale) + 1, barHeight + 1);
247 cx += (values[i] * scale) + 4;
275 g.fillRect(cx + 4, cy - (values[i] * scale)
[all...]
/openjdk7/jdk/src/share/demo/applets/MoleculeViewer/
H A DMatrix3D.java59 void scale(float f) { method in class:Matrix3D
75 void scale(float xf, float yf, float zf) { method in class:Matrix3D
/openjdk7/jdk/src/share/demo/applets/WireFrame/
H A DMatrix3D.java59 void scale(float f) { method in class:Matrix3D
75 void scale(float xf, float yf, float zf) { method in class:Matrix3D
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSpring.java628 * @param s the spring to scale
629 * @param factor amount to scale by.
635 public static Spring scale(Spring s, float factor) { method in class:Spring
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DHistogram.java222 double round(double x, double scale) { argument
223 return Math.round(x * scale) / scale;
/openjdk7/jdk/src/share/classes/com/sun/rowset/
H A DFilteredRowSetImpl.java1655 * <code>Object</code> value. The <code>scale</code> parameter indicates
1673 * @param scale the number of digits to the right of the decimal point (for
1680 public void updateObject(int columnIndex , Object x , int scale) throws SQLException { argument
1694 super.updateObject(columnIndex,x,scale);
1700 * <code>Object</code> value. The <code>scale</code> parameter
1717 * @param scale the number of digits to the right of the decimal point (for
1724 public void updateObject(String columnName , Object x, int scale) throws SQLException { argument
1726 this.updateObject(findColumn(columnName),x,scale);
/openjdk7/jdk/src/share/classes/java/awt/
H A DGraphics2D.java1051 public abstract void scale(double sx, double sy); method in class:Graphics2D
1101 * <code>transform</code>, <code>rotate</code>, <code>scale</code>,
/openjdk7/jdk/src/macosx/classes/sun/awt/
H A DCGraphicsDevice.java49 private volatile int scale; field in class:CGraphicsDevice
127 return scale;
139 scale = (int) nativeGetScaleFactor(displayID);
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLSurfaceData.java43 protected final int scale; field in class:CGLSurfaceData
61 scale = type == TEXTURE ? 1 : gc.getDevice().getScaleFactor();
62 this.width = width * scale;
63 this.height = height * scale;
173 return scale;
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageAffine_BC_D64.c101 dx = (X & MLIB_MASK) * scale; \
102 dy = (Y & MLIB_MASK) * scale; \
124 dx = (X & MLIB_MASK) * scale; \
125 dy = (Y & MLIB_MASK) * scale; \
155 FTYPE scale = 1 / 65536.f; variable
282 FTYPE scale = 1 / 65536.f; variable
416 FTYPE scale = 1 / 65536.f; variable
550 FTYPE scale = 1 / 65536.f; variable
H A Dmlib_ImageAffine_BC_F32.c101 dx = (X & MLIB_MASK) * scale; \
102 dy = (Y & MLIB_MASK) * scale; \
124 dx = (X & MLIB_MASK) * scale; \
125 dy = (Y & MLIB_MASK) * scale; \
155 FTYPE scale = 1 / 65536.f; variable
282 FTYPE scale = 1 / 65536.f; variable
416 FTYPE scale = 1 / 65536.f; variable
550 FTYPE scale = 1 / 65536.f; variable
H A Dmlib_ImageAffine_BC_S32.c101 dx = (X & MLIB_MASK) * scale; \
102 dy = (Y & MLIB_MASK) * scale; \
124 dx = (X & MLIB_MASK) * scale; \
125 dy = (Y & MLIB_MASK) * scale; \
155 FTYPE scale = 1 / 65536.f; variable
284 FTYPE scale = 1 / 65536.f; variable
421 FTYPE scale = 1 / 65536.f; variable
558 FTYPE scale = 1 / 65536.f; variable
H A Dmlib_ImageConvMxN_ext.c39 * mlib_s32 scale,
50 * scale The scaling factor to convert the input integer
52 * floating-point coefficient = integer coefficient * 2^(-scale)
77 * For data type MLIB_BYTE: 16 <= scale <= 31 (to be compatible with VIS version)
78 * For data type MLIB_USHORT: 17 <= scale <= 32 (to be compatible with VIS version)
79 * For data type MLIB_SHORT: 17 <= scale <= 32 (to be compatible with VIS version)
80 * For data type MLIB_INT: scale >= 0
222 mlib_s32 scale,
260 while (scale > 30) {
262 scale
213 mlib_convMxNext_s32(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dx_l, mlib_s32 dx_r, mlib_s32 dy_t, mlib_s32 dy_b, mlib_s32 scale, mlib_s32 cmask) argument
[all...]
H A Dmlib_c_ImageAffine_BL.c84 fdx = (FTYPE)(X & MLIB_MASK) * scale; \
85 fdy = (FTYPE)(Y & MLIB_MASK) * scale; \
110 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
146 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
190 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
242 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
H A Dmlib_c_ImageAffine_BL_S16.c84 fdx = (FTYPE)(X & MLIB_MASK) * scale; \
85 fdy = (FTYPE)(Y & MLIB_MASK) * scale; \
109 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
143 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
185 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
235 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
H A Dmlib_c_ImageAffine_BL_U16.c84 fdx = (FTYPE)(X & MLIB_MASK) * scale; \
85 fdy = (FTYPE)(Y & MLIB_MASK) * scale; \
110 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
146 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
190 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
242 FTYPE scale = (FTYPE) 1.0 / MLIB_PREC; variable
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DScaledBlit.c121 * accuracy on a sliding scale down to a tilesize of 1x1 when
157 * sf == source coordinate scale factor per destination pixel
167 * source pixel of (1.0 / (1<<shift)) since the scale factor includes
217 jdouble scale, jint srctarget, jint srcinc)
220 jint dstloc = (jint) ceil(dblorigin + srctarget / scale - 0.5);
233 jlong lsrcloc = (jlong) SRCLOC(tilestart, dblorigin, scale);
321 * scale helper function to copy one pixel at a time.
351 * for any scale to smaller than one device pixel.
216 refine(jint intorigin, jdouble dblorigin, jint tilesize, jdouble scale, jint srctarget, jint srcinc) argument
/openjdk7/jdk/src/solaris/classes/sun/font/
H A DNativeStrike.java44 * simple scale to be used with a native font. We do this because in
48 * X11 fonts can only have a scale applied (remind : non-uniform?)
51 * coordinate system of the font. ie we pass X11 a simple scale, and
52 * then apply the non-scale part of the font TX to that result.
73 /* At this point the fontTx may be a simple +ve scale, or it
83 * include the point size (strictly the uniform scale)
85 fontTx.scale(1/ptSize, 1/ptSize);
98 * been invoked only for a simple scale. If that's not
112 double scale = Math.abs(desc.devTx.getScaleX());
113 pScalerContext = createScalerContext(nameBytes, ptSize, scale);
207 createScalerContext(byte[] nameBytes, int ptSize, double scale) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/sql/rowset/
H A DRowSetMetaDataImpl.java385 * @param scale the number of digits to the right of the decimal point; must be
388 * <i>columnIndex</i> is out of bounds, or <i>scale</i>
391 public void setScale(int columnIndex, int scale) throws SQLException { argument
392 if (scale < 0) {
393 throw new SQLException("Invalid scale size. Cannot be less " +
397 colInfo[columnIndex].colScale = scale;
679 * @return the scale for values stored in the designated column
1040 * The field that holds the scale (number of digits to the right of the decimal
/openjdk7/jdk/src/share/classes/java/math/
H A DMutableBigInteger.java159 * and scale.
161 BigDecimal toBigDecimal(int sign, int scale) { argument
163 return BigDecimal.valueOf(0, scale);
170 return new BigDecimal(new BigInteger(mag, sign), INFLATED, scale, 0);
174 return new BigDecimal(null, sign == -1 ? -v : v, scale, 0);
/openjdk7/jdk/src/share/classes/java/sql/
H A DCallableStatement.java87 * <code>registerOutParameter</code> that accepts a scale value
122 * @param scale the desired number of digits to the right of the
136 void registerOutParameter(int parameterIndex, int sqlType, int scale) argument
282 * <code>java.math.BigDecimal</code> object with <i>scale</i> digits to
286 * @param scale the number of digits to the right of the decimal point
298 BigDecimal getBigDecimal(int parameterIndex, int scale) argument
641 * <code>registerOutParameter</code> that accepts a scale value
676 * @param scale the desired number of digits to the right of the
692 void registerOutParameter(String parameterName, int sqlType, int scale) argument
1104 * sent to the database. The scale argumen
1122 setObject(String parameterName, Object x, int targetSqlType, int scale) argument
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A DtypeArrayKlass.cpp52 klassOop typeArrayKlass::create_klass(BasicType type, int scale, argument
66 assert(scale == (1 << ak->log2_element_size()), "scale must check out");
80 assert(log2_element_size() >= 0, "bad scale");
/openjdk7/hotspot/src/share/vm/services/
H A DmemReporter.cpp31 const char* BaselineOutputer::memory_unit(size_t scale) { argument
32 switch(scale) {
44 _outputer.start(scale());
131 _outputer.start(scale());
287 void BaselineTTYOutputer::start(size_t scale, bool report_diff) { argument
288 _scale = scale;

Completed in 100 milliseconds

12345