/frameworks/base/core/tests/coretests/src/android/view/ |
FocusFinderTest.java | 110 final Rect rect1 = new Rect(0, 0, 20, 20); local 111 final Rect rect2 = new Rect(rect1); 114 rect2.offset(0, rect1.height() - 1); 115 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); 116 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); 120 assertBeamsOverlap(View.FOCUS_LEFT, rect1, rect2); 121 assertBeamsOverlap(View.FOCUS_RIGHT, rect1, rect2); 125 assertBeamsDontOverlap(View.FOCUS_LEFT, rect1, rect2); 126 assertBeamsDontOverlap(View.FOCUS_RIGHT, rect1, rect2); 129 rect2.set(rect1); 147 final Rect rect1 = new Rect(0, 0, 20, 20); local [all...] |
/frameworks/base/core/java/android/view/ |
FocusFinderHelper.java | 36 public boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { 37 return mFocusFinder.isBetterCandidate(direction, source, rect1, rect2); 40 public boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { 41 return mFocusFinder.beamBeats(direction, source, rect1, rect2); 48 public boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { 49 return mFocusFinder.beamsOverlap(direction, rect1, rect2);
|
FocusFinder.java | 306 * Is rect1 a better candidate than rect2 for a focus search in a particular 311 * @param rect1 The candidate rectangle 315 boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { 319 if (!isCandidate(source, rect1, direction)) { 323 // we know that rect1 is a candidate.. if rect2 is not a candidate, 324 // rect1 is better 329 // if rect1 is better by beam, it wins 330 if (beamBeats(direction, source, rect1, rect2)) { 334 // if rect2 is better, then rect1 cant' be :) 335 if (beamBeats(direction, source, rect2, rect1)) { [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RegionTest.java | 218 Rect rect1 = new Rect(); local 230 assertTrue(mRegion.union(rect1)); 313 Rect rect1 = new Rect(1, 2, 3, 4); local 314 mRegion = new Region(rect1); 315 assertTrue(mRegion.getBounds(rect1)); 324 Rect rect1 = new Rect(); local 330 assertNullRegionOp1(rect1); 331 assertDifferenceOp1(rect1, rect2, rect3, rect4, rect5); 332 assertIntersectOp1(rect1, rect2, rect3, rect4, rect5); 333 assertUnionOp1(rect1, rect2, rect3, rect4, rect5) 989 Rect rect1 = new Rect(); local 1473 Rect rect1 = new Rect(0, 0, 20, 20); local 1484 Rect rect1 = new Rect(0, 0, 20, 20); local 1526 Rect rect1 = new Rect(); local [all...] |
RectTest.java | 91 Rect rect1; local 94 rect1 = new Rect(0, 0, 10, 10); 96 assertTrue(Rect.intersects(rect1, rect2)); 98 rect1 = new Rect(0, 0, 10, 10); 100 assertFalse(Rect.intersects(rect1, rect2)); 122 Rect rect1 = new Rect(0, 0, 10, 10); local 127 assertTrue(mRect.setIntersect(rect1, rect2)); 135 assertTrue(mRect.setIntersect(rect1, rect2)); 145 // Both rect1 and rect2 are not empty. 175 // rect1 is empty, update to rect2 [all...] |
BitmapRegionDecoderTest.java | 289 Rect rect1 = new Rect(i * TILE_SIZE, j * TILE_SIZE, local 291 rect1.intersect(rect); 292 actual = decoder.decodeRegion(rect1, opts); 293 int left = rect1.left / opts.inSampleSize; 294 int top = rect1.top / opts.inSampleSize;
|
YuvImageTest.java | 254 // Compress rect1 in testBitmap and rect2 in image. 257 Rect rect1, Rect rect2) { 260 boolean sameRect = rect1.equals(rect2) ? true : false; 265 Rect expectedRect = sameRect ? actualRect : rect1;
|
/external/chromium/chrome/browser/chromeos/frame/ |
bubble_window.cc | 66 GdkRectangle rect1 = {border_radius, 0, w - 2 * border_radius, h}; local 68 gdk_region_union_with_rect(region, &rect1);
|
/external/opencv/cv/src/ |
cvgeometry.cpp | 45 cvMaxRect( const CvRect* rect1, const CvRect* rect2 ) 47 if( rect1 && rect2 ) 52 max_rect.x = a = rect1->x; 57 max_rect.width = a += rect1->width; 64 max_rect.y = a = rect1->y; 69 max_rect.height = a += rect1->height; 77 else if( rect1 ) 78 return *rect1;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTest.java | 73 Rect rect1 = mockDrawable.copyBounds(); local 76 assertEquals(0, rect1.bottom); 77 assertEquals(0, rect1.left); 78 assertEquals(0, rect1.right); 79 assertEquals(0, rect1.top);
|
/external/qemu/android/skin/ |
region.c | 1249 SkinRect rect1, rect2; local 1254 skin_region_get_bounds( r, &rect1 ); 1256 if ( !skin_rect_equals( &rect1, &rect2 ) ) { 1258 rect1.pos.x, rect1.pos.y, 1259 rect1.pos.x + rect1.size.w, rect1.pos.y + rect1.size.h, [all...] |
/external/chromium/chrome/browser/ui/views/ |
about_chrome_view.cc | 451 gfx::Rect* rect1 = chromium_url_appears_first_ ? local 462 main_label_chunk1_, link1, rect1, &position, text_direction_is_rtl_, [all...] |
/external/webkit/Source/WebCore/accessibility/ |
AccessibilityRenderObject.cpp | 2527 IntRect rect1 = range.start.absoluteCaretBounds(); local [all...] |
/external/opencv/cv/include/ |
cv.h | [all...] |
/prebuilts/tools/common/jfreechart/ |
jcommon-1.0.12.jar | |
jfreechart-1.0.9.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.jface_3.6.1.M20100825-0800.jar | |
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar | |
/prebuilts/tools/common/eclipse/ |
org.eclipse.jface_3.4.2.M20090107-0800.jar | |
org.eclipse.jface_3.6.2.M20110210-1200.jar | |