Home
last modified time | relevance | path

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

12

/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()
96 dstRect.setXYWH(-150, -150, 300, 300); in onDrawContent()
DSampleClip.cpp45 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill()
50 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_fill()
74 r.setXYWH(rand.nextSScalar1() * W, rand.nextSScalar1() * H, in show_stroke()
79 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 …]
DSampleLitAtlas.cpp344 diffTex->setXYWH(SkIntToScalar(kDiffXOff), gYOffs[fObjType], in initAsteroid()
346 normTex->setXYWH(SkIntToScalar(kNormXOff), gYOffs[fObjType], in initAsteroid()
357 diffTex->setXYWH(SkIntToScalar(kDiffXOff), SkIntToScalar(kShipYOff), in initShip()
359 normTex->setXYWH(SkIntToScalar(kNormXOff), SkIntToScalar(kShipYOff), in initShip()
DSampleAtlas.cpp153 fTex[i].setXYWH(sx, sy, cell, cell); in DrawAtlasDrawable()
/external/skia/gm/
Dlattice.cpp51 r.setXYWH(SkIntToScalar(kCap), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
54 r.setXYWH(SkIntToScalar(kCap + kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
57 r.setXYWH(SkIntToScalar(kCap + 2*kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
61 r.setXYWH(0, SkIntToScalar(kCap), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
64 r.setXYWH(0, SkIntToScalar(kCap + kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
67 r.setXYWH(0, SkIntToScalar(kCap + 2*kMid), SkIntToScalar(kSize), SkIntToScalar(kMid)); in make_image()
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.cpp132 r.setXYWH(0, y - fTextHeight, SkIntToScalar(kColWidth), fTextHeight); in drawColumn()
Ddrawbitmaprect.cpp232 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.cpp238 r->setXYWH(0, 0, rand.nextU() % N, rand.nextU() % N); in rand_irect()
DClipStackTest.cpp991 rect.setXYWH(xy.fX, xy.fY, size.fWidth, size.fHeight); in test_reduced_clip_stack()
998 rect.setXYWH(SkScalarFloorToScalar(xy.fX), in test_reduced_clip_stack()
/external/skia/src/android/
DSkBitmapRegionDecoderPriv.h52 subset->setXYWH(left, top, width, height); in adjust_subset_rect()
/external/skia/src/gpu/
DGrFixedClip.cpp21 devResult->setXYWH(0, 0, w, h); in getConservativeBounds()
DGrClip.h141 devResult->setXYWH(0, 0, width, height); in getConservativeBounds()
DGrClipStackClip.cpp62 devResult->setXYWH(0, 0, width, height); in getConservativeBounds()
/external/skia/src/gpu/text/
DGrAtlasGlyphCache.cpp221 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); in get_packed_glyph_bounds()
233 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); in get_packed_glyph_df_bounds()
/external/skia/src/core/
DSkRasterClipStack.h76 fRootBounds.setXYWH(0, 0, w, h); in setNewSize()
DSkDevice.h51 bounds->setXYWH(origin.x(), origin.y(), this->width(), this->height()); in getGlobalBounds()
/external/skia/bench/
DGeometryBench.cpp58 fRects[i].setXYWH(x, y, w, h); in onDelayedSetup()
/external/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp253 vkRect.setXYWH(0, 0, fRenderTarget->width(), fRenderTarget->height()); in onClearStencilClip()
339 vkRect.setXYWH(0, 0, fRenderTarget->width(), fRenderTarget->height()); in onClear()
/external/skia/src/codec/
DSkSampledCodec.cpp203 subset.setXYWH(subsetX, 0, subsetWidth, nativeSize.height()); in sampledDecode()
DSkJpegCodec.cpp735 fSwizzlerSubset.setXYWH(options.fSubset->x() - startX, 0, in onStartScanlineDecode()
/external/skia/include/core/
DSkRect.h138 void setXYWH(int32_t x, int32_t y, int32_t width, int32_t height) { in setXYWH() function
580 void setXYWH(SkScalar x, SkScalar y, SkScalar width, SkScalar height) { in setXYWH() function
/external/skia/fuzz/
Dfuzz.cpp362 subset.setXYWH(x, y, preScaleW, preScaleH); in fuzz_img()

12