Searched refs:cy (Results 1 - 25 of 45) sorted by relevance

12

/openjdk7/hotspot/test/compiler/7042153/
H A DTest7042153.java42 Class cy = Foo.class;
43 z = (cx == cy);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DRGBImageFilter.java197 for (int cy = 0; cy < h; cy++) {
199 pixels[index] = filterRGB(x + cx, y + cy, pixels[index]);
232 for (int cy = 0; cy < h; cy++) {
238 filterRGBPixels(x, y + cy, w, 1, filteredpixels, 0, w);
269 for (int cy = 0; cy <
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DRadialGradientPaint.java171 * @param cy the Y coordinate in user space of the center point of the
192 public RadialGradientPaint(float cx, float cy, float radius, argument
195 this(cx, cy,
197 cx, cy,
247 * @param cy the Y coordinate in user space of the center point of the
271 public RadialGradientPaint(float cx, float cy, float radius, argument
275 this(cx, cy,
277 cx, cy,
330 * @param cy the Y coordinate in user space of the center point of the
358 public RadialGradientPaint(float cx, float cy, floa argument
[all...]
H A DFlowLayout.java558 int cy;
560 cy = y + baselineOffset + maxAscent - ascent[i];
563 cy = y + (height - m.height) / 2;
566 m.setLocation(x, cy);
568 m.setLocation(target.width - x - m.width, cy);
H A DRadialGradientPaintContext.java94 * @param cy the center Y coordinate in user space of the circle defining
115 float cx, float cy,
128 centerY = cy;
109 RadialGradientPaintContext(RadialGradientPaint paint, ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform t, RenderingHints hints, float cx, float cy, float r, float fx, float fy, float[] fractions, Color[] colors, CycleMethod cycleMethod, ColorSpaceType colorSpace) argument
/openjdk7/jdk/src/share/demo/applets/BarChart/
H A DBarChart.java199 int cy = getSize().height - metrics.getDescent();
200 g.drawString(title, cx, cy);
212 int cx, cy;
223 cy = getSize().height - metrics.getDescent() - metrics.getHeight()
229 g.drawString(labels[i], cx, cy);
234 g.fillRect(cx + 4, cy - barHeight + 4,
241 g.drawLine(cx + k, cy - barHeight, cx + k, cy);
244 g.fillRect(cx, cy - barHeight,
251 g.drawString(Integer.toString(values[i]), cx, cy);
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DCurve.java32 float ax, ay, bx, by, cx, cy, dx, dy; field in class:Curve
66 cy = 3 * (y2 - y1);
82 cy = 2 * (y2 - y1);
93 return t * (t * (t * ay + by) + cy) + dy;
101 return t * (t * day + dby) + cy;
109 return Helpers.quadraticRoots(day, dby, cy, roots, off);
117 final float b = 2 * (cy * dax - day * cx);
118 final float c = cy * dbx - cx * dby;
134 final float c = 2*(dax*cx + day*cy) + dbx*dbx + dby*dby;
135 final float d = dbx*cx + dby*cy;
[all...]
H A DPiscesTileGenerator.java166 for (int cy = y0; cy < y1; cy++) {
167 int[] row = cache.rowAARLE[cy];
169 int cx = cache.minTouched(cy);
189 System.out.println("cx = "+cx+", cy = "+cy);
211 System.out.println("cx = "+cx+", cy = "+cy);
H A DStroker.java188 private void drawRoundJoin(float cx, float cy, argument
204 drawBezApproxForArc(cx, cy, omx, omy, mx, my, rev);
233 drawBezApproxForArc(cx, cy, omx, omy, mmx, mmy, rev);
234 drawBezApproxForArc(cx, cy, mmx, mmy, mx, my, rev);
240 private void drawBezApproxForArc(final float cx, final float cy, argument
258 final float y1 = cy + omy;
263 final float y4 = cy + my;
270 private void drawRoundCap(float cx, float cy, float mx, float my) { argument
277 emitCurveTo(cx+mx, cy+my,
278 cx+mx-C*my, cy
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifScrollBarButton.java114 int cy = h / 2;
166 g.drawLine(s, cy, s, cy);
167 for (int y = cy - 1, x = s - 1, dy = 1; x >= 1; x -= 2) {
188 g.drawLine(0, cy, 0, cy);
189 for (int y = cy - 1, x = 1, dy = 1; x <= s - 2; x += 2) {
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DOrder2.java139 double x0, y0, cx, cy, x1, y1;
143 cy = coords[pos+3];
145 y1 = cy + (y1 - cy) * t;
149 y0 = y0 + (cy - y0) * t;
151 cy = y0 + (y1 - y0) * t;
155 coords[pos+5] = cy;
/openjdk7/jdk/src/share/demo/applets/GraphicsTest/
H A DGraphicsTest.java439 int cx, cy, cw, ch;
443 for (color = Color.red, cx = bounds.x, cy = bounds.y,
446 cx += step, cy += step, cw -= (step * 2), ch -= (step * 2),
449 shape.draw(g, cx, cy, cw, ch);
452 for (cx = bounds.x + bounds.width / 2, cy = bounds.y,
455 cx += step, cy += step, cw -= (step * 2), ch -= (step * 2)) {
462 shape.fill(g, cx, cy, cw, ch);
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_gif.c84 int cx, cy, cw, ch; /* clamped coordinates */ local
147 cy = FIX_POINT(desc->Top, 0, gif->SHeight);
246 initRect(&dstRect, cx, cy + ofs, cw,
287 cx, cy, cw, ch,
298 int lineIndex = cy * stride + lineOffset;
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11Renderer.c290 long ty1, ty2, tx1, tx2, cx, cy, cxw, cyh, local
318 cy = CLAMP_TO_SHORT(y);
334 topH = (ty1 - cy) * 2;
338 cx, cy, leftW, topH,
341 cxw - rightW, cy, rightW, topH,
352 tx1, cy, tx2, cy);
697 long ty1, ty2, tx1, tx2, cx, cy, cxw, cyh, local
725 cy = CLAMP_TO_SHORT(y);
741 topH = (ty1 - cy) *
[all...]
/openjdk7/jdk/src/share/demo/applets/SpreadSheet/
H A DSpreadSheet.java164 int cx, cy;
171 cy = ((i + 1) * cellHeight) + 2 + titleHeight;
172 cells[i][j].paint(g, cx, cy);
244 int cx, cy;
258 cy = (i + 2) * cellHeight;
260 g.draw3DRect(0, cy, d.width, 2, true);
263 g.drawString("" + (i + 1), 2, cy + 12);
268 cy = (rows + 3) * cellHeight + (cellHeight / 2);
279 cy);
286 cy
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRPaints.java200 double cy = center.getY();
211 at.translate(cx, cy);
212 at.rotate(fx - cx, fy - cy);
/openjdk7/jdk/src/share/classes/sun/font/
H A DLayoutPathImpl.java407 double cy = 0; // current best y
466 cy = vcy;
480 if (cx != bx || cy != by) { // not on endpoint, no need to resolve
484 if ((x-cx)*(ny-by) > (y-cy)*(nx-bx)) {
762 double cx, cy; // last point in gp field in class:LayoutPathImpl.SegmentPath.Segment
776 cx = cy = Double.MIN_VALUE;
807 if (sx != cx || sy != cy) {
821 cy = ly;
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/
H A DExtendedSatelliteComponent.java164 int cy = (int) ((double) (center.y - vy) / scale * zoomFactor);
168 visibleRect.y = cy - visibleRect.height / 2;
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DExtendedSatelliteComponent.java167 int cy = (int) ((double) (center.y - vy) / scale * zoomFactor);
171 visibleRect.y = cy - visibleRect.height / 2;
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLayout.java2496 float icx = 0, icy = 0, ia = 0, cy = 0, dya = 0, ydsq = 0;
2510 cy = -(textLine.getMetrics().ascent - cm.ascent) + cm.ssOffset;
2512 cy = textLine.getMetrics().descent - cm.descent + cm.ssOffset;
2514 cy = cm.effectiveBaselineOffset(baselineOffsets) + cm.ssOffset;
2516 float dy = (cm.descent - cm.ascent) / 2 - cy;
2518 cy += dy;
2519 ydsq = (cy - y)*(cy - y);
2532 icx = cx; icy = cy; ia = cm.italicAngle;
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DBufferedPaints.java487 double cy = center.getY();
499 at.translate(cx, cy);
500 at.rotate(fx - cx, fy - cy);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBufferStrategyPaintManager.java288 int cy = ((SunGraphics2D)bsg).constrainY;
289 if (cx != 0 || cy != 0) {
290 bsg.translate(-cx, -cy);
292 ((SunGraphics2D)bsg).constrain(xOffset + cx, yOffset + cy,
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicInternalFrameUI.java1330 int cx, cy, cw, ch;
1333 cy = i.top;
1341 cy = 0;
1347 getNorthPane().setBounds(cx, cy, cw, size.height);
1349 cy += size.height;
1363 getWestPane().setBounds(cx, cy, size.width, ch);
1370 getEastPane().setBounds(cw - size.width, cy, size.width, ch);
1375 frame.getRootPane().setBounds(cx, cy, cw, ch);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXTextAreaPeer.java753 int cy = h / 2;
805 g.drawLine(s, cy, s, cy);
806 for (int y = cy - 1, x = s - 1, dy = 1; x >= 1; x -= 2) {
827 g.drawLine(0, cy, 0, cy);
828 for (int y = cy - 1, x = 1, dy = 1; x <= s - 2; x += 2) {
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Checkbox.cpp268 int y = (rect.top + rect.bottom - size.cy) / 2;
283 focusRect.top = (rect.top+rect.bottom-size.cy)/2;
287 focusRect.bottom = focusRect.top + size.cy;

Completed in 334 milliseconds

12