/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);
|
/external/skia/tests/ |
AsADashTest.cpp | 24 const SkScalar phase = 2.0; local 25 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); 34 const SkScalar phase = 2.0; local 36 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); 43 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); 56 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase);
|
DashPathEffectTest.cpp | 22 SkScalar phase = SK_ScalarInfinity; // Used to force a nonsense effect. local 23 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, count, phase));
|
/external/replicaisland/src/com/replica/replicaisland/ |
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;
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/ |
viddec_pm_parse.h | 13 uint32_t phase; /* phase information(state) for sc */ member in struct:__anon40289
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/synth/ |
SawOscillatorDPW.java | 43 float phase = incrementWrapPhase(); local 45 float squared = phase * phase;
|
SineOscillator.java | 37 /* Wrap phase back into region where results are more accurate. */ 50 float phase = incrementWrapPhase(); local 51 return fastSin(phase) * getAmplitude();
|
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/synth/ |
SawOscillatorDPW.java | 43 float phase = incrementWrapPhase(); local 45 float squared = phase * phase;
|
SineOscillator.java | 37 /* Wrap phase back into region where results are more accurate. */ 50 float phase = incrementWrapPhase(); local 51 return fastSin(phase) * getAmplitude();
|
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/ |
SawOscillatorDPW.java | 43 float phase = incrementWrapPhase(); local 45 float squared = phase * phase;
|
SineOscillator.java | 37 /* Wrap phase back into region where results are more accurate. */ 50 float phase = incrementWrapPhase(); local 51 return fastSin(phase) * getAmplitude();
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
SawOscillatorDPW.java | 43 float phase = incrementWrapPhase(); local 45 float squared = phase * phase;
|
SineOscillator.java | 37 /* Wrap phase back into region where results are more accurate. */ 50 float phase = incrementWrapPhase(); local 51 return fastSin(phase) * getAmplitude();
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
SawOscillatorDPW.java | 43 float phase = incrementWrapPhase(); local 45 float squared = phase * phase;
|
SineOscillator.java | 37 /* Wrap phase back into region where results are more accurate. */ 50 float phase = incrementWrapPhase(); local 51 return fastSin(phase) * getAmplitude();
|
/external/skia/gm/ |
stroketext.cpp | 55 const SkScalar phase = 0; local 59 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), phase));
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
transform.c | 19 double fact, phase; local 22 phase = 0.0; 24 tables->costab1[k] = cos(phase); 25 tables->sintab1[k] = sin(phase); 26 phase += fact; 30 phase = 0.5 * fact; 32 tables->costab2[k] = cos(phase); 33 tables->sintab2[k] = sin(phase); 34 phase += fact;
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/ |
viddec_parse_sc_mp4.c | 6 The conext is updated with current phase and sc_code position in the buffer. 8 What is phase?: phase is a value between [0-4], we keep track of consecutive '0's with this. 10 if 0xXX code is found and current phase is 2, its changed to 3 which means we found the pattern 25 uint32_t data_left=0, phase = 0, ret = 0; local 34 phase = cxt->phase; 39 while((data_left > 0) &&(phase < 3)) 41 /* Check if we are byte aligned & phase=0, if thats the case we can check 43 if(((((uint32_t)ptr) & 0x3) == 0) && (phase == 0) [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
viddec_parse_sc.c | 15 The conext is updated with current phase and sc_code position in the buffer. 21 uint32_t data_left=0, phase = 0, ret = 0; local 23 /* What is phase?: phase is a value between [0-4], we keep track of consecutive '0's with this. 25 if 0xXX code is found and current phase is 2, its changed to 3 which means we found the pattern 31 phase = cxt->phase; 36 while((data_left > 0) &&(phase < 3)) 38 /* Check if we are byte aligned & phase=0, if thats the case we can check 40 if(((((uint32_t)ptr) & 0x3) == 0) && (phase == 0) [all...] |
/external/curl/tests/libtest/ |
lib597.c | 58 int phase; local 72 for(phase = CONNECT_ONLY_PHASE; phase < LAST_PHASE; ++phase) { 79 /* enable 'CONNECT_ONLY' option when in connect phase */ 80 if(phase == CONNECT_ONLY_PHASE) 83 /* enable 'NOBODY' option to send 'QUIT' command in quit phase */ 84 if(phase == QUIT_PHASE) {
|
/external/icu/icu4c/source/tools/gennorm2/ |
n2builder.h | 109 int32_t phase; member in class:Normalizer2DataBuilder
|
/external/libopus/celt/tests/ |
test_unit_dft.c | 83 double phase = -2*M_PI*bin*k/nfft; local 84 double re = cos(phase); 85 double im = sin(phase);
|
test_unit_mdct.c | 80 double phase = 2*M_PI*(k+.5+.25*nfft)*(bin+.5)/nfft; local 81 double re = cos(phase); 110 double phase = 2*M_PI*(bin+.5+.25*nfft)*(k+.5)/nfft; local 111 double re = cos(phase);
|
/external/skia/src/effects/ |
Sk1DPathEffect.cpp | 35 SkScalar phase, Style style) : fPath(path) 38 // cleanup their phase parameter, inverting it so that it becomes an 40 if (phase < 0) { 41 phase = -phase; 42 if (phase > advance) { 43 phase = SkScalarMod(phase, advance); 46 if (phase > advance) { 47 phase = SkScalarMod(phase, advance) 153 SkScalar phase = buffer.readScalar(); local [all...] |