/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | SubRegionShowable.java | 39 public void show(int x1, int y1, int x2, int y2); argument 48 public boolean showIfNotLost(int x1, int y1, int x2, int y2); argument
|
/openjdk7/jdk/test/java/io/ByteArrayOutputStream/ |
H A D | WriteBounds.java | 62 ByteArrayOutputStream y1; 66 y1 = new ByteArrayOutputStream(5); 68 dotest(array1, 0, Integer.MAX_VALUE , y1); 69 dotest(array1, 0, array1.length+100, y1); 70 dotest(array1, -1, 2, y1); 71 dotest(array1, 0, -1, y1); 72 dotest(null, 0, 2, y1);
|
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | Line2D.java | 68 public float y1; field in class:Line2D.Float 94 * @param y1 the Y coordinate of the start point 99 public Float(float x1, float y1, float x2, float y2) { argument 100 setLine(x1, y1, x2, y2); 127 return (double) y1; 135 return new Point2D.Float(x1, y1); 166 public void setLine(double x1, double y1, double x2, double y2) { argument 168 this.y1 = (float) y1; 177 * @param y1 th 182 setLine(float x1, float y1, float x2, float y2) argument 235 public double y1; field in class:Line2D.Double 267 Double(double x1, double y1, double x2, double y2) argument 334 setLine(double x1, double y1, double x2, double y2) argument 439 setLine(double x1, double y1, double x2, double y2) argument 504 relativeCCW(double x1, double y1, double x2, double y2, double px, double py) argument 603 linesIntersect(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4) argument 630 intersectsLine(double x1, double y1, double x2, double y2) argument 672 ptSegDistSq(double x1, double y1, double x2, double y2, double px, double py) argument 747 ptSegDist(double x1, double y1, double x2, double y2, double px, double py) argument 854 ptLineDistSq(double x1, double y1, double x2, double y2, double px, double py) argument 899 ptLineDist(double x1, double y1, double x2, double y2, double px, double py) argument [all...] |
H A D | QuadCurve2D.java | 68 public float y1; field in class:QuadCurve2D.Float 115 * @param y1 the Y coordinate of the start point 122 public Float(float x1, float y1, argument 126 setCurve(x1, y1, ctrlx, ctrly, x2, y2); 142 return (double) y1; 150 return new Point2D.Float(x1, y1); 205 public void setCurve(double x1, double y1, argument 210 this.y1 = (float) y1; 222 * @param y1 th 229 setCurve(float x1, float y1, float ctrlx, float ctrly, float x2, float y2) argument 281 public double y1; field in class:QuadCurve2D.Double 335 Double(double x1, double y1, double ctrlx, double ctrly, double x2, double y2) argument 418 setCurve(double x1, double y1, double ctrlx, double ctrly, double x2, double y2) argument 547 setCurve(double x1, double y1, double ctrlx, double ctrly, double x2, double y2) argument 628 getFlatnessSq(double x1, double y1, double ctrlx, double ctrly, double x2, double y2) argument 649 getFlatness(double x1, double y1, double ctrlx, double ctrly, double x2, double y2) argument [all...] |
H A D | Point2D.java | 281 * @param y1 the Y coordinate of the first specified point 288 public static double distanceSq(double x1, double y1, argument 292 y1 -= y2; 293 return (x1 * x1 + y1 * y1); 300 * @param y1 the Y coordinate of the first specified point 307 public static double distance(double x1, double y1, argument 311 y1 -= y2; 312 return Math.sqrt(x1 * x1 + y1 * y1); [all...] |
H A D | RectangularShape.java | 240 * @param y1 the Y coordinate of the start point of the specified diagonal 245 public void setFrameFromDiagonal(double x1, double y1, argument 252 if (y2 < y1) { 253 double t = y1; 254 y1 = y2; 257 setFrame(x1, y1, x2 - x1, y2 - y1); 344 double y1 = Math.floor(y); 347 return new Rectangle((int) x1, (int) y1, 348 (int) (x2 - x1), (int) (y2 - y1)); [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/geom/ |
H A D | PathConsumer2D.java | 42 public void quadTo(float x1, float y1, argument 48 public void curveTo(float x1, float y1, argument
|
H A D | Order1.java | 36 private double y1; field in class:Order1 41 double x1, double y1, 48 this.y1 = y1; 75 return y1; 91 return (direction == INCREASING) ? y0 : y1; 99 return (direction == DECREASING) ? y0 : y1; 106 if (y >= y1) { 109 // assert(y0 != y1); /* No horizontal lines... */ 110 return (x0 + (y - y0) * (x1 - x0) / (y1 40 Order1(double x0, double y0, double x1, double y1, int direction) argument [all...] |
H A D | Order2.java | 39 private double y1; field in class:Order2 53 double x1, double y1, 56 int numparams = getHorizontalParams(y0, cy0, y1, tmp); 60 addInstance(curves, x0, y0, cx0, cy0, x1, y1, direction); 67 tmp[4] = x1; tmp[5] = y1; 80 double x1, double y1, 82 if (y0 > y1) { 83 curves.add(new Order2(x1, y1, cx0, cy0, x0, y0, -direction)); 84 } else if (y1 > y0) { 85 curves.add(new Order2(x0, y0, cx0, cy0, x1, y1, directio 50 insert(Vector curves, double tmp[], double x0, double y0, double cx0, double cy0, double x1, double y1, int direction) argument 77 addInstance(Vector curves, double x0, double y0, double cx0, double cy0, double x1, double y1, int direction) argument 160 Order2(double x0, double y0, double cx0, double cy0, double x1, double y1, int direction) argument [all...] |
H A D | Curve.java | 47 double x1, double y1) 49 if (y0 < y1) { 51 x1, y1, 53 } else if (y0 > y1) { 54 curves.add(new Order1(x1, y1, 66 double y1 = coords[3]; 67 if (y0 > y1) { 69 coords[2], y1, 73 } else if (y0 == y1 && y0 == coords[1]) { 80 coords[2], y1, 45 insertLine(Vector curves, double x0, double y0, double x1, double y1) argument 210 pointCrossingsForLine(double px, double py, double x0, double y0, double x1, double y1) argument 234 pointCrossingsForQuad(double px, double py, double x0, double y0, double xc, double yc, double x1, double y1, int level) argument 285 pointCrossingsForCubic(double px, double py, double x0, double y0, double xc0, double yc0, double xc1, double yc1, double x1, double y1, int level) argument 481 rectCrossingsForLine(int crossings, double rxmin, double rymin, double rxmax, double rymax, double x0, double y0, double x1, double y1) argument 555 rectCrossingsForQuad(int crossings, double rxmin, double rymin, double rxmax, double rymax, double x0, double y0, double xc, double yc, double x1, double y1, int level) argument 631 rectCrossingsForCubic(int crossings, double rxmin, double rymin, double rxmax, double rymax, double x0, double y0, double xc0, double yc0, double xc1, double yc1, double x1, double y1, int level) argument 742 signeddiffbits(double y1, double y2) argument 745 diffbits(double y1, double y2) argument [all...] |
H A D | Order3.java | 41 private double y1; field in class:Order3 60 double x1, double y1, 63 int numparams = getHorizontalParams(y0, cy0, cy1, y1, tmp); 67 addInstance(curves, x0, y0, cx0, cy0, cx1, cy1, x1, y1, direction); 74 tmp[9] = x1; tmp[10] = y1; 112 double x1, double y1, 114 if (y0 > y1) { 115 curves.add(new Order3(x1, y1, cx1, cy1, cx0, cy0, x0, y0, 117 } else if (y1 > y0) { 118 curves.add(new Order3(x0, y0, cx0, cy0, cx1, cy1, x1, y1, 56 insert(Vector curves, double tmp[], double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction) argument 108 addInstance(Vector curves, double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction) argument 226 Order3(double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SoftCubicResampler.java | 51 float y1 = in[iix]; 54 float a0 = y3 - y2 + y1 - y0; 55 float a1 = y0 - y1 - a0; 57 float a3 = y1; 68 float y1 = in[iix]; 71 float a0 = y3 - y2 + y1 - y0; 72 float a1 = y0 - y1 - a0; 74 float a3 = y1;
|
H A D | SoftFilter.java | 61 private float y1; field in class:SoftFilter 112 y1 = 0; 186 float y1 = this.y1; 203 float y = (a0*x + a1*x1 + a2*x2 - b1*y1 - b2*y2); 207 y2 = y1; 208 y1 = y; 220 float y = (a0*x + a1*x1 + a2*x2 - b1*y1 - b2*y2); 224 y2 = y1; 225 y1 [all...] |
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | CropImageFilter.java | 126 int y1 = y; 127 if (y1 < cropY) { 128 y1 = cropY; 135 if (x1 >= x2 || y1 >= y2) { 138 consumer.setPixels(x1 - cropX, y1 - cropY, (x2 - x1), (y2 - y1), 140 off + (y1 - y) * scansize + (x1 - x), scansize); 166 int y1 = y; 167 if (y1 < cropY) { 168 y1 [all...] |
H A D | SampleModel.java | 362 int y1 = y + h; 365 y < 0 || y >= height || h > height || y1 < 0 || y1 > height) 382 for (int i=y; i<y1; i++) { 405 for (int i=y; i<y1; i++) { 428 for (int i=y; i<y1; i++) { 451 for (int i=y; i<y1; i++) { 474 for (int i=y; i<y1; i++) { 592 int y1 = y + h; 595 y < 0 || y >= height || h > height || y1 < [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | TransformingPathConsumer2D.java | 132 public void lineTo(float x1, float y1) { argument 133 out.lineTo(x1 + tx, y1 + ty); 136 public void quadTo(float x1, float y1, argument 139 out.quadTo(x1 + tx, y1 + ty, 143 public void curveTo(float x1, float y1, argument 147 out.curveTo(x1 + tx, y1 + ty, 186 public void lineTo(float x1, float y1) { argument 187 out.lineTo(x1 * sx + tx, y1 * sy + ty); 190 public void quadTo(float x1, float y1, argument 193 out.quadTo(x1 * sx + tx, y1 * s 197 curveTo(float x1, float y1, float x2, float y2, float x3, float y3) argument 246 lineTo(float x1, float y1) argument 251 quadTo(float x1, float y1, float x2, float y2) argument 260 curveTo(float x1, float y1, float x2, float y2, float x3, float y3) argument 299 lineTo(float x1, float y1) argument 303 quadTo(float x1, float y1, float x2, float y2) argument 310 curveTo(float x1, float y1, float x2, float y2, float x3, float y3) argument 355 lineTo(float x1, float y1) argument 360 quadTo(float x1, float y1, float x2, float y2) argument 369 curveTo(float x1, float y1, float x2, float y2, float x3, float y3) argument [all...] |
H A D | Helpers.java | 205 static float linelen(float x1, float y1, float x2, float y2) { argument 207 final float dy = y2 - y1; 273 float y1 = src[srcoff + 1]; 282 left[leftoff + 1] = y1; 289 y1 = (y1 + ctrly1) / 2.0f; 295 ctrly1 = (y1 + centery) / 2.0f; 302 left[leftoff + 3] = y1; 324 float y1 = src[srcoff + 1]; 333 left[leftoff + 1] = y1; [all...] |
H A D | Stroker.java | 258 final float y1 = cy + omy; 260 final float y2 = y1 + cv * omx; 267 emitCurveTo(x1, y1, x2, y2, x3, y3, x4, y4, rev); 289 // Put the intersection point of the lines (x0, y0) -> (x1, y1) 293 final float x1, final float y1, 299 float y10 = y1 - y0; 357 public void lineTo(float x1, float y1) { argument 359 float dy = y1 - cy0; 370 emitLineTo(x1 + mx, y1 + my); 373 emitLineTo(x1 - mx, y1 292 computeIntersection(final float x0, final float y0, final float x1, final float y1, final float x0p, final float y0p, final float x1p, final float y1p, final float[] m, int off) argument 454 emitLineTo(final float x1, final float y1) argument 458 emitLineTo(final float x1, final float y1, final boolean rev) argument 468 emitQuadTo(final float x0, final float y0, final float x1, final float y1, final float x2, final float y2, final boolean rev) argument 479 emitCurveTo(final float x0, final float y0, final float x1, final float y1, final float x2, final float y2, final float x3, final float y3, final boolean rev) argument 522 within(final float x1, final float y1, final float x2, final float y2, final float ERR) argument 533 getLineOffsets(float x1, float y1, float x2, float y2, float[] left, float[] right) argument 939 curveTo(float x1, float y1, float x2, float y2, float x3, float y3) argument 1031 quadTo(float x1, float y1, float x2, float y2) argument 1139 pushCubic(float x0, float y0, float x1, float y1, float x2, float y2) argument 1153 pushQuad(float x0, float y0, float x1, float y1) argument [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/pipe/ |
H A D | PathConsumer2D.h | 54 jfloat x1, jfloat y1); 58 jfloat x1, jfloat y1); 63 jfloat x1, jfloat y1);
|
H A D | Region.h | 56 * // Process span.x1, span.y1, span.x2, span.y2 114 #define Region_IntersectBoundsXYXY(pRgnInfo, x1, y1, x2, y2) \ 115 SurfaceData_IntersectBoundsXYXY(&(pRgnInfo)->bounds, x1, y1, x2, y2) 133 (pRgnInfo)->bounds.y1 >= (pRgnInfo)->bounds.y2) 210 jint x1, jint y1, jint x2, jint y2, jobject region,
|
H A D | Region.c | 69 pRgnInfo->bounds.x1 = pRgnInfo->bounds.y1 = 0x80000000; 74 pRgnInfo->bounds.y1 = (*env)->GetIntField(env, region, loyID); 89 b->x1 = b->y1 = 0x80000000; 93 b->y1 = (*env)->GetIntField(env, region, loyID); 129 if (xy2 > pRgnInfo->bounds.y1) { 158 pSpan->y1 = pRgnInfo->bounds.y1; 174 if (xy1 < pRgnInfo->bounds.y1) { 175 xy1 = pRgnInfo->bounds.y1; 187 pSpan->y1 242 RegionToYXBandedRectangles(JNIEnv *env, jint x1, jint y1, jint x2, jint y2, jobject region, RECT_T ** pRect, unsigned int initialBufferSize) argument [all...] |
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/ |
H A D | Shape.java | 41 public double getPaintY1() { return paintPoints.y1; } 54 @XmlAttribute double y1; field in class:Shape.PaintPoints 102 @XmlAttribute private double y1; field in class:Rectangle 103 public double getY1() { return y1; } 135 @XmlAttribute private double y1; field in class:Ellipse 136 public double getY1() { return y1; }
|
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | ScaledBlit.c | 363 srcInfo.bounds.y1 = sy1; 370 srcInfo.bounds.y2 <= srcInfo.bounds.y1) 405 dstInfo.bounds.y1 = dstInfo.bounds.y2 = idy1; 406 if (y >= srcInfo.bounds.y1 && y < srcInfo.bounds.y2) { 410 dstInfo.bounds.y1 = ((srcInfo.bounds.y1 <= sy1) 413 (srcInfo.bounds.y1-sy1) << shift, syinc)); 429 dstInfo.bounds.y2 > dstInfo.bounds.y1) 452 if (span.y1 > idy1) { 453 tsyloc += syinc * (span.y1 474 jint x1, y1, x2, y2; local [all...] |
H A D | DrawRect.c | 79 if (rasInfo.bounds.y1 < loy) rasInfo.bounds.y1 = loy; 87 rasInfo.bounds.y2 > rasInfo.bounds.y1) 92 int loyin = (loy == rasInfo.bounds.y1); 95 int ysize = (rasInfo.bounds.y2 - rasInfo.bounds.y1 - loyin - hiyin); 108 rasInfo.bounds.x1, rasInfo.bounds.y1, 115 rasInfo.bounds.x1, rasInfo.bounds.y1 + loyin, 122 rasInfo.bounds.x2 - 1, rasInfo.bounds.y1 + loyin,
|
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/ |
H A D | w_j1.c | 28 * wrapper of j1,y1 54 double y1(double x) /* wrapper y1 */ function 56 double y1(x) /* wrapper y1 */ 75 return __kernel_standard(x,x,37); /* y1(x>X_TLOSS) */
|