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

1 2 3 4 5 6

  /external/proguard/src/proguard/gui/splash/
SawToothTiming.java 31 private final long phase; field in class:SawToothTiming
37 * @param phase the phase of the cycle, which is added to the actual time.
39 public SawToothTiming(long period, long phase)
42 this.phase = phase;
51 return (double)((time + phase) % period) / (double)period;
SineTiming.java 31 private final long phase; field in class:SineTiming
37 * @param phase the phase of the cycle, which is added to the actual time.
39 public SineTiming(long period, long phase)
42 this.phase = phase;
51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
  /frameworks/base/graphics/java/android/graphics/
DashPathEffect.java 24 * specifying the "off" intervals. phase is an offset into the intervals
32 * @param phase offset into the intervals array
34 public DashPathEffect(float intervals[], float phase) {
38 native_instance = nativeCreate(intervals, phase);
41 private static native int nativeCreate(float intervals[], float phase);
PathDashPathEffect.java 39 * @param phase amount to offset before the first shape is stamped
42 public PathDashPathEffect(Path shape, float advance, float phase,
44 native_instance = nativeCreate(shape.ni(), advance, phase,
49 float phase, int native_style);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DashPathEffect.java 27 * specifying the "off" intervals. phase is an offset into the intervals
35 * @param phase offset into the intervals array
37 public DashPathEffect(float intervals[], float phase) {
43 mPhase = phase;
  /external/skia/src/animator/
SkDrawDash.cpp 25 SK_MEMBER(phase, Float)
32 SkDash::SkDash() : phase(0) {
42 return new SkDashPathEffect(intervals.begin(), count, phase);
SkDrawDash.h 31 SkScalar phase; member in class:SkDash
  /external/webkit/JavaScriptCore/wtf/
Complex.h 39 inline Complex complexFromMagnitudePhase(double magnitude, double phase)
41 return Complex(magnitude * cos(phase), magnitude * sin(phase));
  /external/skia/src/effects/
SkDashPathEffect.cpp 27 static SkScalar FindFirstInterval(const SkScalar intervals[], SkScalar phase, int32_t* index)
31 for (i = 0; phase > intervals[i]; i++)
32 phase -= intervals[i];
34 return intervals[i] - phase;
37 SkDashPathEffect::SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase, bool scaleToFit)
57 if (phase < 0)
59 phase = -phase;
60 if (phase > len)
61 phase = SkScalarMod(phase, len)
    [all...]
Sk1DPathEffect.cpp 41 SkScalar phase, Style style) : fPath(path)
50 // cleanup their phase parameter, inverting it so that it becomes an
52 if (phase < 0)
54 phase = -phase;
55 if (phase > advance)
56 phase = SkScalarMod(phase, advance);
60 if (phase > advance)
61 phase = SkScalarMod(phase, advance)
    [all...]
  /external/webkit/WebCore/rendering/
RenderReplica.cpp 64 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseMask)
70 if (paintInfo.phase == PaintPhaseForeground)
77 else if (paintInfo.phase == PaintPhaseMask)
RenderLineBoxList.cpp 150 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection && paintInfo.phase != PaintPhaseOutline
151 && paintInfo.phase != PaintPhaseSelfOutline && paintInfo.phase != PaintPhaseChildOutlines && paintInfo.phase != PaintPhaseTextClip
152 && paintInfo.phase != PaintPhaseMask)
165 int yPos = firstLineBox()->topVisibleOverflow() - renderer->maximalOutlineSize(paintInfo.phase);
166 int h = renderer->maximalOutlineSize(paintInfo.phase) + lastLineBox()->bottomVisibleOverflow() - yPos;
198 int top = min(curr->topVisibleOverflow(), curr->root()->selectionTop()) - renderer->maximalOutlineSize(info.phase);
    [all...]
RenderReplaced.cpp 103 if (hasBoxDecorations() && (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection))
106 if (paintInfo.phase == PaintPhaseMask) {
111 if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth())
114 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection)
121 if (paintInfo.phase == PaintPhaseSelection) {
162 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseOutline && paintInfo.phase != PaintPhaseSelfOutline
    [all...]
InlineBox.cpp 164 if (!renderer()->shouldPaintWithinRoot(paintInfo) || (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection))
170 bool preservePhase = paintInfo.phase == PaintPhaseSelection || paintInfo.phase == PaintPhaseTextClip;
172 info.phase = preservePhase ? paintInfo.phase : PaintPhaseBlockBackground;
175 info.phase = PaintPhaseChildBlockBackgrounds;
177 info.phase = PaintPhaseFloat;
179 info.phase = PaintPhaseForeground;
181 info.phase = PaintPhaseOutline
    [all...]
  /external/speex/libspeex/
_kiss_fft_guts.h 133 # define KISS_FFT_COS(phase) floor(MIN(32767,MAX(-32767,.5+32768 * cos (phase))))
134 # define KISS_FFT_SIN(phase) floor(MIN(32767,MAX(-32767,.5+32768 * sin (phase))))
137 # define KISS_FFT_COS(phase) _mm_set1_ps( cos(phase) )
138 # define KISS_FFT_SIN(phase) _mm_set1_ps( sin(phase) )
141 # define KISS_FFT_COS(phase) (kiss_fft_scalar) cos(phase)
    [all...]
  /external/skia/include/effects/
SkDashPathEffect.h 30 intervals. phase is an offset into the intervals array (mod the sum of all of the
34 SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase, bool scaleToFit = false);
53 // computed from phase
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PathEffects.java 41 private static PathEffect makeDash(float phase) {
42 return new DashPathEffect(new float[] { 15, 5, 8, 5 }, phase);
45 private static void makeEffects(PathEffect[] e, float phase) {
48 e[2] = new DashPathEffect(new float[] {10, 5, 5, 5}, phase);
49 e[3] = new PathDashPathEffect(makePathDash(), 12, phase,
  /external/sonivox/arm-fm-22k/lib_src/
eas_fmengine.c 139 * Transform pitch cents to linear phase increment
285 EAS_U32 phase; local
298 /* establish local phase variables */
299 phase = p->phase;
301 /* calculate the new phase increment */
329 phaseTemp = phase + temp;
334 /* increment operator phase */
335 phase += phaseInc;
359 /* save phase and gain *
395 EAS_U32 phase; local
    [all...]
  /external/sonivox/arm-hybrid-22k/lib_src/
eas_fmengine.c 139 * Transform pitch cents to linear phase increment
285 EAS_U32 phase; local
298 /* establish local phase variables */
299 phase = p->phase;
301 /* calculate the new phase increment */
329 phaseTemp = phase + temp;
334 /* increment operator phase */
335 phase += phaseInc;
359 /* save phase and gain *
395 EAS_U32 phase; local
    [all...]
  /hardware/ti/omap3/dspbridge/inc/
dbdcd.h 189 * phase: phase to obtain correct input library
207 IN NLDR_PHASE phase);
219 * phase: Phase to obtain correct input library
236 IN NLDR_PHASE phase);
249 * phase: Which phase to load
266 IN NLDR_PHASE phase,
  /hardware/ti/omap3/dspbridge/libbridge/inc/
dbdcd.h 189 * phase: phase to obtain correct input library
207 IN NLDR_PHASE phase);
219 * phase: Phase to obtain correct input library
236 IN NLDR_PHASE phase);
249 * phase: Which phase to load
266 IN NLDR_PHASE phase,
  /frameworks/base/core/jni/android/graphics/
PathEffect.cpp 29 jfloatArray intervalArray, float phase) {
39 return new SkDashPathEffect(intervals, count, SkFloatToScalar(phase));
43 const SkPath* shape, float advance, float phase, int style) {
46 SkFloatToScalar(phase), (SkPath1DPathEffect::Style)style);
  /external/chromium/net/base/
load_log_util.cc 79 log_entry->event.phase == LoadLog::PHASE_BEGIN;
84 log_entry->event.phase == LoadLog::PHASE_END;
174 LoadLog::EventPhase phase = LoadLog::PHASE_NONE; local
178 phase = entry->event.phase;
180 if (phase == LoadLog::PHASE_BEGIN &&
185 phase = LoadLog::PHASE_NONE;
203 switch (phase) {
load_log_unittest.h 42 if (expected_phase != entry.event.phase) {
44 << "Actual phase: " << entry.event.phase
45 << ". Expected phase: " << expected_phase << ".";
106 entry.event.phase == expected_phase)
  /external/webkit/WebCore/platform/graphics/
GeneratedImage.cpp 51 const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator compositeOp, const FloatRect& destRect)
70 bitmap->drawPattern(context, adjustedSrcRect, patternTransform, phase, styleColorSpace, compositeOp, destRect);

Completed in 538 milliseconds

1 2 3 4 5 6