/external/skia/src/animator/ |
SkDrawDash.h | 20 SkTDScalarArray intervals; member in class:SkDash
|
/external/skia/gm/ |
dashcubics.cpp | 32 void flower(SkCanvas* canvas, const SkPath& path, SkScalar intervals[2], SkPaint::Join join) { 33 SkPathEffect* pe = SkDashPathEffect::Create(intervals, 2, 0); 71 SkScalar intervals[] = { 5 + (x ? 0 : 0.0001f + 0.0001f), 10 }; local 72 flower(canvas, path, intervals, y ? SkPaint::kDefault_Join : SkPaint::kRound_Join);
|
stroketext.cpp | 53 const SkScalar intervals[] = { 20, 10, 5, 10 }; local 58 p.setPathEffect(SkDashPathEffect::Create(intervals, SK_ARRAY_COUNT(intervals), phase))->unref();
|
dashing.cpp | 19 const SkScalar intervals[] = { local 24 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref(); 145 3, // 3 dashes: each count [0] followed by intervals [1..count] 165 const int* intervals = &gIntervals[1]; local 168 int count = *intervals++; 170 vals[i] = SkIntToScalar(*intervals++); 219 SkScalar intervals[2] = { dashLength, dashLength }; local 221 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref();
|
/external/skia/tests/ |
DashPathEffectTest.cpp | 17 SkScalar intervals[] = { 1.76934361e+36f, 2.80259693e-45f }; // Values from bug. local 20 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, count, phase)); 33 const SkScalar intervals[] = { 1.0f, 1.0f }; local 35 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, count, 0.0f));
|
DrawPathTest.cpp | 203 SkScalar intervals[2] = {837099584, 33450}; local 204 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, -10)); 243 SkScalar intervals[] = { 0.2f, 0.2f }; local 244 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0)); 263 SkScalar intervals[] = { 0.5f, 0.5f }; local 264 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0));
|
PictureTest.cpp | 137 SkScalar intervals[] = { 1.0f, 1.0f }; local 138 SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0)); 226 SkScalar intervals [] = { 10, 20 }; local 227 SkPathEffect* pe = SkDashPathEffect::Create(intervals, 2, 25); 243 SkScalar intervals [] = { 10, 20 }; local 244 SkPathEffect* pe = SkDashPathEffect::Create(intervals, 2, 25); [all...] |
/frameworks/base/core/jni/android/graphics/ |
PathEffect.cpp | 42 SkScalar* intervals = autoInterval.ptr(); local 46 SkPathEffect* effect = SkDashPathEffect::Create(intervals, count, 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/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...] |
/prebuilts/ndk/9/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 | 41 DashBench(const SkScalar intervals[], int count, int width, 43 fIntervals.append(count, intervals); 102 RectDashBench(const SkScalar intervals[], int count, int width) 103 : INHERITED(intervals, count, width) { 211 * We try to special case square dashes (intervals are equal to strokewidth). 322 // deliberately pick intervals that won't be caught by asPoints(), so 324 const SkScalar intervals[] = { 20, 10, 10, 10 }; local 325 fPathEffect.reset(SkDashPathEffect::Create(intervals, 326 SK_ARRAY_COUNT(intervals), 0));
|
/external/skia/src/utils/ |
SkDashPath.cpp | 15 static SkScalar find_first_interval(const SkScalar intervals[], SkScalar phase, 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, 38 len += intervals[i]; 69 *initialDashLength = find_first_interval(intervals, phase, 75 *initialDashLength = -1; // signal bad dash intervals 231 const SkScalar* intervals = aIntervals local [all...] |
/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/pdfium/core/src/fxge/skia/ |
fx_skia_device.cpp | 213 SkScalar* intervals = FX_Alloc2D(SkScalar, count, sizeof(SkScalar)); local 221 intervals[i*2]=on*scale; 222 intervals[i*2+1]=off*scale; 224 SkDashPathEffect* pEffect = new SkDashPathEffect(intervals,count*2, pGraphState->m_DashPhase*scale); 234 FX_Free(intervals);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
random.h | 5516 intervals() const function in struct:piecewise_constant_distribution::param_type 5586 intervals() const function in class:piecewise_constant_distribution 5783 intervals() const function in struct:piecewise_linear_distribution::param_type 5855 intervals() const function in class:piecewise_linear_distribution [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
random.h | 5516 intervals() const function in struct:piecewise_constant_distribution::param_type 5586 intervals() const function in class:piecewise_constant_distribution 5783 intervals() const function in struct:piecewise_linear_distribution::param_type 5855 intervals() const function in class:piecewise_linear_distribution [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
random.h | 5516 intervals() const function in struct:piecewise_constant_distribution::param_type 5586 intervals() const function in class:piecewise_constant_distribution 5783 intervals() const function in struct:piecewise_linear_distribution::param_type 5855 intervals() const function in class:piecewise_linear_distribution [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/ |
random.h | 5516 intervals() const function in struct:piecewise_constant_distribution::param_type 5586 intervals() const function in class:piecewise_constant_distribution 5783 intervals() const function in struct:piecewise_linear_distribution::param_type 5855 intervals() const function in class:piecewise_linear_distribution [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
random.h | 5518 intervals() const function in struct:piecewise_constant_distribution::param_type 5588 intervals() const function in class:piecewise_constant_distribution 5785 intervals() const function in struct:piecewise_linear_distribution::param_type 5857 intervals() const function in class:piecewise_linear_distribution [all...] |
/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; 415 int* intervals) const { 416 SkASSERT(tmpStorage && intervals); 421 *intervals = 0; 424 *intervals = 1 962 int intervals = 2 * a_intervals * b_intervals + a_intervals + b_intervals; local 1327 int intervals = runs[1]; local [all...] |
/external/skia/src/gpu/effects/ |
GrDashingEffect.cpp | 49 const SkScalar* intervals = strokeInfo.getDashIntervals(); local 50 if (0 == intervals[0] && 0 == intervals[1]) { 56 if (SkPaint::kRound_Cap == cap && intervals[0] != 0.f) { 121 // Assumes phase < sum of all intervals 122 static SkScalar calc_start_adjustment(const SkScalar intervals[2], SkScalar phase) { 123 SkASSERT(phase < intervals[0] + intervals[1]); 124 if (phase >= intervals[0] && phase != 0) { 125 SkScalar srcIntervalLen = intervals[0] + intervals[1] 684 const SkScalar* intervals = strokeInfo.getDashIntervals(); local 1262 SkScalar intervals[2]; local [all...] |
/bionic/libc/kernel/uapi/sound/ |
asound.h | 346 struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL + 1]; member in struct:snd_pcm_hw_params [all...] |