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

1 2 3 4 5 6

  /frameworks/base/graphics/java/android/graphics/
DashPathEffect.java 22 * The intervals array must contain an even number of entries (>=2), with
23 * the even indices specifying the "on" intervals, and the odd indices
24 * specifying the "off" intervals. phase is an offset into the intervals
25 * array (mod the sum of all of the intervals). The intervals array
31 * @param intervals array of ON and OFF distances
32 * @param phase offset into the intervals array
34 public DashPathEffect(float intervals[], float phase) {
35 if (intervals.length < 2)
    [all...]
  /external/skia/src/animator/
SkDrawDash.cpp 16 SK_MEMBER_ARRAY(intervals, Float),
31 int count = intervals.count();
34 return SkDashPathEffect::Create(intervals.begin(), count, phase);
SkDrawDash.h 20 SkTDScalarArray intervals; member in class:SkDash
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DashPathEffect_Delegate.java 76 /*package*/ static long nativeCreate(float intervals[], float phase) {
77 DashPathEffect_Delegate newDelegate = new DashPathEffect_Delegate(intervals, phase);
83 private DashPathEffect_Delegate(float intervals[], float phase) {
84 mIntervals = new float[intervals.length];
85 System.arraycopy(intervals, 0, mIntervals, 0, intervals.length);
  /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/skia/src/core/
SkRegionPriv.h 54 * Number of intervals in the entire region. This equals the number of
127 const int intervals = runs[1];
128 SkASSERT(runs[2 + intervals * 2] == SkRegion::kRunTypeSentinel);
132 SkASSERT(n == intervals);
137 runs += 1 + 1 + intervals * 2 + 1;
185 const int intervals = *runs++;
186 SkASSERT(intervals >= 0);
187 SkASSERT(intervals < SkRegion::kRunTypeSentinel);
189 if (intervals > 0) {
193 SkASSERT(n == intervals);
    [all...]
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
ctor_default.pass.cpp 26 std::vector<double> iv = d.intervals();
ctor_init_func.pass.cpp 34 std::vector<double> iv = d.intervals();
45 std::vector<double> iv = d.intervals();
56 std::vector<double> iv = d.intervals();
67 std::vector<double> iv = d.intervals();
param_ctor_default.pass.cpp 26 std::vector<double> iv = pa.intervals();
param_ctor_init_func.pass.cpp 32 std::vector<double> iv = pa.intervals();
44 std::vector<double> iv = pa.intervals();
56 std::vector<double> iv = pa.intervals();
68 std::vector<double> iv = pa.intervals();
  /external/skia/gm/
bug530095.cpp 21 SkScalar intervals[] = {700, 700 }; local
22 int intervalCount = (int) SK_ARRAY_COUNT(intervals);
23 paint.setPathEffect(SkDashPathEffect::Create(intervals, intervalCount, -40))->unref();
37 paint.setPathEffect(SkDashPathEffect::Create(intervals, intervalCount, 0))->unref();
dashcubics.cpp 18 SkScalar intervals[2], SkPaint::Join join) {
19 SkPathEffect* pe = SkDashPathEffect::Create(intervals, 2, 0);
57 SkScalar intervals[] = { 5 + (x ? 0 : 0.0001f + 0.0001f), 10 }; local
58 flower(canvas, path, intervals, y ? SkPaint::kDefault_Join : SkPaint::kRound_Join);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
ctor_default.pass.cpp 26 std::vector<double> iv = d.intervals();
ctor_init_func.pass.cpp 34 std::vector<double> iv = d.intervals();
45 std::vector<double> iv = d.intervals();
56 std::vector<double> iv = d.intervals();
67 std::vector<double> iv = d.intervals();
param_ctor_default.pass.cpp 26 std::vector<double> iv = pa.intervals();
param_ctor_init_func.pass.cpp 32 std::vector<double> iv = pa.intervals();
44 std::vector<double> iv = pa.intervals();
56 std::vector<double> iv = pa.intervals();
68 std::vector<double> iv = pa.intervals();
  /art/runtime/gc/collector/
immune_spaces.cc 43 std::vector<Interval> intervals;
57 intervals.push_back(Interval(reinterpret_cast<uintptr_t>(image_oat_file->Begin()),
62 intervals.push_back(Interval(space_begin, space_end, /*is_heap*/true));
64 std::sort(intervals.begin(), intervals.end());
65 // Intervals are already sorted by begin, if a new interval begins at the end of the current
70 for (const Interval& interval : intervals) {
79 // interval. Otherwise continue since we never start a new region with non image intervals.
  /external/skia/tests/
DashPathEffectTest.cpp 18 SkScalar intervals[] = { 1.76934361e+36f, 2.80259693e-45f }; // Values from bug. local
21 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, count, phase));
34 const SkScalar intervals[] = { 1.0f, 1.0f }; local
36 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, count, 0.0f));
97 SkScalar intervals[2] = { 1, 1 }; local
98 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0));
  /external/skia/include/effects/
SkDashPathEffect.h 19 /** 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 SkPathEffect* Create(const SkScalar intervals[], int count, SkScalar phase);
59 SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase)
    [all...]
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/
ctor_default.pass.cpp 26 std::vector<double> iv = d.intervals();
ctor_init_func.pass.cpp 34 std::vector<double> iv = d.intervals();
46 std::vector<double> iv = d.intervals();
58 std::vector<double> iv = d.intervals();
70 std::vector<double> iv = d.intervals();
param_ctor_default.pass.cpp 26 std::vector<double> iv = pa.intervals();
param_ctor_init_func.pass.cpp 32 std::vector<double> iv = pa.intervals();
45 std::vector<double> iv = pa.intervals();
58 std::vector<double> iv = pa.intervals();
71 std::vector<double> iv = pa.intervals();
  /external/skia/src/gpu/
GrStrokeInfo.cpp 12 bool all_dash_intervals_zero(const SkScalar* intervals, int count) {
14 if (intervals[i] != 0) {
29 // Handle the case where all intervals are 0 and we simply drop the dash effect
85 const SkScalar* intervals = this->getDashIntervals(); local
87 memcpy(&data[i], intervals, intervalByteCnt);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/
ctor_default.pass.cpp 26 std::vector<double> iv = d.intervals();

Completed in 1594 milliseconds

1 2 3 4 5 6