/external/fonttools/Tools/ |
H A D | pyftsubset | 4 from fontTools import subset namespace 6 subset.main(sys.argv[1:])
|
/external/noto-fonts/cjk/ |
H A D | subset_noto_sans_jp.py | 19 from nototools import subset namespace 514 subset.subset_font('NotoSansJP-Regular.otf',
|
/external/noto-fonts/other/ |
H A D | subset_noto_sans_symbols.py | 18 """Create a curated subset of NotoSansSymbols for Android.""" 24 from nototools import subset namespace 209 subset.subset_font(
|
/external/skia/gm/ |
H A D | extractbitmap.cpp | 54 // 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 D | bitmapscroll.cpp | 119 void draw9(SkCanvas* canvas, int x, int y, SkIRect* subset, argument 136 subset, scrollX * xMult, scrollY * yMult);
|
H A D | image.cpp | 234 void drawResized(SkCanvas* canvas, SkImage* image, int newW, int newH, const SkIRect* subset, argument 241 if (subset) { 242 srcR.set(*subset); 244 canvas->drawImageRect(image, subset ? &srcR : NULL, dstR, &paint); 248 SkAutoTUnref<SkImage> image2(image->newImage(newW, newH, subset, fq)); 259 SkIRect subset = SkIRect::MakeLTRB(W/4, H/4, W/2, H/2); local 260 this->drawResized(canvas, image, W, H, &subset, fq);
|
/external/skia/samplecode/ |
H A D | SampleWritePixels.cpp | 52 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 D | SkBitmap_scroll.cpp | 11 bool SkBitmap::scrollRect(const SkIRect* subset, int dx, int dy, argument 18 if (subset) { 21 return this->extractSubset(&tmp, *subset) &&
|
H A D | SkBitmapCache.cpp | 119 bool SkBitmapCache::Find(uint32_t genID, const SkIRect& subset, SkBitmap* result, argument 121 BitmapKey key(genID, SK_Scalar1, SK_Scalar1, subset); 126 bool SkBitmapCache::Add(SkPixelRef* pr, const SkIRect& subset, const SkBitmap& result, argument 130 if (subset.isEmpty() 131 || subset.top() < 0 132 || subset.left() < 0 133 || result.width() != subset.width() 134 || result.height() != subset.height()) { 137 BitmapRec* rec = SkNEW_ARGS(BitmapRec, (pr->getGenerationID(), 1, 1, subset, result));
|
H A D | SkPixelRef.cpp | 270 bool SkPixelRef::readPixels(SkBitmap* dst, const SkIRect* subset) { argument 271 return this->onReadPixels(dst, subset); 274 bool SkPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) { argument
|
H A D | SkReadBuffer.cpp | 253 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height); local 254 if (bitmap->extractSubset(&subsetBm, subset)) {
|
/external/skia/tests/ |
H A D | ToUnicodeTest.cpp | 27 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);
|
H A D | SkResourceCacheTest.cpp | 114 // Wrong subset size 212 const SkIRect subset = SkIRect::MakeWH(5, 5); local 220 SkBitmapCache::Add(src[i].pixelRef(), subset, dst[i], cache); 226 bool found = SkBitmapCache::Find(genID, subset, &result, cache); 235 found = SkBitmapCache::Find(genID, subset, &result, cache);
|
H A D | BitmapCopyTest.cpp | 219 SkBitmap subset; local 221 // Extract a subset which has the same width as the original. This 226 if (kUnknown_SkColorType != bitmap.colorType() && bitmap.extractSubset(&subset, r)) { 227 REPORTER_ASSERT(reporter, subset.width() == W); 228 REPORTER_ASSERT(reporter, subset.height() == 2); 229 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType()); 230 REPORTER_ASSERT(reporter, subset.isVolatile() == true); 232 // Test copying an extracted subset. 235 bool success = subset.copyTo(©, gPairs[j].fColorType); 243 // When performing a copy of an extracted subset, th 381 SkBitmap src, subset; local [all...] |
/external/skia/src/effects/ |
H A D | SkTileImageFilter.cpp | 51 SkBitmap subset; local 58 } else if (!source.extractSubset(&subset, srcIRect)) { 73 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(subset,
|
/external/skia/tools/ |
H A D | CopyTilesRenderer.cpp | 78 SkIRect subset; local 81 subset.set(tileX, tileY, tileX + this->getTileWidth(), 84 baseBitmap.extractSubset(&dst, subset); 98 dst.pixelRef()->readPixels(©, &subset);
|
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
H A D | RegisterSpecList.java | 296 * 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 D | SkGrPixelRef.cpp | 57 SkColorProfileType dstPT, const SkIRect* subset) { 69 if (!subset) { 74 SkASSERT(SkIRect::MakeWH(texture->width(), texture->height()).contains(*subset)); 75 // Create a new texture that is the size of subset. 76 desc.fWidth = subset->width(); 77 desc.fHeight = subset->height(); 78 srcRect = *subset; 130 const SkIRect* subset) { 141 return copy_to_new_texture_pixelref(fSurface->asTexture(), dstCT, dstPT, subset); 154 bool SkGrPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) { argument 56 copy_to_new_texture_pixelref(GrTexture* texture, SkColorType dstCT, SkColorProfileType dstPT, const SkIRect* subset) argument 129 deepCopy(SkColorType dstCT, SkColorProfileType dstPT, const SkIRect* subset) argument [all...] |
/external/skia/src/image/ |
H A D | SkImage.cpp | 88 SkImage* SkImage::newImage(int newWidth, int newHeight, const SkIRect* subset, argument 96 if (subset) { 97 if (!bounds.contains(*subset)) { 100 if (bounds == *subset) { 101 subset = NULL; // and fall through to check below 105 if (NULL == subset && this->width() == newWidth && this->height() == newHeight) { 109 return as_IB(this)->onNewImage(newWidth, newHeight, subset, quality); 145 SkImage* SkImage_Base::onNewImage(int newWidth, int newHeight, const SkIRect* subset, argument 156 if (subset) { 157 src.set(*subset); [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
H A D | BitSet.java | 426 public boolean subset(BitSet a) { method in class:BitSet
|
/external/google-breakpad/src/third_party/libdisasm/ |
H A D | x86_format.c | 625 static const char *subset[] = { local 638 if ( isa > sizeof (subset)/sizeof(subset[0]) ) { 642 return subset[isa];
|
/external/skia/src/images/ |
H A D | SkImageDecoder.cpp | 184 SkIRect subset = SkIRect::MakeXYWH(x, y, w, h); local 185 return src->extractSubset(dst, subset);
|
H A D | SkImageDecoder_libgif.cpp | 385 // filled by a fill color. In this case, we will use a subset of the larger bitmap 387 SkBitmap subset; local 389 // are we only a subset of the total bounds? 395 // Create a subset of the bitmap. 400 if (!bm->extractSubset(&subset, subsetRect)) { 403 // Update the sampler. We'll now be only sampling into the subset. 405 workingBitmap = ⊂ 410 // bm is already locked, but if we had to take a subset, it must be locked also,
|
/external/ceres-solver/internal/ceres/ |
H A D | covariance_test.cc | 517 vector<int> subset; local 518 subset.push_back(2); 519 problem_.SetParameterization(y, new SubsetParameterization(3, subset));
|
/external/skia/dm/ |
H A D | DMSrcSink.cpp | 236 SkBitmap subset; local 238 if (!decoder->decodeSubset(&subset, rect, dstColorType)) { 239 return SkStringPrintf("Could not decode subset (%d, %d, %d, %d).", 242 if (kRGB_565_SkColorType == dstColorType && !subset.isOpaque()) { 251 canvas->drawBitmap(subset, SkIntToScalar(x), SkIntToScalar(y));
|