/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...] |
/frameworks/base/graphics/java/android/graphics/ |
YuvImage.java | 27 * To compress a rectangle region in the YUV data, users have to specify the 109 * Compress a rectangle region in the YuvImage to a jpeg. 113 * @param rectangle The rectangle region to be compressed. The medthod checks if rectangle is 114 * inside the image. Also, the method modifies rectangle if the chroma pixels 120 * @throws IllegalArgumentException if rectangle is invalid; quality is not within [0, 123 public boolean compressToJpeg(Rect rectangle, int quality, OutputStream stream) { 125 if (!wholeImage.contains(rectangle)) { 127 "rectangle is not inside the image") [all...] |
/external/chromium_org/ui/gfx/ |
canvas_paint_mac.h | 39 const NSRect& rectangle() const { function in class:gfx::CanvasSkiaPaint
|
canvas_paint_gtk.h | 40 GdkRectangle rectangle() const { function in class:gfx::CanvasSkiaPaint
|
canvas_paint_gtk.cc | 45 GdkRectangle bounds = rectangle(); 56 GdkRectangle bounds = rectangle();
|
/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/chromium_org/third_party/WebKit/Source/core/css/ |
BasicShapeFunctions.cpp | 49 const BasicShapeRectangle* rectangle = static_cast<const BasicShapeRectangle*>(basicShape); local 52 rectangleValue->setX(pool.createValue(rectangle->x(), style)); 53 rectangleValue->setY(pool.createValue(rectangle->y(), style)); 54 rectangleValue->setWidth(pool.createValue(rectangle->width(), style)); 55 rectangleValue->setHeight(pool.createValue(rectangle->height(), style)); 56 rectangleValue->setRadiusX(pool.createValue(rectangle->cornerRadiusX(), style)); 57 rectangleValue->setRadiusY(pool.createValue(rectangle->cornerRadiusY(), style)); 98 const BasicShapeInsetRectangle* rectangle = static_cast<const BasicShapeInsetRectangle*>(basicShape); local 101 rectangleValue->setTop(cssValuePool().createValue(rectangle->top())); 102 rectangleValue->setRight(cssValuePool().createValue(rectangle->right())) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
Shape.cpp | 125 const BasicShapeRectangle* rectangle = static_cast<const BasicShapeRectangle*>(basicShape); local 127 floatValueForLength(rectangle->x(), boxWidth), 128 floatValueForLength(rectangle->y(), boxHeight), 129 floatValueForLength(rectangle->width(), boxWidth), 130 floatValueForLength(rectangle->height(), boxHeight)); 132 floatValueForLength(rectangle->cornerRadiusX(), boxWidth), 133 floatValueForLength(rectangle->cornerRadiusY(), boxHeight)); 186 const BasicShapeInsetRectangle* rectangle = static_cast<const BasicShapeInsetRectangle*>(basicShape); local 187 float left = floatValueForLength(rectangle->left(), boxWidth); 188 float top = floatValueForLength(rectangle->top(), boxHeight) [all...] |
/external/chromium_org/chrome/browser/extensions/api/system_display/ |
display_info_provider_chromeos.cc | 72 // Created ash::DisplayLayout value for |rectangle| compared to the |reference| 73 // rectangle. 75 // - position: Whether the rectangle is positioned left, right, over or under 77 // - offset: The rectangle's offset from the reference origin along the axis 78 // opposite the position direction (if the rectangle is left or right along 80 // The rectangle's position is calculated by dividing the space in areas defined 81 // by the |reference|'s diagonals and finding the area |rectangle|'s center 82 // point belongs. If the |rectangle| in the calculated layout does not share a 83 // part of the bounds with the |reference|, the |rectangle| position in set to 84 // the more suitable neighboring position (e.g. if |rectangle| is completel [all...] |
/art/test/044-proxy/src/ |
BasicTest.java | 44 shapes.rectangle(10, 20); 47 quads.rectangle(15, 25); 130 public int rectangle(int x, int y); method in interface:Shapes 140 public int rectangle(int x, int y); method in interface:Quads 180 public int rectangle(int x, int y) { method in class:Mix 181 System.out.println("--- rectangle " + x + "," + y);
|
/dalvik/tests/044-proxy/src/ |
BasicTest.java | 43 shapes.rectangle(10, 20); 46 quads.rectangle(15, 25); 118 public int rectangle(int x, int y); method in interface:Shapes 128 public int rectangle(int x, int y); method in interface:Quads 164 public int rectangle(int x, int y) { method in class:Mix 165 System.out.println("--- rectangle " + x + "," + y);
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
inject_app_titlebar.js | 13 "-webkit-widget-region: region(control rectangle); }\n" + 18 "button { -webkit-widget-region: region(control rectangle); }\n" +
|
/external/chromium_org/tools/perf/metrics/ |
speedindex.py | 253 events cover the same rectangle, and whether it's a full-window paint event. 255 each rectangle has a certain number of points and these points are 256 distributed amongst the paint events that paint that rectangle. 269 def ClippedArea(rectangle): 270 """Returns rectangle area clipped to viewport size.""" 271 _, x0, y0, x1, y1 = rectangle 279 for rectangle, events in grouped.items(): 280 # The area points for each rectangle are divided up among the paint 281 # events in that rectangle. 282 area = ClippedArea(rectangle) [all...] |
/frameworks/base/core/java/android/view/ |
ViewParent.java | 70 * rectangle must be invalidated in the parent. If the specified rectangle 122 * <p>Returns the clipped visible part of the rectangle <code>r</code>, defined in the 126 * <p>The resulting rectangle is always axis aligned. If a rotation is applied to a node in the 127 * View hierarchy, the result is the axis-aligned bounding box of the visible rectangle.</p> 130 * @param r The input rectangle, defined in the child coordinate system. Will be overwritten to 131 * contain the resulting visible rectangle, expressed in global (root) coordinates 136 * @return true if the resulting rectangle is not empty, false otherwise 228 * Called when a child of this group wants a particular rectangle to be 233 * <li>rectangle will be in the child's coordinates</li [all...] |
IWindowSession.aidl | 189 * Notifies that a rectangle on the screen has been requested. 191 void onRectangleOnScreenRequested(IBinder token, in Rect rectangle, boolean immediate);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
curses_tests.py | 24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
curses_tests.py | 24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
|
/external/chromium_org/native_client_sdk/src/examples/api/var_array_buffer/ |
example.js | 22 // Handle a file being dropped on to the plugin's rectangle.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureFloatingPreviewText.java | 152 final RectF rectangle = mGesturePreviewRectangle; local 167 rectangle.set(rectX, rectY, rectX + rectWidth, rectY + rectHeight);
|
/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...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/ |
image_util.js | 79 * Rectangle class. 83 * Rectangle constructor takes 0, 1, 2 or 4 arguments. 90 * new Rect() // empty rectangle. 144 * @return {Rect} A rectangle with every dimension scaled. 157 * @return {Rect} A rectangle shifted by (dx,dy), same size. 166 * @return {Rect} A rectangle with left==x and top==y, same size. 175 * @return {Rect} A rectangle inflated by (dx, dy), same center. 185 * @return {boolean} True if the point lies inside the rectangle. 193 * @param {Rect} rect Rectangle to check. 194 * @return {boolean} True if this rectangle intersects with the |rect| [all...] |
/frameworks/native/opengl/tests/hwc/ |
hwcRects.cpp | 48 * # White YV12 rectangle, with overlapping turquoise 49 * # RGBA8888 rectangle at 30%% (alpha: 0.7) transparency 68 * of the graphic format and then the display frame rectangle where 69 * the frame will be displayed. The display frame rectangle is 144 class Rectangle { 146 Rectangle() : format(defaultFormat), transform(defaultTransform), 165 list<Rectangle> rectangle; variable 174 static Rectangle parseRect(string rectStr); 251 // Parse rectangle description [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
DisplayMagnifier.java | 102 public void onRectangleOnScreenRequestedLocked(Rect rectangle, boolean immediate) { 104 Slog.i(LOG_TAG, "Rectangle on screen requested: " + rectangle); 111 if (magnifiedRegionBounds.contains(rectangle)) { 115 args.argi1 = rectangle.left; 116 args.argi2 = rectangle.top; 117 args.argi3 = rectangle.right; 118 args.argi4 = rectangle.bottom; 621 // Empty dirty rectangle means unspecified.
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeWindowSession.java | 200 public void onRectangleOnScreenRequested(IBinder window, Rect rectangle, boolean immediate) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/curses/ |
textpad.py | 6 def rectangle(win, uly, ulx, lry, lrx): function 7 """Draw a rectangle with corners at the provided upper-left 183 rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
|