Searched refs:spans (Results 1 - 25 of 47) sorted by relevance

12

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DSpannableStringTest.java54 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class);
55 assertThat(spans, notNullValue());
56 assertThat(spans.length, equalTo(1));
57 assertThat((UnderlineSpan) spans[0], sameInstance(s2));
67 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class);
68 assertThat(spans, notNullValue());
69 assertThat(spans.length, equalTo(2));
72 spans = spanStr.getSpans(0, TEST_STRING.length(), URLSpan.class);
73 assertThat(spans, notNullValue());
74 assertThat(spans
[all...]
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_region.cc67 it1->second->spans != it2->second->spans) {
116 new_row->second->spans = row->second->spans;
126 new_row->second->spans = row->second->spans;
158 // set of spans then they can be merged.
160 previous_row->second->spans == row->second->spans) {
207 IntersectRows(it1->second->spans, it
[all...]
H A Ddesktop_region_unittest.cc557 } spans[3]; member in struct:webrtc::SpanSet
583 int span_set_end = span_set.spans[span_set.count - 1].end;
594 std::fill_n(x + expected_map + span_set.spans[span].start,
595 span_set.spans[span].end - span_set.spans[span].start,
597 region2.AddRect(DesktopRect::MakeLTRB(x + span_set.spans[span].start, 0,
598 x + span_set.spans[span].end, 1));
628 } spans[3]; member in struct:webrtc::SpanSet
654 int span_set_end = span_set.spans[span_set.count - 1].end;
665 std::fill_n(y + expected_map + span_set.spans[spa
[all...]
H A Ddesktop_region.h56 RowSpanSet spans; member in struct:webrtc::DesktopRegion::Row
80 // |row_span_| matches spans on consecutive rows then they are also merged
139 // Adds a new span to the row, coalescing spans if necessary.
145 // Calculates the intersection of two sets of spans.
154 // Merges |row| with the row above it if they contain the same spans. Doesn't
/external/chromium_org/chrome/browser/autocomplete/
H A Dhistory_provider.cc86 ACMatchClassifications spans; local
89 spans.push_back(ACMatchClassification(0, url_style));
90 return spans;
93 spans.push_back(ACMatchClassification(0, url_style));
97 spans.push_back(ACMatchClassification(offset,
105 spans.push_back(ACMatchClassification(offset, url_style));
108 return spans;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSpannableString.java16 private HashMap<Object, SpanHolder> spans = new HashMap<Object, SpanHolder>(); field in class:ShadowSpannableString
29 spans.put(what, new SpanHolder(start, end, flags) );
34 spans.remove(what);
41 for (Object s : spans.keySet()) {
43 SpanHolder h = spans.get(s);
57 SpanHolder spanHolder = spans.get(what);
67 SpanHolder spanHolder = spans.get(what);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/
H A DparseSvnPropertyValue.pl114 long sentence that spans
119 expectedReturn => ["A\nlong sentence that spans\nmultiple lines.", "\n"],
127 long sentence that spans
133 expectedReturn => ["A\r\nlong sentence that spans\r\nmultiple lines.", "\r\n"],
141 long sentence that spans
145 expectedReturn => ["A\nlong sentence that spans\nmultiple lines.", " + A single-line.\n"],
153 long sentence that spans
157 expectedReturn => ["A\nlong sentence that spans\nmultiple lines.", "Added: svn:executable\n"],
165 long sentence that spans
168 long sentence that spans
[all...]
H A DparseSvnProperty.pl322 long sentence that spans
331 value => "A\nlong sentence that spans\nmultiple lines.",
342 long sentence that spans
352 value => "A\r\nlong sentence that spans\r\nmultiple lines.",
363 long sentence that spans
372 value => "A\nlong sentence that spans\nmultiple lines.",
383 long sentence that spans
393 value => "A\r\nlong sentence that spans\r\nmultiple lines.",
444 long sentence that spans
453 value => "A\nlong sentence that spans\nmultipl
[all...]
/external/guava/guava-tests/test/com/google/common/io/
H A DMultiInputStreamTest.java71 private void joinHelper(Integer... spans) throws Exception { argument
74 for (Integer span : spans) {
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Dspannable.js65 // Zero-length spans are explicitly allowed, because it is possible to
140 * Returns all spans matching a position.
261 // This choice affects which spans are kept.
284 result.spans = [];
299 result.spans.push(spanObj);
316 if (!(obj.spans instanceof Array)) {
317 throw 'Invalid spannable json object: no spans array';
320 for (var i = 0, span; span = obj.spans[i]; ++i) {
388 * @typedef {{string: string, spans: Array.<cvox.Spannable.SerializedSpan_>}}
H A Dbraille_util.js385 var spans = braille.text.getSpans(opt_displayPosition || 0);
386 var node = spans.filter(function(n) { return n instanceof Node; })[0];
391 var valueSpan = spans.filter(
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dsection.c736 * - build spans for short->long transition dependencies
745 * - Interval tree to store spans and associated data
772 * lengths of any spans dependent on the offset-setter.
783 * error. Otherwise increase offset and update dependent spans.
786 * before the spans are added to the tree.
793 * dependent spans as we go.
797 * b. Iterate over spans. Set span length based on bytecode offsets
805 * d. Iterate over active spans. Add span to interval tree. Update span's
865 /* NULL-terminated array of spans that led to this span. Used only for
866 * checking for circular references (cycles) with id=0 spans
[all...]
/external/chromium_org/ui/gfx/
H A Drender_text_mac.cc46 std::vector<RenderText::FontSpan> spans; local
51 spans.push_back(RenderText::FontSpan(font, range));
54 return spans;
H A Drender_text_pango.cc145 std::vector<RenderText::FontSpan> spans; local
153 spans.push_back(RenderText::FontSpan(Font(desc.get()), range));
156 return spans;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.apache.lucene_1.9.1.v20100518-1140.jar ... lucene/queryParser/ org/apache/lucene/search/ org/apache/lucene/search/spans/ org/apache/lucene/store/ org/apache/lucene/util/ about. ...
/external/chromium_org/third_party/freetype/include/freetype/
H A Dftimage.h917 /* spans on each scan line. */
922 /* count :: The number of spans to draw on this scanline. */
924 /* spans :: A table of `count' spans to draw on the scanline. */
930 /* gray spans of the anti-aliased bitmap to any kind of surfaces. */
938 /* that if there are more than 32~spans on a given scanline, the */
948 const FT_Span* spans,
1048 /* in direct rendering mode where all spans */
1103 /* spans, in the case of an aa glyph bitmap, it will call */
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dpage_heap.h131 // Split an allocated span into two spans: one of length "n" pages
163 // For each free list of small spans, the length (in spans) of the
170 // Stats for free large spans (i.e., spans with more than kMaxPages pages).
172 int64 spans; // Number of such spans member in struct:tcmalloc::PageHeap::LargeSpanStats
173 int64 normal_pages; // Combined page length of normal large spans
174 int64 returned_pages; // Combined page length of unmapped spans
233 // We segregate spans o
[all...]
H A Dpage_heap.cc242 // Note that the adjacent spans we merge into "span" may come out of a
244 // is implicitly committed. If the adjacents spans are on the "returned"
245 // (decommitted) list, then we must get both spans into the same state before
248 // include any combination of committed and decommitted spans, at the end of
371 // Round robin through the lists of free spans, releasing the last
414 result->spans = 0;
419 result->spans++;
423 result->spans++;
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dpage_heap.h123 // Split an allocated span into two spans: one of length "n" pages
153 // For each free list of small spans, the length (in spans) of the
160 // Stats for free large spans (i.e., spans with more than kMaxPages pages).
162 int64 spans; // Number of such spans member in struct:tcmalloc::PageHeap::LargeSpanStats
163 int64 normal_pages; // Combined page length of normal large spans
164 int64 returned_pages; // Combined page length of unmapped spans
221 // We segregate spans o
[all...]
H A Dpage_heap.cc210 // Note that only similar spans are merged together. For example,
211 // we do not coalesce "returned" spans with "normal" spans.
310 // Round robin through the lists of free spans, releasing the last
353 result->spans = 0;
358 result->spans++;
362 result->spans++;
/external/freetype/include/
H A Dftimage.h917 /* spans on each scan line. */
922 /* count :: The number of spans to draw on this scanline. */
924 /* spans :: A table of `count' spans to draw on the scanline. */
930 /* gray spans of the anti-aliased bitmap to any kind of surfaces. */
938 /* that if there are more than 32~spans on a given scanline, the */
948 const FT_Span* spans,
1048 /* in direct rendering mode where all spans */
1103 /* spans, in the case of an aa glyph bitmap, it will call */
/external/pdfium/core/include/thirdparties/freetype/freetype/
H A Dftimage.h917 /* spans on each scan line. */
922 /* count :: The number of spans to draw on this scanline. */
924 /* spans :: A table of `count' spans to draw on the scanline. */
930 /* gray spans of the anti-aliased bitmap to any kind of surfaces. */
938 /* that if there are more than 32~spans on a given scanline, the */
948 const FT_Span* spans,
1048 /* in direct rendering mode where all spans */
1103 /* spans, in the case of an aa glyph bitmap, it will call */
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
H A Dftimage.h917 /* spans on each scan line. */
922 /* count :: The number of spans to draw on this scanline. */
924 /* spans :: A table of `count' spans to draw on the scanline. */
930 /* gray spans of the anti-aliased bitmap to any kind of surfaces. */
938 /* that if there are more than 32~spans on a given scanline, the */
948 const FT_Span* spans,
1048 /* in direct rendering mode where all spans */
1103 /* spans, in the case of an aa glyph bitmap, it will call */
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
H A Dcodemirror.js897 // collapsed spans). The widgets for all of them need to be drawn.
3308 // of read-only spans in its range.
3413 function makeChangeSingleDoc(doc, change, selAfter, spans) {
3415 return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans);
3439 if (doc.cm) makeChangeSingleDocInEditor(doc.cm, change, spans);
3440 else updateDoc(doc, change, spans);
3446 function makeChangeSingleDocInEditor(cm, change, spans) {
3463 updateDoc(doc, change, spans, estimateHeight(cm));
4879 // lines may point to the same marker when it spans across lines.
4880 // The spans wil
[all...]
/external/skia/experimental/webtry/res/js/cm/
H A Dcodemirror.js897 // collapsed spans). The widgets for all of them need to be drawn.
3308 // of read-only spans in its range.
3413 function makeChangeSingleDoc(doc, change, selAfter, spans) {
3415 return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans);
3439 if (doc.cm) makeChangeSingleDocInEditor(doc.cm, change, spans);
3440 else updateDoc(doc, change, spans);
3446 function makeChangeSingleDocInEditor(cm, change, spans) {
3463 updateDoc(doc, change, spans, estimateHeight(cm));
4879 // lines may point to the same marker when it spans across lines.
4880 // The spans wil
[all...]

Completed in 478 milliseconds

12