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

/frameworks/base/graphics/java/android/graphics/
H A DDashPathEffect.java22 * 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) { argument
35 if (intervals
41 nativeCreate(float intervals[], float phase) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DDashPathEffect_Delegate.java76 /*package*/ static int nativeCreate(float intervals[], float phase) { argument
77 DashPathEffect_Delegate newDelegate = new DashPathEffect_Delegate(intervals, phase);
83 private DashPathEffect_Delegate(float intervals[], float phase) { argument
84 mIntervals = new float[intervals.length];
85 System.arraycopy(intervals, 0, mIntervals, 0, intervals.length);
/frameworks/base/core/jni/android/graphics/
H A DPathEffect.cpp35 SkScalar* intervals = storage.get(); local
37 intervals[i] = SkFloatToScalar(values[i]);
39 return new SkDashPathEffect(intervals, count, SkFloatToScalar(phase));

Completed in 79 milliseconds