HomeSort by relevance Sort by last modified time
    Searched refs:Rectangle (Results 1 - 25 of 224) sorted by null

1 2 3 4 5 6 7 8 9

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
IncludeOverlayTest.java 18 import org.eclipse.swt.graphics.Rectangle;
31 checkSubtract(new Rectangle(0, 0, 100, 80), Collections.<Rectangle> emptyList());
33 checkSubtract(new Rectangle(0, 0, 100, 80), Arrays.asList(new Rectangle(50, 50, 20, 20)));
35 checkSubtract(new Rectangle(0, 0, 100, 80), Arrays.asList(new Rectangle(50, 50, 20, 20),
36 new Rectangle(90, 90, 10, 10)));
38 checkSubtract(new Rectangle(0, 0, 100, 80), Arrays.asList(new Rectangle(50, 50, 20, 20)
    [all...]
CanvasViewInfoTest.java 29 import org.eclipse.swt.graphics.Rectangle;
92 assertEquals(new Rectangle(10, 10, 89, 89), rootView.getAbsRect());
93 assertEquals(new Rectangle(10, 10, 89, 89), rootView.getSelectionRect());
102 assertEquals(new Rectangle(10, 10, 49, 19), childView1.getAbsRect());
103 assertEquals(new Rectangle(10, 10, 49, 19), childView1.getSelectionRect());
108 assertEquals(new Rectangle(10, 30, 69, 4), childView2.getAbsRect());
109 assertEquals(new Rectangle(10, 30, 69, 5), childView2.getSelectionRect());
138 assertEquals(new Rectangle(10, 10, 89, 89), rootView.getAbsRect());
139 assertEquals(new Rectangle(10, 10, 89, 89), rootView.getSelectionRect());
147 assertEquals(new Rectangle(10, 30, 69, 4), includedView.getAbsRect())
    [all...]
  /external/clang/test/FixIt/
typo.c 11 struct Rectangle {
19 struct Rectangle bounds; // expected-note{{'bounds' declared here}}
27 topleft.x = 3.14, // expected-error{{field designator 'topleft' does not refer to any field in type 'struct Rectangle'; did you mean 'top_left'?}}
33 Rectangle r1; // expected-error{{must use 'struct' tag to refer to type 'Rectangle'}}
37 typedef struct Rectangle Rectangle; // expected-note{{'Rectangle' declared here}}
38 rectangle *r2 = &r1; // expected-error{{unknown type name 'rectangle'; did you mean 'Rectangle'?}
    [all...]
  /external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
TJCustomFilter.java 51 * @param bufferRegion rectangle containing the width and height of
57 * @param planeRegion rectangle containing the width and height of the
72 void customFilter(ShortBuffer coeffBuffer, Rectangle bufferRegion,
73 Rectangle planeRegion, int componentID, int transformID,
TJTransform.java 36 public class TJTransform extends Rectangle {
173 * @param r a <code>Rectangle</code> instance that specifies the cropping
186 public TJTransform(Rectangle r, int op, int options,
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
IncludeOverlay.java 25 import org.eclipse.swt.graphics.Rectangle;
55 List<Rectangle> includedBounds = viewHierarchy.getIncludedBounds();
74 Rectangle whole = root.getAbsRect();
75 whole = new Rectangle(whole.x, whole.y, whole.width + 1, whole.height + 1);
76 Collection<Rectangle> masks = subtractRectangles(whole, includedBounds);
78 for (Rectangle mask : masks) {
94 * Given a Rectangle, remove holes from it (specified as a collection of Rectangles) such
97 * @param rectangle the rectangle to subtract from
98 * @param holes the holes to subtract from the rectangle
    [all...]
  /cts/hostsidetests/services/activityandwindowmanager/windowmanager/src/android/server/cts/
DialogFrameTests.java 21 import java.awt.Rectangle;
87 Rectangle contentFrame = parent.getContentFrame();
88 Rectangle expectedFrame = new Rectangle(
99 Rectangle contentFrame = parent.getContentFrame();
100 Rectangle expectedFrame = new Rectangle(
112 Rectangle contentFrame = parent.getContentFrame();
113 Rectangle expectedFrame = new Rectangle(
    [all...]
  /prebuilts/go/darwin-x86/src/image/
geom.go 43 func (p Point) In(r Rectangle) bool {
50 func (p Point) Mod(r Rectangle) Point {
77 // A Rectangle contains the points with Min.X <= X < Max.X, Min.Y <= Y < Max.Y.
79 // well-formed. A rectangle's methods always return well-formed outputs for
82 // A Rectangle is also an Image whose bounds are the rectangle itself. At
83 // returns color.Opaque for points in the rectangle and color.Transparent
85 type Rectangle struct {
90 func (r Rectangle) String() string {
95 func (r Rectangle) Dx() int
    [all...]
  /prebuilts/go/linux-x86/src/image/
geom.go 43 func (p Point) In(r Rectangle) bool {
50 func (p Point) Mod(r Rectangle) Point {
77 // A Rectangle contains the points with Min.X <= X < Max.X, Min.Y <= Y < Max.Y.
79 // well-formed. A rectangle's methods always return well-formed outputs for
82 // A Rectangle is also an Image whose bounds are the rectangle itself. At
83 // returns color.Opaque for points in the rectangle and color.Transparent
85 type Rectangle struct {
90 func (r Rectangle) String() string {
95 func (r Rectangle) Dx() int
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
Rectangle.java 26 public class Rectangle extends Quad {
28 public Rectangle() {
31 public Rectangle(float x, float y, float width, float height) {
38 public Rectangle(Point origin, Point size) {
45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) {
50 return new Rectangle(p0.rotatedAround(center, rotation),
56 private Rectangle(Point p0, Point p1, Point p2, Point p3) {
60 public static Rectangle fromCenterVerticalAxis(Point center, Point vAxis, Point size) {
63 return new Rectangle(center.minus(dx).minus(dy),
82 public Rectangle scaled(float s)
    [all...]
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/
IMETest.java 12 import java.awt.Rectangle;
22 Rectangle loc = new Rectangle(100, 100, 300, 300);
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
ResizableDialog.java 19 import org.eclipse.swt.graphics.Rectangle;
73 Rectangle oldBounds = loadBounds();
75 Rectangle displayBounds = getShell().getDisplay().getBounds();
99 Rectangle windowBounds;
105 Rectangle bounds = loadBounds();
139 private Rectangle loadBounds() {
142 return new Rectangle(settings.getInt(X),
154 private void saveBounds(Rectangle bounds) {
187 protected Rectangle cachedBounds;
  /cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/
SplashscreenTests.java 20 import java.awt.Rectangle;
37 private void assertAllColor(BufferedImage img, Rectangle bounds, int expectedColor) {
ActivityManagerManifestLayoutTests.java 26 import java.awt.Rectangle;
108 final Rectangle containingRect = mWindowState.getContainingFrame();
129 final Rectangle containingRect = mWindowState.getContainingFrame();
130 final Rectangle appRect = mDisplay.getAppRect();
174 Rectangle containingFrame, Rectangle parentFrame) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/
MockNodeProxy.java 22 import org.eclipse.swt.graphics.Rectangle;
40 * to the model. We never store a null bounds rectangle in the node, a null rectangle
41 * will be converted to an invalid rectangle.
44 public MockNodeProxy(String fqcn, Rectangle bounds, NodeFactory factory) {
  /external/chromium-trace/catapult/devil/devil/utils/
geometry_test.py 50 r = g.Rectangle(g.Point(0, 1), g.Point(2, 3))
54 r = g.Rectangle(g.Point(0, 1), g.Point(2, 3))
59 r1 = g.Rectangle(g.Point(0, 1), g.Point(2, 3))
60 r2 = g.Rectangle.FromDict({'top': 1, 'left': 0, 'bottom': 3, 'right': 2})
geometry.py 40 class Rectangle(
41 collections.namedtuple('Rectangle', ['top_left', 'bottom_right'])):
42 """Object to represent a rectangle on a surface.
56 return super(Rectangle, cls).__new__(cls, top_left, bottom_right)
64 """Get the point at the center of the rectangle."""
69 """Create a rectangle object from a dictionary.
  /external/libmojo/third_party/catapult/devil/devil/utils/
geometry_test.py 50 r = g.Rectangle(g.Point(0, 1), g.Point(2, 3))
54 r = g.Rectangle(g.Point(0, 1), g.Point(2, 3))
59 r1 = g.Rectangle(g.Point(0, 1), g.Point(2, 3))
60 r2 = g.Rectangle.FromDict({'top': 1, 'left': 0, 'bottom': 3, 'right': 2})
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
SelfOrientingSashForm.java 16 import org.eclipse.swt.graphics.Rectangle;
125 Rectangle area;
143 Rectangle area = getClientArea();
CImageLabel.java 17 import org.eclipse.swt.graphics.Rectangle;
90 Rectangle clientArea = getClientArea();
108 Rectangle imageBounds = m_image == null ? new Rectangle(0, 0, 0, 0) : m_image.getBounds();
134 Rectangle imageBounds = m_image == null ? new Rectangle(0, 0, 0, 0) : m_image.getBounds();
  /cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/
WindowManagerState.java 129 private Rectangle mStableBounds = new Rectangle();
130 private final Rectangle mDefaultPinnedStackBounds = new Rectangle();
131 private final Rectangle mPinnedStackMovementBounds = new Rectangle();
544 Rectangle getStableBounds() {
548 Rectangle getDefaultPinnedStackBounds() {
552 Rectangle getPinnedStackMomentBounds() {
685 Rectangle mTempInsetBounds
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
MoreImmutablesTest.java 20 import java.awt.Rectangle;
52 Rectangle rect = new Rectangle(10, 20, 30, 40);
54 assertEquals("!!java.awt.Rectangle [10, 20, 30, 40]\n", dump);
ImmutablesRepresenter.java 19 import java.awt.Rectangle;
36 this.representers.put(Rectangle.class, new RepresentRectangle());
54 Rectangle rect = (Rectangle) data;
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
FingerPrintGraph.java 30 import org.eclipse.swt.graphics.Rectangle;
115 * Typically made of a rectangle and an associated text used as tooltip.
118 Rectangle zone;
121 AreaZone(Rectangle zone, String tooltip) {
164 void addArea(Rectangle rec, String tooltip) {
254 Rectangle rec = new Rectangle(MARGIN, y + (GAP/2), baselineBarLength, BAR_HEIGHT);
259 Rectangle recValue = new Rectangle(MARGIN, y + (GAP/2), wr, BAR_HEIGHT);
262 Rectangle recError = new Rectangle(MARGIN+wr, y + (GAP/2), baselineErrorLength*2, BAR_HEIGHT)
    [all...]
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
PropertyEditor.java 17 import org.eclipse.swt.graphics.Rectangle;
44 * Paints given {@link Property} given rectangle <code>(x, y, width, height)</code> of {@link GC}.
66 * {@link #setBounds(Rectangle)} and {@link #deactivate(boolean)} invocation. Some editors
77 public void setBounds(Rectangle bounds) {

Completed in 1290 milliseconds

1 2 3 4 5 6 7 8 9