Searched defs:getY (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/awt/java/awt/
H A DPoint.java126 * @see java.awt.geom.Point2D#getY()
129 public double getY() { method in class:Point
H A DRectangle.java162 * @see java.awt.geom.RectangularShape#getY()
165 public double getY() { method in class:Rectangle
H A DComponent.java1632 rv.setLocation(getX(), getY());
2672 * p.translate(comp.getX(), comp.getY()); } if (comp instanceof
2673 * Window) { p.translate(comp.getX(), comp.getY()); }
2762 public int getY() { method in class:Component
3372 return getName() + "," + getX() + "," + getY() + "," + getWidth() + "x" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
/frameworks/base/awt/java/awt/geom/
H A DPoint2D.java78 public double getY() { method in class:Point2D.Float
151 public double getY() { method in class:Point2D.Double
185 public abstract double getY(); method in class:Point2D
204 setLocation(p.getX(), p.getY());
238 return Point2D.distanceSq(getX(), getY(), px, py);
251 return Point2D.distanceSq(getX(), getY(), p.getX(), p.getY());
308 hash.append(getY());
319 return getX() == p.getX() && getY() == p.getY();
[all...]
H A DEllipse2D.java96 public double getY() { method in class:Ellipse2D.Float
209 public double getY() { method in class:Ellipse2D.Double
319 this.y = e.getY();
418 double b = (py - getY()) / getHeight() - 0.5;
429 double cy = getY() + getHeight() / 2.0;
H A DRectangle2D.java118 public double getY() { method in class:Rectangle2D.Float
167 this.y = (float)r.getY();
291 public double getY() { method in class:Rectangle2D.Double
321 this.y = r.getY();
427 this.y = r.getY();
597 setRect(r.getX(), r.getY(), r.getWidth(), r.getHeight());
632 double ry1 = getY();
670 return outcode(p.getX(), p.getY());
679 double y1 = getY();
692 double y1 = getY();
[all...]
H A DRectangularShape.java55 public abstract double getY(); method in class:RectangularShape
110 return getY();
130 return getY() + getHeight();
148 return getY() + getHeight() / 2.0;
158 return new Rectangle2D.Double(getX(), getY(), getWidth(), getHeight());
171 setFrame(loc.getX(), loc.getY(), size.getWidth(), size.getHeight());
182 setFrame(r.getX(), r.getY(), r.getWidth(), r.getHeight());
229 setFrameFromDiagonal(p1.getX(), p1.getY(), p2.getX(), p2.getY());
261 setFrameFromCenter(center.getX(), center.getY(), corne
[all...]
H A DRoundRectangle2D.java108 public double getY() { method in class:RoundRectangle2D.Float
177 this.y = (float)rr.getY();
262 public double getY() { method in class:RoundRectangle2D.Double
305 this.y = rr.getY();
427 this.y = rr.getY();
541 setRoundRect(rr.getX(), rr.getY(), rr.getWidth(), rr.getHeight(), rr.getArcWidth(), rr
556 double ry1 = getY();
596 double y1 = getY();
H A DArc2D.java169 this.y = (float)bounds.getY();
182 public double getY() { method in class:Arc2D.Float
348 this.y = bounds.getY();
361 public double getY() { method in class:Arc2D.Double
542 this.y = a.getY() + height;
794 return new Point2D.Double(getX() + (1.0 + Math.cos(a)) * getWidth() / 2.0, getY()
805 return new Point2D.Double(getX() + (1.0 + Math.cos(a)) * getWidth() / 2.0, getY()
811 return makeBounds(getX(), getY(), getWidth(), getHeight());
814 double ry1 = getY();
822 double by1 = containsAngle(90.0) ? ry1 : Math.min(p1.getY(), p
[all...]
/frameworks/base/awt/java/awt/event/
H A DMouseEvent.java163 public int getY() { method in class:MouseEvent
220 paramString = idString + ",(" + getX() + "," + getY() + ")" + //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
/frameworks/base/core/java/android/hardware/
H A DGeomagneticField.java251 public float getY() { method in class:GeomagneticField
/frameworks/base/graphics/java/android/renderscript/
H A DType.java44 public int getY() { method in class:Type
63 int y = getY();
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DWebViewEventSender.java210 MotionEvent.ACTION_DOWN, tp.getX(), tp.getY(), mTouchMetaState);
226 MotionEvent.ACTION_MOVE, tp.getX(), tp.getY(), mTouchMetaState);
240 MotionEvent.ACTION_UP, tp.getX(), tp.getY(), mTouchMetaState);
256 MotionEvent.ACTION_CANCEL, tp.getX(), tp.getY(), mTouchMetaState);
362 public int getY() { return mY; } method in class:WebViewEventSender.TouchPoint
/frameworks/base/core/java/android/view/
H A DMotionEvent.java665 * {@link #getX(int)}, {@link #getY(int)}, {@link #getPressure(int)},
707 * {@link #getY(int)} for the first pointer index (may be an
710 public final float getY() { method in class:MotionEvent
791 public final float getY(int pointerIndex) { method in class:MotionEvent
872 * multiple this number with {@link #getY} to find the actual hardware
957 * Returns a historical Y coordinate, as per {@link #getY(int)}, that
967 * @see #getY
1198 + " y=" + getY() + " pressure=" + getPressure() + " size=" + getSize() + "}";

Completed in 146 milliseconds