Home
last modified time | relevance | path

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

1234

/external/skia/samplecode/
DSampleTextureDomain.cpp52 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
53 dstRect.setXYWH(5, 5, 305, 305); in onDrawContent()
63 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
64 dstRect.setXYWH(1, 1, 3, 3); in onDrawContent()
70 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
71 dstRect.setXYWH(405, 5, 305, 305); in onDrawContent()
76 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
77 dstRect.setXYWH(5, 405, 305, 305); in onDrawContent()
90 dstRect.setXYWH(-150, -150, 300, 300); in onDrawContent()
DSampleClip.cpp43 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill()
48 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill()
72 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
77 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
DSampleQuadStroker.cpp239 fRadiusControl.setXYWH(this->width() - 200, 30, 30, 400); in onSizeChange()
240 fWeightControl.setXYWH(this->width() - 150, 30, 30, 400); in onSizeChange()
241 fErrorControl.setXYWH(this->width() - 100, 30, 30, 400); in onSizeChange()
242 fWidthControl.setXYWH(this->width() - 50, 30, 30, 400); in onSizeChange()
244 fCubicButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
246 fConicButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
248 fQuadButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
250 fArcButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
252 fRRectButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
254 fCircleButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
[all …]
DSampleLitAtlas.cpp345 diffTex->setXYWH(SkIntToScalar(kDiffXOff), gYOffs[fObjType], in initAsteroid()
347 normTex->setXYWH(SkIntToScalar(kNormXOff), gYOffs[fObjType], in initAsteroid()
358 diffTex->setXYWH(SkIntToScalar(kDiffXOff), SkIntToScalar(kShipYOff), in initShip()
360 normTex->setXYWH(SkIntToScalar(kNormXOff), SkIntToScalar(kShipYOff), in initShip()
/external/skqp/samplecode/
DSampleTextureDomain.cpp52 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
53 dstRect.setXYWH(5, 5, 305, 305); in onDrawContent()
63 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
64 dstRect.setXYWH(1, 1, 3, 3); in onDrawContent()
70 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
71 dstRect.setXYWH(405, 5, 305, 305); in onDrawContent()
76 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
77 dstRect.setXYWH(5, 405, 305, 305); in onDrawContent()
90 dstRect.setXYWH(-150, -150, 300, 300); in onDrawContent()
DSampleClip.cpp43 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill()
48 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill()
72 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
77 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
DSampleQuadStroker.cpp239 fRadiusControl.setXYWH(this->width() - 200, 30, 30, 400); in onSizeChange()
240 fWeightControl.setXYWH(this->width() - 150, 30, 30, 400); in onSizeChange()
241 fErrorControl.setXYWH(this->width() - 100, 30, 30, 400); in onSizeChange()
242 fWidthControl.setXYWH(this->width() - 50, 30, 30, 400); in onSizeChange()
244 fCubicButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
246 fConicButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
248 fQuadButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
250 fArcButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
252 fRRectButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
254 fCircleButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
[all …]
DSampleLitAtlas.cpp345 diffTex->setXYWH(SkIntToScalar(kDiffXOff), gYOffs[fObjType], in initAsteroid()
347 normTex->setXYWH(SkIntToScalar(kNormXOff), gYOffs[fObjType], in initAsteroid()
358 diffTex->setXYWH(SkIntToScalar(kDiffXOff), SkIntToScalar(kShipYOff), in initShip()
360 normTex->setXYWH(SkIntToScalar(kNormXOff), SkIntToScalar(kShipYOff), in initShip()
/external/skia/gm/
Dlattice.cpp47 r.setXYWH(SkIntToScalar(kCap), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
50 r.setXYWH(SkIntToScalar(kCap + kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
53 r.setXYWH(SkIntToScalar(kCap + 2*kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
57 r.setXYWH(0, SkIntToScalar(kCap), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
60 r.setXYWH(0, SkIntToScalar(kCap + kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
63 r.setXYWH(0, SkIntToScalar(kCap + 2*kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
228 r.setXYWH(0, 0, 4, 1); //4x1 green rect in makeImage()
232 r.setXYWH(4, 0, 1, 1); //1x1 blue pixel -> draws as rectangle in makeImage()
236 r.setXYWH(5, 0, kSize-5, 1); //the rest of the line is red in makeImage()
242 r.setXYWH(0, 1, 4, 1); //4x1 red rect in makeImage()
[all …]
Dninepatchstretch.cpp29 center->setXYWH(kFixed, kFixed, kStretchy, kStretchy); in make_image()
36 r.setXYWH(SkIntToScalar(kFixed), 0, SkIntToScalar(kStretchy), SkIntToScalar(kSize)); in make_image()
39 r.setXYWH(0, SkIntToScalar(kFixed), SkIntToScalar(kSize), SkIntToScalar(kStretchy)); in make_image()
Dstringart.cpp129 fRects[i].setXYWH(x, y, 400, 400);
/external/skqp/gm/
Dlattice.cpp47 r.setXYWH(SkIntToScalar(kCap), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
50 r.setXYWH(SkIntToScalar(kCap + kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
53 r.setXYWH(SkIntToScalar(kCap + 2*kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
57 r.setXYWH(0, SkIntToScalar(kCap), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
60 r.setXYWH(0, SkIntToScalar(kCap + kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
63 r.setXYWH(0, SkIntToScalar(kCap + 2*kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
228 r.setXYWH(0, 0, 4, 1); //4x1 green rect in makeImage()
232 r.setXYWH(4, 0, 1, 1); //1x1 blue pixel -> draws as rectangle in makeImage()
236 r.setXYWH(5, 0, kSize-5, 1); //the rest of the line is red in makeImage()
242 r.setXYWH(0, 1, 4, 1); //4x1 red rect in makeImage()
[all …]
Dninepatchstretch.cpp29 center->setXYWH(kFixed, kFixed, kStretchy, kStretchy); in make_image()
36 r.setXYWH(SkIntToScalar(kFixed), 0, SkIntToScalar(kStretchy), SkIntToScalar(kSize)); in make_image()
39 r.setXYWH(0, SkIntToScalar(kFixed), SkIntToScalar(kSize), SkIntToScalar(kStretchy)); in make_image()
Dstringart.cpp129 fRects[i].setXYWH(x, y, 400, 400);
Dlcdblendmodes.cpp127 r.setXYWH(0, y - fTextHeight, SkIntToScalar(kColWidth), fTextHeight); in drawColumn()
/external/skia/src/codec/
DSkFrameHolder.h99 void setXYWH(int x, int y, int width, int height) { in setXYWH() function
100 fRect.setXYWH(x, y, width, height); in setXYWH()
/external/skqp/src/codec/
DSkFrameHolder.h99 void setXYWH(int x, int y, int width, int height) { in setXYWH() function
100 fRect.setXYWH(x, y, width, height); in setXYWH()
/external/skqp/tests/
DMaskCacheTest.cpp47 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST()
84 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST()
/external/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()
/external/skia/src/android/
DSkBitmapRegionDecoderPriv.h52 subset->setXYWH(left, top, width, height); in adjust_subset_rect()
/external/skqp/src/android/
DSkBitmapRegionDecoderPriv.h52 subset->setXYWH(left, top, width, height); in adjust_subset_rect()
/external/skqp/src/gpu/
DGrFixedClip.cpp21 devResult->setXYWH(0, 0, w, h); in getConservativeBounds()
DGrClip.h165 devResult->setXYWH(0, 0, width, height); in getConservativeBounds()
/external/skia/src/gpu/
DGrFixedClip.cpp21 devResult->setXYWH(0, 0, w, h); in getConservativeBounds()
DGrClip.h165 devResult->setXYWH(0, 0, width, height); in getConservativeBounds()

1234