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

1 2 3 4

  /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/third_party/WebKit/Source/core/rendering/shapes/
Shape.cpp 115 const BasicShapeRectangle* rectangle = static_cast<const BasicShapeRectangle*>(basicShape); local
117 floatValueForLength(rectangle->x(), boxWidth),
118 floatValueForLength(rectangle->y(), boxHeight),
119 floatValueForLength(rectangle->width(), boxWidth),
120 floatValueForLength(rectangle->height(), boxHeight));
122 floatValueForLength(rectangle->cornerRadiusX(), boxWidth),
123 floatValueForLength(rectangle->cornerRadiusY(), boxHeight));
172 const BasicShapeInsetRectangle* rectangle = static_cast<const BasicShapeInsetRectangle*>(basicShape); local
173 float left = floatValueForLength(rectangle->left(), boxWidth);
174 float top = floatValueForLength(rectangle->top(), boxHeight)
    [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 43 GdkRectangle bounds = rectangle();
54 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 46 const BasicShapeRectangle* rectangle = static_cast<const BasicShapeRectangle*>(basicShape); local
49 rectangleValue->setX(cssValuePool().createValue(rectangle->x()));
50 rectangleValue->setY(cssValuePool().createValue(rectangle->y()));
51 rectangleValue->setWidth(cssValuePool().createValue(rectangle->width()));
52 rectangleValue->setHeight(cssValuePool().createValue(rectangle->height()));
53 rectangleValue->setRadiusX(cssValuePool().createValue(rectangle->cornerRadiusX()));
54 rectangleValue->setRadiusY(cssValuePool().createValue(rectangle->cornerRadiusY()));
95 const BasicShapeInsetRectangle* rectangle = static_cast<const BasicShapeInsetRectangle*>(basicShape); local
98 rectangleValue->setTop(cssValuePool().createValue(rectangle->top()));
99 rectangleValue->setRight(cssValuePool().createValue(rectangle->right()))
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/system_display/
display_info_provider_chromeos.cc 129 // Created ash::DisplayLayout value for |rectangle| compared to the |reference|
130 // rectangle.
132 // - position: Whether the rectangle is positioned left, right, over or under
134 // - offset: The rectangle's offset from the reference origin along the axis
135 // opposite the position direction (if the rectangle is left or right along
137 // The rectangle's position is calculated by dividing the space in areas defined
138 // by the |reference|'s diagonals and finding the area |rectangle|'s center
139 // point belongs. If the |rectangle| in the calculated layout does not share a
140 // part of the bounds with the |reference|, the |rectangle| position in set to
141 // 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);
128 public int rectangle(int x, int y); method in interface:Shapes
138 public int rectangle(int x, int y); method in interface:Quads
174 public int rectangle(int x, int y) { method in class:Mix
175 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" +
  /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...]
  /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...]
  /external/chromium_org/chrome/browser/resources/file_manager/js/image_editor/
image_util.js 79 * Rectangle class.
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.
193 * @param {Rect} rect Rectangle to check.
204 * @param {Rect} rect Rectangle to check.
215 * @return {boolean} True if rectangle is empty.
222 * Clamp the rectangle to the bounds by moving it
    [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)
  /prebuilts/python/linux-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)

Completed in 7644 milliseconds

1 2 3 4