/external/skia/src/animator/ |
SkDrawSaveLayer.h | 38 SkDrawRect* bounds; member in class:SkSaveLayer
|
/external/qemu/android/skin/ |
region.h | 38 extern void skin_region_get_bounds( SkinRegion* r, SkinRect* bounds ); 92 SkinRect bounds; member in struct:SkinRegion
|
/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/jni/ |
WebFrameView.cpp | 76 const WebCore::IntRect& bounds = getBounds(); local 78 // Grab the intersection of transRect and the frame's bounds. 79 transRect.intersect(bounds); 84 transRect.move(-bounds.x(), -bounds.y()); 88 canvas->translate(SkIntToScalar(bounds.x()), SkIntToScalar(bounds.y()));
|
PictureSet.h | 65 const SkIRect& bounds(size_t i) const { function in class:android::PictureSet
|
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
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);
|
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...] |
/external/skia/src/views/ |
SkBorderView.cpp | 49 SkRect bounds; local 50 fAnim.getInvalBounds(&bounds); 51 this->inval(&bounds);
|
SkProgressBarView.cpp | 34 SkRect bounds; local 35 fAnim.getInvalBounds(&bounds); 36 this->inval(&bounds);
|
SkScrollBarView.cpp | 88 SkRect bounds; local 89 fAnim.getInvalBounds(&bounds); 90 this->inval(&bounds);
|
SkImageView.cpp | 173 SkRect bounds; local 174 fData.fAnim->getInvalBounds(&bounds); 175 matrix.mapRect(&bounds); // get the bounds into view coordinates 176 this->inval(&bounds); 222 bool SkImageView::getDataBounds(SkRect* bounds) 224 SkASSERT(bounds); 235 // cons up fake bounds 245 bounds->set(0, 0, width, height);
|
/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...] |
/external/webkit/WebCore/rendering/ |
SVGMarkerLayoutInfo.cpp | 89 FloatRect bounds; local 96 bounds.unite(markerContent->markerBoundaries(layout.matrix)); 99 return bounds;
|
/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...] |
SkDevice.cpp | 25 void SkDevice::getBounds(SkIRect* bounds) const { 26 if (bounds) { 27 bounds->set(0, 0, fBitmap.width(), fBitmap.height()); 32 SkIRect bounds; local 34 this->getBounds(&bounds); 35 return sect ? sect->intersect(r, bounds) : SkIRect::Intersects(r, bounds);
|
SkEdgeClipper.cpp | 20 static bool quick_reject(const SkRect& bounds, const SkRect& clip) { 21 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop; 200 SkRect bounds; local 201 bounds.set(srcPts, 3); 203 if (!quick_reject(bounds, clip)) { 397 SkRect bounds; 398 bounds.set(srcPts, 4); 400 if (!quick_reject(bounds, clip)) {
|
/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...] |
/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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
MockNodeProxy.java | 37 * @param bounds The bounds of a the view in the canvas. Must be either: <br/> 40 * to the model. We never store a null bounds rectangle in the node, a null rectangle 44 public MockNodeProxy(String fqcn, Rectangle bounds, NodeFactory factory) { 45 super(makeUiViewNode(fqcn), bounds, factory); local
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
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);
|
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...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PathEffects.java | 76 RectF bounds = new RectF(); local 77 mPath.computeBounds(bounds, false); 78 canvas.translate(10 - bounds.left, 10 - bounds.top);
|
/external/skia/src/images/ |
SkFlipPixelRef.cpp | 120 const SkIRect bounds = {0, 0, dst.width(), dst.height()}; local 121 SkRegion::Cliperator iter(clip, bounds);
|
/external/webkit/WebCore/platform/graphics/chromium/ |
HarfbuzzSkia.cpp | 167 SkRect bounds; local 168 paint.getTextWidths(&glyph16, sizeof(glyph16), &width, &bounds); 170 metrics->x = SkiaScalarToHarfbuzzFixed(bounds.fLeft); 171 metrics->y = SkiaScalarToHarfbuzzFixed(bounds.fTop); 172 metrics->width = SkiaScalarToHarfbuzzFixed(bounds.width()); 173 metrics->height = SkiaScalarToHarfbuzzFixed(bounds.height());
|
/external/webkit/WebKit/android/ |
RenderSkinCombo.cpp | 117 SkRect bounds; local 120 bounds.set(SkIntToScalar(x+1), SkIntToScalar(y+1), SkIntToScalar(x + width-1), SkIntToScalar(y + height-1)); 124 canvas->drawRect(bounds, paint); 126 bounds.set(SkIntToScalar(x), SkIntToScalar(y), SkIntToScalar(x + width), SkIntToScalar(y + height)); 132 bounds.fLeft += SkIntToScalar(width - RenderSkinCombo::extraWidth()); 133 bounds.fRight -= SkIntToScalar(style->borderRightWidth()); 134 bounds.fTop += SkIntToScalar(style->borderTopWidth()); 135 bounds.fBottom -= SkIntToScalar(style->borderBottomWidth()); 138 SkNinePatch::DrawNine(canvas, bounds, bitmaps[state][drawBorder], margin[resolution][drawBorder]);
|