/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/ |
H A D | SDL_QWin.cc | 131 const QRect& rect ) 137 startx = rect.left() >> 1; 138 starty = rect.top() >> 1; 139 width = ((rect.right() - rect.left()) >> 1) + 2; 140 height = ((rect.bottom() - rect.top()) >> 1) + 2; 188 const QRect& rect ) { 193 startx = rect.left() >> 1; 194 starty = rect 242 repaintRotation0(const QRect& rect) argument 272 repaintRotation3(const QRect& rect) argument 326 repaintRotation1(const QRect& rect) argument 337 repaintRect(const QRect& rect) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/svga/ |
H A D | SDL_svgavideo.c | 493 SDL_Rect *rect; local 503 rect = &rects[i]; 504 x = rect->x; 505 y = rect->y; 506 w = rect->w * bpp; 507 h = rect->h;
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testoverlay.c | 268 SDL_Rect rect; local 274 rect.w=overlay->w; 275 rect.h=overlay->h; 276 for(i=0; i<h-rect.h && i<w-rect.w; i++) 278 rect.x=i; 279 rect.y=i; 280 SDL_DisplayYUVOverlay(overlay,&rect); 285 rect.w=overlay->w/2; 286 rect [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowDrawable.java | 80 public void setBounds(Rect rect) { argument 81 this.bounds = rect;
|
/external/skia/experimental/Intersection/ |
H A D | EdgeWalkerRectangles_Test.cpp | 28 SkRect rect; local 29 if (!out.isRect(&rect)) { 30 SkDebugf("%s expected rect\n", __FUNCTION__); 32 if (rect != SkRect::MakeLTRB(10, 10, 30, 40)) { 43 SkRect rect; local 44 if (!out.isRect(&rect)) { 45 SkDebugf("%s expected rect\n", __FUNCTION__); 47 if (rect != SkRect::MakeLTRB(10, 10, 40, 30)) { 78 SkRect rect; local 79 if (!out.isRect(&rect)) { 106 SkRect rect; local 120 SkRect rect; local 364 SkRect rect; local 419 SkRect rect; local [all...] |
H A D | LogoPlay.cpp | 196 const SkRect& rect = rects[contour]; local 197 SkDebugf("path.addRect(%1.9g, %1.9g, %1.9g, %1.9g, %s);\n", rect.fLeft, rect.fTop, 198 rect.fRight, rect.fBottom, directions[contour] == SkPath::kCCW_Direction
|
/external/skia/experimental/SkV8Example/ |
H A D | BaseContext.cpp | 43 SkRect rect = { local 49 canvas->drawRect(rect, BaseContext->fFillStyle);
|
H A D | Path2D.cpp | 52 ADD_METHOD("rect", Rect); 164 SkRect rect = { local 171 path->fSkPath.addArc(rect, SkRadiansToDegrees(startAngle), 187 SkRect rect = { local 194 path->fSkPath.addRect(rect); 213 SkRect rect = { local 220 path->fSkPath.addOval(rect, dir);
|
/external/skia/gm/ |
H A D | blurrect.cpp | 23 SkRect rect; local 26 rect = r; 27 rect.outset(STROKE_WIDTH/2, STROKE_WIDTH/2); 28 path.addRect(rect); 29 rect = r; 30 rect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); 32 path.addRect(rect); 39 SkRect rect; local 42 rect = r; 43 rect [all...] |
H A D | convexpolyclip.cpp | 41 SkRect rect = SkRect::MakeWH(wScalar, hScalar); local 50 canvas.drawRect(rect, paint); 51 rect.inset(wScalar / 8, hScalar / 8); 127 SkRect rect = SkRect::MakeLTRB(10.f, 12.f, 80.f, 86.f); variable 128 rotRect.addRect(rect); 130 rotM.setRotate(23.f, rect.centerX(), rect.centerY()); 265 void setRect(const SkRect& rect) { argument 267 fRect = rect;
|
H A D | optimizations.cpp | 99 SkRect rect = { 10, 10, 90, 90 }; local 110 canvas->drawBitmapRectToRect(checkerBoard, NULL, rect, &dbmr2rPaint); 112 canvas->drawBitmapRectToRect(checkerBoard, NULL, rect, NULL); 235 SkRect rect = { 10, 10, 90, 90 }; local 236 canvas->clipRect(rect); 247 canvas->drawBitmapRectToRect(checkerBoard, NULL, rect, &dbmr2rPaint); 249 canvas->drawBitmapRectToRect(checkerBoard, NULL, rect, NULL);
|
H A D | xfermodes3.cpp | 221 SkRect rect = { SkIntToScalar(kSize) / 8, SkIntToScalar(kSize) / 8, variable 223 bmpCanvas.drawRect(rect, bmpPaint);
|
/external/skia/include/core/ |
H A D | SkRRect.h | 19 // add validate method (all radii positive, all radii sums < rect size, etc.) 22 // add heart rect computation (max rect inside RR) 23 // add 9patch rect computation 37 The SkRRect class represents a rounded rect with a potentially different 61 //!< The RR is actually a (non-empty) rect (i.e., at least one radius 71 //!< the curves) nor a rect (i.e., both radii are non-zero) 76 //!< neither an rect, oval, nor a simple RR. It is called "nine patch" 78 //!< rect with edges that divide the RR into an 9 rectangular patches: 130 * Set this RR to match the supplied rect 132 setRect(const SkRect& rect) argument 191 const SkRect& rect() const { return fRect; } function in class:SkRRect [all...] |
H A D | SkRect.h | 48 SkIRect rect; local 49 rect.set(l, t, r, b); 50 return rect; 64 /** return the left edge of the rect */ 66 /** return the top edge of the rect */ 69 * Returns the rectangle's width. This does not check for a valid rect 75 * Returns the rectangle's height. This does not check for a valid rect 81 * Since the center of an integer rect may fall on a factional value, this 90 * Since the center of an integer rect may fall on a factional value, this 161 * Return a new IRect, built as an offset of this rect [all...] |
H A D | SkRegion.h | 112 * If rect is non-empty, set this region to that rectangle and return true, 125 * faster than calling region.op(rect, kUnion_Op) in a loop. If count is 211 bool quickReject(const SkIRect& rect) const { 212 return this->isEmpty() || rect.isEmpty() || 213 !SkIRect::Intersects(fBounds, rect); 256 * specified rectangle: this = (this op rect). 259 bool op(const SkIRect& rect, Op op) { return this->op(*this, rect, op); } argument 263 * specified rectangle: this = (this op rect). 267 SkIRect rect; local 320 const SkIRect& rect() const { return fRect; } function in class:SkRegion::Iterator 340 const SkIRect& rect() const { return fRect; } function in class:SkRegion::Cliperator [all...] |
H A D | SkWriter32.h | 129 void writeRect(const SkRect& rect) { argument 130 *(SkRect*)this->reserve(sizeof(rect)) = rect; 133 void writeIRect(const SkIRect& rect) { argument 134 *(SkIRect*)this->reserve(sizeof(rect)) = rect;
|
/external/skia/platform_tools/nacl/src/ |
H A D | nacl_sample.cpp | 103 SkRect rect = SkRect::MakeXYWH(10, 10, 80, 80); local 107 canvas.drawRect(rect, rect_paint); 195 void SkOSWindow::onHandleInval(const SkIRect& rect) argument
|
/external/skia/src/core/ |
H A D | SkBlitter.cpp | 206 const SkIRect& cr = clipper.rect(); 212 void SkBlitter::blitRectRegion(const SkIRect& rect, const SkRegion& clip) { argument 213 SkRegion::Cliperator clipper(clip, rect); 216 const SkIRect& cr = clipper.rect(); 226 const SkIRect& cr = iter.rect(); 269 static inline bool y_in_rect(int y, const SkIRect& rect) { argument 270 return (unsigned)(y - rect.fTop) < (unsigned)rect.height(); 273 static inline bool x_in_rect(int x, const SkIRect& rect) { argument 274 return (unsigned)(x - rect [all...] |
H A D | SkReadBuffer.cpp | 141 void SkReadBuffer::readIRect(SkIRect* rect) { argument 142 memcpy(rect, fReader.skip(sizeof(SkIRect)), sizeof(SkIRect)); 145 void SkReadBuffer::readRect(SkRect* rect) { argument 146 memcpy(rect, fReader.skip(sizeof(SkRect)), sizeof(SkRect));
|
/external/skia/src/effects/ |
H A D | SkGpuBlurUtils.cpp | 24 static void scale_rect(SkRect* rect, float xScale, float yScale) { argument 25 rect->fLeft = SkScalarMul(rect->fLeft, xScale); 26 rect->fTop = SkScalarMul(rect->fTop, yScale); 27 rect->fRight = SkScalarMul(rect->fRight, xScale); 28 rect->fBottom = SkScalarMul(rect->fBottom, yScale); 122 const SkRect& rect, 119 GaussianBlur(GrContext* context, GrTexture* srcTexture, bool canClobberSrc, const SkRect& rect, bool cropToRect, float sigmaX, float sigmaY) argument [all...] |
/external/skia/src/gpu/effects/ |
H A D | GrConvexPolyEffect.cpp | 27 static GrEffectRef* Create(GrEffectEdgeType edgeType, const SkRect& rect) { argument 28 return CreateEffectRef(AutoEffectUnref(SkNEW_ARGS(AARectEffect, (edgeType, rect)))); 34 // An empty rect will have no coverage anywhere. 47 AARectEffect(GrEffectEdgeType edgeType, const SkRect& rect) : fRect(rect), fEdgeType(edgeType) { argument 71 SkRect rect = SkRect::MakeLTRB(random->nextSScalar1(), local 80 effect = AARectEffect::Create(edgeType, rect); 124 // The rect uniform's xyzw refer to (left + 0.5, top + 0.5, right - 0.5, bottom - 0.5), 128 "rect", 159 const SkRect& rect local 315 Create(GrEffectEdgeType edgeType, const SkRect& rect) argument [all...] |
/external/skia/src/images/ |
H A D | SkImageDecoder.cpp | 199 bool SkImageDecoder::decodeSubset(SkBitmap* bm, const SkIRect& rect, SkColorType pref) { argument 205 return this->onDecodeSubset(bm, rect);
|
/external/skia/src/pdf/ |
H A D | SkPDFUtils.cpp | 21 SkPDFArray* SkPDFUtils::RectToArray(const SkRect& rect) { argument 24 result->appendScalar(rect.fLeft); 25 result->appendScalar(rect.fTop); 26 result->appendScalar(rect.fRight); 27 result->appendScalar(rect.fBottom); 99 void SkPDFUtils::AppendRectangle(const SkRect& rect, SkWStream* content) { argument 101 SkScalar bottom = SkMinScalar(rect.fBottom, rect.fTop); 103 SkPDFScalar::Append(rect.fLeft, content); 107 SkPDFScalar::Append(rect [all...] |
/external/skia/src/utils/ |
H A D | SkDashPath.cpp | 79 static void outset_for_stroke(SkRect* rect, const SkStrokeRec& rec) { argument 87 rect->outset(radius, radius);
|
/external/skia/src/utils/debugger/ |
H A D | SkObjectParser.cpp | 82 SkString* SkObjectParser::IRectToString(const SkIRect& rect) { argument 85 mRect->appendS32(rect.left()); 87 mRect->appendS32(rect.top()); 89 mRect->appendS32(rect.right()); 91 mRect->appendS32(rect.bottom()); 209 SkString* SkObjectParser::RectToString(const SkRect& rect, const char* title) { argument 219 mRect->appendScalar(rect.left()); 221 mRect->appendScalar(rect.top()); 223 mRect->appendScalar(rect.right()); 225 mRect->appendScalar(rect [all...] |