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

1 2

  /external/skia/legacy/src/animator/
SkDrawDash.h 22 SkTDScalarArray intervals; member in class:SkDash
  /external/skia/src/animator/
SkDrawDash.h 22 SkTDScalarArray intervals; member in class:SkDash
  /external/skia/gm/
dashcubics.cpp 45 SkScalar intervals[] = { 5, 10 }; local
46 SkPathEffect* pe = new SkDashPathEffect(intervals, 2, 0);
aaclip.cpp 15 const SkScalar intervals[] = { SK_Scalar1, SK_Scalar1 }; local
18 paint.setPathEffect(new SkDashPathEffect(intervals, 2, 0))->unref();
dashing.cpp 17 const SkScalar intervals[] = { local
22 p.setPathEffect(new SkDashPathEffect(intervals, 2, 0))->unref();
130 3, // 3 dashes: each count [0] followed by intervals [1..count]
150 const int* intervals = &gIntervals[1]; local
153 int count = *intervals++;
155 vals[i] = SkIntToScalar(*intervals++);
203 SkScalar intervals[2] = { dashLength, dashLength }; local
205 p.setPathEffect(new SkDashPathEffect(intervals, 2, phase, false));
  /external/skia/legacy/src/effects/
SkDashPathEffect.cpp 18 static SkScalar FindFirstInterval(const SkScalar intervals[], SkScalar phase,
22 for (i = 0; phase > intervals[i]; i++) {
23 phase -= intervals[i];
26 return intervals[i] - phase;
29 SkDashPathEffect::SkDashPathEffect(const SkScalar intervals[], int count,
32 SkASSERT(intervals);
40 SkASSERT(intervals[i] >= 0);
41 fIntervals[i] = intervals[i];
42 len += intervals[i];
63 fInitialDashLength = FindFirstInterval(intervals, phase, &fInitialDashIndex)
85 const SkScalar* intervals = fIntervals; local
    [all...]
  /external/skia/tests/
DrawPathTest.cpp 189 SkScalar intervals[2] = {837099584, 33450}; local
191 new SkDashPathEffect(intervals, 2, -10, false));
234 SkScalar intervals[] = { 0.2f, 0.2f }; local
235 SkDashPathEffect dash(intervals, 2, 0);
254 SkScalar intervals[] = { 0.5f, 0.5f }; local
255 SkDashPathEffect dash(intervals, 2, 0);
  /frameworks/base/core/jni/android/graphics/
PathEffect.cpp 35 SkScalar* intervals = storage.get(); local
37 intervals[i] = SkFloatToScalar(values[i]);
39 return new SkDashPathEffect(intervals, count, SkFloatToScalar(phase));
  /external/openfst/src/include/fst/
state-reachable.h 73 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.
interval-set.h 19 // Class to represent and operate on sets of intervals.
34 // Stores and operates on a set of half-open integral intervals [a,b)
80 vector<Interval> *Intervals() { return &intervals_; }
82 const vector<Interval> *Intervals() const { return &intervals_; }
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
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...]
label-reachable.h 195 VLOG(2) << "# of intervals/call: " << (nintervals_ / ncalls_);
306 const vector<Interval> *intervals = isets[s_].Intervals(); local
308 nintervals_ += intervals->size();
318 if (2 * (aiter_end - aiter_begin) < intervals->size()) {
319 // Check each arc against intervals.
359 iiter = intervals->begin();
360 iiter != intervals->end(); ++iiter) {
497 VLOG(3) << "state: " << s << " # of intervals: " << isets[s].Size();
501 VLOG(2) << "# of intervals: " << nintervals
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/
random.h 4898 intervals() const function in struct:piecewise_constant_distribution::param_type
4968 intervals() const function in class:piecewise_constant_distribution
5137 intervals() const function in struct:piecewise_linear_distribution::param_type
5209 intervals() const function in class:piecewise_linear_distribution
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/
random.h 4898 intervals() const function in struct:piecewise_constant_distribution::param_type
4968 intervals() const function in class:piecewise_constant_distribution
5137 intervals() const function in struct:piecewise_linear_distribution::param_type
5209 intervals() const function in class:piecewise_linear_distribution
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
random.h 4898 intervals() const function in struct:piecewise_constant_distribution::param_type
4968 intervals() const function in class:piecewise_constant_distribution
5137 intervals() const function in struct:piecewise_linear_distribution::param_type
5209 intervals() const function in class:piecewise_linear_distribution
    [all...]
  /external/skia/bench/
DashBench.cpp 44 DashBench(void* param, const SkScalar intervals[], int count, int width,
46 fIntervals.append(count, intervals);
105 RectDashBench(void* param, const SkScalar intervals[], int count, int width, bool doClip = false)
106 : INHERITED(param, intervals, count, width) {
219 * We try to special case square dashes (intervals are equal to strokewidth).
339 // deliberately pick intervals that won't be caught by asPoints(), so
341 const SkScalar intervals[] = { 2, 1, 1, 1 }; local
342 fPathEffect.reset(new SkDashPathEffect(intervals,
343 SK_ARRAY_COUNT(intervals), 0));
  /external/skia/src/effects/
SkDashPathEffect.cpp 18 static SkScalar FindFirstInterval(const SkScalar intervals[], SkScalar phase,
21 if (phase > intervals[i]) {
22 phase -= intervals[i];
25 return intervals[i] - phase;
33 return intervals[0];
36 SkDashPathEffect::SkDashPathEffect(const SkScalar intervals[], int count,
39 SkASSERT(intervals);
47 SkASSERT(intervals[i] >= 0);
48 fIntervals[i] = intervals[i];
49 len += intervals[i]
243 const SkScalar* intervals = fIntervals; local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/context/
PlatformGraphicsContext.cpp 301 SkScalar* intervals = new SkScalar[count]; local
304 intervals[i] = SkFloatToScalar(dashes[i % dashLength]);
307 *effectPtr = new SkDashPathEffect(intervals, count, SkFloatToScalar(dashOffset));
309 delete[] intervals;
476 SkScalar intervals[] = { width, width };
477 pe = new SkDashPathEffect(intervals, 2, 0);
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
IntervalSet.java 42 * 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) {
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.toString())
    [all...]
  /external/quake/quake/src/WinQuake/
model.h 201 float *intervals; member in struct:__anon14534
258 int intervals; member in struct:__anon14540
265 int intervals; member in struct:__anon14541
gl_model.h 227 float *intervals; member in struct:__anon14507
279 int intervals; member in struct:__anon14512
  /external/skia/src/core/
SkRegion.cpp 19 * [ Bottom, X-Intervals, [Left, Right]..., X-Sentinel ]
29 /* Pass in the beginning with the intervals.
34 int intervals = runs[-1]; local
36 if (intervals > 0) {
40 SkASSERT(0 == intervals);
44 runs += intervals * 2 + 1;
411 int* intervals) const {
412 SkASSERT(tmpStorage && intervals);
417 *intervals = 0;
420 *intervals = 1
958 int intervals = 2 * a_intervals * b_intervals + a_intervals + b_intervals; local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/skia/
GraphicsContextSkia.cpp 959 SkScalar* intervals = new SkScalar[count]; local
962 intervals[i] = dashes[i % dashLength];
964 platformContext()->setDashPathEffect(new SkDashPathEffect(intervals, count, dashOffset));
966 delete[] intervals;
    [all...]
PlatformContextSkia.cpp 439 SkScalar intervals[2] = { dashLengthSk, dashLengthSk }; local
440 paint->setPathEffect(new SkDashPathEffect(intervals, 2, SkIntToScalar(phase)))->unref();
  /external/quake/quake/src/QW/client/
gl_model.h 231 float *intervals; member in struct:__anon14144
283 int intervals; member in struct:__anon14149
model.h 212 float *intervals; member in struct:__anon14174
269 int intervals; member in struct:__anon14180
276 int intervals; member in struct:__anon14181

Completed in 826 milliseconds

1 2