/dalvik/tests/070-nio-buffer/ |
expected.txt | 2 Got expected out-of-bounds exception
|
/external/skia/tests/ |
PathTest.cpp | 6 const SkRect& bounds) { 8 REPORTER_ASSERT(reporter, p.getBounds() == bounds); 12 REPORTER_ASSERT(reporter, p2.getBounds() == bounds); 17 REPORTER_ASSERT(reporter, other.getBounds() == bounds); 32 SkRect bounds, bounds2; local 43 bounds.set(0, 0, SK_Scalar1, SK_Scalar1); 46 p.addRoundRect(bounds, SK_Scalar1, SK_Scalar1); 47 check_convex_bounds(reporter, p, bounds); 51 p.addOval(bounds); 52 check_convex_bounds(reporter, p, bounds); [all...] |
/frameworks/base/core/jni/android/graphics/ |
NinePatch.cpp | 30 extern void NinePatch_Draw(SkCanvas* canvas, const SkRect& bounds, 69 static void draw(JNIEnv* env, SkCanvas* canvas, SkRect& bounds, 87 SkScalarToFloat(bounds.fLeft), SkScalarToFloat(bounds.fTop), 88 SkScalarToFloat(bounds.fRight), SkScalarToFloat(bounds.fBottom)); 89 NinePatch_Draw(canvas, bounds, *bitmap, *chunk, paint, NULL); 94 canvas->translate(bounds.fLeft, bounds.fTop); 97 bounds.fRight = SkScalarDiv(bounds.fRight-bounds.fLeft, scale) 123 SkRect bounds; local 139 SkRect bounds; local 152 SkRect bounds; local [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/render/ |
JavaArcRasterizer.java | 225 static void addSeg(MultiRectArea mra, int cx1, int cy1, int cx2, int cy2, int a, int b, int[] xline, int[] yline, int[] bounds) { 226 switch(bounds[0]) { 228 addY3LineSeg(mra, yline, cx2, cy1, a, bounds[1], bounds[2]); 231 addX1LineSeg(mra, xline, cx2, cy1, b, bounds[1], bounds[2]); 234 addX2LineSeg(mra, xline, cx1, cy1, b, bounds[1], bounds[2]); 237 addY2LineSeg(mra, yline, cx1, cy1, a, bounds[1], bounds[2]) 258 int[] bounds = new int[3]; local 312 int[] bounds = new int[3]; local [all...] |
/external/skia/src/animator/ |
SkDrawSaveLayer.cpp | 27 SK_MEMBER(bounds, Rect), 35 SkSaveLayer::SkSaveLayer() : paint(NULL), bounds(NULL) { 43 if (!bounds) { 52 maker.fCanvas->saveLayer(&bounds->fRect, &realPaint, SkCanvas::kHasAlphaLayer_SaveFlag); 55 maker.fCanvas->saveLayer(&bounds->fRect, save, SkCanvas::kHasAlphaLayer_SaveFlag); 72 if (bounds) 73 SkDebugf("bounds=\"%s\" ", bounds->id); 81 if (!bounds)
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
LineGestureStrokeHelper.java | 61 RectF bounds = new RectF(); local 62 linePath.computeBounds(bounds, true); 66 Assert.assertEquals(LINE_MIDWAY_POINT, bounds.bottom); 67 Assert.assertEquals(LINE_START_POINT, bounds.left); 68 Assert.assertEquals(LINE_MIDWAY_POINT, bounds.right); 69 Assert.assertEquals(LINE_START_POINT, bounds.top); 73 * Helper method to assert expected values for a bounds derived from createLineGesture 77 void assertLineBoundingBox(RectF bounds) { 80 Assert.assertEquals(LINE_END_POINT, bounds.bottom); 81 Assert.assertEquals(LINE_START_POINT, bounds.left) [all...] |
GestureStrokeTest.java | 71 * for a single line, where the given toPath bounds exceeds the expected path. 87 * Verifies method returns expected results for a single line, where the given toPath bounds 96 RectF bounds = new RectF(); local 97 linePath.computeBounds(bounds, true); 100 assertEquals(LineGestureStrokeHelper.LINE_QUARTER_POINT, bounds.bottom); 101 assertEquals(LineGestureStrokeHelper.LINE_START_POINT, bounds.left); 102 assertEquals(LineGestureStrokeHelper.LINE_QUARTER_POINT, bounds.right); 103 assertEquals(LineGestureStrokeHelper.LINE_START_POINT, bounds.top);
|
/frameworks/base/awt/java/awt/font/ |
GlyphMetrics.java | 63 * The bounds. 65 private Rectangle2D.Float bounds; field in class:GlyphMetrics 106 * @param bounds 107 * the glyph's bounds. 111 public GlyphMetrics(boolean horizontal, float advanceX, float advanceY, Rectangle2D bounds, 117 this.bounds = new Rectangle2D.Float(); 118 this.bounds.setRect(bounds); 128 * @param bounds 129 * the glyph's bounds [all...] |
/cts/tools/signature-tools/src/signature/model/ |
IWildcardType.java | 27 * Returns the upper bounds for this type variable as specified by the 28 * extends clause. If no upper bounds are explicitly specified then 31 * @return the upper bounds for this type variable 36 * Returns the lower bounds for this type variable as specified by the super 37 * clause. If no lower bounds are explicitly specified then null is returned 40 * @return the lower bounds for this type variable
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
NodeFactory.java | 41 * {@link CanvasViewInfo}. The bounds of the node are set to the canvas view bounds. 52 return create(uiNode, null /*bounds*/); 61 private NodeProxy create(UiViewElementNode uiNode, Rectangle bounds) { 66 proxy = new NodeProxy(uiNode, bounds, this); 69 } else if (bounds != null && !proxy.getBounds().equals(bounds)) { 70 // Update the bounds if necessary 71 proxy.setBounds(bounds);
|
/external/webkit/WebKit/android/nav/ |
CachedLayer.cpp | 37 const IntRect& bounds) const 46 return bounds; 48 FloatRect temp = bounds; 55 " bounds=(%d,%d,w=%d,h=%d) pos=(%g,%g) trans=(%g,%g)" 58 bounds.x(), bounds.y(), bounds.width(), bounds.height(), 73 // return bounds relative to enclosing layer as recorded when walking the dom 74 IntRect CachedLayer::localBounds(const IntRect& bounds) cons 115 SkRect bounds; local [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
TypeVariableTest.java | 50 Type[] bounds = typeVariable.getBounds(); local 51 assertLenghtOne(bounds); 52 assertEquals(Object.class, bounds[0]); 72 Type[] bounds = typeVariable.getBounds(); local 73 assertLenghtOne(bounds); 74 assertEquals(Object.class, bounds[0]); 108 Type[] bounds = typeVariable.getBounds(); local 109 assertLenghtOne(bounds); 110 assertEquals(Object.class, bounds[0]); 197 Type[] bounds = typeVariable.getBounds() local 213 Type[] bounds = typeVariable.getBounds(); local [all...] |
/dalvik/libcore/luni/src/main/java/java/lang/reflect/ |
WildcardType.java | 30 * Returns the array of types that represent the upper bounds of this type. 33 * @return an array containing the upper bounds types 36 * if any of the bounds points to a missing type 44 * Returns the array of types that represent the lower bounds of this type. 49 * @return an array containing the lower bounds types 52 * if any of the bounds points to a missing type 54 * if any of the bounds points to a type that cannot be
|
TypeVariable.java | 32 * Returns the upper bounds of this type variable. {@code Object} is the 33 * implicit upper bound if no other bounds are declared. 35 * @return the upper bounds of this type variable 38 * if any of the bounds points to a missing type 40 * if any of the bounds points to a type that cannot be
|
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
SDL_gemwm.c | 59 SDL_Rect bounds; local 78 bounds.x = 0; 79 bounds.y = 0; 80 bounds.w = icon->w; 81 bounds.h = icon->h; 82 if ( SDL_LowerBlit(icon, &bounds, sicon, &bounds) < 0 ) {
|
/external/webkit/WebKit/android/ |
RenderSkinCombo.cpp | 75 SkRect bounds; local 77 bounds.set(SkIntToScalar(x+1), SkIntToScalar(y+1), SkIntToScalar(x + width-1), SkIntToScalar(y + height-1)); 81 canvas->drawRect(bounds, paint); 83 bounds.set(SkIntToScalar(x), SkIntToScalar(y), SkIntToScalar(x + width), SkIntToScalar(y + height)); 89 bounds.fLeft += SkIntToScalar(width - RenderSkinCombo::extraWidth()); 90 bounds.fRight -= SkIntToScalar(style->borderRightWidth()); 91 bounds.fTop += SkIntToScalar(style->borderTopWidth()); 92 bounds.fBottom -= SkIntToScalar(style->borderBottomWidth()); 93 canvas->drawBitmapRect(s_bitmap[state], &s_subset, bounds); 95 SkNinePatch::DrawNine(canvas, bounds, s_bitmap[state], s_mar) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
SDL_sysyuv.cc | 41 BBitmap * BE_GetOverlayBitmap(BRect bounds, color_space cs) { 43 bbitmap = new BBitmap(bounds,B_BITMAP_WILL_OVERLAY,cs); 50 uint32 width = bounds.IntegerWidth() + 1; 51 uint32 height = bounds.IntegerHeight() + 1; 78 fprintf(stderr,"GetOverlayBitmap failed bounds tests\n"); 84 bounds.Set(bounds.left,bounds.top,bounds.right+width_padding,bounds.bottom+height_padding) 134 BRect bounds; local [all...] |
SDL_BView.h | 64 BRect bounds; local 65 bounds.top = bounds.left = 0; 66 bounds.right = width; 67 bounds.bottom = height; 69 FillRect(bounds, B_SOLID_HIGH); 72 bounds = image->Bounds(); 73 Draw(bounds);
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ViewHierarchyScene.java | 230 Rectangle bounds = getBounds(); local 237 g2.setPaint(new GradientPaint(bounds.x, bounds.y, 238 focusGradient.getColor1(), bounds.x, bounds.x + bounds.height, 242 g2.setPaint(new GradientPaint(bounds.x, bounds.y, filteredGradient.getColor1(), 243 bounds.x, bounds.x + bounds.height, filteredGradient.getColor2())) [all...] |
/external/webkit/WebKit/mac/Carbon/ |
HIViewAdapter.m | 143 NSRect targetBounds = [self bounds]; 147 targetBounds = [view bounds]; 200 Rect bounds; 201 GetRegionBounds(inRegion, &bounds); 203 bounds.top, bounds.left, bounds.bottom, bounds.right); 207 Rect bounds, cntlBounds; 213 bounds.top, bounds.left, bounds.bottom, bounds.right) [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/ |
ImplForVariable.java | 32 private ListOfTypes bounds; field in class:ImplForVariable 54 * @param bounds class and interface bounds 57 ImplForVariable(D genericDecl, String name, ListOfTypes bounds) { 60 this.bounds = bounds; 124 this.bounds = formalVar.bounds; 130 return bounds.getResolvedTypes().clone();
|
/external/skia/src/core/ |
SkLineClipper.cpp | 41 SkRect bounds; local 43 bounds.set(src, 2); 44 if (containsNoEmptyCheck(clip, bounds)) { 52 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) || 53 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) || 54 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || 55 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) [all...] |
/frameworks/base/core/java/android/widget/ |
ScrollBarDrawable.java | 143 protected void onBoundsChange(Rect bounds) { 144 super.onBoundsChange(bounds); 148 protected void drawTrack(Canvas canvas, Rect bounds, boolean vertical) { 157 track.setBounds(bounds); 163 protected void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) { 168 thumbRect.set(bounds.left, bounds.top + offset, 169 bounds.right, bounds.top + offset + length); 171 thumbRect.set(bounds.left + offset, bounds.top [all...] |
/external/skia/src/views/ |
SkBGViewArtist.cpp | 16 // only works for views that are clipped their bounds.
|
/sdk/layoutlib_api/src/com/android/layoutlib/api/ |
ILayoutResult.java | 82 * Returns the left of the view bounds. 87 * Returns the top of the view bounds. 92 * Returns the right of the view bounds. 97 * Returns the bottom of the view bounds.
|