HomeSort by relevance Sort by last modified time
    Searched defs:subset (Results 1 - 25 of 335) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/src/pdf/
SkKeyedImage.cpp 33 SkKeyedImage SkKeyedImage::subset(SkIRect subset) const { function in class:SkKeyedImage
35 if (fImage && subset.intersect(fImage->bounds())) {
36 img.fImage = fImage->makeSubset(subset);
38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID};
  /external/skqp/src/pdf/
SkKeyedImage.cpp 33 SkKeyedImage SkKeyedImage::subset(SkIRect subset) const { function in class:SkKeyedImage
35 if (fImage && subset.intersect(fImage->bounds())) {
36 img.fImage = fImage->makeSubset(subset);
38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID};
  /external/skia/src/core/
SkSpecialSurface.h 71 static sk_sp<SkSpecialSurface> MakeFromBitmap(const SkIRect& subset, SkBitmap& bm,
85 SkSpecialSurface(const SkIRect& subset, const SkSurfaceProps*);
89 const SkIRect& subset() const { return fSubset; } function in class:SkSpecialSurface
SkSpecialImage.h 42 * Note: the contents of the backing storage outside of the subset rect are undefined.
53 const SkIRect& subset() const { return fSubset; } function in class:SkSpecialImage
72 static sk_sp<SkSpecialImage> MakeFromImage(const SkIRect& subset,
76 static sk_sp<SkSpecialImage> MakeFromRaster(const SkIRect& subset,
81 const SkIRect& subset,
105 * Extract a subset of this special image and return it as a special image.
108 sk_sp<SkSpecialImage> makeSubset(const SkIRect& subset) const;
111 * Create an SkImage from the contents of this special image optionally extracting a subset.
113 * Note: when no 'subset' parameter is specified the the entire SkSpecialImage will be
115 * When the 'subset' parameter is specified the returned image will be tight even if tha
    [all...]
SkSpecialSurface.cpp 16 SkSpecialSurface_Base(const SkIRect& subset, const SkSurfaceProps* props)
17 : INHERITED(subset, props)
43 SkSpecialSurface::SkSpecialSurface(const SkIRect& subset,
46 , fSubset(subset) {
68 const SkIRect& subset,
70 : INHERITED(subset, props) {
76 fCanvas->clipRect(SkRect::Make(subset));
85 return SkSpecialImage::MakeFromRaster(this->subset(), fBitmap, &this->props());
94 sk_sp<SkSpecialSurface> SkSpecialSurface::MakeFromBitmap(const SkIRect& subset, SkBitmap& bm,
96 if (subset.isEmpty() || !SkSurfaceValidateRasterInfo(bm.info(), bm.rowBytes()))
113 const SkIRect subset = SkIRect::MakeWH(info.width(), info.height()); local
180 const SkIRect subset = SkIRect::MakeWH(width, height); local
    [all...]
  /external/skqp/src/core/
SkSpecialSurface.h 71 static sk_sp<SkSpecialSurface> MakeFromBitmap(const SkIRect& subset, SkBitmap& bm,
85 SkSpecialSurface(const SkIRect& subset, const SkSurfaceProps*);
89 const SkIRect& subset() const { return fSubset; } function in class:SkSpecialSurface
SkSpecialImage.h 42 * Note: the contents of the backing storage outside of the subset rect are undefined.
53 const SkIRect& subset() const { return fSubset; } function in class:SkSpecialImage
72 static sk_sp<SkSpecialImage> MakeFromImage(const SkIRect& subset,
76 static sk_sp<SkSpecialImage> MakeFromRaster(const SkIRect& subset,
81 const SkIRect& subset,
105 * Extract a subset of this special image and return it as a special image.
108 sk_sp<SkSpecialImage> makeSubset(const SkIRect& subset) const;
111 * Create an SkImage from the contents of this special image optionally extracting a subset.
113 * Note: when no 'subset' parameter is specified the the entire SkSpecialImage will be
115 * When the 'subset' parameter is specified the returned image will be tight even if tha
    [all...]
SkSpecialSurface.cpp 16 SkSpecialSurface_Base(const SkIRect& subset, const SkSurfaceProps* props)
17 : INHERITED(subset, props)
43 SkSpecialSurface::SkSpecialSurface(const SkIRect& subset,
46 , fSubset(subset) {
68 const SkIRect& subset,
70 : INHERITED(subset, props) {
76 fCanvas->clipRect(SkRect::Make(subset));
85 return SkSpecialImage::MakeFromRaster(this->subset(), fBitmap, &this->props());
94 sk_sp<SkSpecialSurface> SkSpecialSurface::MakeFromBitmap(const SkIRect& subset, SkBitmap& bm,
96 if (subset.isEmpty() || !SkSurfaceValidateRasterInfo(bm.info(), bm.rowBytes()))
113 const SkIRect subset = SkIRect::MakeWH(info.width(), info.height()); local
180 const SkIRect subset = SkIRect::MakeWH(width, height); local
    [all...]
  /external/skia/gm/
crosscontextimage.cpp 40 SkIRect subset = SkIRect::MakeXYWH(256 - 64, 256 - 64, 128, 128); local
41 sk_sp<SkImage> encodedSubset = encodedImage->makeSubset(subset);
42 sk_sp<SkImage> crossContextSubset = crossContextImage->makeSubset(subset);
43 sk_sp<SkImage> crossContextRasterSubset = crossContextRaster->makeSubset(subset);
extractbitmap.cpp 53 // Do some subset drawing. This will test that an SkGPipe properly
56 SkBitmap subset; variable
57 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
58 canvas->drawBitmap(subset, 0, 0);
60 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, y));
61 canvas->drawBitmap(subset, SkIntToScalar(x), SkIntToScalar(y));
62 // Draw a subset which has the same height and pixelref offset but a
64 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, bitmap.height()));
67 canvas->drawBitmap(subset, 0, 0);
70 bitmap.extractSubset(&subset, SkIRect::MakeWH(bitmap.height(), y))
    [all...]
imagemakewithfilter.cpp 19 static void show_bounds(SkCanvas* canvas, const SkIRect& subset, const SkIRect& clip) {
20 SkIRect rects[] { subset, clip };
34 // We'll then draw the appropriate subset of the result to the screen at the
80 SkIRect subset = SkIRect::MakeXYWH(25, 25, 50, 50); variable
83 sk_sp<SkImage> result = source->makeWithFilter(filters[i].get(), subset, clipBound,
imagemasksubset.cpp 70 // Checks whether subset SkImages preserve the original color type (A8 in this case).
81 sk_sp<SkImage> subset = image->makeSubset(kSubset); local
82 canvas->drawImageRect(subset, kDest.makeOffset(kSize.width() * 1.5f, 0), &paint);
  /external/skia/samplecode/
SampleWritePixels.cpp 51 SkBitmap subset; local
52 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
57 canvas->writePixels(subset, 0, 0);
  /external/skia/src/gpu/
GrBitmapTextureMaker.cpp 27 SkIRect subset = SkIRect::MakeXYWH(origin.fX, origin.fY, bitmap.width(), local
29 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset);
  /external/skia/tests/
SpecialSurfaceTest.cpp 21 static const SkIRect& Subset(const SkSpecialSurface* surf) {
22 return surf->subset();
37 const SkIRect surfSubset = TestingSpecialSurfaceAccess::Subset(surf.get());
51 const SkIRect imgSubset = img->subset();
71 const SkIRect subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local
73 sk_sp<SkSpecialSurface> surf(SkSpecialSurface::MakeFromBitmap(subset, bm));
  /external/skqp/gm/
crosscontextimage.cpp 40 SkIRect subset = SkIRect::MakeXYWH(256 - 64, 256 - 64, 128, 128); local
41 sk_sp<SkImage> encodedSubset = encodedImage->makeSubset(subset);
42 sk_sp<SkImage> crossContextSubset = crossContextImage->makeSubset(subset);
43 sk_sp<SkImage> crossContextRasterSubset = crossContextRaster->makeSubset(subset);
extractbitmap.cpp 53 // Do some subset drawing. This will test that an SkGPipe properly
56 SkBitmap subset; variable
57 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
58 canvas->drawBitmap(subset, 0, 0);
60 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, y));
61 canvas->drawBitmap(subset, SkIntToScalar(x), SkIntToScalar(y));
62 // Draw a subset which has the same height and pixelref offset but a
64 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, bitmap.height()));
67 canvas->drawBitmap(subset, 0, 0);
70 bitmap.extractSubset(&subset, SkIRect::MakeWH(bitmap.height(), y))
    [all...]
imagemakewithfilter.cpp 19 static void show_bounds(SkCanvas* canvas, const SkIRect& subset, const SkIRect& clip) {
20 SkIRect rects[] { subset, clip };
34 // We'll then draw the appropriate subset of the result to the screen at the
80 SkIRect subset = SkIRect::MakeXYWH(25, 25, 50, 50); variable
83 sk_sp<SkImage> result = source->makeWithFilter(filters[i].get(), subset, clipBound,
imagemasksubset.cpp 70 // Checks whether subset SkImages preserve the original color type (A8 in this case).
81 sk_sp<SkImage> subset = image->makeSubset(kSubset); local
82 canvas->drawImageRect(subset, kDest.makeOffset(kSize.width() * 1.5f, 0), &paint);
  /external/skqp/samplecode/
SampleWritePixels.cpp 51 SkBitmap subset; local
52 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
57 canvas->writePixels(subset, 0, 0);
  /external/skqp/src/gpu/
GrBitmapTextureMaker.cpp 27 SkIRect subset = SkIRect::MakeXYWH(origin.fX, origin.fY, bitmap.width(), local
29 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset);
GrBackendTextureImageGenerator.cpp 151 // will be cached and re-used. If they draw a subset, though, we may be
183 // Otherwise, make a copy of the requested subset. Make sure our temporary is renderable,
196 SkIRect subset = SkIRect::MakeXYWH(origin.fX, origin.fY, info.width(), info.height()); local
197 if (!rtContext->copy(proxy.get(), subset, SkIPoint::Make(0, 0))) {
  /external/skqp/tests/
SpecialSurfaceTest.cpp 21 static const SkIRect& Subset(const SkSpecialSurface* surf) {
22 return surf->subset();
37 const SkIRect surfSubset = TestingSpecialSurfaceAccess::Subset(surf.get());
51 const SkIRect imgSubset = img->subset();
71 const SkIRect subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local
73 sk_sp<SkSpecialSurface> surf(SkSpecialSurface::MakeFromBitmap(subset, bm));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
Character_SubsetTest.java 25 * java.lang.Character.Subset#Character.Subset(java.lang.String)
31 new Character.Subset(null) {
39 * java.lang.Character.Subset#toString()
44 Character.Subset subset = new Character.Subset(name) { local
46 assertSame(name, subset.toString());
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
TreeMultisetTest.java 88 assertThat(elementSet.subSet("a", "c")).has().exactly("a", "b").inOrder();
102 SortedSet<String> subset = elementSet.subSet("b", "f"); local
103 assertThat(subset).has().exactly("b", "c", "d", "e").inOrder();
105 assertTrue(subset.remove("c"));
107 assertThat(subset).has().exactly("b", "d", "e").inOrder();
110 assertFalse(subset.remove("a"));
112 assertThat(subset).has().exactly("b", "d", "e").inOrder();
127 SortedSet<String> subset = elementSet.subSet("b", "f") local
147 SortedSet<String> subset = elementSet.subSet("b", "f"); local
167 SortedSet<String> subset = elementSet.subSet("b", "f"); local
    [all...]

Completed in 555 milliseconds

1 2 3 4 5 6 7 8 91011>>