/external/skia/src/animator/ |
D | SkDrawRectangle.cpp | 26 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float), 28 SK_MEMBER_ALIAS(left, fRect.fLeft, Float), 30 SK_MEMBER_ALIAS(right, fRect.fRight, Float), 31 SK_MEMBER_ALIAS(top, fRect.fTop, Float), 40 fRect.setEmpty(); in SkDrawRect() 50 maker.fCanvas->drawRect(fRect, *maker.fPaint); in draw() 58 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight), in dump() 59 SkScalarToFloat(fRect.fBottom)); in dump() 71 result = fRect.height(); in getProperty() 78 result = fRect.width(); in getProperty() [all …]
|
D | SkPathParts.cpp | 218 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float), 219 SK_MEMBER_ALIAS(left, fRect.fLeft, Float), 220 SK_MEMBER_ALIAS(right, fRect.fRight, Float), 221 SK_MEMBER_ALIAS(top, fRect.fTop, Float) 229 fRect.setEmpty(); in SkAddRect() 233 fPath->fPath.addRect(fRect, (SkPath::Direction) direction); in add() 249 fPath->fPath.addOval(fRect, (SkPath::Direction) direction); in add() 292 fPath->fPath.addRoundRect(fRect, rx, ry, (SkPath::Direction) direction); in add()
|
/external/chromium_org/third_party/skia/src/animator/ |
D | SkDrawRectangle.cpp | 26 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float), 28 SK_MEMBER_ALIAS(left, fRect.fLeft, Float), 30 SK_MEMBER_ALIAS(right, fRect.fRight, Float), 31 SK_MEMBER_ALIAS(top, fRect.fTop, Float), 40 fRect.setEmpty(); in SkDrawRect() 50 maker.fCanvas->drawRect(fRect, *maker.fPaint); in draw() 58 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight), in dump() 59 SkScalarToFloat(fRect.fBottom)); in dump() 71 result = fRect.height(); in getProperty() 78 result = fRect.width(); in getProperty() [all …]
|
D | SkPathParts.cpp | 218 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float), 219 SK_MEMBER_ALIAS(left, fRect.fLeft, Float), 220 SK_MEMBER_ALIAS(right, fRect.fRight, Float), 221 SK_MEMBER_ALIAS(top, fRect.fTop, Float) 229 fRect.setEmpty(); in SkAddRect() 233 fPath->fPath.addRect(fRect, (SkPath::Direction) direction); in add() 249 fPath->fPath.addOval(fRect, (SkPath::Direction) direction); in add() 292 fPath->fPath.addRoundRect(fRect, rx, ry, (SkPath::Direction) direction); in add()
|
/external/skia/src/core/ |
D | SkRRect.cpp | 33 fRect = rect; in setRectXY() 38 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) { in setRectXY() 91 fRect = rect; in setNinePatch() 107 fRect = rect; in setRectRadii() 182 canonicalPt.set(x - fRect.centerX(), y - fRect.centerY()); in checkCornerContainment() 185 if (x < fRect.fLeft + fRadii[kUpperLeft_Corner].fX && in checkCornerContainment() 186 y < fRect.fTop + fRadii[kUpperLeft_Corner].fY) { in checkCornerContainment() 189 canonicalPt.set(x - (fRect.fLeft + fRadii[kUpperLeft_Corner].fX), in checkCornerContainment() 190 y - (fRect.fTop + fRadii[kUpperLeft_Corner].fY)); in checkCornerContainment() 192 } else if (x < fRect.fLeft + fRadii[kLowerLeft_Corner].fX && in checkCornerContainment() [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkRRect.cpp | 33 fRect = rect; in setRectXY() 38 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) { in setRectXY() 91 fRect = rect; in setNinePatch() 107 fRect = rect; in setRectRadii() 182 canonicalPt.set(x - fRect.centerX(), y - fRect.centerY()); in checkCornerContainment() 185 if (x < fRect.fLeft + fRadii[kUpperLeft_Corner].fX && in checkCornerContainment() 186 y < fRect.fTop + fRadii[kUpperLeft_Corner].fY) { in checkCornerContainment() 189 canonicalPt.set(x - (fRect.fLeft + fRadii[kUpperLeft_Corner].fX), in checkCornerContainment() 190 y - (fRect.fTop + fRadii[kUpperLeft_Corner].fY)); in checkCornerContainment() 192 } else if (x < fRect.fLeft + fRadii[kLowerLeft_Corner].fX && in checkCornerContainment() [all …]
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkRRect.h | 115 SkScalar width() const { return fRect.width(); } in width() 116 SkScalar height() const { return fRect.height(); } in height() 122 fRect.setEmpty(); in setEmpty() 138 fRect = rect; in setRect() 158 fRect = oval; in setOval() 191 const SkRect& rect() const { return fRect; } in rect() 193 const SkRect& getBounds() const { return fRect; } in getBounds() 205 return a.fRect == b.fRect && 211 return a.fRect != b.fRect || 249 fRect.offset(dx, dy); in offset() [all …]
|
/external/skia/include/core/ |
D | SkRRect.h | 115 SkScalar width() const { return fRect.width(); } in width() 116 SkScalar height() const { return fRect.height(); } in height() 122 fRect.setEmpty(); in setEmpty() 138 fRect = rect; in setRect() 158 fRect = oval; in setOval() 191 const SkRect& rect() const { return fRect; } in rect() 193 const SkRect& getBounds() const { return fRect; } in getBounds() 205 return a.fRect == b.fRect && 211 return a.fRect != b.fRect || 249 fRect.offset(dx, dy); in offset() [all …]
|
/external/chromium_org/third_party/skia/gm/ |
D | canvasstate.cpp | 118 fRect = SkRect::MakeXYWH(SPACER, SPACER, WIDTH-(2*SPACER), (HEIGHT-(2*SPACER)) / 7); in CanvasLayerStateGM() 139 canvas->translate(0, 2*(fRect.height() + 10)); in onDraw() 144 canvas->translate(0, 2*(fRect.height() + 10)); in onDraw() 156 canvas->saveLayerAlpha(&fRect, layerAlpha, flags); in drawTestPattern() 157 canvas->drawRect(fRect, fBluePaint); in drawTestPattern() 158 canvas->translate(0, fRect.height() + 10); in drawTestPattern() 159 canvas->drawRect(fRect, fBluePaint); in drawTestPattern() 170 SkRect fRect; member in skiagm::CanvasLayerStateGM
|
D | simpleaaclip.cpp | 58 fRect = fBase; in SimpleClipGM() 59 fRect.inset(5, 5); in SimpleClipGM() 60 fRect.offset(25, 25); in SimpleClipGM() 63 fRectPath.addRoundRect(fRect, SkIntToScalar(5), SkIntToScalar(5)); in SimpleClipGM() 83 canvas->drawRect(fRect, paint); in drawOrig() 112 canvas->clipRect(fRect, op, true); in drawPathsOped() 189 SkRect fRect; member in skiagm::SimpleClipGM
|
D | shadows.cpp | 29 SkRect fRect; member in skiagm::ShadowsGM 34 fRect.set(SkIntToScalar(10), SkIntToScalar(10), in ShadowsGM() 110 canvas->drawRect(fRect, paint); in onDraw()
|
/external/skia/gm/ |
D | canvasstate.cpp | 118 fRect = SkRect::MakeXYWH(SPACER, SPACER, WIDTH-(2*SPACER), (HEIGHT-(2*SPACER)) / 7); in CanvasLayerStateGM() 139 canvas->translate(0, 2*(fRect.height() + 10)); in onDraw() 144 canvas->translate(0, 2*(fRect.height() + 10)); in onDraw() 156 canvas->saveLayerAlpha(&fRect, layerAlpha, flags); in drawTestPattern() 157 canvas->drawRect(fRect, fBluePaint); in drawTestPattern() 158 canvas->translate(0, fRect.height() + 10); in drawTestPattern() 159 canvas->drawRect(fRect, fBluePaint); in drawTestPattern() 170 SkRect fRect; member in skiagm::CanvasLayerStateGM
|
D | simpleaaclip.cpp | 58 fRect = fBase; in SimpleClipGM() 59 fRect.inset(5, 5); in SimpleClipGM() 60 fRect.offset(25, 25); in SimpleClipGM() 63 fRectPath.addRoundRect(fRect, SkIntToScalar(5), SkIntToScalar(5)); in SimpleClipGM() 83 canvas->drawRect(fRect, paint); in drawOrig() 112 canvas->clipRect(fRect, op, true); in drawPathsOped() 189 SkRect fRect; member in skiagm::SimpleClipGM
|
D | shadows.cpp | 29 SkRect fRect; member in skiagm::ShadowsGM 34 fRect.set(SkIntToScalar(10), SkIntToScalar(10), in ShadowsGM() 110 canvas->drawRect(fRect, paint); in onDraw()
|
/external/chromium_org/third_party/skia/samplecode/ |
D | SampleDraw.cpp | 170 RDraw(const SkRect& r, Style s) : fRect(r), fStyle(s) {} in RDraw() 173 fRect = r; in setRect() 184 canvas->drawRect(fRect, fPaint); in onDraw() 187 canvas->drawOval(fRect, fPaint); in onDraw() 190 SkScalar rx = fRect.width() / 5; in onDraw() 191 SkScalar ry = fRect.height() / 5; in onDraw() 197 canvas->drawRoundRect(fRect, rx, ry, fPaint); in onDraw() 202 path.addOval(fRect, SkPath::kCW_Direction); in onDraw() 203 SkRect r = fRect; in onDraw() 204 r.inset(fRect.width()/6, 0); in onDraw() [all …]
|
D | SampleRegion.cpp | 201 fRect = fBase; in RegionView() 202 fRect.inset(5, 5); in RegionView() 203 fRect.offset(25, 25); in RegionView() 216 rgn->op(fRect, op); in build_rgn() 243 drawstr(canvas, "Intersects", pts[0], rgn.intersects(fRect)); in drawPredicates() 244 drawstr(canvas, "Contains", pts[1], rgn.contains(fRect)); in drawPredicates() 259 r.set(fRect); in drawOrig() 398 return fRect.contains(SkScalarRoundToInt(x), in onFindClickHandler() 403 fRect.offset(click->fICurr.fX - click->fIPrev.fX, in onClick() 410 SkIRect fBase, fRect; member in RegionView
|
/external/skia/samplecode/ |
D | SampleDraw.cpp | 170 RDraw(const SkRect& r, Style s) : fRect(r), fStyle(s) {} in RDraw() 173 fRect = r; in setRect() 184 canvas->drawRect(fRect, fPaint); in onDraw() 187 canvas->drawOval(fRect, fPaint); in onDraw() 190 SkScalar rx = fRect.width() / 5; in onDraw() 191 SkScalar ry = fRect.height() / 5; in onDraw() 197 canvas->drawRoundRect(fRect, rx, ry, fPaint); in onDraw() 202 path.addOval(fRect, SkPath::kCW_Direction); in onDraw() 203 SkRect r = fRect; in onDraw() 204 r.inset(fRect.width()/6, 0); in onDraw() [all …]
|
D | SampleRegion.cpp | 201 fRect = fBase; in RegionView() 202 fRect.inset(5, 5); in RegionView() 203 fRect.offset(25, 25); in RegionView() 216 rgn->op(fRect, op); in build_rgn() 243 drawstr(canvas, "Intersects", pts[0], rgn.intersects(fRect)); in drawPredicates() 244 drawstr(canvas, "Contains", pts[1], rgn.contains(fRect)); in drawPredicates() 259 r.set(fRect); in drawOrig() 398 return fRect.contains(SkScalarRoundToInt(x), in onFindClickHandler() 403 fRect.offset(click->fICurr.fX - click->fIPrev.fX, in onClick() 410 SkIRect fBase, fRect; member in RegionView
|
/external/skia/include/utils/ |
D | SkPictureUtils.h | 54 dst->fRect = rect; in add() 59 if (SkRect::Intersects(fArray[i].fRect, queryRect)) { in query() 68 SkRect fRect; member
|
/external/chromium_org/third_party/skia/include/utils/ |
D | SkPictureUtils.h | 54 dst->fRect = rect; in add() 59 if (SkRect::Intersects(fArray[i].fRect, queryRect)) { in query() 68 SkRect fRect; member
|
/external/skia/bench/ |
D | AAClipBench.cpp | 177 SkRect fRect; member in AAClipBuilderBench 191 fRect.set(fRegion.getBounds()); in AAClipBuilderBench() 192 fRect.inset(SK_Scalar1/4, SK_Scalar1/4); in AAClipBuilderBench() 193 fPath.addRoundRect(fRect, SkIntToScalar(20), SkIntToScalar(20)); in AAClipBuilderBench() 207 clip.setRect(fRect, fDoAA); in onDraw()
|
/external/chromium_org/third_party/skia/bench/ |
D | AAClipBench.cpp | 177 SkRect fRect; member in AAClipBuilderBench 191 fRect.set(fRegion.getBounds()); in AAClipBuilderBench() 192 fRect.inset(SK_Scalar1/4, SK_Scalar1/4); in AAClipBuilderBench() 193 fPath.addRoundRect(fRect, SkIntToScalar(20), SkIntToScalar(20)); in AAClipBuilderBench() 207 clip.setRect(fRect, fDoAA); in onDraw()
|
/external/chromium_org/third_party/skia/tests/ |
D | InfRectTest.cpp | 17 SkIRect fRect; member 31 gData[index].fRect.centerX() == gData[index].fCenter.x()); in test_center() 33 gData[index].fRect.centerY() == gData[index].fCenter.y()); in test_center()
|
/external/skia/tests/ |
D | InfRectTest.cpp | 17 SkIRect fRect; member 31 gData[index].fRect.centerX() == gData[index].fCenter.x()); in test_center() 33 gData[index].fRect.centerY() == gData[index].fCenter.y()); in test_center()
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
D | GrConvexPolyEffect.cpp | 23 const SkRect& getRect() const { return fRect; } in getRect() 33 if (fRect.isEmpty()) { in getConstantColorComponents() 47 AARectEffect(GrEffectEdgeType edgeType, const SkRect& rect) : fRect(rect), fEdgeType(edgeType) { in AARectEffect() 53 return fRect == aare.fRect; in onIsEqual() 56 SkRect fRect; member in AARectEffect
|