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

1 2 3 4 5 6 7 8

  /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...]
  /frameworks/native/cmds/surfacereplayer/replayer/trace_creator/
trace_creator.py 119 change.crop.rectangle.left, change.crop.rectangle.top, \
120 change.crop.rectangle.right, change.crop.rectangle.bottom = crop()
122 change.final_crop.rectangle.left, \
123 change.final_crop.rectangle.top, \
124 change.final_crop.rectangle.right,\
125 change.final_crop.rectangle.bottom = final_crop()
217 return rectangle()
220 return rectangle()
285 def rectangle(): function
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
ScrollToParentEditText.java 42 public boolean requestRectangleOnScreen(Rect rectangle, boolean immediate) {
50 return super.requestRectangleOnScreen(rectangle, immediate);
  /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...]
  /frameworks/support/compat/tests/java/android/support/v4/testutils/
TestUtils.java 98 * Checks whether the specified rectangle matches the specified left / top / right /
101 public static void assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle,
103 Assert.assertEquals(failMessagePrefix + " left", rectangle.left, left);
104 Assert.assertEquals(failMessagePrefix + " top", rectangle.top, top);
105 Assert.assertEquals(failMessagePrefix + " right", rectangle.right, right);
106 Assert.assertEquals(failMessagePrefix + " bottom", rectangle.bottom, bottom);
  /frameworks/support/core-ui/tests/java/android/support/v4/testutils/
TestUtils.java 97 * Checks whether the specified rectangle matches the specified left / top / right /
100 public static void assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle,
102 Assert.assertEquals(failMessagePrefix + " left", rectangle.left, left);
103 Assert.assertEquals(failMessagePrefix + " top", rectangle.top, top);
104 Assert.assertEquals(failMessagePrefix + " right", rectangle.right, right);
105 Assert.assertEquals(failMessagePrefix + " bottom", rectangle.bottom, bottom);
  /external/swiftshader/src/D3D8/
Direct3DSwapChain8.cpp 164 RECT rectangle; local
165 GetClientRect(windowHandle, &rectangle);
167 width = rectangle.right - rectangle.left;
168 height = rectangle.bottom - rectangle.top;
  /prebuilts/go/darwin-x86/doc/progs/
image_package2.go 14 // Dx and Dy return a rectangle's width and height.
image_package4.go 14 // Size returns a rectangle's width and height, as a Point.
  /prebuilts/go/linux-x86/doc/progs/
image_package2.go 14 // Dx and Dy return a rectangle's width and height.
image_package4.go 14 // Size returns a rectangle's width and height, as a Point.
  /external/autotest/client/cros/ui/
ui_test_base.py 180 def draw_image_mask(self, filepath, rectangle, fill='white'):
187 @param rectangle: tuple, the top left and bottom right coordinates
194 draw.rectangle(rectangle, fill=fill)
  /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...]
  /packages/apps/Camera2/src/com/android/camera/util/
Size.java 56 public static Size of(Rect rectangle) {
57 return new Size(rectangle.width(), rectangle.height());
  /external/swiftshader/src/D3D9/
Direct3DSwapChain9.cpp 343 RECT rectangle; local
344 GetClientRect(windowHandle, &rectangle);
346 presentParameters->BackBufferWidth = rectangle.right - rectangle.left;
347 presentParameters->BackBufferHeight = rectangle.bottom - rectangle.top;
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
VectorDrawableTests.java 37 R.drawable.rectangle, null);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
curses_tests.py 24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
  /external/python/cpython2/Lib/test/
curses_tests.py 24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
  /frameworks/native/cmds/surfacereplayer/replayer/
Replayer.cpp 476 cc.rectangle().left(), cc.rectangle().top(), cc.rectangle().right(),
477 cc.rectangle().bottom());
479 Rect r = Rect(cc.rectangle().left(), cc.rectangle().top(), cc.rectangle().right(),
480 cc.rectangle().bottom());
486 fcc.rectangle().left(), fcc.rectangle().top(), fcc.rectangle().right()
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
curses_tests.py 24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
curses_tests.py 24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
  /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)

Completed in 578 milliseconds

1 2 3 4 5 6 7 8