Searched refs:subset (Results 1 - 25 of 137) sorted by relevance

123456

/external/fonttools/Tools/
H A Dpyftsubset4 from fontTools import subset namespace
6 subset.main(sys.argv[1:])
/external/chromium_org/third_party/skia/gm/
H A Dextractbitmap.cpp54 // Do some subset drawing. This will test that an SkGPipe properly
57 SkBitmap subset; variable
58 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
59 canvas->drawBitmap(subset, 0, 0);
61 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, y));
62 canvas->drawBitmap(subset, SkIntToScalar(x), SkIntToScalar(y));
63 // Draw a subset which has the same height and pixelref offset but a
65 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, bitmap.height()));
68 canvas->drawBitmap(subset, 0, 0);
71 bitmap.extractSubset(&subset, SkIRec
[all...]
/external/skia/gm/
H A Dextractbitmap.cpp54 // Do some subset drawing. This will test that an SkGPipe properly
57 SkBitmap subset; variable
58 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
59 canvas->drawBitmap(subset, 0, 0);
61 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, y));
62 canvas->drawBitmap(subset, SkIntToScalar(x), SkIntToScalar(y));
63 // Draw a subset which has the same height and pixelref offset but a
65 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, bitmap.height()));
68 canvas->drawBitmap(subset, 0, 0);
71 bitmap.extractSubset(&subset, SkIRec
[all...]
/external/skia/src/gpu/
H A DSkGrPixelRef.cpp55 const SkIRect* subset) {
67 if (subset != NULL) {
68 SkASSERT(SkIRect::MakeWH(texture->width(), texture->height()).contains(*subset));
69 // Create a new texture that is the size of subset.
70 desc.fWidth = subset->width();
71 desc.fHeight = subset->height();
72 pointStorage.set(subset->x(), subset->y());
148 SkPixelRef* SkGrPixelRef::deepCopy(SkColorType dstCT, const SkIRect* subset) { argument
159 return copyToTexturePixelRef(fSurface->asTexture(), dstCT, subset);
54 copyToTexturePixelRef(GrTexture* texture, SkColorType dstCT, const SkIRect* subset) argument
162 onReadPixels(SkBitmap* dst, const SkIRect* subset) argument
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DSkGrPixelRef.cpp57 const SkIRect* subset) {
69 if (subset != NULL) {
70 SkASSERT(SkIRect::MakeWH(texture->width(), texture->height()).contains(*subset));
71 // Create a new texture that is the size of subset.
72 desc.fWidth = subset->width();
73 desc.fHeight = subset->height();
74 pointStorage.set(subset->x(), subset->y());
139 SkPixelRef* SkGrPixelRef::deepCopy(SkColorType dstCT, const SkIRect* subset) { argument
150 return copy_to_new_texture_pixelref(fSurface->asTexture(), dstCT, subset);
56 copy_to_new_texture_pixelref(GrTexture* texture, SkColorType dstCT, const SkIRect* subset) argument
163 onReadPixels(SkBitmap* dst, const SkIRect* subset) argument
[all...]
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFFontImpl.h34 bool populate(const SkPDFGlyphSet* subset);
46 const SkPDFGlyphSet* subset);
48 bool populate(const SkPDFGlyphSet* subset);
50 const SkTDArray<uint32_t>* subset);
/external/skia/src/pdf/
H A DSkPDFFontImpl.h34 bool populate(const SkPDFGlyphSet* subset);
46 const SkPDFGlyphSet* subset);
48 bool populate(const SkPDFGlyphSet* subset);
50 const SkTDArray<uint32_t>* subset);
/external/skia/src/image/
H A DSkImage.cpp54 bool SkImage::readPixels(SkBitmap* bitmap, const SkIRect* subset) const {
70 if (subset && !bounds.intersect(*subset)) {
105 bool SkImage_Base::onReadPixels(SkBitmap* bitmap, const SkIRect& subset) const {
115 const SkImageInfo info = SkImageInfo::MakeN32Premul(subset.width(), subset.height());
124 srcR.set(subset);
/external/harfbuzz_ng/test/shaping/
H A Drecord-test.sh19 if ! test -s "$dir/font.ttf.subset"; then
20 echo "Subsetter didn't produce nonempty subset font in $dir/font.ttf.subset" >&2
24 # Verify that subset font produces same glyphs!
25 glyphs_subset=`echo "$text" | $hb_shape "$dir/font.ttf.subset"`
32 echo "$text" | $hb_view "$dir/font.ttf.subset" --output-format=png --output-file="$dir/subset.png"
33 if ! cmp "$dir/orig.png" "$dir/subset.png"; then
41 rm -f "$dir/subset.png"
45 sha1sum=`sha1sum "$dir/font.ttf.subset" | cu
[all...]
/external/chromium_org/third_party/skia/tests/
H A DBitmapCopyTest.cpp222 SkBitmap subset; local
224 // Extract a subset which has the same width as the original. This
229 if (kUnknown_SkColorType != bitmap.colorType() && bitmap.extractSubset(&subset, r)) {
230 REPORTER_ASSERT(reporter, subset.width() == W);
231 REPORTER_ASSERT(reporter, subset.height() == 2);
232 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType());
233 REPORTER_ASSERT(reporter, subset.isVolatile() == true);
235 // Test copying an extracted subset.
238 bool success = subset.copyTo(&copy, gPairs[j].fColorType);
246 // When performing a copy of an extracted subset, th
384 SkBitmap src, subset; local
[all...]
H A DToUnicodeTest.cpp27 const SkPDFGlyphSet* subset,
36 SkPDFGlyphSet subset; local
75 subset.set(glyphsInSubset.begin(), glyphsInSubset.count());
76 append_cmap_sections(glyphToUnicode, &subset, &buffer, true, 0, 0xFFFF);
98 append_cmap_sections(glyphToUnicode, &subset, &buffer, true, 8, 0x00FF);
116 append_cmap_sections(glyphToUnicode, &subset, &buffer, true, 0x00D, 0x00FE);
/external/skia/tests/
H A DBitmapCopyTest.cpp222 SkBitmap subset; local
224 // Extract a subset which has the same width as the original. This
229 if (kUnknown_SkColorType != bitmap.colorType() && bitmap.extractSubset(&subset, r)) {
230 REPORTER_ASSERT(reporter, subset.width() == W);
231 REPORTER_ASSERT(reporter, subset.height() == 2);
232 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType());
233 REPORTER_ASSERT(reporter, subset.isVolatile() == true);
235 // Test copying an extracted subset.
238 bool success = subset.copyTo(&copy, gPairs[j].fColorType);
246 // When performing a copy of an extracted subset, th
384 SkBitmap src, subset; local
[all...]
H A DToUnicodeTest.cpp27 const SkPDFGlyphSet* subset,
36 SkPDFGlyphSet subset; local
75 subset.set(glyphsInSubset.begin(), glyphsInSubset.count());
76 append_cmap_sections(glyphToUnicode, &subset, &buffer, true, 0, 0xFFFF);
98 append_cmap_sections(glyphToUnicode, &subset, &buffer, true, 8, 0x00FF);
116 append_cmap_sections(glyphToUnicode, &subset, &buffer, true, 0x00D, 0x00FE);
/external/chromium_org/third_party/mesa/src/doxygen/
H A DMakefile4 all: full subset
29 subset: $(SUBSET:.doxy=.tag)
/external/chromium_org/third_party/skia/include/gpu/
H A DSkGrPixelRef.h56 virtual bool onReadPixels(SkBitmap* dst, const SkIRect* subset) SK_OVERRIDE;
57 virtual SkPixelRef* deepCopy(SkColorType, const SkIRect* subset) SK_OVERRIDE;
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapCache.h39 * Search based on the bitmap's genID and subset. If found, returns true and
42 static bool Find(uint32_t genID, const SkIRect& subset, SkBitmap* result,
46 * The width and the height of the provided subset must be the same as the result bitmap ones.
49 static bool Add(uint32_t genID, const SkIRect& subset, const SkBitmap& result,
H A DSkBitmap_scroll.cpp11 bool SkBitmap::scrollRect(const SkIRect* subset, int dx, int dy, argument
18 if (subset) {
21 return this->extractSubset(&tmp, *subset) &&
/external/mesa3d/doxygen/
H A DMakefile4 all: full subset
29 subset: $(SUBSET:.doxy=.tag)
/external/skia/include/gpu/
H A DSkGrPixelRef.h58 virtual bool onReadPixels(SkBitmap* dst, const SkIRect* subset) SK_OVERRIDE;
59 virtual SkPixelRef* deepCopy(SkColorType, const SkIRect* subset) SK_OVERRIDE;
/external/skia/tools/
H A DCopyTilesRenderer.cpp61 SkIRect subset; local
64 subset.set(tileX, tileY, tileX + this->getTileWidth(),
67 baseBitmap.extractSubset(&dst, subset);
81 dst.pixelRef()->readPixels(&copy, &subset);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleWritePixels.cpp52 SkBitmap subset; local
53 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
58 canvas->writePixels(subset, 0, 0);
/external/skia/samplecode/
H A DSampleWritePixels.cpp52 SkBitmap subset; local
53 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
58 canvas->writePixels(subset, 0, 0);
/external/skia/src/core/
H A DSkBitmap_scroll.cpp11 bool SkBitmap::scrollRect(const SkIRect* subset, int dx, int dy, argument
18 if (NULL != subset) {
21 return this->extractSubset(&tmp, *subset) &&
/external/chromium_org/third_party/skia/src/image/
H A DSkImage.cpp53 bool SkImage::readPixels(SkBitmap* bitmap, const SkIRect* subset) const {
69 if (subset && !bounds.intersect(*subset)) {
110 bool SkImage_Base::onReadPixels(SkBitmap* bitmap, const SkIRect& subset) const {
121 if (!tmp.tryAllocN32Pixels(subset.width(), subset.height())) {
128 srcR.set(subset);
/external/guava/guava-tests/test/com/google/common/collect/
H A DTreeMultisetTest.java158 SortedSet<String> subset = elementSet.subSet("b", "f");
159 ASSERT.that(subset).hasContentsInOrder("b", "c", "d", "e");
161 assertTrue(subset.remove("c"));
163 ASSERT.that(subset).hasContentsInOrder("b", "d", "e");
166 assertFalse(subset.remove("a"));
168 ASSERT.that(subset).hasContentsInOrder("b", "d", "e");
183 SortedSet<String> subset = elementSet.subSet("b", "f");
184 ASSERT.that(subset).hasContentsInOrder("b", "c", "d", "e");
186 assertTrue(subset.removeAll(Arrays.asList("a", "c")));
188 ASSERT.that(subset)
[all...]

Completed in 5931 milliseconds

123456