Searched defs:intervals (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawDash.h20 SkTDScalarArray intervals; member in class:SkDash
/external/skia/src/animator/
H A DSkDrawDash.h20 SkTDScalarArray intervals; member in class:SkDash
/external/chromium_org/third_party/skia/tests/
H A DDashPathEffectTest.cpp10 SkScalar intervals[] = { 1.76934361e+36f, 2.80259693e-45f }; // Values from bug. local
13 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, count, phase));
H A DDrawPathTest.cpp205 SkScalar intervals[2] = {837099584, 33450}; local
206 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, -10));
245 SkScalar intervals[] = { 0.2f, 0.2f }; local
246 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0));
265 SkScalar intervals[] = { 0.5f, 0.5f }; local
266 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0));
/external/skia/tests/
H A DDashPathEffectTest.cpp10 SkScalar intervals[] = { 1.76934361e+36f, 2.80259693e-45f }; // Values from bug. local
13 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, count, phase));
H A DDrawPathTest.cpp205 SkScalar intervals[2] = {837099584, 33450}; local
206 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, -10));
245 SkScalar intervals[] = { 0.2f, 0.2f }; local
246 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0));
265 SkScalar intervals[] = { 0.5f, 0.5f }; local
266 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0));
/external/chromium_org/third_party/skia/gm/
H A Ddashcubics.cpp49 SkScalar intervals[] = { 5, 10 }; local
50 SkPathEffect* pe = SkDashPathEffect::Create(intervals, 2, 0);
H A Dstroketext.cpp53 const SkScalar intervals[] = { 20, 10, 5, 10 }; local
58 p.setPathEffect(SkDashPathEffect::Create(intervals, SK_ARRAY_COUNT(intervals), phase))->unref();
H A Ddashing.cpp19 const SkScalar intervals[] = { local
24 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref();
151 3, // 3 dashes: each count [0] followed by intervals [1..count]
171 const int* intervals = &gIntervals[1]; local
174 int count = *intervals++;
176 vals[i] = SkIntToScalar(*intervals++);
228 SkScalar intervals[2] = { dashLength, dashLength }; local
230 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref();
/external/chromium_org/third_party/skia/include/effects/
H A DSkDashPathEffect.h19 /** intervals: array containing an even number of entries (>=2), with
20 the even indices specifying the length of "on" intervals, and the odd
21 indices specifying the length of "off" intervals.
22 count: number of elements in the intervals array
23 phase: offset into the intervals array (mod the sum of all of the
24 intervals).
26 For example: if intervals[] = {10, 20}, count = 2, and phase = 25,
35 because the sum of all the intervals is 30.
39 static SkDashPathEffect* Create(const SkScalar intervals[], int count, argument
41 return SkNEW_ARGS(SkDashPathEffect, (intervals, coun
[all...]
/external/skia/gm/
H A Ddashcubics.cpp49 SkScalar intervals[] = { 5, 10 }; local
50 SkPathEffect* pe = SkDashPathEffect::Create(intervals, 2, 0);
H A Dstroketext.cpp53 const SkScalar intervals[] = { 20, 10, 5, 10 }; local
58 p.setPathEffect(SkDashPathEffect::Create(intervals, SK_ARRAY_COUNT(intervals), phase))->unref();
/external/skia/include/effects/
H A DSkDashPathEffect.h19 /** intervals: array containing an even number of entries (>=2), with
20 the even indices specifying the length of "on" intervals, and the odd
21 indices specifying the length of "off" intervals.
22 count: number of elements in the intervals array
23 phase: offset into the intervals array (mod the sum of all of the
24 intervals).
26 For example: if intervals[] = {10, 20}, count = 2, and phase = 25,
35 because the sum of all the intervals is 30.
39 static SkDashPathEffect* Create(const SkScalar intervals[], int count, argument
41 return SkNEW_ARGS(SkDashPathEffect, (intervals, coun
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DStrokeData.cpp52 OwnPtr<SkScalar[]> intervals = adoptArrayPtr(new SkScalar[count]); local
55 intervals[i] = dashes[i % dashLength];
57 m_dash = adoptRef(SkDashPathEffect::Create(intervals.get(), count, dashOffset));
107 SkScalar intervals[2] = { dashLengthSk, dashLengthSk }; local
108 RefPtr<SkDashPathEffect> pathEffect = adoptRef(SkDashPathEffect::Create(intervals, 2, SkIntToScalar(phase)));
/external/chromium_org/third_party/skia/samplecode/
H A DSamplePathUtils.cpp67 SkScalar intervals[8] = { .5f, .3f, .5f, .3f, .5f, .3f, .5f, .3f }; local
68 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, fPhase));
/external/skia/samplecode/
H A DSamplePathUtils.cpp67 SkScalar intervals[8] = { .5f, .3f, .5f, .3f, .5f, .3f, .5f, .3f }; local
68 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, fPhase));
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DRasterShape.h83 RasterShape(PassOwnPtr<RasterShapeIntervals> intervals, const IntSize& marginRectSize) argument
84 : m_intervals(intervals)
H A DRasterShape.cpp155 const RasterShapeIntervals& intervals = marginIntervals(); local
156 if (intervals.isEmpty())
162 if (y2 < intervals.bounds().y() || y1 >= intervals.bounds().maxY())
165 y1 = std::max(y1, intervals.bounds().y());
166 y2 = std::min(y2, intervals.bounds().maxY());
170 excludedInterval = intervals.intervalAt(y1);
173 excludedInterval.unite(intervals.intervalAt(y));
177 // intervals. |excludedInterval.x2()| contains the left-most pixel
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DIntervalSet.java42 * integer intervals.
48 * elements are encoded with an index pair where both intervals are the same.
55 /** The list of sorted, disjoint intervals. */
56 protected List<Interval> intervals; field in class:IntervalSet
60 intervals = new ArrayList<Interval>(2); // most sets are 1 or 2 elements
63 public IntervalSet(List<Interval> intervals) { argument
64 this.intervals = intervals;
99 // copy on write so we can cache a..a intervals and sets of that
101 //System.out.println("add "+addition+" to "+intervals
[all...]
/external/chromium_org/third_party/brotli/src/woff2/
H A Dfont.cc49 std::map<uint32_t, uint32_t> intervals; local
63 intervals[table.offset] = table.length;
73 for (const auto& i : intervals) {
/external/openfst/src/include/fst/
H A Dstate-reachable.h73 vector<Interval> *intervals = (*isets_)[s].Intervals(); local
87 intervals->push_back(Interval(index, index + 1));
89 intervals->push_back(Interval(index_, index_ + 1));
114 vector<Interval> *intervals = (*isets_)[s].Intervals(); local
115 (*intervals)[0].end = index_; // Update tree interval end
119 (*isets_)[p].Union((*isets_)[s]); // Propagate intervals to parent
182 // to the final states as intervals of the final state indices.
H A Dinterval-set.h19 // Class to represent and operate on sets of intervals.
34 // Stores and operates on a set of half-open integral intervals [a,b)
88 // Number of points in the intervals (undefined if not normalized).
98 const vector<Interval> *intervals = iset.Intervals(); local
99 for (typename vector<Interval>::const_iterator it = intervals->begin();
100 it != intervals->end(); ++it)
104 // Requires intervals be normalized.
114 // Requires intervals be normalized.
119 // Requires intervals be normalized.
133 // Intersects an interval set with the set. Requires intervals b
275 const vector<Interval> *intervals = iset.Intervals(); local
295 const vector<Interval> *intervals = iset.Intervals(); local
344 const vector<Interval> *intervals = iset.Intervals(); local
366 const vector<Interval> *intervals = s.Intervals(); local
[all...]
/external/skia/src/effects/
H A DSkDashPathEffect.cpp14 SkDashPathEffect::SkDashPathEffect(const SkScalar intervals[], int count, argument
16 SkASSERT(intervals);
22 SkASSERT(intervals[i] >= 0);
23 fIntervals[i] = intervals[i];
56 // intervals as long as all the ons match and all the offs match.
58 // We cannot allow arbitrary intervals since we want the returned points
/external/chromium_org/third_party/skia/src/effects/
H A DSkDashPathEffect.cpp14 SkDashPathEffect::SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase) argument
19 SkASSERT(intervals);
25 SkASSERT(intervals[i] >= 0);
26 fIntervals[i] = intervals[i];
169 // intervals as long as all the ons match and all the offs match.
171 // We cannot allow arbitrary intervals since we want the returned points
366 SkAutoSTArray<32, SkScalar> intervals(count);
367 if (buffer.readScalarArray(intervals.get(), count)) {
368 return Create(intervals.get(), SkToInt(count), phase);
/external/chromium_org/third_party/skia/src/utils/
H A DSkDashPath.cpp15 static SkScalar find_first_interval(const SkScalar intervals[], SkScalar phase, argument
18 if (phase > intervals[i]) {
19 phase -= intervals[i];
22 return intervals[i] - phase;
30 return intervals[0];
33 void SkDashPath::CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count, argument
38 len += intervals[i];
69 *initialDashLength = find_first_interval(intervals, phase,
75 *initialDashLength = -1; // signal bad dash intervals
231 const SkScalar* intervals local
[all...]

Completed in 1335 milliseconds

12