/third_party/flutter/skia/samplecode/ |
D | SampleTextureDomain.cpp | 46 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent() 47 dstRect.setXYWH(5, 5, 305, 305); in onDrawContent() 57 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent() 58 dstRect.setXYWH(1, 1, 3, 3); in onDrawContent() 64 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent() 65 dstRect.setXYWH(405, 5, 305, 305); in onDrawContent() 70 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent() 71 dstRect.setXYWH(5, 405, 305, 305); in onDrawContent() 84 dstRect.setXYWH(-150, -150, 300, 300); in onDrawContent()
|
D | SampleClip.cpp | 42 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 47 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 71 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke() 76 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
|
D | SampleQuadStroker.cpp | 236 fRadiusControl.setXYWH(this->width() - 200, 30, 30, 400); in onSizeChange() 237 fWeightControl.setXYWH(this->width() - 150, 30, 30, 400); in onSizeChange() 238 fErrorControl.setXYWH(this->width() - 100, 30, 30, 400); in onSizeChange() 239 fWidthControl.setXYWH(this->width() - 50, 30, 30, 400); in onSizeChange() 241 fCubicButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() 243 fConicButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() 245 fQuadButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() 247 fArcButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() 249 fRRectButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() 251 fCircleButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() [all …]
|
D | SampleLitAtlas.cpp | 339 diffTex->setXYWH(SkIntToScalar(kDiffXOff), gYOffs[fObjType], in initAsteroid() 341 normTex->setXYWH(SkIntToScalar(kNormXOff), gYOffs[fObjType], in initAsteroid() 352 diffTex->setXYWH(SkIntToScalar(kDiffXOff), SkIntToScalar(kShipYOff), in initShip() 354 normTex->setXYWH(SkIntToScalar(kNormXOff), SkIntToScalar(kShipYOff), in initShip()
|
/third_party/flutter/skia/gm/ |
D | lattice.cpp | 60 r.setXYWH(SkIntToScalar(kCap), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image() 63 r.setXYWH(SkIntToScalar(kCap + kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image() 66 r.setXYWH(SkIntToScalar(kCap + 2*kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image() 70 r.setXYWH(0, SkIntToScalar(kCap), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image() 73 r.setXYWH(0, SkIntToScalar(kCap + kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image() 76 r.setXYWH(0, SkIntToScalar(kCap + 2*kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image() 241 r.setXYWH(0, 0, 4, 1); //4x1 green rect in makeImage() 245 r.setXYWH(4, 0, 1, 1); //1x1 blue pixel -> draws as rectangle in makeImage() 249 r.setXYWH(5, 0, kSize-5, 1); //the rest of the line is red in makeImage() 255 r.setXYWH(0, 1, 4, 1); //4x1 red rect in makeImage() [all …]
|
D | ninepatchstretch.cpp | 40 center->setXYWH(kFixed, kFixed, kStretchy, kStretchy); in make_image() 47 r.setXYWH(SkIntToScalar(kFixed), 0, SkIntToScalar(kStretchy), SkIntToScalar(kSize)); in make_image() 50 r.setXYWH(0, SkIntToScalar(kFixed), SkIntToScalar(kSize), SkIntToScalar(kStretchy)); in make_image()
|
/third_party/skia/gm/ |
D | lattice.cpp | 61 r.setXYWH(SkIntToScalar(kCap), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image() 64 r.setXYWH(SkIntToScalar(kCap + kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image() 67 r.setXYWH(SkIntToScalar(kCap + 2*kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image() 71 r.setXYWH(0, SkIntToScalar(kCap), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image() 74 r.setXYWH(0, SkIntToScalar(kCap + kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image() 77 r.setXYWH(0, SkIntToScalar(kCap + 2*kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image() 250 r.setXYWH(0, 0, 4, 1); //4x1 green rect in makeImage() 254 r.setXYWH(4, 0, 1, 1); //1x1 blue pixel -> draws as rectangle in makeImage() 258 r.setXYWH(5, 0, kSize-5, 1); //the rest of the line is red in makeImage() 264 r.setXYWH(0, 1, 4, 1); //4x1 red rect in makeImage() [all …]
|
D | ninepatchstretch.cpp | 39 center->setXYWH(kFixed, kFixed, kStretchy, kStretchy); in make_image() 46 r.setXYWH(SkIntToScalar(kFixed), 0, SkIntToScalar(kStretchy), SkIntToScalar(kSize)); in make_image() 49 r.setXYWH(0, SkIntToScalar(kFixed), SkIntToScalar(kSize), SkIntToScalar(kStretchy)); in make_image()
|
D | strokerects.cpp | 48 r->setXYWH(x, y, w, h); in rnd_rect()
|
D | stringart.cpp | 135 fRects[i].setXYWH(x, y, 400, 400);
|
/third_party/skia/samplecode/ |
D | SampleQuadStroker.cpp | 229 fRadiusControl.setXYWH(this->width() - 200, 30, 30, 400); in onSizeChange() 230 fWeightControl.setXYWH(this->width() - 150, 30, 30, 400); in onSizeChange() 231 fErrorControl.setXYWH(this->width() - 100, 30, 30, 400); in onSizeChange() 232 fWidthControl.setXYWH(this->width() - 50, 30, 30, 400); in onSizeChange() 234 fCubicButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() 236 fConicButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() 238 fQuadButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() 240 fArcButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() 242 fRRectButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() 244 fCircleButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange() [all …]
|
D | SampleClip.cpp | 42 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 47 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill() 69 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke() 74 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
|
/third_party/skia/src/codec/ |
D | SkFrameHolder.h | 101 void setXYWH(int x, int y, int width, int height) { in setXYWH() function 102 fRect.setXYWH(x, y, width, height); in setXYWH()
|
/third_party/flutter/skia/src/codec/ |
D | SkFrameHolder.h | 101 void setXYWH(int x, int y, int width, int height) { in setXYWH() function 102 fRect.setXYWH(x, y, width, height); in setXYWH()
|
/third_party/skia/tests/ |
D | MaskCacheTest.cpp | 47 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST() 84 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST()
|
/third_party/flutter/skia/tests/ |
D | MaskCacheTest.cpp | 47 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST() 84 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST()
|
/third_party/flutter/skia/docs/examples/ |
D | IRect_setXYWH.cpp | 8 rect.setXYWH(5, 35, -15, 25); in draw()
|
D | Rect_setXYWH.cpp | 8 rect.setXYWH(5, 35, -15, 25); in draw()
|
/third_party/skia/docs/examples/ |
D | Rect_setXYWH.cpp | 8 rect.setXYWH(5, 35, -15, 25); in draw()
|
D | IRect_setXYWH.cpp | 8 rect.setXYWH(5, 35, -15, 25); in draw()
|
/third_party/flutter/skia/src/android/ |
D | SkBitmapRegionDecoderPriv.h | 52 subset->setXYWH(left, top, width, height); in adjust_subset_rect()
|
/third_party/skia/client_utils/android/ |
D | BitmapRegionDecoderPriv.h | 52 subset->setXYWH(left, top, width, height); in adjust_subset_rect()
|
/third_party/flutter/skia/src/gpu/ |
D | GrFixedClip.cpp | 21 devResult->setXYWH(0, 0, w, h); in getConservativeBounds()
|
/third_party/skia/bench/ |
D | BulkRectBench.cpp | 194 fRects[i].setXYWH(x, y, w, h); in onDelayedSetup() 205 fRects[i].setXYWH(x, y, w, h); in onDelayedSetup()
|
/third_party/skia/src/core/ |
D | SkRasterClipStack.h | 26 fRootBounds.setXYWH(0, 0, w, h); in setNewSize()
|