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

123

/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 (NULL != subset) {
21 return this->extractSubset(&tmp, *subset) &&
H A DSkOrderedReadBuffer.cpp234 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height); local
235 if (bitmap->extractSubset(&subsetBm, subset)) {
H A DSkPixelRef.cpp273 bool SkPixelRef::readPixels(SkBitmap* dst, const SkIRect* subset) { argument
274 return this->onReadPixels(dst, subset);
277 bool SkPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) { argument
/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.cpp121 void draw9(SkCanvas* canvas, int x, int y, SkIRect* subset, argument
138 subset, scrollX * xMult, scrollY * yMult);
/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) &&
H A DSkOrderedReadBuffer.cpp234 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height); local
235 if (bitmap->extractSubset(&subsetBm, subset)) {
H A DSkPixelRef.cpp273 bool SkPixelRef::readPixels(SkBitmap* dst, const SkIRect* subset) { argument
274 return this->onReadPixels(dst, subset);
277 bool SkPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) { argument
/external/skia/tests/
H A DToUnicode.cpp28 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);
H A DGpuBitmapCopyTest.cpp137 // 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
[all...]
/external/skia/tools/
H A DCopyTilesRenderer.cpp54 SkIRect subset; local
57 subset.set(tileX, tileY, tileX + this->getTileWidth(),
60 baseBitmap.extractSubset(&dst, subset);
70 dst.pixelRef()->readPixels(&copy, &subset);
/external/chromium_org/cc/test/
H A Dskia_common.cc28 const SkIRect* subset) {
56 const SkIRect* subset) {
26 deepCopy( SkBitmap::Config config, const SkIRect* subset) argument
54 deepCopy( SkBitmap::Config config, const SkIRect* subset) argument
/external/chromium_org/third_party/skia/src/effects/
H A DSkTileImageFilter.cpp39 SkBitmap subset; local
44 } else if (!source.extractSubset(&subset, srcIRect)) {
56 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(subset,
/external/skia/src/effects/
H A DSkTileImageFilter.cpp39 SkBitmap subset; local
44 } else if (!source.extractSubset(&subset, srcIRect)) {
56 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(subset,
/external/chromium_org/third_party/skia/src/gpu/
H A DSkGrPixelRef.cpp51 const SkIRect* subset) {
63 if (subset != NULL) {
64 SkASSERT(SkIRect::MakeWH(texture->width(), texture->height()).contains(*subset));
65 // Create a new texture that is the size of subset.
66 desc.fWidth = subset->width();
67 desc.fHeight = subset->height();
68 pointStorage.set(subset->x(), subset->y());
146 SkPixelRef* SkGrPixelRef::deepCopy(SkBitmap::Config dstConfig, const SkIRect* subset) { argument
157 return copyToTexturePixelRef(fSurface->asTexture(), dstConfig, subset);
50 copyToTexturePixelRef(GrTexture* texture, SkBitmap::Config dstConfig, const SkIRect* subset) argument
160 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.cpp51 const SkIRect* subset) {
63 if (subset != NULL) {
64 SkASSERT(SkIRect::MakeWH(texture->width(), texture->height()).contains(*subset));
65 // Create a new texture that is the size of subset.
66 desc.fWidth = subset->width();
67 desc.fHeight = subset->height();
68 pointStorage.set(subset->x(), subset->y());
146 SkPixelRef* SkGrPixelRef::deepCopy(SkBitmap::Config dstConfig, const SkIRect* subset) { argument
157 return copyToTexturePixelRef(fSurface->asTexture(), dstConfig, subset);
50 copyToTexturePixelRef(GrTexture* texture, SkBitmap::Config dstConfig, const SkIRect* subset) argument
160 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/chrome/browser/ui/views/tabs/
H A Ddragged_tab_view.cc156 SkIRect subset; local
157 subset.set(0, 0, ps.width(), ps.height());
/external/chromium_org/skia/ext/
H A Dlazy_pixel_ref_utils_unittest.cc35 virtual SkPixelRef* deepCopy(SkBitmap::Config config, const SkIRect* subset)
52 virtual SkPixelRef* deepCopy(SkBitmap::Config config, const SkIRect* subset)
104 const SkIRect* subset) {
129 const SkIRect* subset) {
103 deepCopy(SkBitmap::Config config, const SkIRect* subset) argument
128 deepCopy(SkBitmap::Config config, const SkIRect* subset) argument
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder.cpp226 SkIRect subset = SkIRect::MakeXYWH(x, y, w, h); local
227 return src->extractSubset(dst, subset);
H A DSkImageDecoder_libgif.cpp338 // 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 = &subset;
363 // bm is already locked, but if we had to take a subset, it must be locked also,
/external/skia/src/images/
H A DSkImageDecoder.cpp226 SkIRect subset = SkIRect::MakeXYWH(x, y, w, h); local
227 return src->extractSubset(dst, subset);
H A DSkImageDecoder_libgif.cpp338 // 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 = &subset;
363 // bm is already locked, but if we had to take a subset, it must be locked also,
/external/ceres-solver/internal/ceres/
H A Dcovariance_test.cc517 vector<int> subset; local
518 subset.push_back(2);
519 problem_.SetParameterization(y, new SubsetParameterization(3, subset));

Completed in 1070 milliseconds

123