/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
Character_SubsetTest.java | 25 * @tests java.lang.Character.Subset#Character.Subset(java.lang.String) 31 new Character.Subset(null) { 39 * @tests java.lang.Character.Subset#toString() 44 Character.Subset subset = new Character.Subset(name) { local 46 assertSame(name, subset.toString());
|
/external/chromium_org/third_party/skia/src/effects/ |
SkTileImageFilter.cpp | 39 SkBitmap subset; local 44 } else if (!source.extractSubset(&subset, srcIRect)) { 56 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(subset,
|
/external/skia/gm/ |
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, SkIRect::MakeWH(bitmap.height(), y)) [all...] |
/external/skia/src/effects/ |
SkTileImageFilter.cpp | 39 SkBitmap subset; local 44 } else if (!source.extractSubset(&subset, srcIRect)) { 56 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(subset,
|
/external/skia/tests/ |
ToUnicode.cpp | 28 const SkPDFGlyphSet* subset, 37 SkPDFGlyphSet subset; local 76 subset.set(glyphsInSubset.begin(), glyphsInSubset.count()); 77 append_cmap_sections(glyphToUnicode, &subset, &buffer, true, 0, 0xFFFF); 99 append_cmap_sections(glyphToUnicode, &subset, &buffer, true, 8, 0x00FF); 117 append_cmap_sections(glyphToUnicode, &subset, &buffer, true, 0x00D, 0x00FE);
|
GpuBitmapCopyTest.cpp | 137 // subset, so that comparing the pixels of the subset will be meaningful. 144 // Extract a subset. If this succeeds we will test copying the subset. 145 SkBitmap subset; local 146 const bool extracted = src.extractSubset(&subset, subsetRect); 172 // Test copying the subset bitmap, using both copyTo and deepCopyTo. 175 success = subset.copyTo(&subsetCopy, gPairs[j].fConfig); 178 TestIndividualCopy(reporter, gPairs[j].fConfig, success, subset, subsetCopy, 183 success = subset.deepCopyTo(&subsetCopy, gPairs[j].fConfig) [all...] |
BitmapCopyTest.cpp | 288 SkBitmap subset; local 292 if (bitmap.extractSubset(&subset, r)) { 293 REPORTER_ASSERT(reporter, subset.width() == 1); 294 REPORTER_ASSERT(reporter, subset.height() == 1); 296 subset.alphaType() == bitmap.alphaType()); 298 subset.isVolatile() == true); 302 subset.copyTo(©, subset.config())); 307 SkAutoLockPixels alp0(subset); 310 bool hasCT = subset.getColorTable() != NULL 393 SkBitmap src, subset; local [all...] |
/external/skia/tools/ |
CopyTilesRenderer.cpp | 54 SkIRect subset; local 57 subset.set(tileX, tileY, tileX + this->getTileWidth(), 60 baseBitmap.extractSubset(&dst, subset); 70 dst.pixelRef()->readPixels(©, &subset);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
TreeMultisetTest.java | 144 ASSERT.that(elementSet.subSet("a", "c")).hasContentsInOrder("a", "b"); 158 SortedSet<String> subset = elementSet.subSet("b", "f"); local 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") local 203 SortedSet<String> subset = elementSet.subSet("b", "f"); local 223 SortedSet<String> subset = elementSet.subSet("b", "f"); local [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
RegisterSpecList.java | 295 * Returns a new instance, which contains a subset of the elements 303 public RegisterSpecList subset(BitSet exclusionSet) { method in class:RegisterSpecList
|
/external/chromium/chrome/browser/ui/views/tabs/ |
dragged_tab_view.cc | 156 SkIRect subset; local 157 subset.set(0, 0, ps.width(), ps.height());
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder.cpp | 226 SkIRect subset = SkIRect::MakeXYWH(x, y, w, h); local 227 return src->extractSubset(dst, subset);
|
SkImageDecoder_libgif.cpp | 338 // filled by a fill color. In this case, we will use a subset of the larger bitmap 340 SkBitmap subset; local 342 // are we only a subset of the total bounds? 348 // Create a subset of the bitmap. 353 if (!bm->extractSubset(&subset, subsetRect)) { 356 // Update the sampler. We'll now be only sampling into the subset. 358 workingBitmap = ⊂ 363 // bm is already locked, but if we had to take a subset, it must be locked also,
|
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
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/images/ |
SkImageDecoder.cpp | 226 SkIRect subset = SkIRect::MakeXYWH(x, y, w, h); local 227 return src->extractSubset(dst, subset);
|
SkImageDecoder_libgif.cpp | 338 // filled by a fill color. In this case, we will use a subset of the larger bitmap 340 SkBitmap subset; local 342 // are we only a subset of the total bounds? 348 // Create a subset of the bitmap. 353 if (!bm->extractSubset(&subset, subsetRect)) { 356 // Update the sampler. We'll now be only sampling into the subset. 358 workingBitmap = ⊂ 363 // bm is already locked, but if we had to take a subset, it must be locked also,
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
ClusterAlbum.java | 81 ArrayList<Path> subset = new ArrayList<Path>(paths.subList(start, end)); local 89 dataManager.mapMediaItems(subset, consumer, 0);
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
BufferedTokenStream.java | 152 List subset = new ArrayList(); local 157 subset.add(t); 159 return subset;
|
/external/ceres-solver/internal/ceres/ |
covariance_test.cc | 517 vector<int> subset; local 518 subset.push_back(2); 519 problem_.SetParameterization(y, new SubsetParameterization(3, subset));
|
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapDevice.cpp | 124 SkBitmap subset; local 125 if (!src.extractSubset(&subset, srcRect)) { 128 if (SkBitmap::kARGB_8888_Config != subset.config()) { 130 subset.copyTo(&subset, SkBitmap::kARGB_8888_Config); 134 SkCopyBitmapToConfig8888(bmpPixels, bitmap.rowBytes(), config8888, subset); 295 // the bitmap, we extract a subset.
|
SkOrderedReadBuffer.cpp | 234 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height); local 235 if (bitmap->extractSubset(&subsetBm, subset)) {
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFImage.cpp | 592 SkBitmap subset; local 593 // Extract subset 594 if (!fBitmap.extractSubset(&subset, fSrcRect)) { 600 SkAutoTUnref<SkData> data(fEncoder(&pixelRefOffset, subset));
|
/external/skia/src/core/ |
SkBitmapDevice.cpp | 124 SkBitmap subset; local 125 if (!src.extractSubset(&subset, srcRect)) { 128 if (SkBitmap::kARGB_8888_Config != subset.config()) { 130 subset.copyTo(&subset, SkBitmap::kARGB_8888_Config); 134 SkCopyBitmapToConfig8888(bmpPixels, bitmap.rowBytes(), config8888, subset); 295 // the bitmap, we extract a subset.
|
SkOrderedReadBuffer.cpp | 234 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height); local 235 if (bitmap->extractSubset(&subsetBm, subset)) {
|
/external/skia/src/pdf/ |
SkPDFImage.cpp | 592 SkBitmap subset; local 593 // Extract subset 594 if (!fBitmap.extractSubset(&subset, fSrcRect)) { 600 SkAutoTUnref<SkData> data(fEncoder(&pixelRefOffset, subset));
|