Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleTextureDomain.cpp54 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
55 dstRect.setXYWH(5, 5, 305, 305); in onDrawContent()
65 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
66 dstRect.setXYWH(1, 1, 3, 3); in onDrawContent()
72 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
73 dstRect.setXYWH(405, 5, 305, 305); in onDrawContent()
78 srcRect.setXYWH(1, 1, 3, 3); in onDrawContent()
79 dstRect.setXYWH(5, 405, 305, 305); in onDrawContent()
98 dstRect.setXYWH(-150, -150, 300, 300); in onDrawContent()
DSampleClip.cpp44 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill()
49 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill()
73 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
78 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
DSampleQuadStroker.cpp221 fRadiusControl.setXYWH(this->width() - 200, 30, 30, 400); in onSizeChange()
222 fWeightControl.setXYWH(this->width() - 150, 30, 30, 400); in onSizeChange()
223 fErrorControl.setXYWH(this->width() - 100, 30, 30, 400); in onSizeChange()
224 fWidthControl.setXYWH(this->width() - 50, 30, 30, 400); in onSizeChange()
226 fCubicButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
228 fConicButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
230 fQuadButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
232 fArcButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
234 fRRectButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
236 fCircleButton.fBounds.setXYWH(this->width() - 50, SkIntToScalar(buttonOffset), 30, 30); in onSizeChange()
[all …]
DSampleAtlas.cpp153 fTex[i].setXYWH(sx, sy, cell, cell); in DrawAtlasDrawable()
/external/skia/gm/
Dninepatchstretch.cpp32 center->setXYWH(kFixed, kFixed, kStretchy, kStretchy); in make_image()
39 r.setXYWH(SkIntToScalar(kFixed), 0, SkIntToScalar(kStretchy), SkIntToScalar(kSize)); in make_image()
42 r.setXYWH(0, SkIntToScalar(kFixed), SkIntToScalar(kSize), SkIntToScalar(kStretchy)); in make_image()
Dlcdblendmodes.cpp140 r.setXYWH(0, y - fTextHeight, SkIntToScalar(kColWidth), fTextHeight); in drawColumn()
Ddrawbitmaprect.cpp213 srcRect.setXYWH(1, 1, 3, 3); in onDraw()
/external/skia/tests/
DMaskCacheTest.cpp48 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST()
86 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST()
DAAClipTest.cpp237 r->setXYWH(0, 0, rand.nextU() % N, rand.nextU() % N); in rand_irect()
DPathOpsBuilderConicTest.cpp86 set.fBounds.setXYWH(5, 5, in setupOne()
/external/skia/src/gpu/text/
DGrFontScaler.cpp72 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); in getPackedGlyphBounds()
83 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); in getPackedGlyphDFBounds()
/external/skia/src/android/
DSkBitmapRegionDecoderPriv.h50 subset->setXYWH(left, top, width, height); in adjust_subset_rect()
/external/skia/bench/
DGeometryBench.cpp58 fRects[i].setXYWH(x, y, w, h); in onDelayedSetup()
DPathBench.cpp230 tempBounds.setXYWH(0, 0, SK_Scalar1, SK_Scalar1); in createData()
/external/skia/tools/debugger/
DSkDebugCanvas.h167 bounds->setXYWH(0, 0, in getClipBounds()
/external/skia/include/core/
DSkDevice.h51 bounds->setXYWH(origin.x(), origin.y(), this->width(), this->height()); in getGlobalBounds()
DSkRect.h138 void setXYWH(int32_t x, int32_t y, int32_t width, int32_t height) { in setXYWH() function
579 void setXYWH(SkScalar x, SkScalar y, SkScalar width, SkScalar height) { in setXYWH() function
/external/skia/src/codec/
DSkSampledCodec.cpp173 subset.setXYWH(subsetX, 0, subsetWidth, nativeSize.height()); in sampledDecode()
DSkGifCodec.cpp385 frameRect->setXYWH(frameLeft, frameTop, frameWidth, frameHeight);
DSkJpegCodec.cpp456 fSwizzlerSubset.setXYWH(options.fSubset->x() - startX, 0, in onStartScanlineDecode()
/external/skia/fuzz/
Dfuzz.cpp298 subset.setXYWH(x, y, preScaleW, preScaleH); in fuzz_img()
/external/skia/src/core/
DSkBitmap.cpp843 subset.setXYWH(fPixelRefOrigin.fX, fPixelRefOrigin.fY, in copyTo()
/external/skia/dm/
DDMSrcSink.cpp584 subset.setXYWH(x, y, preScaleW, preScaleH); in draw()