HomeSort by relevance Sort by last modified time
    Searched refs:subset (Results 51 - 75 of 341) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/skqp/samplecode/
SampleWritePixels.cpp 49 SkBitmap subset; local
50 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
55 canvas->writePixels(subset, 0, 0);
  /external/skia/tests/
BitmapCopyTest.cpp 89 SkBitmap subset; local
91 // Extract a subset which has the same width as the original. This
96 if (kUnknown_SkColorType != bitmap.colorType() && bitmap.extractSubset(&subset, r)) {
97 REPORTER_ASSERT(reporter, subset.width() == W);
98 REPORTER_ASSERT(reporter, subset.height() == 2);
99 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType());
100 REPORTER_ASSERT(reporter, subset.isVolatile() == true);
102 // Test copying an extracted subset.
105 bool success = sk_tool_utils::copy_to(&copy, gPairs[j].fColorType, subset);
113 // When performing a copy of an extracted subset, the gen id shoul
    [all...]
DeviceTest.cpp 58 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
67 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
74 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset());
101 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
111 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
121 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
128 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset());
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/tests/
BitmapCopyTest.cpp 89 SkBitmap subset; local
91 // Extract a subset which has the same width as the original. This
96 if (kUnknown_SkColorType != bitmap.colorType() && bitmap.extractSubset(&subset, r)) {
97 REPORTER_ASSERT(reporter, subset.width() == W);
98 REPORTER_ASSERT(reporter, subset.height() == 2);
99 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType());
100 REPORTER_ASSERT(reporter, subset.isVolatile() == true);
102 // Test copying an extracted subset.
105 bool success = sk_tool_utils::copy_to(&copy, gPairs[j].fColorType, subset);
113 // When performing a copy of an extracted subset, the gen id shoul
    [all...]
DeviceTest.cpp 58 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
67 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
74 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset());
101 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
111 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
121 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
128 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset());
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/guava/guava-tests/test/com/google/common/collect/
TreeMultisetTest.java 168 assertThat(elementSet.subSet("a", "c")).has().exactly("a", "b").inOrder();
182 SortedSet<String> subset = elementSet.subSet("b", "f"); local
183 assertThat(subset).has().exactly("b", "c", "d", "e").inOrder();
185 assertTrue(subset.remove("c"));
187 assertThat(subset).has().exactly("b", "d", "e").inOrder();
190 assertFalse(subset.remove("a"));
192 assertThat(subset).has().exactly("b", "d", "e").inOrder();
207 SortedSet<String> subset = elementSet.subSet("b", "f") local
227 SortedSet<String> subset = elementSet.subSet("b", "f"); local
247 SortedSet<String> subset = elementSet.subSet("b", "f"); local
    [all...]
  /external/harfbuzz_ng/test/subset/
subset_test_suite.py 6 # A single test in a subset test suite. Identifies a font
7 # a subsetting profile, and a subset to be cut.
9 def __init__(self, font_path, profile_path, subset):
12 self.subset = subset
15 return ",".join("%X" % ord(c) for (i, c) in enumerate(self.subset))
40 # Identifies a font a subsetting profile, and a subset to be cut.
67 for subset in self.subsets:
68 test = Test(font, profile, subset)
  /external/noto-fonts/other/
subset_noto_sans_symbols.py 18 """Create a curated subset of NotoSansSymbols for Android."""
25 from nototools import subset
142 """Subset the Noto Symbols font.
171 subset.subset_font(
178 subset.subset_font(
  /external/skia/bench/
BitmapRegionDecoderBench.h 19 * Benchmark Android's BitmapRegionDecoder for a particular colorType, sampleSize, and subset.
28 uint32_t sampleSize, const SkIRect& subset);
BitmapRegionDecoderBench.cpp 14 SkColorType colorType, uint32_t sampleSize, const SkIRect& subset)
19 , fSubset(subset)
  /external/skia/gm/
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,
surface.cpp 193 const SkIRect subset = SkIRect::MakeLTRB(180, 0, 256, 256); local
206 sk_sp<SkImage> saveImg = surf->makeImageSnapshot(subset);
210 surf->getCanvas()->drawRect(SkRect::Make(subset), paint);
226 SkPoint pts[] = {{SkIntToScalar(subset.left()), 0}, {SkIntToScalar(subset.right()), 0}};
232 surf->getCanvas()->drawRect(SkRect::Make(subset), paint);
240 SkIntToScalar(subset.left()), SkIntToScalar(subset.top()),
  /external/skqp/bench/
BitmapRegionDecoderBench.h 19 * Benchmark Android's BitmapRegionDecoder for a particular colorType, sampleSize, and subset.
28 uint32_t sampleSize, const SkIRect& subset);
BitmapRegionDecoderBench.cpp 14 SkColorType colorType, uint32_t sampleSize, const SkIRect& subset)
19 , fSubset(subset)
  /external/skqp/gm/
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,
surface.cpp 193 const SkIRect subset = SkIRect::MakeLTRB(180, 0, 256, 256); local
206 sk_sp<SkImage> saveImg = surf->makeImageSnapshot(subset);
210 surf->getCanvas()->drawRect(SkRect::Make(subset), paint);
226 SkPoint pts[] = {{SkIntToScalar(subset.left()), 0}, {SkIntToScalar(subset.right()), 0}};
232 surf->getCanvas()->drawRect(SkRect::Make(subset), paint);
240 SkIntToScalar(subset.left()), SkIntToScalar(subset.top()),
  /external/skia/src/image/
SkImage_Lazy.cpp 56 SkImage_Lazy::Validator::Validator(sk_sp<SharedGenerator> gen, const SkIRect* subset,
73 if (subset) {
74 if (!bounds.contains(*subset)) {
78 if (*subset != bounds) {
79 // we need a different uniqueID since we really are a subset of the raw generator
83 subset = &bounds;
86 fInfo = info.makeWH(subset->width(), subset->height());
87 fOrigin = SkIPoint::Make(subset->x(), subset->y())
    [all...]
SkSurface_Raster.cpp 24 sk_sp<SkImage> onNewImageSnapshot(const SkIRect* subset) override;
101 sk_sp<SkImage> SkSurface_Raster::onNewImageSnapshot(const SkIRect* subset) {
102 if (subset) {
103 SkASSERT(SkIRect::MakeWH(fBitmap.width(), fBitmap.height()).contains(*subset));
105 dst.allocPixels(fBitmap.info().makeWH(subset->width(), subset->height()));
106 SkAssertResult(fBitmap.readPixels(dst.pixmap(), subset->left(), subset->top()));
  /external/skqp/src/image/
SkImage_Lazy.cpp 55 SkImage_Lazy::Validator::Validator(sk_sp<SharedGenerator> gen, const SkIRect* subset,
72 if (subset) {
73 if (!bounds.contains(*subset)) {
77 if (*subset != bounds) {
78 // we need a different uniqueID since we really are a subset of the raw generator
82 subset = &bounds;
85 fInfo = info.makeWH(subset->width(), subset->height());
86 fOrigin = SkIPoint::Make(subset->x(), subset->y())
    [all...]
SkSurface_Raster.cpp 24 sk_sp<SkImage> onNewImageSnapshot(const SkIRect* subset) override;
101 sk_sp<SkImage> SkSurface_Raster::onNewImageSnapshot(const SkIRect* subset) {
102 if (subset) {
103 SkASSERT(SkIRect::MakeWH(fBitmap.width(), fBitmap.height()).contains(*subset));
105 dst.allocPixels(fBitmap.info().makeWH(subset->width(), subset->height()));
106 SkAssertResult(fBitmap.readPixels(dst.pixmap(), subset->left(), subset->top()));
  /external/curl/docs/cmdline-opts/
tlsv1.3.d 8 Note that TLS 1.3 is only supported by a subset of TLS backends. At the time
  /external/skia/src/android/
SkAndroidFrameworkUtils.cpp 68 int SkAndroidFrameworkUtils::SaveBehind(SkCanvas* canvas, const SkRect* subset) {
69 return canvas->only_axis_aligned_saveBehind(subset);
  /external/skqp/src/android/
SkAndroidFrameworkUtils.cpp 67 int SkAndroidFrameworkUtils::SaveBehind(SkCanvas* canvas, const SkRect* subset) {
68 return canvas->only_axis_aligned_saveBehind(subset);

Completed in 1457 milliseconds

1 23 4 5 6 7 8 91011>>