/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthComboPopup.java | 75 protected Rectangle computePopupBounds(int px, int py, int pw, int ph) { argument 82 px + i.left, 88 return super.computePopupBounds(px, py, pw, ph);
|
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | Point2D.java | 319 * @param px the X coordinate of the specified point to be measured 327 public double distanceSq(double px, double py) { argument 328 px -= getX(); 330 return (px * px + py * py); 344 double px = pt.getX() - this.getX(); 346 return (px * px + py * py); 353 * @param px the X coordinate of the specified point to be measured 361 public double distance(double px, doubl argument [all...] |
H A D | Line2D.java | 464 * {@code (px,py)} lies with respect to the line segment from 469 * specified point {@code (px,py)}. 495 * @param px the X coordinate of the specified point to be 506 double px, double py) 510 px -= x1; 512 double ccw = px * y2 - py * x2; 516 // relative value using the projection of px,py onto the 520 ccw = px * x2 + py * y2; 524 // px and py need to have (x2 - x1) or (y2 - y1) subtracted 529 px 504 relativeCCW(double x1, double y1, double x2, double y2, double px, double py) argument 555 relativeCCW(double px, double py) 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 770 ptSegDistSq(double px, double py) argument 810 ptSegDist(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 922 ptLineDistSq(double px, double py) argument 962 ptLineDist(double px, double py) argument [all...] |
H A D | Path2D.java | 140 abstract int pointCrossings(double px, double py); argument 475 int pointCrossings(double px, double py) { argument 487 Curve.pointCrossingsForLine(px, py, 496 Curve.pointCrossingsForLine(px, py, 505 Curve.pointCrossingsForQuad(px, py, 517 Curve.pointCrossingsForCubic(px, py, 532 Curve.pointCrossingsForLine(px, py, 543 Curve.pointCrossingsForLine(px, py, 1199 int pointCrossings(double px, double py) { argument 1211 Curve.pointCrossingsForLine(px, p [all...] |
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | MarkToBasePosnSubtables.cpp | 128 LEPoint px; local 129 fontInstance->getGlyphAdvance(otherMark, px); // get advance, in case it's non-zero 130 pixels.fX += px.fX; // and add that to the base glyph's advance 131 pixels.fY += px.fY;
|
/openjdk7/jdk/src/share/native/sun/security/ec/impl/ |
H A D | ecl.c | 413 mp_err ECPoint_validate(const ECGroup *group, const mp_int *px, const argument 424 return group->validate_point(px, py, group);
|
H A D | ecl_mult.c | 51 ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px, argument 71 if ((px == NULL) || (py == NULL)) { 81 MP_CHECKOK(group->meth->field_enc(px, rx, group->meth)); 85 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group)); 105 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px, argument 114 && ((k2 == NULL) || (px == NULL) 119 return ECPoint_mul(group, k2, px, py, rx, ry); 120 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) { 130 MP_CHECKOK(ECPoint_mul(group, k2, px, py, rx, ry)); 160 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, const mp_int *px, argument 310 ECPoints_mul(const ECGroup *group, const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) argument [all...] |
H A D | ec2_aff.c | 45 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */ 47 ec_GF2m_pt_is_inf_aff(const mp_int *px, const mp_int *py) argument 50 if ((mp_cmp_z(px) == 0) && (mp_cmp_z(py) == 0)) { 58 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */ 60 ec_GF2m_pt_set_inf_aff(mp_int *px, mp_int *py) argument 62 mp_zero(px); 70 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument 80 MP_CHECKOK(mp_init(&lambda, FLAG(px))); 81 MP_CHECKOK(mp_init(&tempx, FLAG(px))); 82 MP_CHECKOK(mp_init(&tempy, FLAG(px))); 152 ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 172 ec_GF2m_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 183 ec_GF2m_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 276 ec_GF2m_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument [all...] |
H A D | ec2_mont.c | 186 ec_GF2m_pt_mul_mont(const mp_int *n, const mp_int *px, const mp_int *py, argument 204 if ((mp_cmp_z(n) == 0) || (ec_GF2m_pt_is_inf_aff(px, py) == MP_YES)) { 209 MP_CHECKOK(mp_copy(px, &x1)); /* x1 = px */ 213 * px^2 */ 217 * px^4 245 MP_CHECKOK(gf2m_Madd(px, &x1, &z1, &x2, &z2, group, FLAG(n))); 248 MP_CHECKOK(gf2m_Madd(px, &x2, &z2, &x1, &z1, group, FLAG(n))); 258 i = gf2m_Mxy(px, py, &x1, &z1, &x2, &z2, group);
|
H A D | ecp_aff.c | 49 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */ 51 ec_GFp_pt_is_inf_aff(const mp_int *px, const mp_int *py) argument 54 if ((mp_cmp_z(px) == 0) && (mp_cmp_z(py) == 0)) { 62 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */ 64 ec_GFp_pt_set_inf_aff(mp_int *px, mp_int *py) argument 66 mp_zero(px); 76 ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument 87 MP_CHECKOK(mp_init(&lambda, FLAG(px))); 88 MP_CHECKOK(mp_init(&temp, FLAG(px))); 89 MP_CHECKOK(mp_init(&tempx, FLAG(px))); 162 ec_GFp_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 183 ec_GFp_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 196 ec_GFp_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 289 ec_GFp_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument [all...] |
H A D | ecp_jm.c | 55 ec_GFp_pt_dbl_jm(const mp_int *px, const mp_int *py, const mp_int *pz, argument 72 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) { 79 /* M = 3 (px^2) + a*(pz^4) */ 80 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth)); 95 /* S = 4 * px * py^2 = 2 * px * t0 */ 96 MP_CHECKOK(group->meth->field_mul(px, t0, S, group->meth)); 119 /* Computes R = P + Q where R is (rx, ry, rz), P is (px, py, pz) and Q is 125 ec_GFp_pt_add_jm_aff(const mp_int *px, const mp_int *py, const mp_int *pz, argument 146 if (ec_GFp_pt_is_inf_jac(px, p 215 ec_GFp_pt_mul_jm_wNAF(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
H A D | ecp_jac.c | 52 /* Converts a point P(px, py) from affine coordinates to Jacobian 57 ec_GFp_pt_aff2jac(const mp_int *px, const mp_int *py, mp_int *rx, argument 62 if (ec_GFp_pt_is_inf_aff(px, py) == MP_YES) { 65 MP_CHECKOK(mp_copy(px, rx)); 76 /* Converts a point P(px, py, pz) from Jacobian projective coordinates to 81 ec_GFp_pt_jac2aff(const mp_int *px, const mp_int *py, const mp_int *pz, argument 90 MP_CHECKOK(mp_init(&z1, FLAG(px))); 91 MP_CHECKOK(mp_init(&z2, FLAG(px))); 92 MP_CHECKOK(mp_init(&z3, FLAG(px))); 95 if (ec_GFp_pt_is_inf_jac(px, p 122 ec_GFp_pt_is_inf_jac(const mp_int *px, const mp_int *py, const mp_int *pz) argument 130 ec_GFp_pt_set_inf_jac(mp_int *px, mp_int *py, mp_int *pz) argument 144 ec_GFp_pt_add_jac_aff(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group) argument 233 ec_GFp_pt_dbl_jac(const mp_int *px, const mp_int *py, const mp_int *pz, mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group) argument 326 ec_GFp_pt_mul_jac(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 407 ec_GFp_pts_mul_jac(const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaComboBoxPopup.java | 230 protected Rectangle computePopupBounds(int px, int py, int pw, int ph) { argument 240 // px & py are relative to the combo box 250 if (scrBounds == null) return super.computePopupBounds(px, py, pw, ph); 271 px += comboBoxInsets.left; 272 if (!isPopDown) px -= FOCUS_RING_PAD_LEFT; 274 px = comboBoxBounds.width - pw - comboBoxInsets.right; 275 if (!isPopDown) px += FOCUS_RING_PAD_RIGHT; 280 p.x += px; 281 p.y += py; // Screen location of px & py 282 if (p.x < scrBounds.x) px 323 computePopupBoundsForMenu(final int px, final int py, final int pw, final int ph, final int itemCount, final Rectangle scrBounds) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_DrawingSurface.c | 202 JAWT_X11DrawingSurfaceInfo* px; local 260 px = (JAWT_X11DrawingSurfaceInfo*) 265 px->drawable = XtWindow(cdata->widget); 267 px->drawable = (*env)->GetLongField(env, peer, windowID); 269 px->display = awt_display; 272 XGetWindowAttributes(awt_display, (Window)(px->drawable), &attrs); 275 px->visualID = XVisualIDFromVisual(attrs.visual); 276 px->colormapID = attrs.colormap; 277 px->depth = attrs.depth; 278 px [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | PixelToParallelogramConverter.java | 279 double px = x1 + udy / 2.0; 282 px -= udx / 2.0; 288 px, py, -udy, udx, dx, dy); 296 double px, py; 303 px = rx * dx1 + ry * dx2 + txform.getTranslateX(); 313 double newx = normalize(px); 315 dx1 = normalize(px + dx1) - newx; 317 dx2 = normalize(px + dx2) - newx; 319 px = newx; 323 px, p 388 fillOuterParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double px, double py, double dx1, double dy1, double dx2, double dy2, double len1, double len2, double lw1, double lw2) argument [all...] |
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | DrawGlyphList.c | 101 jfloat px = x + positions[++n]; local 110 FLOOR_ASSIGN(gbv->glyphs[g].x, px + ginfo->topLeftX); 553 jfloat px, py; local 562 px = x + positions[++n]; 591 float pos = px + ginfo->topLeftX; 621 FLOOR_ASSIGN(gbv->glyphs[g].x, px + ginfo->topLeftX);
|
/openjdk7/jdk/src/share/classes/sun/awt/geom/ |
H A D | Curve.java | 112 * crosses the ray extending to the right from (px,py). 125 double px, double py) 146 crossings += pointCrossingsForLine(px, py, 156 crossings += pointCrossingsForLine(px, py, 165 crossings += pointCrossingsForQuad(px, py, 175 crossings += pointCrossingsForCubic(px, py, 185 crossings += pointCrossingsForLine(px, py, 196 crossings += pointCrossingsForLine(px, py, 205 * crosses the ray extending to the right from (px,py). 210 public static int pointCrossingsForLine(double px, doubl argument 124 pointCrossingsForPath(PathIterator pi, double px, double py) 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 [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | LayoutPathImpl.java | 133 private double px; field in class:LayoutPathImpl.SegmentPathBuilder 157 px = py = 0; 211 if (x == px && y == py) { 226 data[w-3] = px = x; 239 double dx = x - px; 250 px = x; 420 double px = x - bx; // vector from previous to test point 426 double dot = dx * px + dy * py; // dot product 527 double px = result.getX() - bx; 535 double rx = (px * d [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicComboPopup.java | 1209 * @param px starting x location 1215 protected Rectangle computePopupBounds(int px,int py,int pw,int ph) { argument 1235 Rectangle rect = new Rectangle(px,py,pw,ph);
|
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DVertexCacher.cpp | 563 float px = fx11, py = fy11; local 565 ADJUST_PGRAM(px, dx21, pw); 567 ADJUST_PGRAM(px, dx12, pw); 569 float px1 = floor(px); 571 float px2 = ceil(px + pw);
|
H A D | D3DContext.cpp | 160 D3DUtils_2DTransformXY(D3DMATRIX *m, float *px, float *py) argument 162 float x = *px; 165 *px = x * m->_11 + y * m->_21 + m->_41; 170 D3DUtils_2DInverseTransformXY(D3DMATRIX *m, float *px, float *py) argument 172 float x = *px, y = *py; 179 *px = 0.0f; 182 *px = (x * m->_22 - y * m->_21) / det;
|
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/ |
H A D | cmsintrp.c | 332 cmsFloat32Number px, py; local 342 px = Input[0] * p->Domain[0]; 345 x0 = (int) _cmsQuickFloor(px); fx = px - (cmsFloat32Number) x0; 444 cmsFloat32Number px, py, pz; local 457 px = Input[0]; 461 if (px < 0) px = 0; 462 if (px > 1) px 602 cmsFloat32Number px, py, pz; local [all...] |
H A D | cmsopt.c | 411 cmsFloat64Number px, py, pz, pw; local 422 px = ((cmsFloat64Number) At[0] * (p16->Domain[0])) / 65535.0; 427 x0 = (int) floor(px); 432 if (((px - x0) != 0) || 445 px = ((cmsFloat64Number) At[0] * (p16->Domain[0])) / 65535.0; 449 x0 = (int) floor(px); 453 if (((px - x0) != 0) || 464 px = ((cmsFloat64Number) At[0] * (p16->Domain[0])) / 65535.0; 466 x0 = (int) floor(px); 468 if (((px [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | ProcessPath.c | 577 jint px = (x0 & (~MDP_W_MASK)) << DF_QUAD_SHIFT; local 623 px <<=2; 630 px += dpx; 639 x2 = x0w + (px >> shift); 1005 jint px = (x0 & (~MDP_W_MASK)) << DF_CUB_SHIFT; local 1076 px <<=3; 1102 px >>=3; 1115 px += dpx; 1126 x2 = x0w + (px >> shift);
|
/openjdk7/jdk/src/share/native/sun/java2d/pipe/ |
H A D | ShapeSpanIterator.c | 921 jfloat px, jfloat py) 929 /* px,py becomes relative vector from x0,y0 to test point */ 930 px -= x0; 932 dotprod = px * x1 + py * y1; 934 /* px,py is on the side of x0,y0 away from x1,y1 */ 935 /* distance to segment is length of px,py vector */ 941 /* to get px,py to be the negative of px,py=>x1,y1 */ 944 px = x1 - px; 919 ptSegDistSq(jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat px, jfloat py) argument [all...] |