Searched defs:subset (Results 1 - 25 of 74) sorted by relevance

123

/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...]
H A Dbitmapscroll.cpp123 void draw9(SkCanvas* canvas, int x, int y, SkIRect* subset, argument
140 subset, scrollX * xMult, scrollY * yMult);
/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/chromium_org/third_party/skia/src/core/
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) &&
H A DSkBitmapCache.cpp99 bool SkBitmapCache::Find(uint32_t genID, const SkIRect& subset, SkBitmap* result, argument
101 BitmapKey key(genID, SK_Scalar1, SK_Scalar1, subset);
106 bool SkBitmapCache::Add(uint32_t genID, const SkIRect& subset, const SkBitmap& result, argument
110 if (subset.isEmpty()
111 || subset.top() < 0
112 || subset.left() < 0
113 || result.width() != subset.width()
114 || result.height() != subset.height()) {
117 BitmapRec* rec = SkNEW_ARGS(BitmapRec, (genID, SK_Scalar1, SK_Scalar1, subset, result));
H A DSkPixelRef.cpp244 bool SkPixelRef::readPixels(SkBitmap* dst, const SkIRect* subset) { argument
245 return this->onReadPixels(dst, subset);
248 bool SkPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) { argument
H A DSkReadBuffer.cpp253 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height); local
254 if (bitmap->extractSubset(&subsetBm, subset)) {
/external/chromium_org/third_party/skia/tests/
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/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...]
H A Dbitmapscroll.cpp122 void draw9(SkCanvas* canvas, int x, int y, SkIRect* subset, argument
139 subset, scrollX * xMult, scrollY * yMult);
/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/skia/tests/
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/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/src/effects/
H A DSkTileImageFilter.cpp52 SkBitmap subset; local
59 } else if (!source.extractSubset(&subset, srcIRect)) {
74 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(subset,
/external/chromium_org/third_party/skia/tools/
H A DCopyTilesRenderer.cpp68 SkIRect subset; local
71 subset.set(tileX, tileY, tileX + this->getTileWidth(),
74 baseBitmap.extractSubset(&dst, subset);
88 dst.pixelRef()->readPixels(&copy, &subset);
/external/skia/src/effects/
H A DSkTileImageFilter.cpp44 SkBitmap subset; local
51 } else if (!source.extractSubset(&subset, srcIRect)) {
66 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(subset,
/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/dexmaker/src/dx/java/com/android/dx/rop/code/
H A DRegisterSpecList.java296 * Returns a new instance, which contains a subset of the elements
304 public RegisterSpecList subset(BitSet exclusionSet) { method in class:RegisterSpecList
/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/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DBitSet.java426 public boolean subset(BitSet a) { method in class:BitSet
/external/chromium_org/third_party/skia/include/core/
H A DSkPixelRef.h239 bool readPixels(SkBitmap* dst, const SkIRect* subset = NULL);
244 * @param subset Subset of this PixelRef to copy. Must be fully contained within the bounds of
250 virtual SkPixelRef* deepCopy(SkColorType colortype, const SkIRect* subset) { argument
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder.cpp207 SkIRect subset = SkIRect::MakeXYWH(x, y, w, h); local
208 return src->extractSubset(dst, subset);
/external/skia/include/core/
H A DSkPixelRef.h233 bool readPixels(SkBitmap* dst, const SkIRect* subset = NULL);
238 * @param subset Subset of this PixelRef to copy. Must be fully contained within the bounds of
244 virtual SkPixelRef* deepCopy(SkColorType colortype, const SkIRect* subset) { argument

Completed in 665 milliseconds

123