/external/skia/samplecode/ |
D | SampleTextureDomain.cpp | 54 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()
|
D | SampleClip.cpp | 45 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()
|
D | SampleQuadStroker.cpp | 221 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 …]
|
D | SampleLitAtlas.cpp | 344 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()
|
D | SampleAtlas.cpp | 153 fTex[i].setXYWH(sx, sy, cell, cell); in DrawAtlasDrawable()
|
/external/skia/gm/ |
D | lattice.cpp | 51 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()
|
D | ninepatchstretch.cpp | 32 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()
|
D | lcdblendmodes.cpp | 132 r.setXYWH(0, y - fTextHeight, SkIntToScalar(kColWidth), fTextHeight); in drawColumn()
|
D | drawbitmaprect.cpp | 232 srcRect.setXYWH(1, 1, 3, 3); in onDraw()
|
/external/skia/tests/ |
D | MaskCacheTest.cpp | 48 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST() 86 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST()
|
D | AAClipTest.cpp | 238 r->setXYWH(0, 0, rand.nextU() % N, rand.nextU() % N); in rand_irect()
|
D | ClipStackTest.cpp | 991 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/ |
D | SkBitmapRegionDecoderPriv.h | 52 subset->setXYWH(left, top, width, height); in adjust_subset_rect()
|
/external/skia/src/gpu/ |
D | GrFixedClip.cpp | 21 devResult->setXYWH(0, 0, w, h); in getConservativeBounds()
|
D | GrClip.h | 141 devResult->setXYWH(0, 0, width, height); in getConservativeBounds()
|
D | GrClipStackClip.cpp | 62 devResult->setXYWH(0, 0, width, height); in getConservativeBounds()
|
/external/skia/src/gpu/text/ |
D | GrAtlasGlyphCache.cpp | 221 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/ |
D | SkRasterClipStack.h | 76 fRootBounds.setXYWH(0, 0, w, h); in setNewSize()
|
D | SkDevice.h | 51 bounds->setXYWH(origin.x(), origin.y(), this->width(), this->height()); in getGlobalBounds()
|
/external/skia/bench/ |
D | GeometryBench.cpp | 58 fRects[i].setXYWH(x, y, w, h); in onDelayedSetup()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.cpp | 253 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/ |
D | SkSampledCodec.cpp | 203 subset.setXYWH(subsetX, 0, subsetWidth, nativeSize.height()); in sampledDecode()
|
D | SkJpegCodec.cpp | 735 fSwizzlerSubset.setXYWH(options.fSubset->x() - startX, 0, in onStartScanlineDecode()
|
/external/skia/include/core/ |
D | SkRect.h | 138 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/ |
D | fuzz.cpp | 362 subset.setXYWH(x, y, preScaleW, preScaleH); in fuzz_img()
|