/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 long 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.readOnlyNI(), advance, phase, 49 float phase, int native_style);
|
/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/ |
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...] |
/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...] |
/external/skia/src/animator/ |
SkDrawDash.cpp | 17 SK_MEMBER(phase, Float) 24 SkDash::SkDash() : phase(0) { 34 return SkDashPathEffect::Create(intervals.begin(), count, phase);
|
SkDrawDash.h | 21 SkScalar phase; member in class:SkDash
|
/libcore/luni/src/main/java/java/util/concurrent/ |
Phaser.java | 35 * generation of a phaser has an associated phase number. The phase 38 * Integer.MAX_VALUE}. The use of phase numbers enables independent 47 * do not block, but return an associated <em>arrival phase 48 * number</em>; that is, the phase number of the phaser to which 49 * the arrival applied. When the final party for a given phase 50 * arrives, an optional action is performed and the phase 52 * triggering a phase advance, and are arranged by overriding 59 * argument indicating an arrival phase number, and returns when 60 * the phaser advances to (or is already at) a different phase 355 int phase = (int)(s >>> PHASE_SHIFT); local 400 int phase; local 461 int phase, p; local 522 int phase = 0; local 648 int phase = (int)(s >>> PHASE_SHIFT); local 1057 final int phase; field in class:Phaser.QNode [all...] |
/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;
|
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/ |
SawOscillatorDPW.java | 43 float phase = incrementWrapPhase(); local 45 float squared = phase * phase;
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
SawOscillatorDPW.java | 43 float phase = incrementWrapPhase(); local 45 float squared = phase * phase;
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
SawOscillatorDPW.java | 43 float phase = incrementWrapPhase(); local 45 float squared = phase * phase;
|
/frameworks/base/services/core/java/com/android/server/ |
BluetoothService.java | 35 public void onBootPhase(int phase) { 36 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { 39 } else if (phase == SystemService.PHASE_ACTIVITY_MANAGER_READY) {
|
ContextHubSystemService.java | 37 public void onBootPhase(int phase) { 38 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) {
|
/frameworks/base/tools/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) { 86 mPhase = phase;
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/ |
viddec_pm_utils_bstream.h | 44 uint32_t phase; member in struct:__anon29760 69 uint32_t phase=cxt->phase; local 73 if(cxt->phase > 0) 75 phase = phase - ((cxt->bstrm_buf.buf_bitoff != 0)? 1: 0 ); 77 *is_emul = (cxt->is_emul_reqd) && (phase > 0) &&
|
/external/skia/src/effects/ |
Sk1DPathEffect.cpp | 36 SkScalar phase, Style style) : fPath(path) 39 // cleanup their phase parameter, inverting it so that it becomes an 41 if (phase < 0) { 42 phase = -phase; 43 if (phase > advance) { 44 phase = SkScalarMod(phase, advance); 47 if (phase > advance) { 48 phase = SkScalarMod(phase, advance) 154 SkScalar phase = buffer.readScalar(); local [all...] |
/external/v8/src/compiler/ |
graph-visualizer.h | 27 CompilationInfo* info, const char* phase, const char* suffix); 52 AsC1V(const char* phase, const Schedule* schedule, 58 phase_(phase) {} 67 const char* phase, const RegisterAllocationData* data = nullptr) 68 : phase_(phase), data_(data) {}
|
/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/skia/src/utils/ |
SkDashPath.cpp | 16 static SkScalar find_first_interval(const SkScalar intervals[], SkScalar phase, 19 if (phase > intervals[i]) { 20 phase -= intervals[i]; 23 return intervals[i] - phase; 26 // If we get here, phase "appears" to be larger than our length. This 34 void SkDashPath::CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count, 44 if ((len > 0) && SkScalarIsFinite(phase) && SkScalarIsFinite(len)) { 46 // Adjust phase to be between 0 and len, "flipping" phase if negative. 47 // e.g., if len is 100, then phase of -20 (or -120) is equivalent to 8 [all...] |
/external/skia/tests/ |
AsADashTest.cpp | 24 const SkScalar phase = 2.0; local 25 SkAutoTUnref<SkPathEffect> pe(SkDashPathEffect::Create(inIntervals, 4, phase)); 34 const SkScalar phase = 2.0; local 36 SkAutoTUnref<SkPathEffect> pe(SkDashPathEffect::Create(inIntervals, 4, phase)); 43 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); 56 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase);
|