/external/skia/src/gpu/ |
GrScissorState.h | 16 GrScissorState(const SkIRect& rect) : fEnabled(true), fRect(rect) {} 18 void set(const SkIRect& rect) { fRect = rect; fEnabled = true; } 24 return fRect.intersect(rect); 28 (false == fEnabled || fRect == other.fRect); 33 const SkIRect& rect() const { return fRect; } 37 SkIRect fRect;
|
/external/skqp/src/gpu/ |
GrScissorState.h | 16 GrScissorState(const SkIRect& rect) : fEnabled(true), fRect(rect) {} 18 void set(const SkIRect& rect) { fRect = rect; fEnabled = true; } 24 return fRect.intersect(rect); 28 (false == fEnabled || fRect == other.fRect); 33 const SkIRect& rect() const { return fRect; } 37 SkIRect fRect;
|
/external/skia/src/codec/ |
SkFrameHolder.h | 32 fRect.setEmpty(); 89 fRect.setXYWH(x, y, width, height); 95 SkIRect frameRect() const { return fRect; } 97 int xOffset() const { return fRect.x(); } 98 int yOffset() const { return fRect.y(); } 99 int width() const { return fRect.width(); } 100 int height() const { return fRect.height(); } 141 SkIRect fRect;
|
/external/skqp/src/codec/ |
SkFrameHolder.h | 32 fRect.setEmpty(); 89 fRect.setXYWH(x, y, width, height); 95 SkIRect frameRect() const { return fRect; } 97 int xOffset() const { return fRect.x(); } 98 int yOffset() const { return fRect.y(); } 99 int width() const { return fRect.width(); } 100 int height() const { return fRect.height(); } 141 SkIRect fRect;
|
/external/skia/src/core/ |
SkRRect.cpp | 32 if (fRect.width() < xRad+xRad || fRect.height() < yRad+yRad) { 33 SkScalar scale = SkMinScalar(fRect.width() / (xRad + xRad), fRect.height() / (yRad + yRad)); 43 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) { 69 if (leftRad + rightRad > fRect.width()) { 70 scale = fRect.width() / (leftRad + rightRad); 72 if (topRad + bottomRad > fRect.height()) { 73 scale = SkMinScalar(scale, fRect.height() / (topRad + bottomRad)) [all...] |
/external/skqp/src/core/ |
SkRRect.cpp | 32 if (fRect.width() < xRad+xRad || fRect.height() < yRad+yRad) { 33 SkScalar scale = SkMinScalar(fRect.width() / (xRad + xRad), fRect.height() / (yRad + yRad)); 43 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) { 69 if (leftRad + rightRad > fRect.width()) { 70 scale = fRect.width() / (leftRad + rightRad); 72 if (topRad + bottomRad > fRect.height()) { 73 scale = SkMinScalar(scale, fRect.height() / (topRad + bottomRad)) [all...] |
/external/skia/experimental/sksg/geometry/ |
SkSGRect.cpp | 16 Rect::Rect(const SkRect& rect) : fRect(rect) {} 19 canvas->clipRect(fRect, SkClipOp::kIntersect, antiAlias); 23 canvas->drawRect(fRect, paint); 29 return fRect; 34 path.addRect(fRect);
|
SkSGRect.h | 29 SG_ATTRIBUTE(L, SkScalar, fRect.fLeft ) 30 SG_ATTRIBUTE(T, SkScalar, fRect.fTop ) 31 SG_ATTRIBUTE(R, SkScalar, fRect.fRight ) 32 SG_ATTRIBUTE(B, SkScalar, fRect.fBottom) 44 SkRect fRect;
|
/external/skqp/experimental/sksg/geometry/ |
SkSGRect.cpp | 16 Rect::Rect(const SkRect& rect) : fRect(rect) {} 19 canvas->clipRect(fRect, SkClipOp::kIntersect, antiAlias); 23 canvas->drawRect(fRect, paint); 29 return fRect; 34 path.addRect(fRect);
|
SkSGRect.h | 29 SG_ATTRIBUTE(L, SkScalar, fRect.fLeft ) 30 SG_ATTRIBUTE(T, SkScalar, fRect.fTop ) 31 SG_ATTRIBUTE(R, SkScalar, fRect.fRight ) 32 SG_ATTRIBUTE(B, SkScalar, fRect.fBottom) 44 SkRect fRect;
|
/external/skia/src/gpu/effects/ |
GrAARectEffect.h | 20 SkRect rect() const { return fRect; } 33 , fRect(rect) {} 39 SkRect fRect;
|
GrRectBlurEffect.h | 63 SkRect rect() const { return fRect; } 94 , fRect(rect) 103 SkRect fRect;
|
/external/skqp/src/gpu/effects/ |
GrAARectEffect.h | 20 SkRect rect() const { return fRect; } 33 , fRect(rect) {} 39 SkRect fRect;
|
/external/skia/include/core/ |
SkRRect.h | 111 SkScalar width() const { return fRect.width(); } 112 SkScalar height() const { return fRect.height(); } 172 SkScalar xRad = SkScalarHalf(fRect.width()); 173 SkScalar yRad = SkScalarHalf(fRect.height()); 207 const SkRect& rect() const { return fRect; } 209 const SkRect& getBounds() const { return fRect; } 212 return a.fRect == b.fRect && SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8); 216 return a.fRect != b.fRect || !SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8) [all...] |
/external/skqp/include/core/ |
SkRRect.h | 121 SkScalar width() const { return fRect.width(); } 122 SkScalar height() const { return fRect.height(); } 173 SkScalar xRad = SkScalarHalf(fRect.width()); 174 SkScalar yRad = SkScalarHalf(fRect.height()); 208 const SkRect& rect() const { return fRect; } 210 const SkRect& getBounds() const { return fRect; } 222 return a.fRect == b.fRect && SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8); 226 return a.fRect != b.fRect || !SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8) [all...] |
/external/skia/src/gpu/ops/ |
GrNonAAStrokeRectOp.cpp | 75 fColor, fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom, fStrokeWidth); 104 fRect = rect; 106 fRect.sort(); 176 init_stroke_rect_strip(vertex, fRect, fStrokeWidth); 180 vertex[0].set(fRect.fLeft, fRect.fTop); 181 vertex[1].set(fRect.fRight, fRect.fTop) [all...] |
/external/skqp/src/gpu/ops/ |
GrNonAAStrokeRectOp.cpp | 75 fColor, fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom, fStrokeWidth); 104 fRect = rect; 106 fRect.sort(); 176 init_stroke_rect_strip(vertex, fRect, fStrokeWidth); 180 vertex[0].set(fRect.fLeft, fRect.fTop); 181 vertex[1].set(fRect.fRight, fRect.fTop) [all...] |
/external/skia/tests/ |
TracingTest.cpp | 62 TracingRect(SkRect rect) : fRect(rect) {} 66 fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom); 69 SkRect fRect;
|
InfRectTest.cpp | 17 SkIRect fRect; 31 gData[index].fRect.centerX() == gData[index].fCenter.x()); 33 gData[index].fRect.centerY() == gData[index].fCenter.y());
|
/external/skqp/tests/ |
TracingTest.cpp | 62 TracingRect(SkRect rect) : fRect(rect) {} 66 fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom); 69 SkRect fRect;
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
BindingsVersioningTest.java | 37 struct.fRect = newRect(5); 65 v1.fRect = newRect(5); 68 expected.fRect = newRect(5); 79 v3.fRect = newRect(5); 83 expected.fRect = newRect(5); 95 v5.fRect = newRect(5); 100 expected.fRect = newRect(5); 114 v7.fRect = newRect(5); 123 expected.fRect = newRect(5); 158 expected.fRect = newRect(5) [all...] |
/external/skia/gm/ |
simpleaaclip.cpp | 62 fRect = fBase; 63 fRect.inset(5, 5); 64 fRect.offset(25, 25); 67 fRectPath.addRoundRect(fRect, SkIntToScalar(5), SkIntToScalar(5)); 86 canvas->drawRect(fRect, paint); 115 canvas->clipRect(fRect, op, true); 189 SkRect fRect; 192 SkPath fRectPath; // fRect as a round rect
|
/external/skqp/gm/ |
simpleaaclip.cpp | 62 fRect = fBase; 63 fRect.inset(5, 5); 64 fRect.offset(25, 25); 67 fRectPath.addRoundRect(fRect, SkIntToScalar(5), SkIntToScalar(5)); 86 canvas->drawRect(fRect, paint); 115 canvas->clipRect(fRect, op, true); 189 SkRect fRect; 192 SkPath fRectPath; // fRect as a round rect
|
/external/skia/samplecode/ |
SampleXfer.cpp | 39 SkRect fRect; 44 fRect = rect; 52 canvas->drawRoundRect(fRect, 8, 8, paint); 58 canvas->drawString(fLabel, fRect.centerX(), fRect.fTop + 0.68f * fRect.height(), paint); 62 return fRect.intersects(x - 1, y - 1, x + 1, y + 1);
|
/external/skqp/samplecode/ |
SampleXfer.cpp | 39 SkRect fRect; 44 fRect = rect; 52 canvas->drawRoundRect(fRect, 8, 8, paint); 58 canvas->drawString(fLabel, fRect.centerX(), fRect.fTop + 0.68f * fRect.height(), paint); 62 return fRect.intersects(x - 1, y - 1, x + 1, y + 1);
|