/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...] |
/libcore/ojluni/src/main/java/java/util/concurrent/ |
Phaser.java | 64 * generation of a phaser has an associated phase number. The phase 67 * Integer.MAX_VALUE}. The use of phase numbers enables independent 76 * do not block, but return an associated <em>arrival phase 77 * number</em>; that is, the phase number of the phaser to which 78 * the arrival applied. When the final party for a given phase 79 * arrives, an optional action is performed and the phase 81 * triggering a phase advance, and are arranged by overriding 88 * argument indicating an arrival phase number, and returns when 89 * the phaser advances to (or is already at) a different phase 384 int phase = (int)(s >>> PHASE_SHIFT); local 429 int phase; local 490 int phase, p; local 551 int phase = 0; local 677 int phase = (int)(s >>> PHASE_SHIFT); local 1086 final int phase; field in class:Phaser.QNode [all...] |
/external/eigen/unsupported/test/ |
cxx11_non_blocking_thread_pool.cpp | 35 std::atomic<int> phase(0); 43 while (phase < 1) { 51 phase = 1; 57 while (phase < 2) { 67 while (phase < 3) { 74 while (phase < 3) { 86 phase = 2; 90 while (phase < 3) { 97 phase = 3;
|
/external/skia/include/effects/ |
SkDashPathEffect.h | 19 phase: offset into the intervals array (mod the sum of all of the 22 For example: if intervals[] = {10, 20}, count = 2, and phase = 25, 30 A phase of -5, 25, 55, 85, etc. would all result in the same path, 35 static sk_sp<SkPathEffect> Make(const SkScalar intervals[], int count, SkScalar phase);
|
/external/pdfium/core/fpdfdoc/ |
cpvt_dash.h | 13 CPVT_Dash(int32_t dash, int32_t gap, int32_t phase) 14 : nDash(dash), nGap(gap), nPhase(phase) {}
|
/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) {
|
/frameworks/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;
|
/external/skia/src/core/ |
SkATrace.cpp | 29 SkEventTracer::Handle SkATrace::addTraceEvent(char phase, 39 if (TRACE_EVENT_PHASE_COMPLETE == phase || 40 TRACE_EVENT_PHASE_BEGIN == phase || 41 TRACE_EVENT_PHASE_INSTANT == phase) { 45 if (TRACE_EVENT_PHASE_END == phase || 46 TRACE_EVENT_PHASE_INSTANT == phase) {
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/ |
viddec_pm_utils_bstream.h | 44 uint32_t phase; member in struct:__anon42180 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 | 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...] |
/external/skia/src/utils/ |
SkDashPath.cpp | 16 static SkScalar find_first_interval(const SkScalar intervals[], SkScalar phase, 20 if (phase > gap || (phase == gap && gap)) { 21 phase -= gap; 24 return gap - phase; 27 // If we get here, phase "appears" to be larger than our length. This 35 void SkDashPath::CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count, 43 // Adjust phase to be between 0 and len, "flipping" phase if negative. 44 // e.g., if len is 100, then phase of -20 (or -120) is equivalent to 8 [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/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);
|