/external/skia/samplecode/ |
H A D | SampleWritePixels.cpp | 53 SkBitmap subset; local 54 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y)); 59 canvas->writePixels(subset, 0, 0);
|
H A D | SampleDrawBitmap.cpp | 48 SkBitmap subset; local 49 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y)); 54 canvas->drawBitmap(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 14 if (NULL != subset) { 17 return this->extractSubset(&tmp, *subset) &&
|
H A D | SkPixelRef.cpp | 148 bool SkPixelRef::readPixels(SkBitmap* dst, const SkIRect* subset) { argument 149 return this->onReadPixels(dst, subset); 152 bool SkPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) { argument
|
H A D | SkDevice.cpp | 201 SkBitmap subset; local 202 if (!src.extractSubset(&subset, srcRect)) { 205 if (SkBitmap::kARGB_8888_Config != subset.config()) { 207 subset.copyTo(&subset, SkBitmap::kARGB_8888_Config); 211 SkCopyBitmapToConfig8888(bmpPixels, bitmap.rowBytes(), config8888, subset); 304 SkBitmap tmp; // storage if we need a subset of bitmap
|
/external/skia/tests/ |
H A D | ToUnicode.cpp | 31 const SkPDFGlyphSet* subset, 37 SkPDFGlyphSet subset; local 74 subset.set(glyphsInSubset.begin(), glyphsInSubset.count()); 75 append_cmap_sections(glyphToUnicode, &subset, &buffer);
|
H A D | BitmapCopyTest.cpp | 312 SkBitmap subset; local 316 if (bitmap.extractSubset(&subset, r)) { 317 REPORTER_ASSERT(reporter, subset.width() == 1); 318 REPORTER_ASSERT(reporter, subset.height() == 1); 320 subset.isVolatile() == true); 324 subset.copyTo(©, subset.config())); 329 SkAutoLockPixels alp0(subset); 332 bool hasCT = subset.getColorTable() != NULL; 337 if (bitmap.extractSubset(&subset, 435 SkBitmap src, subset; local [all...] |
H A D | WArrayTest.cpp | 144 const uint32_t subset[], 149 , fSubset(subset) 141 TestWData(skiatest::Reporter* reporter, const int16_t advances[], int advanceLen, const uint32_t subset[], int subsetLen, const char* expected) argument
|
/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 | SkGrTexturePixelRef.cpp | 98 bool SkGrTexturePixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) { argument 101 if (NULL != subset) { 102 left = subset->fLeft; 103 width = subset->width(); 104 top = subset->fTop; 105 height = subset->height(); 155 bool SkGrRenderTargetPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) { argument 158 if (NULL != subset) { 159 left = subset->fLeft; 160 width = 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/chromium/chrome/browser/ui/views/tabs/ |
H A D | dragged_tab_view.cc | 156 SkIRect subset; local 157 subset.set(0, 0, ps.width(), ps.height());
|
/external/skia/gm/ |
H A D | bitmapscroll.cpp | 111 void draw9(SkCanvas* canvas, int x, int y, SkIRect* subset, argument 128 subset, scrollX * xMult, scrollY * yMult);
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
H A D | Surface.cpp | 463 SkBitmap subset; local 464 subset.setConfig(sourceBitmap.config(), enclosingScreenDirty.width(), 466 subset.allocPixels(); 470 if (!GLUtils::deepCopyBitmapSubset(sourceBitmap, subset, leftOffset, topOffset)) 478 subset, textureInval);
|
H A D | GLUtils.cpp | 625 SkBitmap& subset, int leftOffset, int topOffset) 628 subset.lockPixels(); 630 char* dstPixels = (char*) subset.getPixels(); 631 if (!dstPixels || !srcPixels || !subset.lockPixelsAreWritable()) { 633 subset.lockPixelsAreWritable()); 634 subset.unlockPixels(); 639 int destRowSize = subset.rowBytes(); 640 for (int i = 0; i < subset.height(); i++) { 646 subset.unlockPixels(); 624 deepCopyBitmapSubset(const SkBitmap& sourceBitmap, SkBitmap& subset, int leftOffset, int topOffset) argument
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
H A D | ImageSkia.cpp | 156 // Draws the given bitmap to the given canvas. The subset of the source bitmap 159 // the whole image, not the subset). See shouldResampleBitmap for more. 168 // First get the subset we need. This is efficient and does not copy pixels. 169 SkBitmap subset; local 170 bitmap.extractSubset(&subset, srcIRect); 174 // Whether we're doing a subset or using the full source image. 242 SkBitmap resampled = skia::ImageOperations::Resize(subset, 284 // Note: for serialization, we will want to subset the bitmap first so
|
/external/skia/src/pdf/ |
H A D | SkPDFFont.cpp | 467 const SkPDFGlyphSet* subset, 481 bool inSubset = i < count && (subset == NULL || subset->has(i)); 521 const SkPDFGlyphSet* subset) { 524 append_cmap_sections(glyphToUnicode, subset, &cmap); 539 const SkTDArray<uint32_t>& subset, 561 subset.begin(), 562 subset.count(), 657 SkPDFGlyphSet* subset = getGlyphSetForFont(font); 658 if (subset) { 466 append_cmap_sections(const SkTDArray<SkUnichar>& glyphToUnicode, const SkPDFGlyphSet* subset, SkDynamicMemoryWStream* cmap) argument [all...] |
H A D | SkPDFShader.cpp | 609 SkIRect subset = SkIRect::MakeXYWH(0, 0, 1, height); local 612 SkAssertResult(image->extractSubset(&left, subset)); 629 subset.offset(width - 1, 0); 630 SkAssertResult(image->extractSubset(&right, subset)); 647 SkIRect subset = SkIRect::MakeXYWH(0, 0, width, 1); local 650 SkAssertResult(image->extractSubset(&top, subset)); 667 subset.offset(0, height - 1); 668 SkAssertResult(image->extractSubset(&bottom, subset));
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
H A D | BitSet.js | 543 * @returns {Boolean} true if and only if a is a subset of this bit set. 545 subset: function(a) {
|
/external/libxml2/ |
H A D | debugXML.c | 1290 fprintf(ctxt->output, "Entities in internal subset\n"); 1294 fprintf(ctxt->output, "No entities in internal subset\n"); 1300 fprintf(ctxt->output, "Entities in external subset\n"); 1304 fprintf(ctxt->output, "No entities in external subset\n"); 2652 xmlDtdPtr subset; local 2654 subset = xmlParseDTD(NULL, (xmlChar *) dtd); 2655 if (subset != NULL) { 2656 res = xmlValidateDtd(&vctxt, ctxt->doc, subset); 2658 xmlFreeDtd(subset);
|
H A D | xmlwriter.c | 3103 * @subset: string content of the DTD 3113 const xmlChar * sysid, const xmlChar * subset) 3123 if (subset != 0) { 3124 count = xmlTextWriterWriteString(writer, subset); 3110 xmlTextWriterWriteDTD(xmlTextWriterPtr writer, const xmlChar * name, const xmlChar * pubid, const xmlChar * sysid, const xmlChar * subset) argument
|
/external/openfst/src/include/fst/ |
H A D | determinize.h | 115 float delta; // Quantization delta for subset weights 317 Subset *subset = new Subset; local 318 subset->push_front(element); 319 return FindState(subset); 323 Subset *subset = subsets_[s]; local 325 for (typename Subset::iterator siter = subset->begin(); 326 siter != subset->end(); 337 // Finds the state corresponding to a subset. Only creates a new state 338 // if the subset is not found in the subset has 348 FindState(Subset *subset) argument 360 CreateState(Subset *subset) argument 370 ComputeDistance(const Subset *subset) argument [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | determinize.h | 105 float delta; // Quantization delta for subset weights 246 Subset *subset = new Subset; local 247 subset->push_front(element); 248 return FindState(subset); 252 Subset *subset = subsets_[s]; local 254 for (typename Subset::iterator siter = subset->begin(); 255 siter != subset->end(); 264 // Finds the state corresponding to a subset. Only creates a new state 265 // if the subset is not found in the subset has 275 FindState(Subset *subset) argument [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
H A D | ParseHelper.cpp | 1192 TIntermTyped* TParseContext::constructBuiltIn(const TType* type, TOperator op, TIntermNode* node, TSourceLoc line, bool subset) argument 1242 if (subset || (newNode != node && newNode->getType() == *type)) 1254 TIntermTyped* TParseContext::constructStruct(TIntermNode* node, TType* type, int paramCount, TSourceLoc line, bool subset) argument 1257 if (subset)
|
/external/opencv/ml/src/ |
H A D | mlboost.cpp | 194 const int* subset = node->split->subset; local 201 int d = idx >= 0 ? CV_DTREE_CAT_DIR(idx,subset) : 0; 432 split->subset[idx >> 5] |= 1 << (idx & 31); 563 split->subset[idx >> 5] |= 1 << (idx & 31); 683 split->subset[i >> 5] |= 1 << (i & 31);
|