/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...] |
/external/clang/test/FixIt/ |
typo.c | 5 // RUN: grep "Rectangle" %t 10 struct Rectangle { 18 struct Rectangle bounds; // expected-note{{'bounds' declared here}} 24 topleft.x = 3.14, // expected-error{{field designator 'topleft' does not refer to any field in type 'struct Rectangle'; did you mean 'top_left'?}} 29 Rectangle r1; // expected-error{{must use 'struct' tag to refer to type 'Rectangle'}} 32 typedef struct Rectangle Rectangle; // expected-note{{'Rectangle' declared here}} 33 rectangle *r2 = &r1; // expected-error{{ unknown type name 'rectangle'; did you mean 'Rectangle'?} [all...] |
/frameworks/base/graphics/java/android/graphics/ |
RectF.java | 27 * RectF holds four float coordinates for a rectangle. The rectangle is 30 * the rectangle's width and height. Note: most methods do not check to see that 45 * Create a new rectangle with the specified coordinates. Note: no range 50 * @param top The Y coordinate of the top of the rectangle 52 * @param bottom The Y coordinate of the bottom of the rectangle 62 * Create a new rectangle, initialized with the values in the specified 63 * rectangle (which is left unmodified). 65 * @param r The rectangle whose coordinates are copied into the new 66 * rectangle [all...] |
Rect.java | 27 * Rect holds four integer coordinates for a rectangle. The rectangle is 30 * the rectangle's width and height. Note: most methods do not check to see that 48 * Create a new rectangle with the specified coordinates. Note: no range 53 * @param top The Y coordinate of the top of the rectangle 55 * @param bottom The Y coordinate of the bottom of the rectangle 65 * Create a new rectangle, initialized with the values in the specified 66 * rectangle (which is left unmodified). 68 * @param r The rectangle whose coordinates are copied into the new 69 * 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...] |
MarqueeGesture.java | 23 import org.eclipse.swt.graphics.Rectangle; 31 * A {@link MarqueeGesture} is a gesture for swiping out a selection rectangle. 32 * With a modifier key, items that intersect the rectangle can be toggled 93 * overlay rectangle matching the mouse coordinate delta between gesture 97 /** Rectangle border color. */ 100 /** Rectangle fill color. */ 103 /** Current rectangle coordinates (in terms of control coordinates). */ 104 private Rectangle mRectangle = new Rectangle(0, 0, 0, 0); 117 * Updates the size of the marquee rectangle [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
EffectKenBurns.java | 47 * @param startRect The start rectangle 48 * @param endRect The end rectangle 57 throw new IllegalArgumentException("Invalid Start rectangle"); 60 throw new IllegalArgumentException("Invalid End rectangle"); 69 * Get the start rectangle. 71 * @return The start rectangle 79 * Get the end rectangle. 81 * @return The end rectangle 88 * Get the KenBurn effect start and end rectangle coordinates 90 * rectangle coordinate [all...] |
/external/chromium/chrome/browser/userfeedback/proto/ |
math.proto | 18 // Axis-aligned rectangle in 2D space. 19 message Rectangle {
|
annotations.proto | 21 required Rectangle rectangle = 1;
|
/external/skia/include/core/ |
SkRect.h | 25 SkIRect holds four 32 bit integer coordinates for a rectangle 60 /** Return true if the rectangle's width or height are <= 0 64 /** Returns the rectangle's width. This does not check for a valid rectangle (i.e. left <= right) 69 /** Returns the rectangle's height. This does not check for a valid rectangle (i.e. top <= bottom) 87 /** Set the rectangle to (0,0,0,0) 110 * Make the largest representable rectangle 118 * Make the largest representable rectangle, but inverted (e.g. fLeft will 126 /** Offset set the rectangle by adding dx to its left and right [all...] |
/sdk/rule_api/src/com/android/ide/common/api/ |
Rect.java | 22 * Mutable rectangle bounds. 36 /** Initialize an invalid rectangle. */ 40 /** Initialize rectangle to the given values. They can be invalid. */ 45 /** Initialize rectangle to the given values. They can be invalid. */ 50 /** Initialize rectangle to the given values. They can be invalid. */ 59 /** Initialize rectangle to match the given one. */ 65 /** Returns a new instance of a rectangle with the same values. */ 70 /** Returns true if the rectangle has valid bounds, i.e. w>0 and h>0. */ 75 /** Returns true if the rectangle contains the x,y coordinates, borders included. */ 84 /** Returns true if the rectangle contains the x,y coordinates, borders included. * [all...] |
/system/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/proguard/src/proguard/gui/splash/ |
RectangleSprite.java | 26 * This Sprite represents an animated rounded rectangle. It can optionally be filled. 44 * @param filled specifies whether the rectangle should be filled. 45 * @param color the variable color of the rectangle. 46 * @param x the variable x-ordinate of the upper-left corner of the rectangle. 47 * @param y the variable y-ordinate of the upper-left corner of the rectangle. 48 * @param width the variable width of the rectangle. 49 * @param height the variable height of the rectangle. 64 * @param filled specifies whether the rectangle should be filled. 65 * @param color the variable color of the rectangle. 66 * @param x the variable x-ordinate of the upper-left corner of the rectangle [all...] |
/external/webkit/Source/WebCore/manual-tests/ |
transitions.html | 31 {className:"green", description:"instantly change into a rectangle and fade from yellow to green over 5 seconds"}, 33 {className:"square", description:"instantly change into a yellow rectangle and then animate into a big yellow square over 2 seconds"}, 34 {className:"green", description:"instantly change into a yellow rectangle and then animate to a green rectangle over 5 seconds"}, 36 {className:"green", description:"instantly change into a yellow rectangle and fade from yellow to green over 5 seconds"}, 37 {className:"square", description:"instantly change to a yellow rectangle and then animate into a large yellow square over 2 seconds"},
|
transitions2.html | 15 div.rectangle { 31 {className:"rectangle", description:"animate to a large rectangle over 5 seconds."}, 34 {className:"square", description:"instantly change into a small rectangle and then animate into a large square over 2 seconds"}, 35 {className:"rectangle", description:"animate to a large rectangle over 5 seconds"},
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RegionTest.java | 257 // Only one rectangle 262 // More than one rectangle 278 // This region not contains expected rectangle. 281 // This region contains only one rectangle and it is the expected one. 284 // This region contains more than one rectangle. 296 // This region not contains expected rectangle. 299 // This region contains only one rectangle and it is the expected one. 302 // This region contains more than one rectangle. 323 // union null rectangle 328 // 1. union rectangle inside this regio [all...] |
/cts/apps/CtsVerifier/res/drawable/ |
test_fail_gradient.xml | 1 <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
test_pass_gradient.xml | 1 <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
/sdk/assetstudio/src/com/android/assetstudiolib/ |
ActionBarIconGenerator.java | 24 import java.awt.Rectangle; 38 Rectangle iconSizeHdpi = new Rectangle(0, 0, 48, 48); 39 Rectangle targetRectHdpi = new Rectangle(6, 6, 36, 36); 41 Rectangle imageRect = Util.scaleRectangle(iconSizeHdpi, scaleFactor); 42 Rectangle targetRect = Util.scaleRectangle(targetRectHdpi, scaleFactor);
|
MenuIconGenerator.java | 26 import java.awt.Rectangle; 39 Rectangle imageSizeHdpi = new Rectangle(0, 0, 72, 72); 40 Rectangle targetRectHdpi = new Rectangle(12, 12, 48, 48); 42 Rectangle imageRect = Util.scaleRectangle(imageSizeHdpi, scaleFactor); 43 Rectangle targetRect = Util.scaleRectangle(targetRectHdpi, scaleFactor);
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyRect.java | 41 @MonkeyRunnerExported(doc = "The x coordinate of the left side of the rectangle") 43 @MonkeyRunnerExported(doc = "The y coordinate of the top side of the rectangle") 45 @MonkeyRunnerExported(doc = "The x coordinate of the right side of the rectangle") 47 @MonkeyRunnerExported(doc = "The y coordinate of the bottom side of the rectangle") 62 @MonkeyRunnerExported(doc = "Returns the width of the rectangle", 63 returns = "The width of the rectangle as an integer") 68 @MonkeyRunnerExported(doc = "Returns the height of the rectangle", 69 returns = "The height of the rectangle as an integer") 75 "the center of the rectangle",
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
PixelDumpSupportGtk.cpp | 63 GdkRectangle rectangle; local 64 DumpRenderTreeSupportGtk::rectangleForSelection(mainFrame, &rectangle); 67 cairo_rectangle(context, rectangle.x, rectangle.y, rectangle.width, rectangle.height);
|
/development/samples/WiFiDirectDemo/res/drawable/ |
details_view.xml | 4 android:shape="rectangle">
|
section_header.xml | 4 android:shape="rectangle">
|
/external/skia/gpu/include/ |
GrTexture.h | 95 * Reads a rectangle of pixels from the render target. 96 * @param left left edge of the rectangle to read (inclusive) 97 * @param top top edge of the rectangle to read (inclusive) 98 * @param width width of rectangle to read in pixels. 99 * @param height height of rectangle to read in pixels. 101 * @param buffer memory to read the rectangle into. 204 * @param x left edge of rectangle to update 205 * @param y top edge of rectangle to update 206 * @param width width of rectangle to update 207 * @param height height of rectangle to updat [all...] |