/external/proguard/src/proguard/gui/splash/ |
H A D | 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) argument 42 this.phase = phase; 51 return (double)((time + phase) % period) / (double)period;
|
H A D | 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) argument 42 this.phase = phase; 51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | PhasedObject.java | 20 * A basic object that adds an execution phase. When PhasedObjects are combined with 21 * PhasedObjectManagers, objects within the manager will be updated by phase. 25 public int phase; // This is public because the phased is accessed extremely often, so much field in class:PhasedObject 38 phase = phaseValue;
|
H A D | PhasedObjectManager.java | 30 private PhasedObject mSearchDummy; // A dummy object allocated up-front for searching by phase. 71 public BaseObject find(int phase) { argument 72 mSearchDummy.setPhase(phase); 91 result = ((PhasedObject) object1).phase - ((PhasedObject) object2).phase;
|
/external/skia/src/animator/ |
H A D | SkDrawDash.cpp | 17 SK_MEMBER(phase, Float) 24 SkDash::SkDash() : phase(0) { 34 return SkDashPathEffect::Create(intervals.begin(), count, phase);
|
H A D | SkDrawDash.h | 21 SkScalar phase; member in class:SkDash
|
/external/skia/include/effects/ |
H A D | SkDashPathEffect.h | 23 phase: offset into the intervals array (mod the sum of all of the 26 For example: if intervals[] = {10, 20}, count = 2, and phase = 25, 34 A phase of -5, 25, 55, 85, etc. would all result in the same path, 40 SkScalar phase) { 41 return SkNEW_ARGS(SkDashPathEffect, (intervals, count, phase)); 62 SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase); 69 // computed from phase 39 Create(const SkScalar intervals[], int count, SkScalar phase) argument
|
H A D | Sk1DPathEffect.h | 55 @param phase distance (mod advance) along path for its initial position 59 static SkPath1DPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase, argument 61 return SkNEW_ARGS(SkPath1DPathEffect, (path, advance, phase, style)); 71 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style); 81 SkScalar fInitialOffset; // computed from phase
|
/external/skia/src/utils/ |
H A D | SkDashPath.cpp | 15 static SkScalar find_first_interval(const SkScalar intervals[], SkScalar phase, argument 18 if (phase > intervals[i]) { 19 phase -= intervals[i]; 22 return intervals[i] - phase; 25 // If we get here, phase "appears" to be larger than our length. This 33 void SkDashPath::CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count, argument 43 if ((len > 0) && SkScalarIsFinite(phase) && SkScalarIsFinite(len)) { 45 // Adjust phase to be between 0 and len, "flipping" phase if negative. 46 // e.g., if len is 100, then phase o [all...] |
H A D | SkDashPathPriv.h | 16 * inputed phase and intervals. If adjustedPhase is passed in, then the phase will be 18 * If adjustedPhase is NULL then it is assumed phase is already between 0 and intervalLength 20 void CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count,
|
H A D | SkEventTracer.cpp | 14 addTraceEvent(char phase,
|
/external/skia/tests/ |
H A D | AsADashTest.cpp | 24 const SkScalar phase = 2.0; local 25 SkAutoTUnref<SkDashPathEffect> pe(SkDashPathEffect::Create(inIntervals, 4, phase)); 34 const SkScalar phase = 2.0; local 36 SkAutoTUnref<SkDashPathEffect> pe(SkDashPathEffect::Create(inIntervals, 4, phase)); 43 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); 56 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase);
|
/external/libopus/celt/ |
H A D | _kiss_fft_guts.h | 156 /*# define KISS_FFT_COS(phase) TRIG_UPSCALE*floor(MIN(32767,MAX(-32767,.5+32768 * cos (phase)))) 157 # define KISS_FFT_SIN(phase) TRIG_UPSCALE*floor(MIN(32767,MAX(-32767,.5+32768 * sin (phase))))*/ 158 # define KISS_FFT_COS(phase) floor(.5+TWID_MAX*cos (phase)) 159 # define KISS_FFT_SIN(phase) floor(.5+TWID_MAX*sin (phase)) 162 # define KISS_FFT_COS(phase) _mm_set1_ps( cos(phase) ) [all...] |
/external/skia/src/effects/ |
H A D | Sk1DPathEffect.cpp | 35 SkScalar phase, Style style) : fPath(path) 43 // cleanup their phase parameter, inverting it so that it becomes an 45 if (phase < 0) { 46 phase = -phase; 47 if (phase > advance) { 48 phase = SkScalarMod(phase, advance); 51 if (phase > advance) { 52 phase 34 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style style) argument 159 SkScalar phase = buffer.readScalar(); local [all...] |
/external/speex/libspeex/ |
H A D | _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/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
H A D | transform.c | 25 double fact, phase; local 28 phase = 0.0; 30 costab1[k] = cos(phase); 31 sintab1[k] = sin(phase); 32 phase += fact; 36 phase = 0.5 * fact; 38 costab2[k] = cos(phase); 39 sintab2[k] = sin(phase); 40 phase += fact;
|
/external/skia/gm/ |
H A D | dashing.cpp | 15 SkScalar phase = SkIntToScalar(0), 24 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref(); 172 SkScalar phase = vals[0] / 2; local 173 paint.setPathEffect(SkDashPathEffect::Create(vals, count, phase))->unref(); 206 SkScalar phase, 221 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref(); 243 // 1on/1off 1x1 squares with phase of 0 - points fastpath 249 // 1on/1off 1x1 squares with phase of .5 - rects fastpath (due to partial squares) 255 // 1on/1off 1x1 squares with phase of 1 - points fastpath 261 // 1on/1off 1x1 squares with phase o 204 drawDashedLines(SkCanvas* canvas, SkScalar lineLength, SkScalar phase, SkScalar dashLength, int strokeWidth, bool circles) argument 446 int phase = 0; variable [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_dataflow_swizzles.c | 49 for(unsigned int phase = 0; phase < split.NumPhases; ++phase) { 57 mov->U.I.DstReg.WriteMask = split.Phase[phase]; 63 if (!GET_BIT(split.Phase[phase], chan)) 71 masked_negate = split.Phase[phase] & mov->U.I.SrcReg[0].Negate; 74 else if (masked_negate == split.Phase[phase])
|
/external/sonivox/arm-fm-22k/lib_src/ |
H A D | 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 an 395 EAS_U32 phase; local [all...] |
/external/sonivox/arm-hybrid-22k/lib_src/ |
H A D | 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 an 395 EAS_U32 phase; local [all...] |
/external/skia/include/utils/ |
H A D | SkEventTracer.h | 54 addTraceEvent(char phase,
|
/external/libopus/celt/tests/ |
H A D | test_unit_dft.c | 66 double phase = -2*M_PI*bin*k/nfft; local 67 double re = cos(phase); 68 double im = sin(phase);
|
H A D | test_unit_mdct.c | 64 double phase = 2*M_PI*(k+.5+.25*nfft)*(bin+.5)/nfft; local 65 double re = cos(phase); 94 double phase = 2*M_PI*(bin+.5+.25*nfft)*(k+.5)/nfft; local 95 double re = cos(phase);
|
/external/skia/samplecode/ |
H A D | SamplePathEffects.cpp | 30 static SkPathEffect* make_pe(int flags, SkScalar phase) { argument 41 SkPathEffect* outer = SkPath1DPathEffect::Create(path, 12, phase, 55 static SkPathEffect* make_warp_pe(SkScalar phase) { argument 64 path, 12, phase, SkPath1DPathEffect::kMorph_Style);
|
/external/v8/src/compiler/ |
H A D | pipeline.h | 51 void VerifyAndPrintGraph(Graph* graph, const char* phase);
|