/external/skia/src/pdf/ |
SkKeyedImage.h | 34 SkKeyedImage subset(SkIRect subset) const;
|
SkPDFSubsetFont.cpp | 16 #include "hb-subset.h" 71 HBFace subset(hb_subset(face.get(), input.get())); 72 HBBlob result(hb_face_reference_blob(subset.get())); 92 std::vector<unsigned> subset; 94 subset.push_back(0); // Always include glyph 0. 96 glyphUsage.getSetValues([&subset](unsigned v) { subset.push_back(v); }); 105 subset.data(), 106 subset.size(), 113 subset.data() [all...] |
/external/skqp/src/core/ |
SkCanvasPriv.h | 43 static int SaveBehind(SkCanvas* canvas, const SkRect* subset) { 44 return canvas->only_axis_aligned_saveBehind(subset);
|
/external/skqp/src/pdf/ |
SkKeyedImage.h | 34 SkKeyedImage subset(SkIRect subset) const;
|
/external/skia/tests/ |
SpecialImageTest.cpp | 59 const SkIRect subset = img->subset(); local 60 REPORTER_ASSERT(reporter, offset == subset.left()); 61 REPORTER_ASSERT(reporter, offset == subset.top()); 62 REPORTER_ASSERT(reporter, kSmallerSize == subset.width()); 63 REPORTER_ASSERT(reporter, kSmallerSize == subset.height()); 89 // Test that draw restricts itself to the subset 116 SkIRect newSubset = SkIRect::MakeWH(subset.width(), subset.height()); 120 REPORTER_ASSERT(reporter, tightImg->width() == subset.width()) 147 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local 170 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local 204 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local 275 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local [all...] |
ImageFilterCacheTest.cpp | 39 const sk_sp<SkSpecialImage>& subset) { 44 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); 45 SkImageFilterCacheKey key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset()); 64 const sk_sp<SkSpecialImage>& subset) { 70 SkImageFilterCacheKey key0(0, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); 71 SkImageFilterCacheKey key1(1, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); 73 image->uniqueID(), image->subset()); 74 SkImageFilterCacheKey key3(0, SkMatrix::I(), clip2, image->uniqueID(), image->subset()); 157 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local 176 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local 265 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local [all...] |
SubsetPath.h | 13 /* Given a path, generate a the desired minimal subset of the original. 16 contours, and then by verbs. The caller passes whether the previous subset 17 behaved the same as the original. If not, the subset() call restores the 18 prior state before returning a new subset. 26 while (subsetContours.subset(testFailed, &minimal)) { 31 while (subsetVerbs.subset(testFailed, &minimal)) { 40 bool subset(bool testFailed, SkPath* sub);
|
/external/skqp/tests/ |
SpecialImageTest.cpp | 59 const SkIRect subset = img->subset(); local 60 REPORTER_ASSERT(reporter, offset == subset.left()); 61 REPORTER_ASSERT(reporter, offset == subset.top()); 62 REPORTER_ASSERT(reporter, kSmallerSize == subset.width()); 63 REPORTER_ASSERT(reporter, kSmallerSize == subset.height()); 89 // Test that draw restricts itself to the subset 116 SkIRect newSubset = SkIRect::MakeWH(subset.width(), subset.height()); 120 REPORTER_ASSERT(reporter, tightImg->width() == subset.width()) 147 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local 170 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local 204 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local 275 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local [all...] |
ImageFilterCacheTest.cpp | 39 const sk_sp<SkSpecialImage>& subset) { 44 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); 45 SkImageFilterCacheKey key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset()); 64 const sk_sp<SkSpecialImage>& subset) { 70 SkImageFilterCacheKey key0(0, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); 71 SkImageFilterCacheKey key1(1, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); 73 image->uniqueID(), image->subset()); 74 SkImageFilterCacheKey key3(0, SkMatrix::I(), clip2, image->uniqueID(), image->subset()); 157 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local 176 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local 265 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); local [all...] |
SubsetPath.h | 13 /* Given a path, generate a the desired minimal subset of the original. 16 contours, and then by verbs. The caller passes whether the previous subset 17 behaved the same as the original. If not, the subset() call restores the 18 prior state before returning a new subset. 26 while (subsetContours.subset(testFailed, &minimal)) { 31 while (subsetVerbs.subset(testFailed, &minimal)) { 40 bool subset(bool testFailed, SkPath* sub);
|
/external/harfbuzz_ng/src/ |
hb-subset.hh | 33 #include "hb-subset.h" 36 #include "hb-subset-input.hh" 37 #include "hb-subset-plan.hh" 42 const char *get_name () { return "SUBSET"; } 44 bool dispatch (const T &obj) { return obj.subset (this); }
|
/external/skia/include/android/ |
SkAndroidFrameworkUtils.h | 42 static int SaveBehind(SkCanvas* canvas, const SkRect* subset);
|
/external/skqp/gm/ |
crosscontextimage.cpp | 42 SkIRect subset = SkIRect::MakeXYWH(256 - 64, 256 - 64, 128, 128); local 43 sk_sp<SkImage> encodedSubset = encodedImage->makeSubset(subset); 44 sk_sp<SkImage> crossContextSubset = crossContextImage->makeSubset(subset); 45 sk_sp<SkImage> crossContextRasterSubset = crossContextRaster->makeSubset(subset);
|
/external/skqp/include/android/ |
SkAndroidFrameworkUtils.h | 42 static int SaveBehind(SkCanvas* canvas, const SkRect* subset);
|
/external/skia/src/android/ |
SkBitmapRegionCodec.cpp | 28 // requested subset, not by the size of the intersection of the subset 38 SkIRect subset = desiredSubset; local 39 SubsetType type = adjust_subset_rect(fCodec->getInfo().dimensions(), &subset, &outX, &outY); 44 // Ask the codec for a scaled subset 45 if (!fCodec->getSupportedSubset(&subset)) { 46 SkCodecPrintf("Error: Could not get subset.\n"); 49 SkISize scaledSize = fCodec->getSampledSubsetDimensions(sampleSize, subset); 64 // We need to be safe here because getSupportedSubset() may have modified the subset. 65 const int extraX = SkTMax(0, desiredSubset.width() - outX - subset.width()) [all...] |
/external/skqp/src/android/ |
SkBitmapRegionCodec.cpp | 28 // requested subset, not by the size of the intersection of the subset 38 SkIRect subset = desiredSubset; local 39 SubsetType type = adjust_subset_rect(fCodec->getInfo().dimensions(), &subset, &outX, &outY); 44 // Ask the codec for a scaled subset 45 if (!fCodec->getSupportedSubset(&subset)) { 46 SkCodecPrintf("Error: Could not get subset.\n"); 49 SkISize scaledSize = fCodec->getSampledSubsetDimensions(sampleSize, subset); 64 // We need to be safe here because getSupportedSubset() may have modified the subset. 65 const int extraX = SkTMax(0, desiredSubset.width() - outX - subset.width()) [all...] |
/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...] |
/external/fonttools/Tests/subset/ |
subset_test.py | 3 from fontTools import subset 80 subset.main([fontpath, "--no-notdef-outline", "--gids=0", "--output-file=%s" % subsetpath]) 87 subset.main([fontpath, "--no-notdef-outline", "--gids=0", "--output-file=%s" % subsetpath]) 94 subset.main([fontpath, "--no-notdef-outline", "--gids=0", "--output-file=%s" % subsetpath]) 101 subset.main([fontpath, "--glyphs=one", "--output-file=%s" % subsetpath]) 108 subset.main([fontpath, "--glyphs=two", "--output-file=%s" % subsetpath]) 114 subset.main([fontpath, "--glyphs=one", "--output-file=%s" % subsetpath]) 127 subset.main([fontpath, "--unicodes=U+0030-0031", 136 # a subset where the majority of glyphs use the roman baseline, 143 subset.main([fontpath, "--unicodes=U+0030-0031,U+2EA2" [all...] |
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
PowerSetBenchmark.java | 45 for (Set<Integer> subset : powerSet) { 46 for (Integer value : subset) {
|
/external/mesa3d/doxygen/ |
Makefile | 4 all: full subset 26 SUBSET = \ 31 subset: $(SUBSET:.doxy=.tag) 32 $(foreach FILE,$(SUBSET),doxygen $(FILE);) 35 -rm -rf $(FULL:.doxy=) $(SUBSET:.doxy=)
|
/external/skia/src/core/ |
SkCanvasPriv.h | 43 static int SaveBehind(SkCanvas* canvas, const SkRect* subset) { 44 return canvas->only_axis_aligned_saveBehind(subset);
|
/external/skia/include/c/ |
sk_image.h | 31 SK_API sk_image_t* sk_image_new_from_encoded(const sk_data_t* encoded, const sk_irect_t* subset);
|
/external/skqp/include/c/ |
sk_image.h | 31 SK_API sk_image_t* sk_image_new_from_encoded(const sk_data_t* encoded, const sk_irect_t* subset);
|
/external/harfbuzz_ng/test/shaping/ |
record-test.sh | 53 echo fonttools subset \ 60 fonttools subset \ 67 if ! test -s "$dir/font.subset.ttf"; then 68 echo "Subsetter didn't produce nonempty subset font in $dir/font.subset.ttf" >&2 72 # Verify that subset font produces same glyphs! 73 glyphs_subset=`echo "$text" | $hb_shape $options "$dir/font.subset.ttf"` 76 echo "Subset font produced different glyphs!" >&2 80 echo "$text" | $hb_view $options "$dir/font.subset.ttf" --output-format=png --output-file="$dir/subset.png [all...] |
/external/skia/samplecode/ |
SampleWritePixels.cpp | 49 SkBitmap subset; local 50 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y)); 55 canvas->writePixels(subset, 0, 0);
|