/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/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/chromium/chrome/browser/ui/ |
window_sizer_unittest.cc | 12 static const gfx::Rect tentwentyfour(0, 0, 1024, 768); 13 static const gfx::Rect twelveeighty(0, 0, 1280, 1024); 14 static const gfx::Rect sixteenhundred(0, 0, 1600, 1200); 15 static const gfx::Rect sixteeneighty(0, 0, 1680, 1050); 16 static const gfx::Rect nineteentwenty(0, 0, 1920, 1200); 20 static const gfx::Rect left_nonprimary(-1024, 0, 1024, 768); 24 static const gfx::Rect right_nonprimary(1024, 0, 1024, 768); 28 static const gfx::Rect top_nonprimary(0, -768, 1024, 768); 32 static const gfx::Rect bottom_nonprimary(0, 768, 1024, 768); 35 static const gfx::Rect taskbar_bottom_work_area(0, 0, 1024, 734) [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
Path.cpp | 112 void Path::addRoundedRect(const FloatRect& rect, const FloatSize& roundingRadii) 114 if (rect.isEmpty()) 118 FloatSize halfSize(rect.width() / 2, rect.height() / 2); 130 moveTo(FloatPoint(rect.x() + radius.width(), rect.y())); 133 addLineTo(FloatPoint(rect.x() + rect.width() - roundingRadii.width(), rect.y())); 135 addBezierCurveTo(FloatPoint(rect.x() + rect.width() - radius.width() * gCircleControlPoint, rect.y()), FloatPoint(rect.x() + rect.w (…) [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...] |
/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...] |
/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/skia/src/images/ |
SkBitmapRegionDecoder.cpp | 3 bool SkBitmapRegionDecoder::decodeRegion(SkBitmap* bitmap, SkIRect rect, 6 return fDecoder->decodeRegion(bitmap, rect, pref);
|
/external/webkit/Source/WebCore/manual-tests/animation/ |
set-to.svg | 2 <rect width='100' height='100' fill='red' /> 3 <rect x='-100' width='100' height='100' fill='red'> 6 </rect> 8 There should be a 100x100 green rect at 0,0.
|
animateColor-by.svg | 2 <rect width='100' height='100' fill='black'> 4 </rect> 5 <text x='10' y='120'>The rect should animate from black to green over 3 seconds</text>
|
animateColor-from-by.svg | 2 <rect width='100' height='100'> 4 </rect> 5 <text x='10' y='120'>The rect should animate from red to purple over 3 seconds</text>
|
animateColor-repeat-indefinite.svg | 2 <rect width='100' height='100'> 4 </rect> 5 <text x='10' y='120'>The rect should animate from blue to green over 2 seconds, repeatedly.</text>
|
animateColor-to-from.svg | 2 <rect width='100' height='100'> 4 </rect> 5 <text x='10' y='120'>The rect should animate from blue to green over 3 seconds</text>
|
animateColor-to.svg | 2 <rect width='100' height='100' fill='blue'> 4 </rect> 5 <text x='10' y='120'>The rect should animate from blue to green over 3 seconds</text>
|
animateColor-values-simple.svg | 2 <rect width='100' height='100'> 4 </rect> 5 <text x='10' y='120'>The rect should animate from blue to green over 3 seconds</text>
|
animateMotion-to.svg | 2 <rect width='100' height='100'> 4 </rect> 6 The rect should from 0,0 to 100,0 over 3 seconds.
|
animateTransform-repeat-once.svg | 2 <rect fill='blue' width='100' height='100'> 4 </rect> 6 The rect should from 0,0 to 100,0 over 2 seconds, twice.
|
/cts/tests/tests/webkitsecurity/assets/ |
use-style-recalc-script-execute-crash.html | 3 Test passes if it does not crash and "script" inside "rect" executes.
11 <rect id="test">
15 </rect>
|
click-size-zero-no-crash.html | 6 var rect = element.getBoundingClientRect(); 7 return { x : parseInt((rect.left + rect.right) / 2) , y : parseInt((rect.top + rect.bottom) / 2)};
|
resource-invalidation-crash.svg | 6 <rect fill="url(#a)"/> 11 <rect fill="url(#a)"/> 15 <rect fill="url(#a)"/>
|
/external/skia/tests/ |
RegionTest.cpp | 12 static void rand_rect(SkIRect* rect, SkRandom& rand) { 15 rect->set(rand.nextU() >> shift, rand.nextU() >> shift, 17 rect->sort(); 20 static bool test_rects(const SkIRect rect[], int count) { 24 rgn0.op(rect[i], SkRegion::kUnion_Op); 26 rgn1.setRects(rect, count); 32 rect[i].fLeft, rect[i].fTop, 33 rect[i].fRight, rect[i].fBottom) 61 SkIRect rect[N]; local [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
image_utils_unittest.mm | 33 - (id)initWithFrame:(NSRect)rect { 34 self = [super initWithFrame:rect]; 36 rect = NSInsetRect(rect, 5.0, 5.0); 37 rect.origin = NSZeroPoint; 38 const NSSize imageSize = NSInsetRect(rect, 5.0, 5.0).size; 42 [path moveToPoint:NSMakePoint(NSMinX(rect), NSMinY(rect))]; 43 [path lineToPoint:NSMakePoint(NSMinX(rect), NSMaxY(rect))]; [all...] |