/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...] |
/frameworks/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/skia/include/effects/ |
SkDashPathEffect.h | 15 /** intervals: array containing an even number of entries (>=2), with 16 the even indices specifying the length of "on" intervals, and the odd 17 indices specifying the length of "off" intervals. 18 count: number of elements in the intervals array 19 phase: offset into the intervals array (mod the sum of all of the 20 intervals). 22 For example: if intervals[] = {10, 20}, count = 2, and phase = 25, 31 because the sum of all the intervals is 30. 35 static sk_sp<SkPathEffect> Make(const SkScalar intervals[], int count, SkScalar phase);
|
/external/skqp/include/effects/ |
SkDashPathEffect.h | 15 /** intervals: array containing an even number of entries (>=2), with 16 the even indices specifying the length of "on" intervals, and the odd 17 indices specifying the length of "off" intervals. 18 count: number of elements in the intervals array 19 phase: offset into the intervals array (mod the sum of all of the 20 intervals). 22 For example: if intervals[] = {10, 20}, count = 2, and phase = 25, 31 because the sum of all the intervals is 30. 35 static sk_sp<SkPathEffect> Make(const SkScalar intervals[], int count, SkScalar phase);
|
/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/gm/ |
bug530095.cpp | 21 SkScalar intervals[] = {700, 700 }; local 22 int intervalCount = (int) SK_ARRAY_COUNT(intervals); 23 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, -40)); 37 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0)); 57 const SkScalar intervals[] = { 100, 100 }; local 58 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 100));
|
dashcubics.cpp | 17 static void flower(SkCanvas* canvas, const SkPath& path, SkScalar intervals[2], 28 paint.setPathEffect(SkDashPathEffect::Make(intervals, 2, 0)); 55 SkScalar intervals[] = { 5 + (x ? 0 : 0.0001f + 0.0001f), 10 }; local 56 flower(canvas, path, intervals, y ? SkPaint::kDefault_Join : SkPaint::kRound_Join);
|
/external/skqp/gm/ |
bug530095.cpp | 21 SkScalar intervals[] = {700, 700 }; local 22 int intervalCount = (int) SK_ARRAY_COUNT(intervals); 23 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, -40)); 37 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0)); 57 const SkScalar intervals[] = { 100, 100 }; local 58 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 100));
|
dashcubics.cpp | 17 static void flower(SkCanvas* canvas, const SkPath& path, SkScalar intervals[2], 28 paint.setPathEffect(SkDashPathEffect::Make(intervals, 2, 0)); 55 SkScalar intervals[] = { 5 + (x ? 0 : 0.0001f + 0.0001f), 10 }; local 56 flower(canvas, path, intervals, y ? SkPaint::kDefault_Join : SkPaint::kRound_Join);
|
/external/skia/src/core/ |
SkRegionPriv.h | 59 * Number of intervals in the entire region. This equals the number of 138 const int intervals = runs[1]; 139 SkASSERT(runs[2 + intervals * 2] == SkRegion::kRunTypeSentinel); 143 SkASSERT(n == intervals); 148 runs += 1 + 1 + intervals * 2 + 1; 196 const int intervals = *runs++; 197 SkASSERT(intervals >= 0); 198 SkASSERT(intervals < SkRegion::kRunTypeSentinel); 200 if (intervals > 0) { 204 SkASSERT(n == intervals); [all...] |
/external/skqp/src/core/ |
SkRegionPriv.h | 59 * Number of intervals in the entire region. This equals the number of 138 const int intervals = runs[1]; 139 SkASSERT(runs[2 + intervals * 2] == SkRegion::kRunTypeSentinel); 143 SkASSERT(n == intervals); 148 runs += 1 + 1 + intervals * 2 + 1; 196 const int intervals = *runs++; 197 SkASSERT(intervals >= 0); 198 SkASSERT(intervals < SkRegion::kRunTypeSentinel); 200 if (intervals > 0) { 204 SkASSERT(n == intervals); [all...] |
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
ctor_default.pass.cpp | 27 std::vector<double> iv = d.intervals();
|
ctor_init_func.pass.cpp | 35 std::vector<double> iv = d.intervals(); 46 std::vector<double> iv = d.intervals(); 57 std::vector<double> iv = d.intervals(); 68 std::vector<double> iv = d.intervals();
|
param_ctor_default.pass.cpp | 26 std::vector<double> iv = pa.intervals();
|
param_ctor_init_func.pass.cpp | 33 std::vector<double> iv = pa.intervals(); 45 std::vector<double> iv = pa.intervals(); 57 std::vector<double> iv = pa.intervals(); 69 std::vector<double> iv = pa.intervals();
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
ctor_default.pass.cpp | 27 std::vector<double> iv = d.intervals();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
ctor_default.pass.cpp | 27 std::vector<double> iv = d.intervals();
|
ctor_init_func.pass.cpp | 35 std::vector<double> iv = d.intervals(); 46 std::vector<double> iv = d.intervals(); 57 std::vector<double> iv = d.intervals(); 68 std::vector<double> iv = d.intervals();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
ctor_default.pass.cpp | 27 std::vector<double> iv = d.intervals();
|
/external/skia/tests/ |
DashPathEffectTest.cpp | 20 SkScalar intervals[] = { 1.76934361e+36f, 2.80259693e-45f }; // Values from bug. local 23 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, count, phase)); 31 const SkScalar intervals[] = { 1.0f, 1.0f }; local 33 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, count, 0.0f)); 94 SkScalar intervals[2] = { 1, 1 }; local 95 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, 2, 0)); 114 const SkScalar intervals[] = { 1, 1 }; local 115 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0));
|
/external/skqp/tests/ |
DashPathEffectTest.cpp | 20 SkScalar intervals[] = { 1.76934361e+36f, 2.80259693e-45f }; // Values from bug. local 23 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, count, phase)); 31 const SkScalar intervals[] = { 1.0f, 1.0f }; local 33 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, count, 0.0f)); 94 SkScalar intervals[2] = { 1, 1 }; local 95 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, 2, 0)); 114 const SkScalar intervals[] = { 1, 1 }; local 115 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0));
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
ScheduleMultipleDeviceMetricCollectorTest.java | 138 // Set up the intervals. 139 Map<String, Long> intervals = new HashMap<>(); local 140 intervals.put("meminfoInterval", 100L); 141 intervals.put("fragmentationInterval", 100L); 142 intervals.put("jankInterval", 100L); 143 for (String key : intervals.keySet()) { 145 "metric-collection-intervals", key, intervals.get(key).toString()); 210 // Set up the intervals. 211 Map<String, Long> intervals = new HashMap<>() local 258 Map<String, Long> intervals = new HashMap<>(); local [all...] |
/art/runtime/gc/collector/ |
immune_spaces.cc | 44 std::vector<Interval> intervals; 58 intervals.push_back(Interval(reinterpret_cast<uintptr_t>(image_oat_file->Begin()), 63 intervals.push_back(Interval(space_begin, space_end, /*is_heap*/true)); 65 std::sort(intervals.begin(), intervals.end()); 66 // Intervals are already sorted by begin, if a new interval begins at the end of the current 71 for (const Interval& interval : intervals) { 80 // interval. Otherwise continue since we never start a new region with non image intervals.
|
/external/skia/src/utils/ |
SkDashPathPriv.h | 16 * inputed phase and intervals. If adjustedPhase is passed in, then the phase will be 22 void CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count, 49 bool ValidDashPath(SkScalar phase, const SkScalar intervals[], int32_t count);
|
/external/skqp/src/utils/ |
SkDashPathPriv.h | 16 * inputed phase and intervals. If adjustedPhase is passed in, then the phase will be 22 void CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count, 49 bool ValidDashPath(SkScalar phase, const SkScalar intervals[], int32_t count);
|