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

1 2 3 4 5 6

  /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/jmonkeyengine/engine/src/core/com/jme3/font/
Rectangle.java 36 * Defines a rectangle that can constrict a text paragraph.
39 public class Rectangle implements Cloneable {
45 * @param x the X value of the upper left corner of the rectangle
46 * @param y the Y value of the upper left corner of the rectangle
47 * @param width the width of the rectangle
48 * @param height the height of the rectangle
50 public Rectangle(float x, float y, float width, float height) {
58 public Rectangle clone(){
60 return (Rectangle) super.clone();
StringBlock.java 40 * Defines a String that is to be drawn in one block that can be constrained by a {@link Rectangle}. Also holds
48 private Rectangle textBox;
63 * @param textBox the rectangle that constrains the text
69 StringBlock(String text, Rectangle textBox, BitmapFont.Align alignment, float size, ColorRGBA color,
109 Rectangle getTextBox() {
113 void setTextBox(Rectangle textBox) {
  /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...]
  /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() {
EmptyViewsOverlay.java 22 import org.eclipse.swt.graphics.Rectangle;
83 Rectangle r = info.getAbsRect();
  /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/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;
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Rectangle.java 41 * <code>Rectangle</code> defines a finite plane within three dimensional space
43 * triangle with the forth point defining the rectangle ((B + C) - A.
49 public final class Rectangle implements Savable, Cloneable, java.io.Serializable {
56 * Constructor creates a new <code>Rectangle</code> with no defined corners.
57 * A, B, and C must be set to define a valid rectangle.
60 public Rectangle() {
67 * Constructor creates a new <code>Rectangle</code> with defined A, B, and C
68 * points that define the area of the rectangle.
71 * the first corner of the rectangle.
73 * the second corner of the rectangle.
    [all...]
  /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/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();
CFlatButton.java 22 import org.eclipse.swt.graphics.Rectangle;
70 Rectangle ca = getClientArea();
85 Rectangle ca1 = getClientArea();
99 Rectangle imageBounds = image.getBounds();
137 private void cropClientArea(Rectangle ca) {
  /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) {
  /external/jmonkeyengine/engine/src/test/jme3test/gui/
TestBitmapText3D.java 38 import com.jme3.font.Rectangle;
63 txt.setBox(new Rectangle(0, 0, 6, 3));
TestBitmapFont.java 39 import com.jme3.font.Rectangle;
68 txt.setBox(new Rectangle(0, 0, settings.getWidth(), settings.getHeight()));
81 txt3.setBox(new Rectangle(0, 0, settings.getWidth(), 0));
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/
Renderer11.h 66 virtual void setScissorRectangle(const gl::Rectangle &scissor, bool enabled);
67 virtual bool setViewport(const gl::Rectangle &viewport, float zNear, float zFar, GLenum drawMode, GLenum frontFace,
139 virtual bool copyImage(gl::Framebuffer *framebuffer, const gl::Rectangle &sourceRect, GLenum destFormat,
141 virtual bool copyImage(gl::Framebuffer *framebuffer, const gl::Rectangle &sourceRect, GLenum destFormat,
144 bool copyTexture(ID3D11ShaderResourceView *source, const gl::Rectangle &sourceArea, unsigned int sourceWidth, unsigned int sourceHeight,
145 ID3D11RenderTargetView *dest, const gl::Rectangle &destArea, unsigned int destWidth, unsigned int destHeight, GLenum destFormat);
147 virtual bool blitRect(gl::Framebuffer *readTarget, const gl::Rectangle &readRect, gl::Framebuffer *drawTarget, const gl::Rectangle &drawRect,
193 void readTextureData(ID3D11Texture2D *texture, unsigned int subResource, const gl::Rectangle &area,
200 bool blitRenderbufferRect(const gl::Rectangle &readRect, const gl::Rectangle &drawRect, RenderTarget *readRenderTarget,
    [all...]
  /frameworks/native/opengl/tests/hwc/
hwcCommit.cpp 164 class Rectangle {
166 Rectangle(uint32_t graphicFormat = defaultFormat,
277 uint32_t numOverlays(list<Rectangle>& rectList);
346 list<Rectangle> rectList;
453 Rectangle rect(format->format, startDim);
633 // each rectangle adjust one pixel to the right and one pixel down.
644 list<Rectangle> rectList;
652 Rectangle rect(format, startDim, startDim);
677 list<Rectangle> rectList;
678 Rectangle rect(format, startDim)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/resources/
pickerCommon.js 50 * @param {!number|Rectangle|Object} xOrRect
55 function Rectangle(xOrRect, y, width, height) {
68 Rectangle.prototype = {
71 toString: function() { return "Rectangle(" + this.x + "," + this.y + "," + this.width + "," + this.height + ")"; }
75 * @param {!Rectangle} rect1
76 * @param {!Rectangle} rect2
77 * @return {?Rectangle}
79 Rectangle.intersection = function(rect1, rect2) {
88 return new Rectangle(x, y, width, height);
104 * @return {!Rectangle}
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
ImageCanvas.java 33 import org.eclipse.swt.graphics.Rectangle;
116 Rectangle client = getClientArea();
153 private void setScrollBarPageIncrements(Rectangle clientArea) {
171 Rectangle imageBounds = mImage.getBounds();
183 Rectangle imageBounds = mImage.getBounds();
194 Rectangle rect = mImage.getBounds();
195 Rectangle client = getClientArea();
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DurationMinimap.java 36 import org.eclipse.swt.graphics.Rectangle;
213 Rectangle clientArea = getClientArea();
276 private void drawBackground(GC gc, Rectangle bounds) {
335 Rectangle bounds = mPositionHelper.getDurationBounds(
461 public Rectangle getDurationBounds(int callIndex, int context, long duration) {
473 return new Rectangle(x, y, w, h);
481 public Rectangle getBoundsFramingCalls(int startCallIndex, int endCallIndex) {
488 return new Rectangle(x, y, w, h);
490 return new Rectangle(0, 0, 0, 0);
523 Rectangle displayBounds = getBoundsFramingCalls(0, mCallCount)
    [all...]

Completed in 809 milliseconds

1 2 3 4 5 6