HomeSort by relevance Sort by last modified time
    Searched full:rect (Results 1 - 25 of 4154) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/graphics/src/android/graphics/cts/
RegionIteratorTest.java 19 import android.graphics.Rect;
33 Rect rect = new Rect(); local
34 rect.set(1, 1, 1, 1);
41 assertTrue(regionIterator.next(rect));
42 assertEquals(1, rect.left);
43 assertEquals(1, rect.top);
44 assertEquals(10, rect.right);
45 assertEquals(10, rect.bottom)
    [all...]
RectTest.java 19 import android.graphics.Rect;
24 private Rect mRect;
35 // new the Rect instance
36 mRect = new Rect();
39 // new the Rect instance
40 mRect = new Rect(10, 10, 20, 20);
43 Rect rect = new Rect(10, 10, 20, 20); local
44 // new the Rect instanc
62 Rect rect = new Rect(1, 2, 3, 4); local
194 Rect rect; local
306 Rect rect; local
354 Rect rect; local
423 Rect rect = new Rect(1, 2, 3, 4); local
489 Rect rect; local
509 Rect rect = Rect.unflattenFromString(flattenString); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
NinePatchedImageTest.java 229 Rectangle rect = null; local
233 rect = c.rect;
235 assertEquals(1, rect.x);
236 assertEquals(1, rect.y);
237 assertEquals(1, rect.width);
238 assertEquals(1, rect.height);
241 rect = c.rect;
243 assertEquals(2, rect.x)
334 Rectangle rect = null; local
796 Rectangle rect = null; local
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
RectTest.java 3 import android.graphics.Rect;
20 Rect r = new Rect(1, 2, 3, 4);
29 Rect existingRect = new Rect(1, 2, 3, 4);
30 Rect r = new Rect(existingRect);
40 Rect r = new Rect(0, 0, 10, 10);
46 Rect r = new Rect(0, 0, 10, 10)
    [all...]
  /sdk/testapps/basicProjectWithAidl/src/com/android/tests/basicprojectwithaidl/
Rect.aidl 3 // Declare Rect so AIDL can find it and knows that it implements
5 parcelable Rect
ITest.aidl 4 Rect getRect();
Rect.java 6 public class Rect implements Parcelable {
12 public static final Parcelable.Creator<Rect> CREATOR = new Parcelable.Creator<Rect>() {
13 public Rect createFromParcel(Parcel in) {
14 return new Rect(in);
17 public Rect[] newArray(int size) {
18 return new Rect[size];
22 public Rect() {
25 private Rect(Parcel in) {
  /external/v8/test/mjsunit/tools/
profviz-test.default 6 "set style rect fs solid 1 noborder",
12 "set object 1 rect from 87.51699999999991, 7 to 87.60371656249991, 3 fc rgb \"#9944CC\"",
13 "set object 2 rect from 110.7114999999999, 7 to 110.7982165624999, 3 fc rgb \"#9944CC\"",
14 "set object 3 rect from 133.5129999999999, 7 to 133.59971656249988, 3 fc rgb \"#9944CC\"",
15 "set object 4 rect from 61.49249999999995, 7 to 61.57921656249995, 5.020618556701031 fc rgb \"#9944CC\"",
16 "set object 5 rect from 101.40849999999992, 7 to 101.49521656249992, 5.103092783505154 fc rgb \"#9944CC\"",
17 "set object 6 rect from 57.242999999999974, 7 to 57.329716562499975, 6.766323024054983 fc rgb \"#9944CC\"",
18 "set object 7 rect from 58.751499999999965, 7 to 58.838216562499966, 6.766323024054983 fc rgb \"#9944CC\"",
19 "set object 8 rect from 60.72499999999996, 7 to 60.81171656249996, 6.766323024054983 fc rgb \"#9944CC\"",
21 "set object 9 rect from 42.11000000000001, 12.83 to 42.28050000000001, 12.17 fc rgb \"#000000\""
    [all...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/imagepacker/
ImagePacker.java 69 public Rectangle rect; field in class:ImagePacker.Node
73 this.rect = new Rectangle(x, y, width, height);
80 rect = new Rectangle();
121 Rectangle rect = new Rectangle(0, 0, image.getWidth() + borderPixels, image.getHeight() + borderPixels); local
122 Node node = insert(root, rect);
127 rect = new Rectangle(node.rect);
128 rect.width -= borderPixels;
129 rect.height -= borderPixels;
131 rect.x += borderPixels;
    [all...]
  /external/opencv3/modules/core/misc/java/test/
RectTest.java 4 import org.opencv.core.Rect;
10 private Rect r;
11 private Rect rect; field in class:RectTest
17 r = new Rect();
18 rect = new Rect(0, 0, 10, 10);
23 area = rect.area();
29 p_br = rect.br();
35 r = rect.clone()
40 Rect rect = new Rect(0, 0, 10, 10); local
    [all...]
  /frameworks/base/core/java/android/view/
FocusFinderHelper.java 19 import android.graphics.Rect;
36 public boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) {
40 public boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) {
44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) {
48 public boolean beamsOverlap(int direction, Rect rect1, Rect rect2)
    [all...]
  /external/lzma/CPP/Windows/Control/
Dialog.cpp 81 static bool GetWorkAreaRect(RECT *rect)
84 return BOOLToBool(::SystemParametersInfo(SPI_GETWORKAREA, 0, rect, 0));
94 RECT rect; local
95 GetWorkAreaRect(&rect);
96 int wx = RECT_SIZE_X(rect);
97 int wy = RECT_SIZE_Y(rect);
107 RECT rect; local
121 RECT rect; local
133 RECT rect; local
143 ::GetWindowRect(GetItem(id), &rect); local
158 RECT rect; local
186 RECT workRect, rect; local
    [all...]
  /prebuilts/misc/windows/sdl2/test/
testnativecocoa.m 21 NSRect rect;
26 rect.origin.x = 0;
27 rect.origin.y = 0;
28 rect.size.width = w;
29 rect.size.height = h;
30 rect.origin.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - rect.origin.y - rect.size.height;
34 nswindow = [[NSWindow alloc] initWithContentRect:rect styleMask:style backing:NSBackingStoreBuffered defer:FALSE];
  /frameworks/base/core/tests/coretests/src/android/view/
FocusFinderTest.java 19 import android.graphics.Rect;
42 new Rect(0, 30, 10, 40), // src (left, top, right, bottom)
43 new Rect(0, 50, 10, 60)); // dest (left, top, right, bottom)
48 final Rect src = new Rect(0, 30, 10, 40);
50 final Rect dest = new Rect(src);
62 new Rect(0, 0, 50, 50),
63 new Rect(0, 1, 50, 49));
71 new Rect(0, 0, 50, 50)
100 final Rect rect = new Rect(0, 0, 20, 20); local
    [all...]
  /external/chromium-trace/catapult/tracing/tracing/base/
rect.html 18 function Rect() {
24 Rect.fromXYWH = function(x, y, w, h) {
25 var rect = new Rect();
26 rect.x = x;
27 rect.y = y;
28 rect.width = w;
29 rect.height = h;
30 return rect;
32 Rect.fromArray = function(ary)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/
RectTest.java 29 Rect r = new Rect();
37 Rect r = new Rect(1, 2, 3, 4);
45 Rect r = new Rect(1, 2, 3, 4);
46 Rect r2 = new Rect(r);
53 Rect r = new Rect(1, 2, 3, 4)
    [all...]
  /external/skia/src/gpu/batches/
GrRectBatchFactory.h 29 const SkRect& rect,
33 return GrNonAAFillRectBatch::CreateWithPerspective(color, viewMatrix, rect, localRect,
36 return GrNonAAFillRectBatch::Create(color, viewMatrix, rect, localRect, localMatrix);
42 const SkRect& rect,
44 return GrAAFillRectBatch::Create(color, viewMatrix, rect, devRect);
50 const SkRect& rect,
52 return GrAAFillRectBatch::Create(color, viewMatrix, localMatrix, rect, devRect);
57 const SkRect& rect,
60 return GrNonAAStrokeRectBatch::Create(color, viewMatrix, rect, strokeWidth, snapToPixelCenters);
65 const SkRect& rect,
    [all...]
  /frameworks/base/libs/hwui/tests/unit/
SnapshotTests.cpp 26 auto actualRoot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(0, 0, 100, 100));
27 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90));
28 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90));
33 ClipRect rect(Rect(0, 0, 75, 75));
36 &rect, Matrix4::identity());
38 EXPECT_EQ(Rect(50, 50, 75, 75), intersectWithChild->rect) << "Expect intersect with child";
41 rect.intersectWithRoot = true;
44 &rect, Matrix4::identity())
    [all...]
  /frameworks/support/design/src/android/support/design/widget/
ViewGroupUtils.java 19 import android.graphics.Rect;
27 void offsetDescendantRect(ViewGroup parent, View child, Rect rect);
32 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) {
33 parent.offsetDescendantRectToMyCoords(child, rect);
35 // We need to reverse it here so that we get the rect of the view itself rather
37 rect.offset(child.getScrollX(), child.getScrollY());
43 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) {
    [all...]
  /external/opencv3/data/hogcascades/
hogcascade_pedestrians.xml     [all...]
  /external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/
box-handler.js 3 assert.deepEqual(webAnimations1.parseBox(' rect(0px, 20px, 20px, 0px) '), [{px: 0}, {px: 20}, {px: 20}, {px: 0}]);
4 assert.deepEqual(webAnimations1.parseBox('rect(0px, 20px, 20px, 0px)'), [{px: 0}, {px: 20}, {px: 20}, {px: 0}]);
5 assert.deepEqual(webAnimations1.parseBox('rect(0px, 20px, 20px, 0)'), [{px: 0}, {px: 20}, {px: 20}, {px: 0}]);
6 assert.deepEqual(webAnimations1.parseBox('rect(10px, 100%, 500px, 10%)'), [{px: 10}, {'%': 100}, {px: 500}, {'%': 10}]);
7 assert.deepEqual(webAnimations1.parseBox('rect(10%, 100%, 500%, 10%)'), [{'%': 10}, {'%': 100}, {'%': 500}, {'%': 10}]);
8 assert.deepEqual(webAnimations1.parseBox('rect(0px, calc(10px*3), 20px, 0%)'), [{px: 0}, {px: 30}, {px: 20}, {'%': 0}]);
9 assert.deepEqual(webAnimations1.parseBox('rect(0px, 0%, 20px, calc(10px*3))'), [{px: 0}, {'%': 0}, {px: 20}, {px: 30}]);
10 assert.deepEqual(webAnimations1.parseBox('rect(0px, 0%, 20px, calc((10px) + (3px)))'), [{px: 0}, {'%': 0}, {px: 20}, {px: 13}]);
11 assert.deepEqual(webAnimations1.parseBox('rect(calc(10px + 5em), calc(10px + 5em), calc(10px + 5em), calc(10px + 5em))'),
15 assert.isUndefined(webAnimations1.parseBox('rect(0, 20, 20, 0)'))
    [all...]
  /external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/blink/interpolation/
clip-interpolation.html 31 from: 'rect(0px, 75px, 80px, 10px)',
32 to: 'rect(0px, 100px, 90px, 5px)'
34 {at: -1, is: 'rect(0px, 50px, 70px, 15px)'},
35 {at: 0, is: 'rect(0px, 75px, 80px, 10px)'},
36 {at: 0.25, is: 'rect(0px, 81.25px, 82.5px, 8.75px)'},
37 {at: 0.75, is: 'rect(0px, 93.75px, 87.5px, 6.25px)'},
38 {at: 1, is: 'rect(0px, 100px, 90px, 5px)'},
39 {at: 2, is: 'rect(0px, 125px, 100px, 0px)'},
44 from: 'rect(auto, auto, auto, 10px)',
45 to: 'rect(20px, 50px, 50px, auto)
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
gesture_common.js 32 var rect = getBoundingRect(el);
33 if (rect.top < 0) {
34 rect.height += rect.top;
35 rect.top = 0;
37 if (rect.left < 0) {
38 rect.width += rect.left;
39 rect.left = 0;
52 var outsideHeight = (rect.top + rect.height) - visualViewportHeight
    [all...]
  /external/libxml2/result/SVG/
4rects.xml 6 <rect width="20" height="60"/>
7 <rect width="30" height="70"/>
8 <rect width="40" height="80"/>
9 <rect width="50" height="90"/>
  /external/libxml2/test/SVG/
4rects.xml 7 <rect width="20" height="60"/>
8 <rect width="30" height="70"/>
9 <rect width="40" height="80"/>
10 <rect width="50" height="90"/>

Completed in 889 milliseconds

1 2 3 4 5 6 7 8 91011>>