Home
last modified time | relevance | path

Searched refs:setXYWH (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/flutter/skia/samplecode/
DSampleTextureDomain.cpp46 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()
DSampleClip.cpp42 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()
DSampleQuadStroker.cpp236 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 …]
DSampleLitAtlas.cpp339 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/
Dlattice.cpp60 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 …]
Dninepatchstretch.cpp40 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/
Dlattice.cpp61 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 …]
Dninepatchstretch.cpp39 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()
Dstrokerects.cpp48 r->setXYWH(x, y, w, h); in rnd_rect()
Dstringart.cpp135 fRects[i].setXYWH(x, y, 400, 400);
/third_party/skia/samplecode/
DSampleQuadStroker.cpp229 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 …]
DSampleClip.cpp42 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/
DSkFrameHolder.h101 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/
DSkFrameHolder.h101 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/
DMaskCacheTest.cpp47 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/
DMaskCacheTest.cpp47 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/
DIRect_setXYWH.cpp8 rect.setXYWH(5, 35, -15, 25); in draw()
DRect_setXYWH.cpp8 rect.setXYWH(5, 35, -15, 25); in draw()
/third_party/skia/docs/examples/
DRect_setXYWH.cpp8 rect.setXYWH(5, 35, -15, 25); in draw()
DIRect_setXYWH.cpp8 rect.setXYWH(5, 35, -15, 25); in draw()
/third_party/flutter/skia/src/android/
DSkBitmapRegionDecoderPriv.h52 subset->setXYWH(left, top, width, height); in adjust_subset_rect()
/third_party/skia/client_utils/android/
DBitmapRegionDecoderPriv.h52 subset->setXYWH(left, top, width, height); in adjust_subset_rect()
/third_party/flutter/skia/src/gpu/
DGrFixedClip.cpp21 devResult->setXYWH(0, 0, w, h); in getConservativeBounds()
/third_party/skia/bench/
DBulkRectBench.cpp194 fRects[i].setXYWH(x, y, w, h); in onDelayedSetup()
205 fRects[i].setXYWH(x, y, w, h); in onDelayedSetup()
/third_party/skia/src/core/
DSkRasterClipStack.h26 fRootBounds.setXYWH(0, 0, w, h); in setNewSize()

1234