HomeSort by relevance Sort by last modified time
    Searched defs:subset (Results 1 - 25 of 39) sorted by null

1 2

  /external/skia/tests/
ToUnicode.cpp 29 const SkPDFGlyphSet* subset,
35 SkPDFGlyphSet subset; local
72 subset.set(glyphsInSubset.begin(), glyphsInSubset.count());
73 append_cmap_sections(glyphToUnicode, &subset, &buffer);
GpuBitmapCopyTest.cpp 56 * @param subset Portion of src's SkPixelRef that src represents. dst should represent the same
61 const bool deepCopy = true, const SkIRect* subset = NULL) {
80 bool readBack = src.pixelRef()->readPixels(&srcReadBack, subset);
84 bool readBack = dst.pixelRef()->readPixels(&dstReadBack, subset);
105 // If the copy used a subset, test the pixel offset calculation functions.
106 if (subset != NULL) {
145 // subset, so that comparing the pixels of the subset will be meaningful.
152 // Extract a subset. If this succeeds we will test copying the subset
153 SkBitmap subset; local
    [all...]
BitmapCopyTest.cpp 316 SkBitmap subset; local
321 if (bitmap.extractSubset(&subset, r)) {
322 REPORTER_ASSERT(reporter, subset.width() == 1);
323 REPORTER_ASSERT(reporter, subset.height() == 1);
325 subset.isOpaque() == bitmap.isOpaque());
327 subset.isVolatile() == true);
331 subset.copyTo(&copy, subset.config()));
336 SkAutoLockPixels alp0(subset);
339 bool hasCT = subset.getColorTable() != NULL
445 SkBitmap src, subset; local
    [all...]
  /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/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/tools/
CopyTilesRenderer.cpp 54 SkIRect subset; local
57 subset.set(tileX, tileY, tileX + this->getTileWidth(),
60 baseBitmap.extractSubset(&dst, subset);
70 dst.pixelRef()->readPixels(&copy, &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 296 * Returns a new instance, which contains a subset of the elements
304 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/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
  /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);
SecureAlbum.java 95 ArrayList<Path> subset = new ArrayList<Path>(mExistingItems.subList(start, end)); local
105 mDataManager.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/skia/legacy/src/core/
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/webkit/Source/WebCore/platform/graphics/android/rendering/
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);
  /external/webkit/Source/WebCore/platform/graphics/skia/
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/core/
SkDevice.cpp 260 SkBitmap subset; local
261 if (!src.extractSubset(&subset, srcRect)) {
264 if (SkBitmap::kARGB_8888_Config != subset.config()) {
266 subset.copyTo(&subset, SkBitmap::kARGB_8888_Config);
270 SkCopyBitmapToConfig8888(bmpPixels, bitmap.rowBytes(), config8888, subset);
378 SkBitmap tmp; // storage if we need a subset of bitmap
423 // the bitmap, we extract a subset.
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
BitSet.java 426 public boolean subset(BitSet a) { method in class:BitSet
  /external/skia/src/pdf/
SkPDFShader.cpp 750 SkIRect subset = SkIRect::MakeXYWH(0, 0, 1, image->height()); local
753 SkAssertResult(image->extractSubset(&left, subset));
770 subset.offset(image->width() - 1, 0);
771 SkAssertResult(image->extractSubset(&right, subset));
788 SkIRect subset = SkIRect::MakeXYWH(0, 0, image->width(), 1); local
791 SkAssertResult(image->extractSubset(&top, subset));
808 subset.offset(0, image->height() - 1);
809 SkAssertResult(image->extractSubset(&bottom, subset));
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
determinize.h 105 float delta; // Quantization delta for subset weights
221 typedef slist<Element> Subset;
222 typedef map<Label, Subset*> LabelMap;
246 Subset *subset = new Subset; local
247 subset->push_front(element);
248 return FindState(subset);
252 Subset *subset = subsets_[s] local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
SlideshowPage.java 228 MediaSet subset = mediaSet.getSubMediaSet(i); local
229 int count = subset.getTotalMediaItemCount();
231 return findMediaItem(subset, index);
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
BitSet.js 543 * @returns {Boolean} true if and only if a is a subset of this bit set.
545 subset: function(a) {
  /external/libxml2/
debugXML.c 2652 xmlDtdPtr subset; local
    [all...]
  /external/opencv/ml/src/
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);
    [all...]
  /external/openfst/src/include/fst/
determinize.h 113 // Represents an element in a subset
151 typedef slist< DeterminizeElement<Arc> > Subset;
152 typedef map<Label, Subset*> LabelMap;
170 // typedef slist<Element> Subset;
178 // // Lookup state ID by subset (not depending of the element order).
180 // // ownership of the subset argument (so that it doesn't have to
182 // StateId FindState(Subset *subset);
184 // // Lookup subset by ID.
185 // const Subset *FindSubset(StateId id) const
530 Subset *subset = new Subset; local
536 const Subset *subset = state_table_->FindSubset(s); local
    [all...]

Completed in 578 milliseconds

1 2