HomeSort by relevance Sort by last modified time
    Searched refs:Rectangle (Results 1 - 25 of 208) 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...]
SwtUtilsTest.java 26 import org.eclipse.swt.graphics.Rectangle;
204 Rectangle r2 = new Rectangle(3, 4, 20, 30);
214 Rectangle r = new Rectangle(3, 4, 20, 30);
225 Image result = SwtUtils.drawRectangles(image, Collections.<Rectangle> emptyList(), null,
236 List<Rectangle> items = new ArrayList<Rectangle>();
237 items.add(new Rectangle(30, 60, 20, 20));
274 List<Rectangle> items = new ArrayList<Rectangle>()
    [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...]
SelectionItem.java 27 import org.eclipse.swt.graphics.Rectangle;
44 /** Current selection border rectangle. Null when mCanvasViewInfo is null . */
45 private final Rectangle mRect;
71 Rectangle r = canvasViewInfo.getSelectionRect();
72 mRect = new Rectangle(r.x, r.y, r.width, r.height);
118 * Returns the selection border rectangle. Cannot be null.
120 * @return the selection border rectangle, never null
122 public Rectangle getRect() {
  /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);
  /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})
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.
  /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...]
  /cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/
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) {
SplashscreenTests.java 20 import java.awt.Rectangle;
41 private void assertColors(BufferedImage img, Rectangle bounds, int primaryColor,
  /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/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/indic/
IndicInputMethod.java 13 import java.awt.Rectangle;
69 public void notifyClientWindowChange(Rectangle bounds) {
  /frameworks/native/opengl/tests/hwc/
hwcCommit.cpp 162 class Rectangle {
164 explicit Rectangle(uint32_t graphicFormat = defaultFormat,
275 uint32_t numOverlays(list<Rectangle>& rectList);
343 list<Rectangle> rectList;
450 Rectangle rect(format->format, startDim);
630 // each rectangle adjust one pixel to the right and one pixel down.
641 list<Rectangle> rectList;
649 Rectangle rect(format, startDim, startDim);
674 list<Rectangle> rectList;
675 Rectangle rect(format, startDim)
    [all...]

Completed in 343 milliseconds

1 2 3 4 5 6 7 8 9